Skip to content

Commit

Permalink
update realm-name and fix sonar warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciogeneroso committed Nov 4, 2023
1 parent 536f4f8 commit 6927ac7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ spring:
oauth2:
resource-server:
jwt:
issuer-uri: http://localhost:9000/realms/shopping-api
issuer-uri: http://localhost:9000/realms/groot-mg

eureka:
client:
Expand Down
2 changes: 1 addition & 1 deletion basket-service-app/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spring:
oauth2:
resource-server:
jwt:
issuer-uri: ${KEYCLOAK_URL:http://localhost:8180}/realms/${KEYCLOAK_REALM:shopping-api}
issuer-uri: ${KEYCLOAK_URL:http://localhost:8180}/realms/${KEYCLOAK_REALM:groot-mg}

eureka:
instance:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class SecurityStepsDefinitions @Autowired constructor(
) {

companion object {
const val KEYCLOAK_REALM = "shopping-api"
const val KEYCLOAK_REALM = "groot-mg"
private var rsaJsonWebKey: RsaJsonWebKey = RsaJwkGenerator.generateJwk(2048)

init {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
kotlin.code.style=official
systemProp.sonar.skipCompile=true
systemProp.sonar.gradle.skipCompile=true

0 comments on commit 6927ac7

Please sign in to comment.