leog
11/07/2022, 7:43 PMchristoph
11/07/2022, 8:10 PMedgar_ramirez_mondragon
11/07/2022, 11:57 PMleog
11/08/2022, 10:04 PMplugins/extractors/ folder in my created project in step 2. I assume I need to call it "tap-oracle". Is there an extension for that file?edgar_ramirez_mondragon
11/08/2022, 11:04 PMplugins/extractors/tap-oracle--transferwise.lock . Note the .lock extension ๐leog
11/09/2022, 8:56 PMversion: 1
default_environment: dev
project_id: bfcf510d-44fc-40bb-b661-a666277d5679
plugins:
extractors:
- name: tap-oracle
variant: transferwise
environments:
- name: dev
- name: staging
- name: prod
this is what tap-oracle--transferwise.lock file looks like.
PLUGIN_TYPE=extractors
PLUGIN=tap-oracle
VARIANT=transferwise
PLUGIN_PATH=plugins/$PLUGIN_TYPE/$PLUGIN--$VARIANT
curl <https://hub.meltano.com/meltano/api/v1/$PLUGIN_PATH> > $PLUGIN_PATH.lock
What am I missing?leog
11/09/2022, 9:22 PMedgar_ramirez_mondragon
11/09/2022, 9:52 PMtap-oracle--transferwise.lock, theyโre rather the shell instructions to download them from Meltano Hub. The actual contents should be
{
"description": "Cloud Database",
"label": "Oracle DB",
"name": "tap-oracle",
"logo_url": "<https://hub.meltano.com/assets/logos/extractors/oracle.png>",
"namespace": "tap_oracle",
"variant": "transferwise",
"pip_url": "pipelinewise-tap-oracle",
"repo": "<https://github.com/transferwise/pipelinewise-tap-oracle>",
"settings_group_validation": [
[
"sid",
"host",
"port",
"user",
"password"
]
],
"settings": [
{
"name": "sid",
"label": "SID",
"description": "Your Oracle SID."
},
{
"name": "host",
"label": "Host",
"description": "Your Oracle host."
},
{
"name": "port",
"label": "Port",
"description": "Your Oracle port."
},
{
"name": "user",
"label": "User",
"description": "Your Oracle user."
},
{
"name": "password",
"kind": "password",
"label": "Password",
"description": "Your Oracle password."
},
{
"name": "default_replication_method",
"label": "Default Replication Method",
"description": "The default replication method to use if one is not automatically set on the stream. Options - 'LOG_BASED', 'FULL_TABLE', 'INCREMENTAL'."
},
{
"name": "filter_schemas",
"label": "Filter Schemas",
"description": "A comma separated list of schema names to scan. Used to improve the performance of data extraction.",
"placeholder": "SCHEMA1,SCHEMA2"
}
],
"capabilities": [
"catalog",
"discover",
"state"
],
"docs": "<https://hub.meltano.com/extractors/tap-oracle--transferwise>"
}
(from https://hub.meltano.com/meltano/api/v1/plugins/extractors/tap-oracle--transferwise)leog
11/10/2022, 4:44 PMleog
11/10/2022, 4:46 PM2022-11-10T16:39:29.753280Z [warning ] <Request '<http://localhost:5000/api/v1/version?include_latest=true>' [GET]> failed with error SSLError(MaxRetryError("HTTPSConnectionPool(host='<http://pypi.org|pypi.org>', port=443): Max retries exceeded with url: /pypi/meltano/json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))")) getting latest_version from <http://pypi.org|pypi.org>
2022-11-10T163929.835561Z [error ] Exception on /api/v1/plugins/installed [GET]
โญโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโฎ
โ /venv/lib/python3.9/site-packages/flask/app.py:2073 in wsgi_app โ
โ โ
โ 2070 โ โ try: โ
โ 2071 โ โ โ try: โ
โ 2072 โ โ โ โ ctx.push() โ
โ โฑ 2073 โ โ โ โ response = self.full_dispatch_request() โ
โ 2074 โ โ โ except Exception as e: โ
โ 2075 โ โ โ โ error = e โ
โ 2076 โ โ โ โ response = self.handle_exception(e) โ
โ โ
โ โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ locals โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ โ
โ โ ctx = <RequestContext โ โ
โ โ 'http://localhost:5000/api/v1/plugins/installed' [GET] โ โ
โ โ of meltano.api.app> โ โ
โ โ e = TypeError("__init__() missing 1 required positional โ โ
โ โ argument: 'plugin_type'") โ โ
โ โ environ = { โ โ
โ โ โ 'wsgi.errors': โ โ
โ โ <gunicorn.http.wsgi.WSGIErrorsWrapper object at โ โ
โ โ 0x7f31aa1336a0>, โ โ
โ โ โ 'wsgi.version': (1, 0), โ โ
โ โ โ 'wsgi.multithread': False, โ โ
โ โ โ 'wsgi.multiprocess': True, โ โ
โ โ โ 'wsgi.run_once': False, โ โ
โ โ โ 'wsgi.file_wrapper': <class โ โ
โ โ 'gunicorn.http.wsgi.FileWrapper'>, โ โ
โ โ โ 'wsgi.input_terminated': True, โ โ
โ โ โ 'SERVER_SOFTWARE': 'gunicorn/20.1.0', โ โ
โ โ โ 'wsgi.input': <gunicorn.http.body.Body object at โ โ
โ โ 0x7f31aa1334c0>, โ โ
โ โ โ 'gunicorn.socket': <socket.socket fd=10, โ โ
โ โ family=AddressFamily.AF_INET, โ โ
โ โ type=SocketKind.SOCK_STREAM, proto=0, โ โ
โ โ laddr=('172.17.0.2', 5000), raddrโฆleog
11/10/2022, 4:46 PMleog
11/10/2022, 4:58 PMversion: 1
default_environment: dev
project_id: bfcf510d-44fc-40bb-b661-a666277d5679
environments:
- name: dev
- name: staging
- name: prod
plugins:
extractors:
- name: tap-mongodb
variant: transferwise
pip_url: pipelinewise-tap-mongodb
- name: tap-oracle
variant: transferwise
pip_url: pipelinewise-tap-oracle