From 4492a7389e77a659de0661f32bc675f9a1ec8cb2 Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Thu, 7 Mar 2019 16:08:58 -0500 Subject: [PATCH] adding default value for ansible server insert default value into the DEVICE_AUTHENTICATION table for anible server in OOM env Change-Id: I6f23a5384152d66fcaa6572c004be585f98c9f70 Issue-ID: APPC-1445 Signed-off-by: Taka Cho --- installation/appc/src/main/resources/sqlData.dump | 3 +++ 1 file changed, 3 insertions(+) diff --git a/installation/appc/src/main/resources/sqlData.dump b/installation/appc/src/main/resources/sqlData.dump index 0e8b223..633101b 100644 --- a/installation/appc/src/main/resources/sqlData.dump +++ b/installation/appc/src/main/resources/sqlData.dump @@ -50,3 +50,6 @@ INSERT INTO DOWNLOAD_DG_REFERENCE (DOWNLOAD_DG_REFERENCE_ID, PROTOCOL, DOWNLOAD_ INSERT INTO DOWNLOAD_DG_REFERENCE (DOWNLOAD_DG_REFERENCE_ID, PROTOCOL, DOWNLOAD_CONFIG_DG) VALUES (0, 'NETCONF', 'DownloadXmlConfig'); UNLOCK TABLES; +LOCK TABLES `DEVICE_AUTHENTICATION` WRITE; +INSERT INTO DEVICE_AUTHENTICATION (DEVICE_AUTHENTICATION_ID, PROTOCOL, USER_NAME, PASSWORD, URL) VALUES (1, 'ANSIBLE', 'admin','admin', 'http://appc-ansible-server:8000/Dispatch'); +UNLOCK TABLES; -- 2.16.6