aaronsteers
01/04/2022, 8:33 PMtap-quickbooks
does support and/or expect this to handle a rotating refresh_token
.
4. To my knowledge, we don't (yet) have a way to run meltano elt
with a self-managed config file.
For past use cases, we generally found there was some workaround in the tap itself. So far, just tap-jira
and tap-quickbooks
have been identified. I believe tap-jira
had a workaround so it dropped off the priority. @hassan_syyid mentioned that the tap-quickbooks
setting called is_sandbox
may be a workaround but I can't speak to that myself.aaronsteers
01/04/2022, 8:34 PMricky_renner
01/04/2022, 8:35 PMis_sandbox
setting did not make a difference unfortunately because although the tap itself edits the config file, Meltano is not picking up on those changes.aaronsteers
01/04/2022, 8:35 PMnigel_vining
01/04/2022, 8:50 PMmeltano elt
incorporating a config override for the refresh token. Currently i persist the token file, and grab it at execution time, and persist it again once the tap has updated the refresh token.
# get the latest refresh token
gsutil cp <gs://cloudbuild_352875507036099891800/config.json> .
# run tap using persisted config
tap-quickbooks --config config.json --catalog config/catalog.json > quickbooks.json
# save refresh token before parsing data
gsutil cp config.json <gs://cloudbuild_352875507036099891800>
aaronsteers
01/04/2022, 9:29 PMricky_renner
01/04/2022, 9:43 PMnigel_vining
01/04/2022, 9:51 PMaaronsteers
01/04/2022, 10:02 PM