summaryrefslogtreecommitdiffstats
path: root/src/main/resources/schema.sql
diff options
context:
space:
mode:
authorReshmasree <reshmasree.chamarthi2@wipro.com>2019-03-21 18:54:53 +0530
committerReshmasree <reshmasree.chamarthi2@wipro.com>2019-03-27 20:22:53 +0530
commitab400d51a639a01f31a60ac9d1e127d4d4d28b24 (patch)
treefd7ee3eb66c976bba4e4027e993eeb95666b98e8 /src/main/resources/schema.sql
parent3cd4023832810e8b65f85a9db807c8bafec38d82 (diff)
Add component spec and blueprint
- validated component spec and blueprints are added to the repo - pom file changed to build,tag and push the docker image - checkstyle version changed from 1.2.3-SNAPSHOT to 1.2.3 - entrypoint script added Change-Id: I0fcf8a17b0c5ce1990de506bf94d2d9ddf93d6fd Issue-ID: DCAEGEN2-1159 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com>
Diffstat (limited to 'src/main/resources/schema.sql')
-rw-r--r--src/main/resources/schema.sql27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/main/resources/schema.sql b/src/main/resources/schema.sql
new file mode 100644
index 0000000..88b64d5
--- /dev/null
+++ b/src/main/resources/schema.sql
@@ -0,0 +1,27 @@
+CREATE TABLE DMAAP_NOTIFICATIONS(
+ notification TEXT PRIMARY KEY NOT NULL,
+ created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+);
+CREATE TABLE BUFFERED_NOTIFICATIONS(
+ notification TEXT PRIMARY KEY NOT NULL,
+ cluster_id TEXT NOT NULL,
+ created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+);
+CREATE TABLE CLUSTER_DETAILS(
+ cluster_id TEXT PRIMARY KEY NOT NULL,
+ cluster_info TEXT NOT NULL,
+ child_thread_id BIGINT UNIQUE NOT NULL
+);
+CREATE TABLE CELL_INFO(
+ cell_id TEXT PRIMARY KEY NOT NULL,
+ pnf_name TEXT NOT NULL
+);
+CREATE TABLE PCI_REQUESTS(
+ transaction_id TEXT PRIMARY KEY,
+ child_thread_id BIGINT UNIQUE NOT NULL
+);
+CREATE TABLE FAULT_NOTIFICATIONS(
+ notification TEXT PRIMARY KEY NOT NULL,
+ created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
+);
+