From: Taka Cho Date: Thu, 7 Mar 2019 21:08:58 +0000 (-0500) Subject: adding default value for ansible server X-Git-Tag: 1.6.2~30 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=appc%2Fdeployment.git;a=commitdiff_plain;h=4492a7389e77a659de0661f32bc675f9a1ec8cb2 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 --- 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;