-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
13 changed files
with
49 additions
and
206 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
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: ci-sonar | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
jobs: | ||
sonar: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/setup-java@v2 | ||
with: | ||
java-version: 11 | ||
distribution: adopt | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/cache@v2 | ||
with: | ||
path: | | ||
~/.m2/repository | ||
key: ${{ runner.os }}-${{ hashFiles('**/pom.xml') }} | ||
- name: mvn | ||
run: |- | ||
mvn verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar \ | ||
--batch-mode \ | ||
--file ./pom.xml \ | ||
--settings ./settings.xml \ | ||
--define app.packages.username="${APP_PACKAGES_USERNAME}" \ | ||
--define app.packages.password="${APP_PACKAGES_PASSWORD}" | ||
env: | ||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
APP_PACKAGES_USERNAME: ${{ github.actor }} | ||
APP_PACKAGES_PASSWORD: ${{ secrets.GITHUB_TOKEN }} |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
src/main/java/eu/europa/ec/dgc/businessrule/config/CorsConfig.java
This file was deleted.
Oops, something went wrong.
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
15 changes: 0 additions & 15 deletions
15
src/main/java/eu/europa/ec/dgc/businessrule/config/WebSecurityConfig.java
This file was deleted.
Oops, something went wrong.
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,30 +1,11 @@ | ||
spring: | ||
h2: | ||
console: | ||
enabled: false | ||
datasource: | ||
driver-class-name: org.postgresql.Driver | ||
url: jdbc:postgresql://${POSTGRESQL_SERVICE_HOST}:${POSTGRESQL_SERVICE_PORT}/${POSTGRESQL_DATABASE} | ||
username: ${POSTGRESQL_USER} | ||
password: ${POSTGRESQL_PASSWORD} | ||
url: jdbc:postgresql://localhost:5432/postgres | ||
username: postgres | ||
password: postgres | ||
jpa: | ||
database-platform: org.hibernate.dialect.PostgreSQLDialect | ||
springdoc: | ||
api-docs: | ||
enabled: false | ||
dgc: | ||
corsUrl: ${DGC_CORS_ENABLED_URL} | ||
gateway: | ||
connector: | ||
enabled: true | ||
endpoint: ${DGC_GATEWAY_CONNECTOR_ENDPOINT} | ||
proxy: | ||
enabled: false | ||
tls-trust-store: | ||
password: ${DGC_GATEWAY_CONNECTOR_TLSTRUSTSTORE_PASSWORD} | ||
path: ${DGC_GATEWAY_CONNECTOR_TLSTRUSTSTORE_PATH} | ||
tls-key-store: | ||
alias: ${DGC_GATEWAY_CONNECTOR_TLSKEYSTORE_ALIAS} | ||
password: ${DGC_GATEWAY_CONNECTOR_TLSKEYSTORE_PASSWORD} | ||
path: ${DGC_GATEWAY_CONNECTOR_TLSKEYSTORE_PATH} | ||
trust-anchor: | ||
alias: ${DGC_GATEWAY_CONNECTOR_TRUSTANCHOR_ALIAS} | ||
password: ${DGC_GATEWAY_CONNECTOR_TRUSTANCHOR_PASSWORD} | ||
path: ${DGC_GATEWAY_CONNECTOR_TRUSTANCHOR_PATH} |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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