diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2023-08-29 10:45:18 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2023-08-29 10:45:56 +0800 |
commit | b32a2d2af10287b1420f8c54b6a90b6aeabff12f (patch) | |
tree | 754e63eb3a7fed43304ac4cc71c2b1c511deea71 /intentanalysis/src/test/resources | |
parent | d87439a9b1e844c130ab1581e3fd174f401a498d (diff) |
Modify Intent Model
Issue-ID: USECASEUI-819
Change-Id: I63041d772aac1e4591d2f8d71be7f699c25be3a1
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Diffstat (limited to 'intentanalysis/src/test/resources')
-rw-r--r-- | intentanalysis/src/test/resources/intent.json | 6 | ||||
-rw-r--r-- | intentanalysis/src/test/resources/intentdb-test-data.sql | 12 | ||||
-rw-r--r-- | intentanalysis/src/test/resources/intentdb-test-init.sql | 1 |
3 files changed, 9 insertions, 10 deletions
diff --git a/intentanalysis/src/test/resources/intent.json b/intentanalysis/src/test/resources/intent.json index 66ebb21..3fe6c83 100644 --- a/intentanalysis/src/test/resources/intent.json +++ b/intentanalysis/src/test/resources/intent.json @@ -8,7 +8,7 @@ "expectationType":"DELIVERY", "expectationObject":{ "objectType":"CCVPN", - "objectInstance":"" + "objectInstance":[] }, "expectationTargets":[ { @@ -58,7 +58,7 @@ "expectationType":"ASSURANCE", "expectationObject":{ "objectType":"CCVPN", - "objectInstance":"" + "objectInstance":[] }, "expectationTargets":[ { @@ -82,7 +82,7 @@ "expectationType":"REPORT", "expectationObject":{ "objectType":"CCVPN", - "objectInstance":"" + "objectInstance":[] }, "expectationTargets":[ { diff --git a/intentanalysis/src/test/resources/intentdb-test-data.sql b/intentanalysis/src/test/resources/intentdb-test-data.sql index 1105411..647ecd2 100644 --- a/intentanalysis/src/test/resources/intentdb-test-data.sql +++ b/intentanalysis/src/test/resources/intentdb-test-data.sql @@ -44,12 +44,12 @@ values ('expectation without affiliate 2', 'CLL Assurance Expectation', 'ASSURAN -- ---------------------------- -- Records of expectation_object -- ---------------------------- -MERGE INTO expectation_object (object_id, object_type, object_instance, expectation_id) KEY (object_id) -values ('b1bc45a6-f396-4b65-857d-6d2312bfb352', 'SLICING', '', 'expectationId1'); -MERGE INTO expectation_object (object_id, object_type, object_instance, expectation_id) KEY (object_id) -values ('931a8690-fa61-4c2b-a387-9e0fa6152136', 'CCVPN', '', 'expectationId2'); -MERGE INTO expectation_object (object_id, object_type, object_instance, expectation_id) KEY (object_id) -values ('3f36bf22-3416-4150-8005-cdc406a43310', 'CCVPN', '', 'expectationId3'); +MERGE INTO expectation_object (object_id, object_type, expectation_id) KEY (object_id) +values ('b1bc45a6-f396-4b65-857d-6d2312bfb352', 'SLICING', 'expectationId1'); +MERGE INTO expectation_object (object_id, object_type, expectation_id) KEY (object_id) +values ('931a8690-fa61-4c2b-a387-9e0fa6152136', 'CCVPN', 'expectationId2'); +MERGE INTO expectation_object (object_id, object_type, expectation_id) KEY (object_id) +values ('3f36bf22-3416-4150-8005-cdc406a43310', 'CCVPN', 'expectationId3'); -- ---------------------------- -- Records of expectation_target diff --git a/intentanalysis/src/test/resources/intentdb-test-init.sql b/intentanalysis/src/test/resources/intentdb-test-init.sql index 05ea854..3b150d6 100644 --- a/intentanalysis/src/test/resources/intentdb-test-init.sql +++ b/intentanalysis/src/test/resources/intentdb-test-init.sql @@ -44,7 +44,6 @@ create table if not exists expectation_object object_id varchar(255) DEFAULT random_uuid(), primary key (object_id), object_type varchar(255), - object_instance varchar(255), expectation_id varchar(255) ); |