aboutsummaryrefslogtreecommitdiffstats
path: root/intentanalysis/src/test/resources
diff options
context:
space:
mode:
authorhekeguang <hekeguang@chinamobile.com>2022-09-22 09:34:52 +0800
committerKeguang He <hekeguang@chinamobile.com>2022-09-22 02:16:47 +0000
commit6788e2dd2bf8f3de3b4efa4d809cd64d4c8781cf (patch)
treedbcf4d6adf3c5a2771b592bfc5555ebcffab37df /intentanalysis/src/test/resources
parente9b9b7f526101fbeb8742b8643b750e3ca6d72fd (diff)
Add intent management registration code.
Issue-ID: USECASEUI-696 Change-Id: I20500eaf08f6f41007478a21ff608071e393b54f Signed-off-by: hekeguang <hekeguang@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/test/resources')
-rw-r--r--intentanalysis/src/test/resources/intentdb-test-data.sql12
-rw-r--r--intentanalysis/src/test/resources/intentdb-test-init.sql3
2 files changed, 14 insertions, 1 deletions
diff --git a/intentanalysis/src/test/resources/intentdb-test-data.sql b/intentanalysis/src/test/resources/intentdb-test-data.sql
index c03acd6..ec183fe 100644
--- a/intentanalysis/src/test/resources/intentdb-test-data.sql
+++ b/intentanalysis/src/test/resources/intentdb-test-data.sql
@@ -101,3 +101,15 @@ values ('intentId1', 'NOT_FULFILLED', 'COMPLIANT', 'NotFulfilledReason');
MERGE INTO fulfilment_info (fulfilment_info_id, fulfilment_info_status, not_fulfilled_state, not_fulfilled_reason) KEY (fulfilment_info_id)
values ('intentId2', 'NOT_FULFILLED', 'COMPLIANT', 'NotFulfilledReason');
+
+-- ----------------------------
+-- Records of intent_management_function_reg_info
+-- ----------------------------
+INSERT INTO intent_management_function_reg_info(imfr_info_id,imfr_info_description,support_area,support_model,support_interfaces,handle_name,intent_function_type)
+VALUES ('CLLBusinessId','CLLBusiness','{"CLLBUSINESS"}',null,'{"CREATE","DELETE","UPDATE","SEARCH"}','CLLBusinessIntentManagementFunction','INTERNALFUNCTION');
+
+INSERT INTO intent_management_function_reg_info(imfr_info_id,imfr_info_description,support_area,support_model,support_interfaces,handle_name,intent_function_type)
+VALUES ('CLLDeliveryId','CLLDelivery','{"CLLBUSINESS","DELIVERY"}',null,'{"CREATE","DELETE","UPDATE","SEARCH"}','CLLDeliveryIntentManagementFunction','INTERNALFUNCTION');
+
+INSERT INTO intent_management_function_reg_info(imfr_info_id,imfr_info_description,support_area,support_model,support_interfaces,handle_name,intent_function_type)
+VALUES ('CLLAssuranceId','CLLAssurance','{"CLLBUSINESS","ASSURANCE"}',null,'{"CREATE","DELETE","UPDATE","SEARCH"}','CLLAssuranceIntentManagementFunction','INTERNALFUNCTION'); \ No newline at end of file
diff --git a/intentanalysis/src/test/resources/intentdb-test-init.sql b/intentanalysis/src/test/resources/intentdb-test-init.sql
index 3a60df7..06effe6 100644
--- a/intentanalysis/src/test/resources/intentdb-test-init.sql
+++ b/intentanalysis/src/test/resources/intentdb-test-init.sql
@@ -81,8 +81,9 @@ create table if not exists condition
create table if not exists intent_management_function_reg_info(
imfr_info_id varchar(255) primary key,
imfr_info_description varchar(255),
+ support_area text ARRAY,
support_model varchar(255),
+ support_interfaces text ARRAY,
handle_name varchar(255),
intent_function_type varchar(255)
);
-