summaryrefslogtreecommitdiffstats
path: root/prh-app-server
diff options
context:
space:
mode:
authorwasala <przemyslaw.wasala@nokia.com>2018-04-13 09:44:51 +0200
committerPrzemyslaw Wasala <przemyslaw.wasala@nokia.com>2018-04-13 12:33:48 +0000
commitcf292d97e6228677024702dd1391cc5fbe759606 (patch)
tree9fc53612d9814d7196336972519797f91accfdbe /prh-app-server
parentfe084656d61212a7e4a5f6cc6f60b3eb6a146302 (diff)
Added pushing image docker in deploy phase
Change-Id: I3984bd60264027a47434784001de653b847e67d2 Issue-ID: DCAEGEN2-407 Signed-off-by: wasala <przemyslaw.wasala@nokia.com>
Diffstat (limited to 'prh-app-server')
-rw-r--r--prh-app-server/pom.xml14
-rw-r--r--prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/AppConfig.java6
-rw-r--r--prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java2
3 files changed, 7 insertions, 15 deletions
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml
index 23a12e1d..c1f699ef 100644
--- a/prh-app-server/pom.xml
+++ b/prh-app-server/pom.xml
@@ -34,6 +34,9 @@
<properties>
<maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format>
<project.fatJar.finalName>prh-app-server</project.fatJar.finalName>
+ <nexusproxy>https://nexus.onap.org</nexusproxy>
+ <snapshots.path>content/repositories/snapshots/</snapshots.path>
+ <releases.path>content/repositories/releases/</releases.path>
</properties>
<build>
<plugins>
@@ -60,15 +63,6 @@
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
- <version>1.0.0</version>
- <executions>
- <execution>
- <goals>
- <goal>build</goal>
- </goals>
- <phase>package</phase>
- </execution>
- </executions>
<configuration>
<skipDockerBuild>false</skipDockerBuild>
<imageName>
@@ -204,7 +198,7 @@
<!-- IMPORT DEPENDENCY MANAGEMENT FROM SPRING BOOT -->
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
- <version>2.0.0.RELEASE</version>
+ <version>2.0.1.RELEASE</version>
<type>pom</type>
<scope>import</scope>
</dependency>
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/AppConfig.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/AppConfig.java
index 59cf40da..1b530e5a 100644
--- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/AppConfig.java
+++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/AppConfig.java
@@ -28,10 +28,10 @@ import org.onap.dcaegen2.services.config.DmaapProducerConfiguration;
*/
public interface AppConfig {
- DmaapConsumerConfiguration getDmaapConsumerConfiguration() throws Exception;
+ DmaapConsumerConfiguration getDmaapConsumerConfiguration();
- AAIHttpClientConfiguration getAAIHttpClientConfiguration() throws Exception;
+ AAIHttpClientConfiguration getAAIHttpClientConfiguration();
- DmaapProducerConfiguration getDmaapProducerConfiguration() throws Exception;
+ DmaapProducerConfiguration getDmaapProducerConfiguration();
}
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java
index 09bd5d8e..b0466421 100644
--- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java
+++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/tasks/ScheduledTask.java
@@ -25,8 +25,6 @@ import org.onap.dcaegen2.services.prh.exceptions.AAINotFoundException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.scheduling.TaskScheduler;
-import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
/**