niamhcore | a1c6e6a | 2021-10-21 15:19:04 +0100 | [diff] [blame^] | 1 | /* |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2021 Nordix Foundation. |
| 4 | ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | SPDX-License-Identifier: Apache-2.0 |
| 18 | ============LICENSE_END========================================================= |
| 19 | */ |
| 20 | |
| 21 | INSERT INTO DATASPACE (ID, NAME) VALUES |
| 22 | (1001, 'DATASPACE-001'), (1002, 'DATASPACE-002'); |
| 23 | |
| 24 | INSERT INTO SCHEMA_SET (ID, NAME, DATASPACE_ID) VALUES |
| 25 | (2001, 'SCHEMA-SET-001', 1001), |
| 26 | (2002, 'SCHEMA-SET-002', 1002), |
| 27 | (2003, 'SCHEMA-SET-003', 1001), |
| 28 | (2004, 'SCHEMA-SET-004', 1001); |
| 29 | |
| 30 | INSERT INTO YANG_RESOURCE (ID, NAME, CONTENT, CHECKSUM, MODULE_NAME, REVISION) VALUES |
| 31 | (3001, 'module1@2020-02-02.yang', 'CONTENT-001', 'checksum1','MODULE-NAME-001',null), |
| 32 | (3002, 'module2@2020-02-02.yang', 'CONTENT-002', 'checksum2','MODULE-NAME-002','REVISION-002'), |
| 33 | (3003, 'module3@2020-02-02.yang', 'CONTENT-003', 'checksum3','MODULE-NAME-003','REVISION-003'), |
| 34 | (3004, 'module4@2020-02-02.yang', 'CONTENT-004', 'checksum4','MODULE-NAME-004','REVISION-004'), |
| 35 | (3005, 'module5@2020-03-02.yang', 'CONTENT-005', 'checksum5','MODULE-NAME-002','REVISION-003'); |
| 36 | |
| 37 | INSERT INTO SCHEMA_SET_YANG_RESOURCES (SCHEMA_SET_ID, YANG_RESOURCE_ID) VALUES |
| 38 | (2001, 3001), (2002, 3002), |
| 39 | (2001, 3003), (2002, 3003), |
| 40 | (2003, 3004), (2004, 3005); |
| 41 | |
| 42 | INSERT INTO ANCHOR (ID, NAME, DATASPACE_ID, SCHEMA_SET_ID) VALUES |
| 43 | (6001, 'ANCHOR1', 1001, 2001), |
| 44 | (6002, 'ANCHOR2', 1001, 2002), |
| 45 | (6003, 'ANCHOR3', 1001, 2004); |