diff options
4 files changed, 7 insertions, 16 deletions
@@ -68,7 +68,6 @@ <junit.platform.version>1.1.0</junit.platform.version> <!--PLUGIN SETTINGS --> - <dependency.locations.enabled>false</dependency.locations.enabled> <nexusproxy>https://nexus.onap.org</nexusproxy> <snapshots.path>content/repositories/snapshots/</snapshots.path> <releases.path>content/repositories/releases/</releases.path> 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; /** |