Skip to content

Commit

Permalink
Merge main into prod (#1172)
Browse files Browse the repository at this point in the history
* update version to 3.0.1 (#1170)

* [VU] Automated version update

* Set correct properties (#1164)

* db dump for prod and staging

* change public schema to okr_pitc

* update prod properties

* remove old way to set okr-champions from prod.properties

* update loglevels

* remove sql scripts

---------

Co-authored-by: peggimann <[email protected]>
Co-authored-by: Yanick Minder <[email protected]>

* [VU] Automated version update

---------

Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: peggimann <[email protected]>
Co-authored-by: peggimann <[email protected]>
  • Loading branch information
4 people authored Nov 18, 2024
1 parent d7bcffc commit ed10ea1
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 4 deletions.
4 changes: 2 additions & 2 deletions backend/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
<parent>
<groupId>ch.puzzle.okr</groupId>
<artifactId>parent</artifactId>
<version>2.0.206-SNAPSHOT</version>
<version>3.0.3-SNAPSHOT</version>
</parent>

<artifactId>backend</artifactId>
<version>2.0.206-SNAPSHOT</version>
<version>3.0.3-SNAPSHOT</version>
<name>backend</name>
<description>Puzzle OKR Tool</description>

Expand Down
36 changes: 35 additions & 1 deletion backend/src/main/resources/application-prod.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,38 @@
# logging level for production
# logging level for staging
logging.level.ch.puzzle.okr=warn
logging.level.org.springframework=warn
logging.level.org.flywaydb.core=warn


connect.src=https://sso.puzzle.ch


hibernate.connection.url=jdbc:postgresql://localhost:5432/okr
hibernate.connection.username=user
hibernate.connection.password=pwd
hibernate.multiTenancy=SCHEMA


# TENANT Configuration
okr.tenant-ids=pitc
okr.datasource.driver-class-name=org.postgresql.Driver

# pitc
okr.tenants.pitc.datasource.url=jdbc:postgresql://localhost:5432/okr
okr.tenants.pitc.datasource.username=user
okr.tenants.pitc.datasource.password=pwd
okr.tenants.pitc.datasource.schema=okr_pitc
okr.tenants.pitc.user.champion.emails=[email protected]
okr.tenants.pitc.security.oauth2.resourceserver.jwt.jwk-set-uri=http://localhost:8544/realms/pitc/protocol/openid-connect/certs
okr.tenants.pitc.security.oauth2.frontend.issuer-url=http://localhost:8544/realms/pitc
okr.tenants.pitc.security.oauth2.frontend.client-id=pitc_okr_prod


# pit client customization
okr.tenants.pitc.clientcustomization.logo=assets/images/okr-logo.svg
okr.tenants.pitc.clientcustomization.triangles=assets/images/triangles-okr-header.svg
okr.tenants.pitc.clientcustomization.background-logo=assets/images/puzzle-p.svg
okr.tenants.pitc.clientcustomization.favicon=assets/favicon.png
okr.tenants.pitc.clientcustomization.title=Puzzle OKR
okr.tenants.pitc.clientcustomization.customstyles.okr-topbar-background-color=#1e5a96
okr.tenants.pitc.clientcustomization.customstyles.okr-banner-background-color=#dcedf9
2 changes: 2 additions & 0 deletions backend/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ spring.flyway.baseline-on-migrate=true
# debug options
logging.level.ch.puzzle.okr=INFO
logging.level.org.springframework.security=INFO
logging.level.org.flywaydb.core=INFO


# cache configuration
caching.authorization.users.TTL=1800000
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<groupId>ch.puzzle.okr</groupId>
<artifactId>parent</artifactId>
<version>2.0.206-SNAPSHOT</version>
<version>3.0.3-SNAPSHOT</version>

<parent>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit ed10ea1

Please sign in to comment.