JS script to backfill brackets plugins metadata registry to elastic search clusters.
- 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.
- Change the variable NODE_ADDRESS in backfill.js with elastic search node addr .
- Build the package and run "node backfill.js".
The failed metadata records will be stored as a JSON map (check backfill-failure(example).json) with the following structure :
- KEY (String): plugin name (unique so no chance of collision)
- VALUE (String): Error reason.