Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions src/main/resources/application-local.env.template
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Keep these: Azure AD client ID for local development only
SPRING_CLOUD_AZURE_ACTIVE_DIRECTORY_APP_ID_URI="21920dff-90ff-4b3e-997a-d9c2faf53feb"
SPRING_CLOUD_AZURE_ACTIVE_DIRECTORY_CREDENTIAL_CLIENT_ID="api://21920dff-90ff-4b3e-997a-d9c2faf53feb"
SPRING_CLOUD_AZURE_ACTIVE_DIRECTORY_APP_ID_URI=<replace_with_your_app_id_uri>
SPRING_CLOUD_AZURE_ACTIVE_DIRECTORY_CREDENTIAL_CLIENT_ID=<replace_with_your_client_id>

# Azure
AZURE_ACCESS_TOKEN=<replace_with_your_token>
AZURE_GROUPS_PAGE_SIZE=10
AZURE_DATA_HUB_GROUP_ID=<place-your-id-here> # BI-IS-Dataland-Datahub-PROD
AZURE_DATA_HUB_GROUP_ID=<place-your-id-here>

# Testing hub
TESTING_HUB_API_URL=https://testinghub-api-dev.apps.eu-dev.ocp.aws.boehringer.com/v1/projects
TESTING_HUB_API_URL=<place-your-api-url-here>
TESTING_HUB_API_TOKEN=<place-your-token-here>
TESTING_HUB_API_PAGE_SIZE=100
TESTING_HUB_DEFAULT_PROJECTS="PROJECT-1:1, PROJECT-2:2, PROJECT-3:3"
Expand All @@ -27,15 +27,15 @@ CLUSTER_MAPPER_CN="China, prod-cn-aws-northwest1"
CLUSTER_MAPPER_INH="inh-dev, dev"

# Openshift Cluster configuration
OPENSHIFT_US_TEST_URL=https://api.us-test.ocp.aws.boehringer.com:6443
OPENSHIFT_US_TEST_URL=<replace with us-test url>
OPENSHIFT_US_TEST_TOKEN=<replace with us-test token>
OPENSHIFT_EU_DEV_URL=https://api.eu-dev.ocp.aws.boehringer.com:6443
OPENSHIFT_EU_DEV_URL=<replace with eu-dev url>
OPENSHIFT_EU_DEV_TOKEN=<replace with eu-dev token>
OPENSHIFT_US_DEV_URL=https://api.us-dev.ocp.aws.boehringer.com:6443
OPENSHIFT_US_DEV_URL=<replace with us-dev url>
OPENSHIFT_US_DEV_TOKEN=<replace with us-dev token>
OPENSHIFT_CN_DEV_URL=https://api.cn-dev.ocp.awscn.boehringer.com:6443
OPENSHIFT_CN_DEV_URL=<replace with cn-dev url>
OPENSHIFT_CN_DEV_TOKEN=<replace with cn-dev token>
OPENSHIFT_INH_DEV_URL=https://api.inh-dev.ocp.eu.boehringer.com:6443
OPENSHIFT_INH_DEV_URL=<replace with inh-dev url>
OPENSHIFT_INH_DEV_TOKEN=<replace with inh-dev token>

# Cache configuration
Expand All @@ -47,15 +47,15 @@ CUSTOM_CACHE_FALLBACK_MAXIMUM_SIZE=1000

# platforms
# Mind that this is the base path that will later be used to compose the proper link for the different configuration files.
PLATFORMS_BASE_PATH=https://bitbucket-dev.biscrum.com/projects/PROPLATINF/repos/sections-links/raw/
PLATFORMS_BASE_PATH=<replace with base path>
BITBUCKET_SERVICE_BEARER_TOKEN=<replace_with_your_token>

# Mind that this will be suffix (basically file name and branch) to be appended to the base path to form the complete URL.
# NOTE that bitbucket will not accept url safe encoded characters, so use ? and not %3F
PLATFORMS_US_TEST_CLUSTER=us-test-sections.yml?at=EDPC-3932-Implement-API-logic-that-retrieves-links-info-from-bitbucket
PLATFORMS_EU_CLUSTER=eu-sections.yml?at=EDPC-3932-Implement-API-logic-that-retrieves-links-info-from-bitbucket
PLATFORMS_US_CLUSTER=us-sections.yml?at=EDPC-3932-Implement-API-logic-that-retrieves-links-info-from-bitbucket
PLATFORMS_CN_CLUSTER=cn-sections.yml?at=EDPC-3932-Implement-API-logic-that-retrieves-links-info-from-bitbucket
PLATFORMS_INH_CLUSTER=inh-sections.yml?at=EDPC-3932-Implement-API-logic-that-retrieves-links-info-from-bitbucket
PLATFORMS_US_TEST_CLUSTER=<replace with cluster config file path wit ref>
PLATFORMS_EU_CLUSTER=<replace with cluster config file path wit ref>
PLATFORMS_US_CLUSTER=<replace with cluster config file path wit ref>
PLATFORMS_CN_CLUSTER=<replace with cluster config file path wit ref>
PLATFORMS_INH_CLUSTER=<replace with cluster config file path wit ref>

PROJECTS_WHITELIST_CONFIGURATION_URL=https://bitbucket-example.com/ProjectsWhitelisted.yaml?at=refs/heads/master
PROJECTS_WHITELIST_CONFIGURATION_URL=<replace with configuration url>
10 changes: 5 additions & 5 deletions src/test/resources/.env
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Keep these: Azure AD client ID for local development only
SPRING_CLOUD_AZURE_ACTIVE_DIRECTORY_APP_ID_URI="21920dff-90ff-4b3e-997a-d9c2faf53feb"
SPRING_CLOUD_AZURE_ACTIVE_DIRECTORY_CREDENTIAL_CLIENT_ID="api://21920dff-90ff-4b3e-997a-d9c2faf53feb"
SPRING_CLOUD_AZURE_ACTIVE_DIRECTORY_APP_ID_URI=<replace_with_your_app_id_uri>
SPRING_CLOUD_AZURE_ACTIVE_DIRECTORY_CREDENTIAL_CLIENT_ID=<replace_with_your_client_id>

# Azure
AZURE_GROUPS_PAGE_SIZE=10
AZURE_ACCESS_TOKEN=<whatever-test-token>
AZURE_DATA_HUB_GROUP_ID=BI-IS-Dataland-Datahub-PROD
AZURE_DATA_HUB_GROUP_ID=<group-id>

# Testing hub
TESTING_HUB_DEFAULT_PROJECTS="PROJECT-1:1, PROJECT-2:2, PROJECT-3:3"
TESTING_HUB_API_URL=https://testinghub-api-dev.apps.eu-dev.ocp.aws.boehringer.com/v1/projects
TESTING_HUB_API_URL=<place-the-api-url-here>
TESTING_HUB_API_TOKEN=<place-your-test-token-here>
TESTING_HUB_API_PAGE_SIZE=100

Expand All @@ -26,4 +26,4 @@ CUSTOM_CACHE_MAXIMUM_SIZE=1000
CUSTOM_CACHE_FALLBACK_TTL_SECONDS=7200 # seconds (2 hour)
CUSTOM_CACHE_FALLBACK_MAXIMUM_SIZE=1000

PROJECTS_WHITELIST_CONFIGURATION_URL=https://www.example.com/projects-whitelist
PROJECTS_WHITELIST_CONFIGURATION_URL=<whatever-url>