Registry Index
PDS Registry stores its data in Elasticsearch. You must create registry index in Elasticsearch before loading the data.
Registry Manager comes with default Elasticsearch registry schema located in <wherever you deployed the package>/registry-4.0.2/elastic/registry.json. You may want to add more fields to default schema or change default configuration.
Create Elasticsearch Index
To create registry index in Elasticsearch from default schema run the following Registry Manager command
registry-manager create-registry
You can customize create-registry command by passing several parameters. See Registry Manager Help for more info. To see the list of available parameters and basic usage you can also run
registry-manager create-registry -help
To check that registry collection was created open the following URL in a browser: http://localhost:9200/_cat/indices/registry or use curl.
curl "http://localhost:9200/_cat/indices/registry"
The response should look similar to this. Make sure that index status is "green".
green open registry u05gqL5FSHKhF-lnG_bf_A 1 0 0 0 208b 208b
Delete Elasticsearch Index
To delete registry index from Elasticsearch run the following command.
registry-manager delete-registry
See Registry Manager Help for more info.
Customization
You may want to add more fields to default schema or change default configuration. See Registry Customization for more information.
Next Steps
You might now want to quickly test your set up or directly operate it with your own data.