diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-08-16 08:01:39 +0000 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-08-16 08:20:05 +0000 |
commit | 473792061d40a0027b57d65a97f3da06e4b8c7bd (patch) | |
tree | 0a22c16eb86f080e0ad7d19f6d8c2b045f37f54f /openapi | |
parent | f4b789cd3d86eb96a1e012910a3e7111fd4fdfed (diff) |
Consistently use the bff name in the bff code base
- rename package name from org.onap.portal.bff to org.onap.portalng.bff
- replace all other occurences of portal-bff with bff
Other:
- remove Sonarqube plugin
Issue-ID: PORTALNG-40
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Change-Id: I50548630212e46a0ab84c88ff5fef743dafe9d38
Diffstat (limited to 'openapi')
-rw-r--r-- | openapi/build.gradle | 6 | ||||
-rw-r--r-- | openapi/server/build.gradle | 6 | ||||
-rw-r--r-- | openapi/server/src/main/resources/static/api.yaml | 6 |
3 files changed, 8 insertions, 10 deletions
diff --git a/openapi/build.gradle b/openapi/build.gradle index ee9ac96..eb39818 100644 --- a/openapi/build.gradle +++ b/openapi/build.gradle @@ -19,9 +19,9 @@ void createOpenApiGenerateClientTask(Project project, String apiDefinition, Stri generateApiDocumentation = false generateModelTests = false generateModelDocumentation = false - invokerPackage = "org.onap.portal.bff.openapi.$packageName" - apiPackage = "org.onap.portal.bff.openapi.${packageName}.api" - modelPackage = "org.onap.portal.bff.openapi.${packageName}.model" + invokerPackage = "org.onap.portalng.bff.openapi.$packageName" + apiPackage = "org.onap.portalng.bff.openapi.${packageName}.api" + modelPackage = "org.onap.portalng.bff.openapi.${packageName}.model" modelNameSuffix = dtoSuffix } } diff --git a/openapi/server/build.gradle b/openapi/server/build.gradle index e13bc20..f351a5c 100644 --- a/openapi/server/build.gradle +++ b/openapi/server/build.gradle @@ -30,9 +30,9 @@ openApiGenerate { generateApiDocumentation = true generateModelTests = false generateModelDocumentation = false - invokerPackage = "org.onap.portal.bff.openapi.server" - apiPackage = "org.onap.portal.bff.openapi.server.api" - modelPackage = "org.onap.portal.bff.openapi.server.model" + invokerPackage = "org.onap.portalng.bff.openapi.server" + apiPackage = "org.onap.portalng.bff.openapi.server.api" + modelPackage = "org.onap.portalng.bff.openapi.server.model" modelNameSuffix = "ApiDto" } diff --git a/openapi/server/src/main/resources/static/api.yaml b/openapi/server/src/main/resources/static/api.yaml index a7d4b74..be5ae0a 100644 --- a/openapi/server/src/main/resources/static/api.yaml +++ b/openapi/server/src/main/resources/static/api.yaml @@ -1,10 +1,8 @@ openapi: 3.0.3 info: - title: Portal BFF + title: bff api version: '1.0' - description: Portal BFF API - contact: - name: Team Tesla + description: bff api servers: - url: 'http://localhost:9080' tags: |