blob: 2ab7966e18eb4a8188fd65e55450f529307eadce [file] [log] [blame]
ToineSiebelinkf0527c52021-07-06 13:03:03 +01001/*
2 ============LICENSE_START=======================================================
3 Copyright (C) 2020 Pantheon.tech
danielhanrahanfbb79a02023-02-15 19:00:37 +00004 Modifications Copyright (C) 2020-2023 Nordix Foundation.
Renu Kumari5427ef02022-01-20 12:07:38 -05005 Modifications Copyright (C) 2021-2022 Bell Canada.
ToineSiebelinkf0527c52021-07-06 13:03:03 +01006 ================================================================================
7 Licensed under the Apache License, Version 2.0 (the "License");
8 you may not use this file except in compliance with the License.
9 You may obtain a copy of the License at
10
11 http://www.apache.org/licenses/LICENSE-2.0
12
13 Unless required by applicable law or agreed to in writing, software
14 distributed under the License is distributed on an "AS IS" BASIS,
15 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 See the License for the specific language governing permissions and
17 limitations under the License.
18
19 SPDX-License-Identifier: Apache-2.0
20 ============LICENSE_END=========================================================
21*/
22
Ruslan Kashapov8a1e3c92020-11-24 11:13:43 +020023INSERT INTO DATASPACE (ID, NAME) VALUES
niamhcore09c6b6e2021-11-22 11:44:38 +000024 (1001, 'DATASPACE-001'),
Renu Kumari5427ef02022-01-20 12:07:38 -050025 (1002, 'DATASPACE-002-NO-DATA'),
niamhcore09c6b6e2021-11-22 11:44:38 +000026 (1003, 'DATASPACE-003');
Ruslan Kashapov8a1e3c92020-11-24 11:13:43 +020027
28INSERT INTO SCHEMA_SET (ID, NAME, DATASPACE_ID) VALUES
niamhcore09c6b6e2021-11-22 11:44:38 +000029 (2001, 'SCHEMA-SET-001', 1001),
30 (2002, 'SCHEMA-SET-002', 1001),
Renu Kumari5427ef02022-01-20 12:07:38 -050031 (2003, 'SCHEMA-SET-002-NO-ANCHORS', 1003);
Ruslan Kashapov8a1e3c92020-11-24 11:13:43 +020032
Ruslan Kashapov49fe0752021-01-11 16:44:32 +020033INSERT INTO ANCHOR (ID, NAME, DATASPACE_ID, SCHEMA_SET_ID) VALUES
34 (3001, 'ANCHOR-001', 1001, 2001),
danielhanrahanfbb79a02023-02-15 19:00:37 +000035 (3002, 'ANCHOR-002', 1001, 2002),
36 (3003, 'ANCHOR-003', 1001, 2002);
Ruslan Kashapov4b8ae572021-04-05 12:59:57 +030037
38INSERT INTO FRAGMENT (ID, DATASPACE_ID, ANCHOR_ID, PARENT_ID, XPATH, ATTRIBUTES) VALUES
ToineSiebelinkf0527c52021-07-06 13:03:03 +010039 (4001, 1001, 3001, null, '/xpath', '{}');