summaryrefslogtreecommitdiffstats
path: root/mod2/auth-service
diff options
context:
space:
mode:
authorRavi Mantena <rx908f@att.com>2020-10-02 11:10:15 -0400
committerRavi Mantena <rx908f@att.com>2020-10-02 11:47:26 -0400
commit3708e8fed17cb2af766296bcba2bf4ccf535b0ec (patch)
tree8957c09d2bebbf089db1256e53b0684f21d2cd6f /mod2/auth-service
parente4668da0683be7194f45cd8d259eeb75ebdb98a8 (diff)
updating docker repository to onap nexus for Catalog Service and Auth Service
Issue-ID: DCAEGEN2-2317 Change-Id: Id1ca3eb92586d859cf757779b77e6b89bc641df2 Signed-off-by: Ravi Mantena <rx908f@att.com>
Diffstat (limited to 'mod2/auth-service')
-rw-r--r--mod2/auth-service/Dockerfile2
-rw-r--r--mod2/auth-service/pom.xml2
-rw-r--r--mod2/auth-service/src/main/resources/application.properties3
3 files changed, 3 insertions, 4 deletions
diff --git a/mod2/auth-service/Dockerfile b/mod2/auth-service/Dockerfile
index aa8707f..b125fc0 100644
--- a/mod2/auth-service/Dockerfile
+++ b/mod2/auth-service/Dockerfile
@@ -11,4 +11,4 @@ COPY ${PROJECT_BUILD_DIR_NAME}/${FINAL_JAR} .
ENTRYPOINT ["java", \
"-Djava.security.egd=file:/dev/./urandom", \
- "-jar", "auth-service-1.0.0-SNAPSHOT.jar"] \ No newline at end of file
+ "-jar", "mod-auth-service.jar"] \ No newline at end of file
diff --git a/mod2/auth-service/pom.xml b/mod2/auth-service/pom.xml
index 75782f4..3723584 100644
--- a/mod2/auth-service/pom.xml
+++ b/mod2/auth-service/pom.xml
@@ -40,7 +40,7 @@
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<dockerfile-maven-plugin.version>1.4.10</dockerfile-maven-plugin.version>
- <docker.image.name>${project.groupId}.${project.artifactId}</docker.image.name>
+ <docker.image.name>onap/${project.groupId}.${project.artifactId}</docker.image.name>
</properties>
<dependencies>
diff --git a/mod2/auth-service/src/main/resources/application.properties b/mod2/auth-service/src/main/resources/application.properties
index f3f5d37..f02d084 100644
--- a/mod2/auth-service/src/main/resources/application.properties
+++ b/mod2/auth-service/src/main/resources/application.properties
@@ -22,8 +22,7 @@
server.port=8082
-#spring.data.mongodb.host=mongo_db
-spring.data.mongodb.host=localhost
+spring.data.mongodb.host=mongo_db
#spring.data.mongodb.host=zlecdyh2bdcc1s2dokr05.ec53e7.dyh2b.tci.att.com
spring.data.mongodb.port=27017
spring.data.mongodb.database=dcae_mod