Skip to content

Commit

Permalink
remove-unused-config: Remove unused configs
Browse files Browse the repository at this point in the history
  • Loading branch information
galales committed May 3, 2024
1 parent 0cdda61 commit 7be7008
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
3 changes: 0 additions & 3 deletions src/main/resources/application-standalone.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,8 @@ agreement-process {
}
selfcare-v2-client-api-key = ${SELFCARE_V2_API_KEY}
services {
catalog-management = "https://gateway.interop.pdnd.dev/catalog-management/0.1"
agreement-management = "https://gateway.interop.pdnd.dev/agreement-management/0.1"
attribute-registry-management = "https://gateway.interop.pdnd.dev/attribute-registry-management/0.1"
authorization-management = "https://gateway.interop.pdnd.dev/authorization-management/0.1"
tenant-management = "https://gateway.interop.pdnd.dev/tenant-management/0.1"
party-process = "https://gateway.interop.pdnd.dev/party-process/0.1"
selfcare-v2-client = "https://gateway.interop.pdnd.dev/userselfcare-v2-client/0.1"
}
Expand Down
3 changes: 0 additions & 3 deletions src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ agreement-process {
}
selfcare-v2-client-api-key = ${SELFCARE_V2_API_KEY}
services {
catalog-management = ${CATALOG_MANAGEMENT_URL}
tenant-management = ${TENANT_MANAGEMENT_URL}
agreement-management = ${AGREEMENT_MANAGEMENT_URL}
attribute-registry-management = ${ATTRIBUTE_REGISTRY_MANAGEMENT_URL}
authorization-management = ${AUTHORIZATION_MANAGEMENT_URL}
selfcare-v2-client = ${SELFCARE_V2_URL}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ object ApplicationConfiguration {

val serverPort: Int = config.getInt("agreement-process.port")
val agreementManagementURL: String = config.getString("agreement-process.services.agreement-management")
val catalogManagementURL: String = config.getString("agreement-process.services.catalog-management")
val tenantManagementURL: String = config.getString("agreement-process.services.tenant-management")
val authorizationManagementURL: String = config.getString("agreement-process.services.authorization-management")
val selfcareV2ClientURL: String = config.getString("agreement-process.services.selfcare-v2-client")
val jwtAudience: Set[String] = config.getString("agreement-process.jwt.audience").split(",").toSet.filter(_.nonEmpty)
val attributeRegistryManagementURL: String =
config.getString("agreement-process.services.attribute-registry-management")

require(jwtAudience.nonEmpty, "Audience cannot be empty")

Expand Down
4 changes: 0 additions & 4 deletions src/test/resources/application-test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,8 @@ agreement-process {
}
selfcare-v2-client-api-key = "selfcare-v2-api-key"
services {
catalog-management = "catalog-management"
tenant-management = "tenant-management"
agreement-management = "agreement-management"
attribute-registry-management = "attribute-registry-management"
authorization-management = "authorization-management"
tenant-management = "tenant-management"
selfcare-v2-client = "selfcare-v2-client"
}

Expand Down

0 comments on commit 7be7008

Please sign in to comment.