talk icon indicating copy to clipboard operation
talk copied to clipboard

allow `utilities/download` to work with archive databases

Open nick-funk opened this issue 1 year ago • 1 comments

What does this PR do?

Updates the utilties/download so it can work with archive databases.

Will now use tenantID if the tenant is not available (as there is no tenants collection inside archive databases)

These changes will impact:

  • [ ] commenters
  • [ ] moderators
  • [ ] admins
  • [X] developers

What changes to the GraphQL/Database Schema does this PR introduce?

None

Does this PR introduce any new environment variables or feature flags?

No

If any indexes were added, were they added to INDEXES.md?

N/A

How do I test this PR?

  • create an archive mongo database (or pull one from Atlas)
  • set up the config as per the readme for this connection
  • download a tenant (specified in your config)
  • see that it creates the output folder using the tenantID instead of the org name
  • see that the archived comment data is downloaded appropriately

Were any tests migrated to React Testing Library?

No

How do we deploy this PR?

No special considerations.

nick-funk avatar Feb 20 '24 23:02 nick-funk

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
Latest commit 98e1d29d8029117fba4b6dbdc550bf6c65812841
Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/65f3040e94e94200088f0f98

netlify[bot] avatar Feb 20 '24 23:02 netlify[bot]