fetching configuration from CBS at application bootstrap 91/89791/4
authorgrabinsk <maciej.grabinski@nokia.com>
Tue, 4 Jun 2019 13:18:44 +0000 (15:18 +0200)
committergrabinsk <maciej.grabinski@nokia.com>
Fri, 14 Jun 2019 10:34:51 +0000 (12:34 +0200)
commit4117c9fd7fcea895e18872e0d541e0f14a9a41b9
tree7ac60bf14cd679a0d1268d3c9cb208018357dfe5
parent44b70902a263f9dcc73e1910377792097194f1d5
fetching configuration from CBS at application bootstrap

Change-Id: Ibaa56c38b87fc8b8cfa858f74b7bc201bd507b37
Issue-ID: DCAEGEN2-1544
Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
26 files changed:
pom.xml
prh-app-server/pom.xml
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsBootstrapConfiguration.java [new file with mode: 0644]
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsClientConfigurationResolver.java [moved from prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsClientConfigurationResolver.java with 62% similarity]
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsClientFactoryFacade.java [moved from prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/configuration/CbsClientConfigFileReaderTest.java with 51% similarity]
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsJsonToPropertyMapConverter.java [new file with mode: 0644]
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsProperties.java [new file with mode: 0644]
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/CbsPropertySourceLocator.java [new file with mode: 0644]
prh-app-server/src/main/java/org/onap/dcaegen2/services/bootstrap/RetryProperties.java [new file with mode: 0644]
prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/MainApp.java
prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsClientConfigFileReader.java [deleted file]
prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsConfigRefreshScheduler.java [new file with mode: 0644]
prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/CbsConfiguration.java
prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java
prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTasksRunner.java
prh-app-server/src/main/resources/META-INF/spring.factories [new file with mode: 0644]
prh-app-server/src/main/resources/application.yaml
prh-app-server/src/main/resources/bootstrap.yaml [new file with mode: 0644]
prh-app-server/src/main/resources/cbs_client_config.json [deleted file]
prh-app-server/src/main/resources/logback-spring.xml
prh-app-server/src/test/java/org/onap/dcaegen2/services/bootstrap/CbsClientConfigurationResolverTest.java [moved from prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/configuration/CbsClientConfigurationResolverTest.java with 73% similarity]
prh-app-server/src/test/java/org/onap/dcaegen2/services/bootstrap/CbsJsonToPropertyMapConverterTest.java [new file with mode: 0644]
prh-app-server/src/test/java/org/onap/dcaegen2/services/bootstrap/CbsPropertySourceLocatorTest.java [new file with mode: 0644]
prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/configuration/CbsConfigRefreshSchedulerTest.java [new file with mode: 0644]
prh-app-server/src/test/java/org/onap/dcaegen2/services/prh/tasks/CbsConfigTestConfig.java [new file with mode: 0644]
prh-app-server/src/test/resources/bootstrap.yaml [new file with mode: 0644]