Rename bff artefact 90/135490/1
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 18 Jul 2023 07:51:34 +0000 (07:51 +0000)
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>
Tue, 18 Jul 2023 07:51:34 +0000 (07:51 +0000)
Issue-ID: PORTALNG-17
Change-Id: I1d22a38826891aad79c2250128f941c930987536
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Dockerfile
lib/build.gradle
settings.gradle

index beafabd..e52fa2b 100644 (file)
@@ -1,11 +1,11 @@
 FROM eclipse-temurin:17 as builder
-COPY . ./portalbff
-WORKDIR /portalbff
+COPY . ./bff
+WORKDIR /bff
 
-RUN ./gradlew build
+RUN ./gradlew assemble
 
 FROM eclipse-temurin:17-jre-alpine
-ARG JAR_FILE=/portalbff/app/build/libs/app.jar
+ARG JAR_FILE=/bff/app/build/libs/app.jar
 COPY --from=builder ${JAR_FILE} app.jar
 EXPOSE 9080
 ENTRYPOINT [ "java","-jar","app.jar" ]
\ No newline at end of file
index 9248ce3..594dd9c 100644 (file)
@@ -7,7 +7,7 @@ apply plugin: 'com.diffplug.spotless'
 apply plugin: 'com.github.spotbugs'
 apply plugin: 'org.sonarqube'
 
-group 'org.onap'
+group 'org.onap.portal-ng'
 version rootProject.file('version').text.trim()
 
 dependencies {
@@ -35,7 +35,7 @@ dependencies {
 }
 
 shadowJar {
-    archiveBaseName.set('portal-bff')
+    archiveBaseName.set('bff')
     dependencies {
         include(project(':openapi:server'))
         include(project(':openapi:client-portal-history'))
@@ -46,14 +46,14 @@ shadowJar {
 
 publishing {
     publications {
-        myLibrary(MavenPublication) {
+        bffLibrary(MavenPublication) {
             artifactId = rootProject.name
             groupId = group
             version = version
-            artifacts = ["build/libs/portal-bff-$version-all.jar"]
+            artifacts = ["build/libs/bff-$version-all.jar"]
             pom {
                 name = rootProject.name
-                description = 'ONAP community edition of portal-bff'
+                description = 'ONAP community edition of bff'
             }
         }
     }
index 18a70b9..6f97819 100644 (file)
@@ -1,4 +1,4 @@
-rootProject.name = 'portal-bff'
+rootProject.name = 'bff'
 
 include 'app'