Open lemontreeran opened 2 years ago
Hi there!
In the second configuration I think the only needed update is to surround the entire SERVICE_ACCOUNT_KEY_VALUE in single quotes, like:
SERVICE_ACCOUNT_KEY_FILE: '{"type":"service_account","project_id":"project_id",...}'
That should let Starbase see the value as a flattened string value instead of an object. Long term, we can look at better handling when Starbase sees config values as objects like this, but this should hopefully be a workaround for you to move forward now.
Thanks @adam-in-ict ! This workaround works. I will try this solution for the time being.
When we are doing
yarn starbase run
to run the Google Cloud(graph-google-cloud) integration with Starbase, the .env in.integrations/graph-google-cloud
is not generated correctly. Therefore nothing is imported into the Neo4J database. Would you please have a look at this issue and supply the fix?Here is the config.xml in different format that I tested.
.env
generated.integrations/graph-google-cloud
. According to docs[2], this.env
is expecting only string. The json file name is treated as a string which is not getting any correct connections with GCP..env
generated.integrations/graph-google-cloud
. According to docs[2], this.env
is expecting only string. The json object is just converted into[object Object]
which is not a json object anymore.Referece: [1] https://github.com/JupiterOne/starbase/blob/main/README.md?plain=1#L170 [2] https://github.com/JupiterOne/graph-google-cloud/blob/main/docs/development.md?plain=1#L229