diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-08-23 09:54:43 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2023-08-23 10:18:35 +0200 |
commit | 4b7cd5405dea9003f31af1aa9cd584d8ccf2141f (patch) | |
tree | 3ab06f13845946206260ffc3ad783882b99f9791 /development | |
parent | 7348ffad6bb027b2e815b2081a9d9a827a84836e (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 'development')
-rw-r--r-- | development/.env | 16 | ||||
-rw-r--r-- | development/docker-compose.yml | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/development/.env b/development/.env index 9bb9dd3..f8e9c18 100644 --- a/development/.env +++ b/development/.env @@ -20,21 +20,21 @@ POSTGRES_VERSION=15rc1 MONGO_IMAGE=mongo MONGO_VERSION=latest -# portal-prefs -PORTAL_PREFS_IMAGE_NAME=portal-prefs -PORTAL_PREFS_IMAGE_TAG=0.1.0-master-faef0c0e +# preferences +PREFERENCES_IMAGE_NAME=preferences +PREFERENCES_IMAGE_TAG=0.1.0-master-faef0c0e PORTALPREFS_USERNAME:root PORTALPREFS_PASSWORD:password -PORTALPREFS_DATABASE:Portalprefs -PORTALPREFS_HOST:mongo-prefs +PORTALPREFS_DATABASE:Preferences +PORTALPREFS_HOST:mongo-preferences PORTALPREFS_PORT:27017 -# portal-history -PORTAL_HISTORY_IMAGE_NAME=portal-history +# history +PORTAL_HISTORY_IMAGE_NAME=history PORTAL_HISTORY_IMAGE_TAG=0.1.1-de369ace PORTALHISTORY_USERNAME:root PORTALHISTORY_PASSWORD:password -PORTALHISTORY_DATABASE:Portalhist +PORTALHISTORY_DATABASE:History PORTALHISTORY_HOST:mongo-history PORTALHISTORY_PORT:27017 diff --git a/development/docker-compose.yml b/development/docker-compose.yml index 4794ff3..9cca867 100644 --- a/development/docker-compose.yml +++ b/development/docker-compose.yml @@ -39,8 +39,8 @@ services: environment: MONGO_INITDB_ROOT_USERNAME: ${PORTALHISTORY_USERNAME} MONGO_INITDB_ROOT_PASSWORD: ${PORTALHISTORY_PASSWORD} - portal-history: - container_name: portal-history + history: + container_name: history image: "${IMAGE_REPOSITORY}/${PORTAL_HISTORY_IMAGE_NAME}:${PORTAL_HISTORY_IMAGE_TAG}" ports: - 9002:9002 @@ -54,15 +54,15 @@ services: PORTALHISTORY_PORT: ${PORTALHISTORY_PORT} depends_on: - mongo-history - mongo-prefs: - container_name: mongo-prefs + mongo-preferences: + container_name: mongo-preferences image: "${MONGO_IMAGE}:${MONGO_VERSION}" environment: MONGO_INITDB_ROOT_USERNAME: ${PORTALPREFS_USERNAME} MONGO_INITDB_ROOT_PASSWORD: ${PORTALPREFS_PASSWORD} - portal-prefs: - container_name: portal-prefs - image: "${IMAGE_REPOSITORY}/${PORTAL_PREFS_IMAGE_NAME}:${PORTAL_PREFS_IMAGE_TAG}" + preferences: + container_name: preferences + image: "${IMAGE_REPOSITORY}/${PREFERENCES_IMAGE_NAME}:${PREFERENCES_IMAGE_TAG}" ports: - 9001:9001 environment: @@ -74,4 +74,4 @@ services: PORTALPREFS_HOST: ${PORTALPREFS_HOST} PORTALPREFS_PORT: ${PORTALPREFS_PORT} depends_on: - - mongo-prefs
\ No newline at end of file + - mongo-preferences
\ No newline at end of file |