summaryrefslogtreecommitdiffstats
path: root/openapi/client-portal-history/build.gradle
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-23 09:54:43 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-08-23 10:18:35 +0200
commit4b7cd5405dea9003f31af1aa9cd584d8ccf2141f (patch)
tree3ab06f13845946206260ffc3ad783882b99f9791 /openapi/client-portal-history/build.gradle
parent7348ffad6bb027b2e815b2081a9d9a827a84836e (diff)
Consistently use the preferences and history names in the bff code base
- rename openapi clients (client-portal-prefs -> client-preferences, client-portal-history -> client-history, client-portal-keycloak -> client-keycloak) - rename related spring configurations (portal-prefs -> preferences, portal-history -> history) - rename related environment variables (PORTAL_PREFS_URL -> PREFERENCES_URL, PORTAL_HISTORY_URL -> HISTORY_URL) Note that the changes to the configurations and variables affect external services using it and the bff chart Issue-ID: PORTALNG-49 Change-Id: I434abdf130a5a81534c2387143b296122408d452 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'openapi/client-portal-history/build.gradle')
-rw-r--r--openapi/client-portal-history/build.gradle62
1 files changed, 0 insertions, 62 deletions
diff --git a/openapi/client-portal-history/build.gradle b/openapi/client-portal-history/build.gradle
deleted file mode 100644
index a087be9..0000000
--- a/openapi/client-portal-history/build.gradle
+++ /dev/null
@@ -1,62 +0,0 @@
-plugins {
- id 'java'
- id 'idea'
- id 'org.springframework.boot'
- id 'io.spring.dependency-management'
- id 'org.openapi.generator'
-}
-
-dependencies {
- implementation 'org.springframework.boot:spring-boot-starter-webflux'
- implementation "org.openapitools:openapi-generator:$openapiVersion"
-}
-
-openApiGenerate {
- generatorName = "java"
- library = "webclient"
- inputSpec = "${project.projectDir}/src/portal_history_openapi.yaml"
- outputDir = "${project.buildDir}/openapi"
- configOptions = [
- openApiNullable : "false",
- dateLibrary : "java8",
- serializationLibrary: "jackson",
- useJakartaEe : "true",
- ]
- typeMappings = [
- "File": "org.springframework.core.io.buffer.DataBuffer"
- ]
- generateApiTests = false
- generateApiDocumentation = false
- generateModelTests = false
- generateModelDocumentation = false
- invokerPackage = "org.onap.portalng.bff.openapi.client_portal_history"
- apiPackage = "org.onap.portalng.bff.openapi.client_portal_history.api"
- modelPackage = "org.onap.portalng.bff.openapi.client_portal_history.model"
- modelNameSuffix = "PortalHistoryDto"
-}
-
-compileJava {
- dependsOn tasks.openApiGenerate
-}
-
-sourceSets {
- main {
- java {
- srcDirs += file("$buildDir/openapi/src/main/java")
- }
- }
-}
-
-idea {
- module {
- generatedSourceDirs += file("$buildDir/openapi/src/main/java")
- }
-}
-
-bootJar {
- enabled = false
-}
-
-jar {
- enabled = true
-} \ No newline at end of file