Skip to content

Commit

Permalink
kie-issues#626: disable Keycloak devservice (apache#1895)
Browse files Browse the repository at this point in the history
* kie-issues#626: disable Keycloak devservice

* disable kafka in sync with other jobs service ITs

---------

Co-authored-by: jstastny-cz <jan.stastny@ibm.com>
  • Loading branch information
jstastny-cz and jstastny-cz committed Oct 24, 2023
1 parent 51b9ae8 commit 4435bfd
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ kogito.service.url=http://localhost:8080
# Disable the KSinkInjectionHealthCheck since the K_SINK env variable is no passed in this context.
quarkus.smallrye-health.check."org.kie.kogito.addons.quarkus.knative.eventing.KSinkInjectionHealthCheck".enabled=false

quarkus.kafka.devservices.enabled=false
quarkus.kogito.devservices.enabled=false

# Events produced by kogito-addons-quarkus-jobs-knative-eventing to program the timers on the jobs service.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ quarkus.oidc.auth-server-url=none
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app

kogito.data-index.vertx-graphql.ui.path=/graphiql
kogito.data-index.vertx-graphql.ui.tenant=web-app-tenant
kogito.data-index.vertx-graphql.ui.tenant=web-app-tenant

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ quarkus.oidc.auth-server-url=none
#%keycloak-test.quarkus.oidc.web-app-tenant.auth-server-url=http://localhost:8281/auth/realms/kogito
%keycloak-test.quarkus.oidc.web-app-tenant.client-id=kogito-app
%keycloak-test.quarkus.oidc.web-app-tenant.credentials.secret=secret
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,7 @@ quarkus.oidc.auth-server-url=none
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app

kogito.data-index.vertx-graphql.ui.path=/graphiql
kogito.data-index.vertx-graphql.ui.tenant=web-app-tenant
kogito.data-index.vertx-graphql.ui.tenant=web-app-tenant

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ quarkus.oidc.auth-server-url=none
%keycloak-test.quarkus.oidc.web-app-tenant.client-id=kogito-app
%keycloak-test.quarkus.oidc.web-app-tenant.credentials.secret=secret
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,7 @@ quarkus.oidc.auth-server-url=none
#%keycloak-test.quarkus.oidc.web-app-tenant.auth-server-url=http://localhost:8281/auth/realms/kogito
%keycloak-test.quarkus.oidc.web-app-tenant.client-id=kogito-app
%keycloak-test.quarkus.oidc.web-app-tenant.credentials.secret=secret
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ quarkus.oidc.auth-server-url=none
%keycloak.quarkus.oidc.tenant-enabled=true
%keycloak.quarkus.oidc.client-id=kogito-app
%keycloak.quarkus.oidc.credentials.secret=secret

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@ quarkus.http.auth.permission.permit1.methods=GET
%keycloak.quarkus.oidc.enabled=true
%keycloak.quarkus.oidc.tenant-enabled=true
%keycloak.quarkus.oidc.client-id=kogito-app
%keycloak.quarkus.oidc.credentials.secret=secret
%keycloak.quarkus.oidc.credentials.secret=secret

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
4 changes: 3 additions & 1 deletion security-commons/src/test/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@
quarkus.oidc.enabled=true
quarkus.oidc.tenant-enabled=true
quarkus.oidc.client-id=kogito-app
quarkus.oidc.credentials.secret=secret
quarkus.oidc.credentials.secret=secret
# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
5 changes: 4 additions & 1 deletion trusty-ui/src/test/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ quarkus.oidc.tenant-enabled=false
#%keycloak-test.quarkus.oidc.web-app-tenant.auth-server-url=http://localhost:8281/auth/realms/kogito
%keycloak-test.quarkus.oidc.web-app-tenant.client-id=kogito-app
%keycloak-test.quarkus.oidc.web-app-tenant.credentials.secret=secret
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app
%keycloak-test.quarkus.oidc.web-app-tenant.application-type=web-app

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ mp.messaging.incoming.trusty-explainability-result.connector=smallrye-kafka
mp.messaging.incoming.trusty-explainability-result.topic=trusty-explainability-result-test
mp.messaging.incoming.trusty-explainability-result.value.deserializer=org.apache.kafka.common.serialization.StringDeserializer
mp.messaging.incoming.trusty-explainability-result.auto.offset.reset=earliest

# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource
quarkus.keycloak.devservices.enabled=false

0 comments on commit 4435bfd

Please sign in to comment.