Merge "Code review cleanup for: Add kafka messaging support to integration test module"
[cps.git] / cps-ri / src / main / resources / changelog / db / changes / 03-loadData-schema-set.yaml
1 # ============LICENSE_START=======================================================
2 # Copyright (c) 2021 Bell Canada.
3 # ================================================================================
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 # ============LICENSE_END=========================================================
16
17 databaseChangeLog:
18   - changeSet:
19       author: cps
20       label: xnf-data-preload
21       id: 3.1
22       loadUpdateData:
23         encoding: UTF-8
24         file: 'changelog/db/changes/data/schema_set.csv'
25         onlyUpdate: 'false'
26         primaryKey: 'id'
27         quotchar: '"'
28         separator: '|'
29         tableName: 'schema_set'
30
31   - changeSet:
32       author: cps
33       label: xnf-data-preload
34       id: 3.2
35       loadUpdateData:
36         encoding: UTF-8
37         file: 'changelog/db/changes/data/yang_resource.csv'
38         onlyUpdate: 'false'
39         primaryKey: 'id'
40         quotchar: '"'
41         separator: '|'
42         tableName: 'yang_resource'
43         columns:
44           - column:
45               header:  name
46               name:  name
47               type:  STRING
48           - column:
49               header:  content
50               name: content
51               type: STRING
52           - column:
53               header:  checkstyle
54               name: checkstyle
55               type: STRING
56
57   - changeSet:
58       author: cps
59       label: xnf-data-preload
60       id: 3.3
61       loadUpdateData:
62         encoding: UTF-8
63         file: 'changelog/db/changes/data/schema_set_yang_resources.csv'
64         quotchar: '"'
65         primaryKey: 'schema_set_id,yang_resource_id'
66         separator: '|'
67         tableName: 'schema_set_yang_resources'
68         usePreparedStatements:  true
69