summaryrefslogtreecommitdiffstats
path: root/cps-ri/src/test/resources/data/perf-test.sql
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2022-12-06 10:10:23 +0000
committerGerrit Code Review <gerrit@onap.org>2022-12-06 10:10:23 +0000
commit556e54f5905440e4c9c4fc7fbf9c027877e51517 (patch)
tree30b38b8b02b50989b94c1a390b7a7fb83486859f /cps-ri/src/test/resources/data/perf-test.sql
parentcdea746f714607e309342507345afd9e497972a7 (diff)
parentfe9f46e0cf3c62e053a0e8a3ecbb7869e8c66d0f (diff)
Merge "Enhance read performance tests"
Diffstat (limited to 'cps-ri/src/test/resources/data/perf-test.sql')
-rw-r--r--cps-ri/src/test/resources/data/perf-test.sql28
1 files changed, 28 insertions, 0 deletions
diff --git a/cps-ri/src/test/resources/data/perf-test.sql b/cps-ri/src/test/resources/data/perf-test.sql
new file mode 100644
index 000000000..5119f26b2
--- /dev/null
+++ b/cps-ri/src/test/resources/data/perf-test.sql
@@ -0,0 +1,28 @@
+/*
+ ============LICENSE_START=======================================================
+ Copyright (C) 2022 Nordix Foundation.
+ ================================================================================
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+ SPDX-License-Identifier: Apache-2.0
+ ============LICENSE_END=========================================================
+*/
+
+INSERT INTO DATASPACE (ID, NAME) VALUES (9001, 'PERF-DATASPACE');
+
+INSERT INTO SCHEMA_SET (ID, NAME, DATASPACE_ID) VALUES (9002, 'PERF-SCHEMA-SET', 9001);
+
+INSERT INTO ANCHOR (ID, NAME, DATASPACE_ID, SCHEMA_SET_ID) VALUES (9003, 'PERF-ANCHOR', 9001, 9002);
+
+INSERT INTO FRAGMENT (ID, DATASPACE_ID, ANCHOR_ID, PARENT_ID, XPATH) VALUES (0, 9001, 9003, null, '/perf-parent-1');
+