forked from apache/incubator-kie-kogito-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[incubator-kie-issues-813] Create multiple quarkus builds for data au…
…dit container images. (apache#1949) * [incubator-kie-issues-813] Create multiple quarkus builds for data audit container images. * fix classpath for pgsql
- Loading branch information
1 parent
76c0c70
commit 0038536
Showing
2 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 16 additions & 5 deletions
21
...s-data-audit-jpa/data-audit-quarkus-jpa-service/src/main/resources/application.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
#default values | ||
# build multiple images | ||
|
||
%h2.quarkus.datasource.db-kind=h2 | ||
%h2.quarkus.datasource.jdbc.url=${QUARKUS_DATASOURCE_JDBC_URL:jdbc:h2:mem:data-audit} | ||
%h2.quarkus.container-image.name=data-audit-jpa-h2-service | ||
%h2.quarkus.container-image.additional-tags=h2 | ||
%h2.quarkus.flyway.locations=classpath:/db/data-audit/h2/ | ||
|
||
|
||
%postgresql.quarkus.datasource.db-kind=postgresql | ||
%postgresql.quarkus.datasource.jdbc.url=${QUARKUS_DATASOURCE_JDBC_URL:jdbc:postgresql://localhost:5432/kogito} | ||
%postgresql.quarkus.container-image.name=data-audit-jpa-postgresql-service | ||
%postgresql.quarkus.container-image.additional-tags=postgresql | ||
%postgresql.quarkus.flyway.locations=classpath:/db/data-audit/postgresql// | ||
|
||
|
||
quarkus.datasource.db-kind=${QUARKUS_DATASOURCE_DB:h2} | ||
quarkus.datasource.username=${QUARKUS_DATASOURCE_USER:kogito-user} | ||
quarkus.datasource.password=${QUARKUS_DATASOURCE_PASS:kogito-pass} | ||
quarkus.datasource.jdbc.url=${QUARKUS_DATASOURCE_JDBC_URL:jdbc:h2:mem:data-audit} | ||
|
||
quarkus.hibernate-orm.database.generation=update | ||
quarkus.flyway.migrate-at-start=${QUARKUS_FLYWAY_MIGRATE_AT_START:true} | ||
|
||
quarkus.container-image.build=${quarkus.build.image:true} | ||
quarkus.container-image.group=org.kie.kogito | ||
quarkus.jib.jvm-arguments=-Dquarkus.http.port=8080 | ||
quarkus.container-image.name=data-audit-jpa-service |