https://github.com/aicore/backfill-metadata
JS script to backfill brackets plugins metadata registry to elastic search clusters
https://github.com/aicore/backfill-metadata
Last synced: 2 months ago
JSON representation
JS script to backfill brackets plugins metadata registry to elastic search clusters
- Host: GitHub
- URL: https://github.com/aicore/backfill-metadata
- Owner: aicore
- License: gpl-3.0
- Created: 2022-04-25T03:37:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T05:46:29.000Z (over 1 year ago)
- Last Synced: 2025-01-13T08:34:26.422Z (4 months ago)
- Language: JavaScript
- Size: 43 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# backfill-metadata
JS script to backfill brackets plugins metadata registry to elastic search clusters.# Steps
1. Copy the registry metadata file and the file containing the npm registry URL(check plugin-to-npm-url.json) in the root directory locally before running this script.
2. Change the variable NODE_ADDRESS in backfill.js with elastic search node addr .
3. Build the package and run "node backfill.js".# Debugging Failed Records
The failed metadata records will be stored as a JSON map (check backfill-failure(example).json) with the following structure :
1. KEY (String): plugin name (unique so no chance of collision)
2. VALUE (String): Error reason.