Skip to content

Commit

Permalink
[NO_ISSUE] Fixing named datasource's configuration for `data-index-in…
Browse files Browse the repository at this point in the history
…memory` & `jobs-service-embedded` (apache#2042)

* NO_ISSUE: fixing named datasource's configuration for `data-index-inmemory` & `jobs-service-embedded`

* - Disabling oidc in tests
- Formatting classes
  • Loading branch information
pefernan authored and rgdoliveira committed Jun 10, 2024
1 parent c142ab7 commit 3edd07c
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,10 @@ quarkus.hibernate-orm.database.generation=create
quarkus.hibernate-orm.database.generation.halt-on-error=true
quarkus.hibernate-orm.physical-naming-strategy=org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy
quarkus.hibernate-orm.jdbc.timezone=UTC
quarkus.hibernate-orm.log.sql=true
quarkus.hibernate-orm.log.sql=true

# Disabling Security for tests
quarkus.oidc.enabled=false
quarkus.oidc.tenant-enabled=false
quarkus.oidc.auth-server-url=none
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,10 @@ quarkus.log.level=INFO
# MongoDB
quarkus.mongodb.database=kogito
quarkus.mongodb.devservices.enabled=false
kogito.apps.persistence.type=mongodb
kogito.apps.persistence.type=mongodb

# Disabling Security for tests
quarkus.oidc.enabled=false
quarkus.oidc.tenant-enabled=false
quarkus.oidc.auth-server-url=none
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,10 @@ quarkus.hibernate-orm.database.generation=drop-and-create
quarkus.hibernate-orm.database.generation.halt-on-error=true
quarkus.hibernate-orm.physical-naming-strategy=org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy
quarkus.hibernate-orm.jdbc.timezone=UTC
quarkus.hibernate-orm.log.sql=true
quarkus.hibernate-orm.log.sql=true

# Disabling Security for tests
quarkus.oidc.enabled=false
quarkus.oidc.tenant-enabled=false
quarkus.oidc.auth-server-url=none
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,10 @@ quarkus.hibernate-orm.database.generation=drop-and-create
quarkus.hibernate-orm.database.generation.halt-on-error=true
quarkus.hibernate-orm.physical-naming-strategy=org.hibernate.boot.model.naming.CamelCaseToUnderscoresNamingStrategy
quarkus.hibernate-orm.jdbc.timezone=UTC
quarkus.hibernate-orm.log.sql=true
quarkus.hibernate-orm.log.sql=true

# Disabling Security for tests
quarkus.oidc.enabled=false
quarkus.oidc.tenant-enabled=false
quarkus.oidc.auth-server-url=none
quarkus.keycloak.devservices.enabled=false
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ kogito.data-index.domain-indexing=false
kogito.data-index.blocking=true

#PostgreSql
quarkus.datasource.data_index.db-kind=postgresql
quarkus.datasource.data_index.devservices.enabled=false
quarkus.datasource."data_index".db-kind=postgresql
quarkus.datasource."data_index".devservices.enabled=false

#Hibernate
quarkus.hibernate-orm.jdbc.timezone=UTC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ quarkus.arc.selected-alternatives=org.kie.kogito.addons.quarkus.jobs.service.emb

%dev.quarkus.log.category."org.kie.kogito.jobs".level=INFO

quarkus.datasource.jobs_service.db-kind=postgresql
quarkus.datasource.jobs_service.devservices.enabled=false
quarkus.datasource."jobs_service".db-kind=postgresql
quarkus.datasource."jobs_service".devservices.enabled=false
quarkus.datasource.devservices.enabled=false
quarkus.flyway.jobs_service.locations=db/jobs-service
quarkus.flyway.jobs_service.migrate-at-start=true

0 comments on commit 3edd07c

Please sign in to comment.