https://linen.dev logo
c

Chris (deprecated profile)

10/30/2020, 5:24 PM
After writing a connector, i created a file
airbyte-config/init/src/main/resources/config/STANDARD_SOURCE/778daa7c070c.json
with this content:
Copy code
{
  "sourceId": "778daa7c070c",
  "name": "File",
  "dockerRepository": "airbyte/source-file",
  "dockerImageTag": "0.1.0",
  "documentationUrl": "<https://hub.docker.com/r/airbyte/source-file>"
}
However when i start the
docker-compose --env-file .env.dev -f docker-compose.yaml -f docker-compose.dev.yaml up
command and open the browser, i don't see my source-file in there, am i missing something?
u

user

10/30/2020, 5:24 PM
You might need to start with
docker-compose down -v
u

user

10/30/2020, 5:25 PM
these files are only loaded once, the first time you create the volume
u

user

10/30/2020, 5:26 PM
it doesn't seem to do anything different...
u

user

10/30/2020, 5:27 PM
hum
u

user

10/30/2020, 5:42 PM
removing /tmp/dev_root fixed it
u

user

10/30/2020, 5:43 PM
the seed data step only works the first time we run the app. In dev if you want to start from a clean slate you also need to remove the /tmp/dev_root, otherwise it doesn't get updated with the new base configurations
u

user

10/30/2020, 5:48 PM
I had to properly come up with some kind of uuid too... which i didn't before as i just wrote down random sourceId...
u

user

10/30/2020, 5:48 PM
yes it works now thanks!
u

user

10/30/2020, 9:01 PM
if i change code in my python integration-connector code, how do i make sure that the new code is properly redeployed to be used when i docker-compose up? (what commands do i have to run? just
gradlew build
is not enough, right?)
u

user

10/30/2020, 9:01 PM
(do i have to change the uuid of the files in the standard_source ?