[Portal-7] Add scripts to create db in docker 89/4489/2
authorChristopher Lott (cl778h) <clott@research.att.com>
Thu, 25 May 2017 18:00:16 +0000 (14:00 -0400)
committerChristopher Lott (cl778h) <clott@research.att.com>
Thu, 25 May 2017 18:27:54 +0000 (14:27 -0400)
Change-Id: I327048c4dc3f0faea21fbda894cd22ed102346aa
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
dcae_dmaapbc_webapp/dbca-os/db-scripts/dbca-create-mysql-1707-os.sql [new file with mode: 0644]
dcae_dmaapbc_webapp/dbca-os/db-scripts/dbca-dml-mysql-1707-os.sql
dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/images/onap_logo_2257x496.png [new file with mode: 0644]

diff --git a/dcae_dmaapbc_webapp/dbca-os/db-scripts/dbca-create-mysql-1707-os.sql b/dcae_dmaapbc_webapp/dbca-os/db-scripts/dbca-create-mysql-1707-os.sql
new file mode 100644 (file)
index 0000000..597cd0b
--- /dev/null
@@ -0,0 +1,9 @@
+-- ---------------------------------------------------------------------------------------------------------------
+-- DMaaB Bus Control Web App database script for 1707 ONAP:
+-- Creates database and sets as default ("USE").
+-- Serves as the first part of a complete database script:
+-- cat dbca-create-mysql-1707-os.sql ../../dbca-common/db-scripts/dbca-ddl-mysql-1707-common.sql dbca-dml-mysql-1707-os.sql > out.sql
+-- ---------------------------------------------------------------------------------------------------------------
+
+CREATE DATABASE IF NOT EXISTS dbca_os;
+USE dbca_os;
index 5dc0e98..cced85b 100644 (file)
@@ -3,9 +3,7 @@
 -- in the 1707 release with data for the open-source ONAP version.
 --
 -- This file is suitable for deployment to Application Hosting in 1704 and later:
--- 1. This file does NOT name the database; i.e., no statements like this:
---                     "use foo;"
--- 2. This file uses "--" not NOT "/* */" comment notation; i.e., no statements from mysqldump like this:
+-- This file uses "--" not NOT "/* */" comment notation; i.e., no statements from mysqldump like this:
 --                     /*!40101 SET character_set_client = utf8 */; 
 -- 
 -- Most of the data loaded here is default data for the EP-SDK application (but much reduced).
diff --git a/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/images/onap_logo_2257x496.png b/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/images/onap_logo_2257x496.png
new file mode 100644 (file)
index 0000000..36ee1f5
Binary files /dev/null and b/dcae_dmaapbc_webapp/dbca-overlay/src/main/webapp/app/dbcapp/images/onap_logo_2257x496.png differ