Hi! I have made a simple source connector which se...
# contributing-to-airbyte
m
Hi! I have made a simple source connector which seems to work and now I would like to test it in the UI. I have run
docker build . -t airbyte/source-my-connector:dev
but now what? I have tried adding my connector in the source_definitions.yaml and restarted all local airbyte docker containers, but it does not appear among the sources in the UI. Any tips?
u
Here is what I added to the soure_definitions.yaml:
Copy code
- sourceDefinitionId: f0a8cf5b-022a-4c3e-b0ac-c86e471aa70b
  name: Provet Cloud
  dockerRepository: airbyte/source-provet
  dockerImageTag: 0.1.0
  documentationUrl: <https://docs.airbyte.io/integrations/sources/lever-hiring>
  sourceType: api
m
When adding the source_definitions file you need to build Airbyte dev.
u
If you want to test in the UI you can add manually
u
Here
u
Ok thanks but what do I put in the boxes? Should I put the path to my docker file in the Docker repository name field? If so what should it look like?
u
Thanks again, got it working with airbyte/source-provet and Tag dev. Would help a lot if you could clarify this in the docs. 👍
m
When connecting source and destination Im getting an error in the UI
The form is invalid. Please make sure that all fields are correct.
And an error in the airbyte server logs:
Copy code
airbyte-server      | 2021-10-05 05:53:36 ERROR i.a.s.RequestLogger(filter):87 - {workspace_app_root=/tmp/workspace/server/logs} - REQ 172.19.0.8 POST 404 /api/v1/web_backend/connections/create - {"sourceId":"793e5041-798f-4348-8ad0-9c2e1adc2d67","destinationId":"64f16bbb-1b6d-4019-84af-964a143f78a3","syncCatalog":{"streams":[{"config":{"syncMode":"full_refresh","cursorField":[],"destinationSyncMode":"append","primaryKey":[["id"]],"aliasName":"consultation","selected":true},"stream":{"name":"consultation","jsonSchema":{"$schema":"<http://json-schema.org/draft-07/schema#>","type":"object","properties":{"id":{"type":["null","number"]},"url":{"type":["null","string"]},"client":{"type":["null","string"]},"patients":{"type":["null","array"],"items":{"type":"string"}},"complaint":{"type":["null","string"]}}},"supportedSyncModes":["full_refresh"],"sourceDefinedCursor":null,"defaultCursorField":[],"sourceDefinedPrimaryKey":[["id"]],"namespace":null}}]},"prefix":"","namespaceDefinition":"source","namespaceFormat":"${SOURCE_NAMESPACE}","schedule":null,"operations":[{"name":"Normalization","workspaceId":"a8d6c28e-ab6d-443d-ba5d-4f7568474ecf","operatorConfiguration":{"operatorType":"normalization","normalization":{"option":"basic"}}}],"status":"active"}
u
Any advise @[DEPRECATED] Marcos Marx?