summaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/main/resources/intent-analysis-init.sql
diff options
context:
space:
mode:
authorKeguang He <hekeguang@chinamobile.com>2022-07-26 01:17:21 +0000
committerGerrit Code Review <gerrit@onap.org>2022-07-26 01:17:21 +0000
commit0c41af52f3f453219a0240cf54ea321829a49c0e (patch)
tree682c84b423f65e9c5b7476a30f504e8a757cace2 /intentanalysis/src/main/resources/intent-analysis-init.sql
parent7753765f0712e846ff87a8b2dd6b9586b2e02f47 (diff)
parentc556b574b03a0458e1f8121351c80286ac02bb63 (diff)
Merge "Intent service impletation"
Diffstat (limited to 'intentanalysis/src/main/resources/intent-analysis-init.sql')
-rw-r--r--intentanalysis/src/main/resources/intent-analysis-init.sql20
1 files changed, 20 insertions, 0 deletions
diff --git a/intentanalysis/src/main/resources/intent-analysis-init.sql b/intentanalysis/src/main/resources/intent-analysis-init.sql
new file mode 100644
index 0000000..64074fa
--- /dev/null
+++ b/intentanalysis/src/main/resources/intent-analysis-init.sql
@@ -0,0 +1,20 @@
+create table if not exists intent(
+ intent_id varchar(255) primary key,
+ intent_name varchar(255)
+);
+
+create table if not exists expectation(
+ expectation_id varchar(255) primary key,
+ expectation_name varchar(255),
+ target_moi varchar(255),
+ intent_id varchar(255)
+);
+
+create table if not exists state(
+ state_id varchar(255) primary key,
+ state_name varchar(255),
+ is_satisfied boolean,
+ condition varchar(255),
+ expectation_id varchar(255)
+);
+