From 4435bfd020381d4d8b0b4bc93800563a809d3b13 Mon Sep 17 00:00:00 2001 From: Jan Stastny Date: Mon, 16 Oct 2023 16:42:15 +0200 Subject: [PATCH] kie-issues#626: disable Keycloak devservice (#1895) * kie-issues#626: disable Keycloak devservice * disable kafka in sync with other jobs service ITs --------- Co-authored-by: jstastny-cz --- .../src/main/resources/application.properties | 1 + .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 3 +++ .../src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 3 +++ .../src/test/resources/application.properties | 5 ++++- security-commons/src/test/resources/application.properties | 4 +++- trusty-ui/src/test/resources/application.properties | 5 ++++- .../src/test/resources/application.properties | 3 +++ 11 files changed, 37 insertions(+), 7 deletions(-) diff --git a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-knative-eventing/src/main/resources/application.properties b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-knative-eventing/src/main/resources/application.properties index 25294da18e..9b785dfeac 100644 --- a/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-knative-eventing/src/main/resources/application.properties +++ b/apps-integration-tests/integration-tests-jobs-service/integration-tests-jobs-service-quarkus/integration-tests-jobs-service-quarkus-knative-eventing/src/main/resources/application.properties @@ -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. diff --git a/data-index/data-index-service/data-index-service-infinispan/src/test/resources/application.properties b/data-index/data-index-service/data-index-service-infinispan/src/test/resources/application.properties index 5308248c65..23dce2bd70 100644 --- a/data-index/data-index-service/data-index-service-infinispan/src/test/resources/application.properties +++ b/data-index/data-index-service/data-index-service-infinispan/src/test/resources/application.properties @@ -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 \ No newline at end of file +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 \ No newline at end of file diff --git a/data-index/data-index-service/data-index-service-inmemory/src/test/resources/application.properties b/data-index/data-index-service/data-index-service-inmemory/src/test/resources/application.properties index 788c4e5c0a..07af39ef84 100644 --- a/data-index/data-index-service/data-index-service-inmemory/src/test/resources/application.properties +++ b/data-index/data-index-service/data-index-service-inmemory/src/test/resources/application.properties @@ -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 \ No newline at end of file +%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 \ No newline at end of file diff --git a/data-index/data-index-service/data-index-service-mongodb/src/test/resources/application.properties b/data-index/data-index-service/data-index-service-mongodb/src/test/resources/application.properties index 52e4270dd3..91a4657e85 100644 --- a/data-index/data-index-service/data-index-service-mongodb/src/test/resources/application.properties +++ b/data-index/data-index-service/data-index-service-mongodb/src/test/resources/application.properties @@ -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 \ No newline at end of file +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 \ No newline at end of file diff --git a/data-index/data-index-service/data-index-service-oracle/src/test/resources/application.properties b/data-index/data-index-service/data-index-service-oracle/src/test/resources/application.properties index 769e14f837..aca4f884e6 100644 --- a/data-index/data-index-service/data-index-service-oracle/src/test/resources/application.properties +++ b/data-index/data-index-service/data-index-service-oracle/src/test/resources/application.properties @@ -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 diff --git a/data-index/data-index-service/data-index-service-postgresql/src/test/resources/application.properties b/data-index/data-index-service/data-index-service-postgresql/src/test/resources/application.properties index 999595bf1c..61e52ee626 100644 --- a/data-index/data-index-service/data-index-service-postgresql/src/test/resources/application.properties +++ b/data-index/data-index-service/data-index-service-postgresql/src/test/resources/application.properties @@ -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 \ No newline at end of file +%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 \ No newline at end of file diff --git a/explainability/explainability-service-rest/src/test/resources/application.properties b/explainability/explainability-service-rest/src/test/resources/application.properties index 0eca8533b4..457ba16119 100644 --- a/explainability/explainability-service-rest/src/test/resources/application.properties +++ b/explainability/explainability-service-rest/src/test/resources/application.properties @@ -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 diff --git a/jobs-service/jobs-service-common/src/test/resources/application.properties b/jobs-service/jobs-service-common/src/test/resources/application.properties index a4655a8451..43a4d960fd 100644 --- a/jobs-service/jobs-service-common/src/test/resources/application.properties +++ b/jobs-service/jobs-service-common/src/test/resources/application.properties @@ -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 \ No newline at end of file +%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 \ No newline at end of file diff --git a/security-commons/src/test/resources/application.properties b/security-commons/src/test/resources/application.properties index 11b370cda5..6c311545f1 100644 --- a/security-commons/src/test/resources/application.properties +++ b/security-commons/src/test/resources/application.properties @@ -18,4 +18,6 @@ quarkus.oidc.enabled=true quarkus.oidc.tenant-enabled=true quarkus.oidc.client-id=kogito-app -quarkus.oidc.credentials.secret=secret \ No newline at end of file +quarkus.oidc.credentials.secret=secret +# Not using Dev service in test, but rather org.kie.kogito.testcontainers.quarkus.KeycloakQuarkusTestResource +quarkus.keycloak.devservices.enabled=false \ No newline at end of file diff --git a/trusty-ui/src/test/resources/application.properties b/trusty-ui/src/test/resources/application.properties index 98d16dee52..2e201af6eb 100644 --- a/trusty-ui/src/test/resources/application.properties +++ b/trusty-ui/src/test/resources/application.properties @@ -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 \ No newline at end of file +%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 \ No newline at end of file diff --git a/trusty/trusty-service/trusty-service-common/src/test/resources/application.properties b/trusty/trusty-service/trusty-service-common/src/test/resources/application.properties index 863926fd62..379b8077ac 100644 --- a/trusty/trusty-service/trusty-service-common/src/test/resources/application.properties +++ b/trusty/trusty-service/trusty-service-common/src/test/resources/application.properties @@ -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 \ No newline at end of file