Fix /version endpoint 86/92286/4
authorIttay Stern <ittay.stern@att.com>
Tue, 30 Jul 2019 15:01:21 +0000 (18:01 +0300)
committerIttay Stern <ittay.stern@att.com>
Wed, 31 Jul 2019 08:18:30 +0000 (11:18 +0300)
commit5efec2c3cfcead17394beb825200e132f827eb31
treeb5215b7d76aba6cc6c40ffb6599a46e21cd2b08f
parent3b12c6e9b5d2885244b7b1fb6c016ad8999e3cf2
Fix /version endpoint

* Modify maven-replacer-plugin to set value in version.json
* Configure features.set.filename=onap.features.properties

Issue-ID: VID-507

Change-Id: I692ab3e9221118b836ae7249f483b5277a70bf6b
Signed-off-by: Ittay Stern <ittay.stern@att.com>
epsdk-app-onap/src/main/webapp/WEB-INF/conf/system.properties
epsdk-app-onap/src/main/webapp/WEB-INF/conf/system_template.properties
vid-app-common/pom.xml
vid-app-common/src/main/java/org/onap/vid/controller/open/VersionController.java
vid-app-common/src/main/webapp/WEB-INF/conf/features.properties
vid-app-common/src/main/webapp/WEB-INF/conf/onap.features.properties [new file with mode: 0644]
vid-app-common/src/test/java/org/onap/vid/controller/open/VersionControllerTest.java [deleted file]
vid-app-common/src/test/java/org/onap/vid/services/VersionServiceTest.java [new file with mode: 0644]
vid-app-common/src/test/resources/WEB-INF/conf/system.properties
vid-app-common/src/test/resources/version.example.json [new file with mode: 0644]