Rename name column in yang resource table 80/130180/2
authorDylanB95EST <dylan.byrne@est.tech>
Thu, 4 Aug 2022 17:07:24 +0000 (18:07 +0100)
committerDylanB95EST <dylan.byrne@est.tech>
Fri, 5 Aug 2022 08:52:55 +0000 (09:52 +0100)
commite038e5b3c33348fa691765220476bfe3acba955c
treede35edbb9b39c011d9a6765f960447c69701aa79
parent18cd7ed56f0afa07312694510f8e21fbcc32b993
Rename name column in yang resource table

- Rename name column in yang_resource table to file_name
- Refactor instances where it occures in code and tests
- Add new changelog file to rename occurance

Issue-ID: CPS-529
Change-Id: I2aff97410bdb041b90d8ceaeff75e562ef8d9238
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
cps-ri/src/main/java/org/onap/cps/spi/entities/YangResourceEntity.java
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsDataPersistenceServiceImpl.java
cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java
cps-ri/src/main/resources/changelog/changelog-master.yaml
cps-ri/src/main/resources/changelog/db/changes/15-rename-column-yang-resource-table.yaml [new file with mode: 0644]
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsDataPersistenceServiceSpec.groovy
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsModulePersistenceServiceIntegrationSpec.groovy
cps-ri/src/test/resources/data/anchors-schemaset-modules.sql
cps-ri/src/test/resources/data/cps-path-query.sql
cps-ri/src/test/resources/data/fragment.sql
cps-ri/src/test/resources/data/schemaset.sql