Add missing index tag
[ccsdk/features.git] / sdnr / wt / data-provider / README.md
1 # sdnr-wt-data-provider
2
3 Data-provider bundle manages all access to SDN-R database.
4 Database is actually ElasticSearch.
5
6 ## Initilization
7
8 Central SDN-R script initializing and preparing the database BEFORE SDN-R usage.
9
10 ### sdnr-dmt.jar Tool
11
12 Initialization and migration tool for elasticsearch database
13
14 Reference: https://wiki.onap.org/display/DW/SDN-R+Data+Migration+Tool
15
16 Example:
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>
18
19
20 ### ES-INIT Script (deprecated)
21
22 Name: es-init.sh
23 Dir: provider/src/main/resources
24
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