summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcae/ApplicationSettings.java
AgeCommit message (Collapse)AuthorFilesLines
2019-01-29Fix sonar violationZlatko Murgoski1-15/+12
Fix sonar violation Issue-ID: DCAEGEN2-1016 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com> Change-Id: I0db722972aeeb57ebb4b61b11f1e302f613890d5
2018-12-07Remove clear text passwordZlatko Murgoski1-2/+4
Change to SHA256 Change-Id: I1c41247cf4094523b61487cbce0030d585982b06 Issue-ID: DCAEGEN2-978 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-11-27TLS mutual authentication has been added.andrzejszukuc1-1/+12
Change-Id: I60ebe8e1b06d72413940935396cb7a56af437c0d Issue-ID: DCAEGEN2-959 Signed-off-by: ANDRZEJ SZUKUC <andrzej.szukuc@nokia.com>
2018-11-08Upgrade embeded TomcatZlatko Murgoski1-1/+0
Address VESCollector vulnerability reported R3 RC1 phase Change-Id: I78b82bd793bf59e13636b5534fabe484025071d9 Issue-ID: DCAEGEN2-927 Signed-off-by: Zlatko Murgoski <zlatko.murgoski@nokia.com>
2018-08-10Refactor the code base a bitPawelSzalapski1-6/+43
Remove potential race condition coming from shared 'version' veriable in singleton instance of RestController. Move the logic behind reading the json schemas out of a on-request phase to application startup. Minor refactoring done that will bump up test coverage. Change-Id: I2ad1ba91dafafd785ede61591a4dc146abf6a1eb Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com> Issue-ID: DCAEGEN2-526
2018-08-06Implement second part of dynamic DMaaP configPawelSzalapski1-14/+19
VESCollector app can now fetch CBS configuration and rebuilt the part regarding sending events dynamically, without restarting application. Application will still be restarted by a .sh script, if there were changes regarding collector.properties file. The decision of whether dynamic configuration should be triggered is now based on existence of env vars CONSUL_HOST, CONFIG_BINDING_SERVICE, HOSTNAME, not as previously on CBSPOLLTIME. Frequency at which the config check should happen is now exposed via property from collector.properties Change-Id: I98ff160fa51d08d84a23c716d90ceaacbe17ada6 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com> Issue-ID: DCAEGEN2-519
2018-08-01Replace nsaCore library with SpringPawelSzalapski1-22/+32
Change-Id: I2227939a67a2cbba2d392136d49ef4419600d186 Issue-ID: DCAEGEN2-602 Signed-off-by: PawelSzalapski <pawel.szalapski@nokia.com>
2018-07-18VES collector application settings providerZlatko Murgoski1-0/+176
Extract application settings to diferent class First step to remove nsaServerLibrary Change-Id: Ib4fb236ac4683d241c7841ba66f1afbcfb10c92a Signed-off-by: ZlatkoMurgoski <zlatko.murgoski@nokia.com> Issue-ID: DCAEGEN2-566