Back to export-all

SalesCandy Git archive

export-all

Contains scripts for exporting data across tenants.

README

This repository contains scripts for exporting data across multiple tenants. It groups tenant data into ZIP archives and uploads these packages to an S3 bucket for archival and reindexing purposes.

The primary use case is bulk data migration from CandyMuncher to CandyStream. Inputs are tenant-specific data sources, and the output is a set of ZIP files stored in S3.

Selected files and folders

  • README.md
  • package.json

Reconstructed issues

Summaries inferred from the archive. Original issue records are unavailable here.

Handle non-aphanumeric tenant names

Previously, tenant names containing characters outside the alphanumeric set caused export failures. This change ensures that such names are correctly sanitized and processed during the data grouping phase.

52f03a5ba4be

Improve file naming and data capture

The previous file naming convention was inconsistent, leading to difficulty in tracking specific data sets post-export. This update standardizes naming and enhances the metadata captured within the exported ZIP files.

5caf7b9f8103

Remove forbidden check

An overly restrictive check for 'forbidden' status was causing legitimate data exports to fail unnecessarily. This revision removes that specific validation, allowing broader data inclusion.

3aed440a1a2f

Selected commits

  1. Bugfix

    Reza Rosli ·

    fa1c04def2afe783eb2446148fd0900e08854e2f

  2. Test creating a link after upload

    Reza Rosli ·

    8f40ad905bbc8d2b9929cce0940e51fd48dd6633

  3. Bugfix

    Reza Rosli ·

    78966f5204a9812db1af339dc7c63eece3da31df

  4. Cleanup

    Reza Rosli ·

    77db7f90bfe31367964f730e9f9061e09a24b4c3

  5. Test S3 integration

    Reza Rosli ·

    6e4d058a7b3a89975018bab88e6b48027a4d8b31

  6. Improve file naming and data capture

    Reza Rosli ·

    5caf7b9f8103c89f93310fc9073287112737d83e

  7. Handle non-aphanumeric tenant names

    Reza Rosli ·

    52f03a5ba4be6666ea89cff51d046e6775020f7c

  8. Bugfix

    Reza Rosli ·

    5231857de10c48b939aea4b48e2874e3316e4a26

  9. Remove forbidden check

    Reza Rosli ·

    3aed440a1a2f1a28943e317da5a492e13aa74c3c

  10. Test S3 integration

    Reza Rosli ·

    37263b18580a2e4277261de53446218624611cbc

  11. Bugfix

    Reza Rosli ·

    2fb8769c2b73b748e9bbf4d82021f5473e94292e

  12. Test Cognito integration

    Reza Rosli ·

    00b24c874ccead057188d9646e425c3ced81134b

  13. Test Cognito integration

    Reza Rosli ·

    f07f333f8276474f1391a158ebcb3ece0cffe218

  14. Test CandyBase integration

    Reza Rosli ·

    287b8407fd043f50f053420117160a4c7baaaab5

  15. Fix secret name

    Reza Rosli ·

    06f3f146135a403778374f45944c0c6846fdc8b0

  16. Improve script

    Reza Rosli ·

    c57bd3f02066eb466c71f118a668819310661699

  17. Update ElasticSearch URLs

    Reza Rosli ·

    beaa3bed82d31796762f3f0d6d9678cd95014c81

  18. Initial commit

    Reza Rosli ·

    7aa8d44c5796c7899f198e1bfebbe0de600aeb95

  19. Config update

    Reza Rosli ·

    48b8fbd7636f6e048f12d7289e555f18fcd09f54

  20. Access Elastic using Secrets Manager

    Reza Rosli ·

    41b04794d96505cae72a5d4b85bd918255c89b02