From 5a398289dee4b666528aa77f4e38f9c68d35b254 Mon Sep 17 00:00:00 2001
From: BT2983 <BT2983@att.com>
Date: Mon, 23 Jul 2018 13:11:35 -0600
Subject: Adding naming micro-service code - scripts.

Docker and DB scripts.

Change-Id: I2e9e153f6c72e5f5d6ee86cc9dfc275ec77b4642
Issue-ID: CCSDK-342
Signed-off-by: BT2983 <BT2983@att.com>
---
 .../scripts/rel_18_10/01_initial_ref_data_v1.sql       | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 ms/neng/src/main/resources/db/changelog/scripts/rel_18_10/01_initial_ref_data_v1.sql

(limited to 'ms/neng/src/main/resources/db/changelog/scripts/rel_18_10/01_initial_ref_data_v1.sql')

diff --git a/ms/neng/src/main/resources/db/changelog/scripts/rel_18_10/01_initial_ref_data_v1.sql b/ms/neng/src/main/resources/db/changelog/scripts/rel_18_10/01_initial_ref_data_v1.sql
new file mode 100644
index 00000000..44d86f0a
--- /dev/null
+++ b/ms/neng/src/main/resources/db/changelog/scripts/rel_18_10/01_initial_ref_data_v1.sql
@@ -0,0 +1,18 @@
+--liquibase formatted sql
+--changeset ref_data_load_p1:18_10_ref_data_load_p1.sql
+
+--comment: 07/23/2018 Intial Data Load - LOAD PARAMETERS
+
+--set @@autocommit:=0;
+
+--delete all records
+delete from SERVICE_PARAMETER;
+
+INSERT INTO SERVICE_PARAMETER(NAME, VALUE, CREATED_BY) VALUES ('initial_increment','10,40,50,100','Initial');
+INSERT INTO SERVICE_PARAMETER(NAME, VALUE, CREATED_BY) VALUES ('recipe_separator','|":",','Initial');
+
+delete from IDENTIFIER_MAP;
+
+INSERT INTO IDENTIFIER_MAP(POLICY_FN_NAME, JS_FN_NAME, CREATED_BY) VALUES ('substr','substring', 'Initial'); 
+
+commit;
-- 
cgit 1.2.3-korg

