1 # sdnr-wt-data-provider
3 Data-provider bundle manages all access to SDN-R database.
4 Database is actually ElasticSearch.
8 Central SDN-R script initializing and preparing the database BEFORE SDN-R usage.
12 Initialization and migration tool for elasticsearch database
14 Reference: https://wiki.onap.org/display/DW/SDN-R+Data+Migration+Tool
17 <code>java -jar $ODL_HOME/system/org/onap/ccsdk/features/sdnr/wt/sdnr-wt-data-provider-setup/0.7.1-SNAPSHOT/sdnr-dmt.jar -c init -db $SDNRDBURL -dbu $SDNRDBUSERNAME -dbp $SDNRDBPASSWORD</code>
20 ### ES-INIT Script (deprecated)
23 Dir: provider/src/main/resources
25 * Elasticsearch database initialization script using bash and curl commands.
26 * Intended to be executed in a linux command line environment
27 * Needs to be executed before the database is used to initialize type mapping of the indexes
28 * The script is included into the ZIP created by sdnr-wt-feature-aggregator to be available in containers