The B
06/19/2024, 12:23 PMmeltano add extractor tap-bitbucket --from-ref /absolute-path/tap-bitbucket/meltano.yml
Im getting the error Plugin definition is invalid: missing properties (name, namespace).
My meltano plugin config looks like this
version: 1
default_environment: local
environments:
- name: local
- name: dev
- name: prod
send_anonymous_usage_stats: false
plugins:
extractors:
- name: tap-bitbucket
namespace: tap_bitbucket
pip_url: -e .
capabilities:
- catalog
- discover
- state
- about
settings:
- name: auth_username
kind: string
sensitive: true
- name: auth_token
kind: string
sensitive: true
- name: workspaces
kind: string
- name: repositories
kind: string
- name: start_date
kind: string
Would appreciate some help, Im a bit lost here.visch
06/19/2024, 12:26 PM--from-ref
I'd probably do this
cd /absolute-path/tap-bitbucket
meltano install
meltano invoke tap-bitbucket
The B
06/19/2024, 12:31 PMvisch
06/19/2024, 12:35 PMplugins
, and extracts
parent objects in your yaml filevisch
06/19/2024, 12:35 PMvisch
06/19/2024, 12:36 PMmeltano publish extractor-name
would be much nicer!The B
06/19/2024, 12:44 PMmeltano add
it calls the hub first and gets specifications from it, including settings and other info. then maps it to the actual repo/location of the plugin.
it works after flattening the schema and keeping only data from plugins.extractorsEdgar RamÃrez (Arch.dev)
06/19/2024, 12:51 PM--from-ref
differs slightly from meltano.yml
. What I've done in some of my taps, is add a plugin.yaml that I can pull even remotely as
meltano add extractor tap-clinicaltrials --from-ref=<https://raw.githubusercontent.com/edgarrmondragon/tap-clinicaltrials/main/plugin.yaml>
Edgar RamÃrez (Arch.dev)
06/19/2024, 12:51 PM--from-ref
input should follow this spec: https://docs.meltano.com/reference/plugin-definition-syntaxThe B
06/19/2024, 12:54 PM