aboutsummaryrefslogtreecommitdiffstats
path: root/ecd-app-common/db-scripts/README.md
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-08-17 14:52:44 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-08-17 14:53:24 -0400
commit9015d0d86d23a83e578ded1bd95485d467515208 (patch)
tree577556c635e60bbd8446416c2cb6492f4b583a5f /ecd-app-common/db-scripts/README.md
parent3a32363f46a29cfed9ed1c28053424852f54382d (diff)
Publish seed code for the OOM Dashboard
First open-source release of the ONAP Operations Manager Dashboard web application. Issue: CCSDK-61 Change-Id: I902f789692d76ee583aa967682e39f03b6578fe9 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'ecd-app-common/db-scripts/README.md')
-rw-r--r--ecd-app-common/db-scripts/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/ecd-app-common/db-scripts/README.md b/ecd-app-common/db-scripts/README.md
new file mode 100644
index 0000000..474e438
--- /dev/null
+++ b/ecd-app-common/db-scripts/README.md
@@ -0,0 +1,23 @@
+# ECOMP-C Dashboard Database Scripts
+
+This directory has a DDL to create tables and and DML scripts to populate tables
+in Postgresql for the ECOMP-C Dashboard web application.
+
+## Internal deployments
+
+To create a database for internal use:
+- Run the common DDL script
+- Run the common DML script
+- Run the internal-use-only DML script, which can be found in a different project
+
+## Open-source deployments
+
+To create a database for ONAP use:
+- Run the common DDL script
+- Run the common DML script
+
+## Notes on Postgresql:
+
+Set default schema for user:
+ ALTER USER <the-user-name> SET search_path to <the-schema-name>;
+ (the above statement is not needed for version 9.4 and above) \ No newline at end of file