Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop to master #275

Merged
merged 66 commits into from
Jul 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
6d2711f
Fix #219: Set develop version to 1.8.0-SNAPSHOT
banterCZ Feb 29, 2024
ac5c8cf
Merge pull request #237 from wultra/issues/219-version-1.8.0-SNAPSHOT
banterCZ Feb 29, 2024
69593d2
Update GitHub Actions to JDK 21
banterCZ Mar 7, 2024
3c1a499
Update GitHub Actions publish-docker-image
banterCZ Mar 7, 2024
0fdd154
Merge pull request #239 from wultra/issues/gha-update
banterCZ Mar 7, 2024
e5255fe
Merge pull request #238 from wultra/issues/gha-jdk-21
banterCZ Mar 7, 2024
a01d903
Bump io.gatling.highcharts:gatling-charts-highcharts
dependabot[bot] Mar 25, 2024
c504040
Bump org.springframework.boot:spring-boot-starter-parent
dependabot[bot] Mar 25, 2024
fb81138
Merge pull request #243 from wultra/dependabot/maven/org.springframew…
dependabot[bot] Mar 26, 2024
173b5ae
Merge pull request #242 from wultra/dependabot/maven/io.gatling.highc…
dependabot[bot] Mar 26, 2024
56379bd
Downgrade JDK for Coverity GHA to 17
banterCZ Mar 28, 2024
d5bdc1d
Fix #245: Return ERROR_NOT_FOUND code instead of white label error page
banterCZ Mar 28, 2024
1af1af2
Merge pull request #244 from wultra/issues/gha-coverity-jdk-17
banterCZ Mar 28, 2024
38bcc71
Bump org.springdoc:springdoc-openapi-starter-webmvc-ui
dependabot[bot] Apr 1, 2024
e2f4126
Merge pull request #247 from wultra/dependabot/maven/org.springdoc-sp…
dependabot[bot] Apr 2, 2024
e070055
Merge pull request #246 from wultra/issues/245-not-found-error-code
banterCZ Apr 2, 2024
1e089f0
Bump bc.version from 1.77 to 1.78
dependabot[bot] Apr 8, 2024
7b9ea23
Merge pull request #249 from wultra/dependabot/maven/bc.version-1.78
dependabot[bot] Apr 9, 2024
fa483a3
Fix #250: DocuCheck Warnings
banterCZ Apr 11, 2024
56d6ec5
Merge pull request #251 from wultra/issues/250-doc-warnings
banterCZ Apr 12, 2024
aa5ba15
Disable CodeQL GitHub Action on pull requests
banterCZ Apr 15, 2024
aa8f7a8
Merge pull request #252 from wultra/issues/limit-codeql
banterCZ Apr 16, 2024
9ee4c7a
Bump org.springframework.boot:spring-boot-starter-parent
dependabot[bot] Apr 22, 2024
52d20c3
Bump bc.version from 1.78 to 1.78.1
dependabot[bot] Apr 22, 2024
eff7a61
Merge pull request #256 from wultra/dependabot/maven/bc.version-1.78.1
dependabot[bot] Apr 23, 2024
d4b5504
Merge pull request #255 from wultra/dependabot/maven/org.springframew…
dependabot[bot] Apr 23, 2024
ca38dea
Fix #257: Improve WildFly documentation and configuration
banterCZ Apr 29, 2024
91365a3
Bump io.gatling:gatling-maven-plugin from 4.8.2 to 4.9.0
dependabot[bot] Apr 29, 2024
b0a0985
Bump io.gatling.highcharts:gatling-charts-highcharts
dependabot[bot] Apr 29, 2024
99d0c8d
Merge pull request #260 from wultra/dependabot/maven/io.gatling.highc…
dependabot[bot] Apr 30, 2024
9d4d0aa
Merge pull request #259 from wultra/dependabot/maven/io.gatling-gatli…
dependabot[bot] Apr 30, 2024
fc484ff
Merge pull request #258 from wultra/issues/257-wildfly-conf-and-doc
banterCZ May 2, 2024
25d99be
Add dependabot configuration for github-actions
banterCZ May 16, 2024
f40234c
Merge pull request #262 from wultra/issues/dependabot-gha
banterCZ May 16, 2024
b48b974
Bump io.gatling.highcharts:gatling-charts-highcharts
dependabot[bot] May 27, 2024
04e5491
Bump io.gatling:gatling-maven-plugin from 4.9.0 to 4.9.1
dependabot[bot] May 27, 2024
2b5484d
Bump org.apache.maven:maven-artifact from 3.9.6 to 3.9.7
dependabot[bot] May 27, 2024
fadf04f
Bump org.springframework.boot:spring-boot-starter-parent
dependabot[bot] May 27, 2024
a327582
Merge pull request #266 from wultra/dependabot/maven/org.springframew…
dependabot[bot] May 28, 2024
716c59f
Merge pull request #265 from wultra/dependabot/maven/org.apache.maven…
dependabot[bot] May 28, 2024
7def451
Merge pull request #264 from wultra/dependabot/maven/io.gatling-gatli…
dependabot[bot] May 28, 2024
56e4f8d
Merge pull request #263 from wultra/dependabot/maven/io.gatling.highc…
dependabot[bot] May 28, 2024
762f9ec
Fix #248: Create standard API Docs for Admin Part (#261)
jandusil May 29, 2024
7d5e594
Bump io.gatling:gatling-maven-plugin from 4.9.1 to 4.9.4
dependabot[bot] Jun 10, 2024
95b7bac
Merge pull request #267 from wultra/dependabot/maven/io.gatling-gatli…
dependabot[bot] Jun 11, 2024
10961dd
Fix #268 fix proper shell, set db user/pass variables as optional
korbelm Jun 13, 2024
fd5a06f
Merge pull request #269 from wultra/feature/268-docker-run-fail
korbelm Jun 17, 2024
c64f884
Bump org.apache.maven:maven-artifact from 3.9.7 to 3.9.8
dependabot[bot] Jun 17, 2024
4618cdc
Bump docker/build-push-action from 5 to 6
dependabot[bot] Jun 17, 2024
4214982
Merge pull request #271 from wultra/dependabot/github_actions/docker/…
dependabot[bot] Jun 18, 2024
1c6d2a6
Merge pull request #270 from wultra/dependabot/maven/org.apache.maven…
dependabot[bot] Jun 18, 2024
6a1c142
Bump org.springframework.boot:spring-boot-starter-parent
dependabot[bot] Jun 21, 2024
006a288
Merge pull request #273 from wultra/dependabot/maven/org.springframew…
dependabot[bot] Jun 21, 2024
e6235e3
Bump io.gatling.highcharts:gatling-charts-highcharts
dependabot[bot] Jun 24, 2024
b71d748
Merge pull request #274 from wultra/dependabot/maven/io.gatling.highc…
dependabot[bot] Jun 25, 2024
2da50d3
Bump io.gatling:gatling-maven-plugin from 4.9.4 to 4.9.6
dependabot[bot] Jul 1, 2024
469aedc
Bump io.gatling.highcharts:gatling-charts-highcharts
dependabot[bot] Jul 1, 2024
78d4624
Fix #284: Update pipeline to publish to artifactory. (#285)
zcgandcomp Jul 8, 2024
f5fa271
Merge pull request #282 from wultra/dependabot/maven/io.gatling.highc…
dependabot[bot] Jul 15, 2024
2b605ed
Merge pull request #281 from wultra/dependabot/maven/io.gatling-gatli…
dependabot[bot] Jul 15, 2024
e56234b
Bump org.springdoc:springdoc-openapi-starter-webmvc-ui
dependabot[bot] Jul 15, 2024
d84b7b6
Merge pull request #283 from wultra/dependabot/maven/org.springdoc-sp…
dependabot[bot] Jul 15, 2024
ed9b957
Fix #279: Validate challenge format to be Base64 encoded bytes (#280)
petrdvorak Jul 15, 2024
15eb0d8
Bump org.springframework.boot:spring-boot-starter-parent
dependabot[bot] Jul 22, 2024
230e4fa
Merge pull request #287 from wultra/dependabot/maven/org.springframew…
dependabot[bot] Jul 23, 2024
b1d6f34
Fix #276: Set release version to 1.8.0 (#278)
banterCZ Jul 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,8 @@ updates:
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
# Workflow files stored in the default location of `.github/workflows`. (You don't need to specify `/.github/workflows` for `directory`. You can use `directory: "/"`.)
directory: "/"
schedule:
interval: "weekly"
6 changes: 2 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ on:
workflow_dispatch:
push:
branches: [ 'develop', 'master', 'releases/**' ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ 'develop', 'master', 'releases/**' ]
schedule:
- cron: '17 14 * * 2'

Expand All @@ -19,4 +16,5 @@ jobs:
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
java_version: 21
2 changes: 2 additions & 0 deletions .github/workflows/maven-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
with:
environment: internal-publish
release_type: snapshot
java_version: 21
secrets:
username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
Expand All @@ -43,6 +44,7 @@ jobs:
with:
environment: ${{ inputs.environment }}
release_type: ${{ inputs.release_type }}
java_version: 21
secrets:
username: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/maven-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,6 @@ on:
jobs:
maven-tests:
uses: wultra/wultra-infrastructure/.github/workflows/maven-test.yml@develop
secrets: inherit
secrets: inherit
with:
java_version: 21
50 changes: 36 additions & 14 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ on:
- 'develop'
- 'master'
- 'releases/*'
inputs:
push_to_acr:
description: Push to ACR?
type: boolean
default: true
push_to_jfrog:
description: Push to JFrog?
type: boolean
default: false
pull_request:
branches:
- 'develop'
Expand All @@ -22,10 +31,10 @@ jobs:
INTERNAL_USERNAME: ${{ secrets.JFROG_USERNAME }}
INTERNAL_PASSWORD: ${{ secrets.JFROG_PASSWORD }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: '17'
java-version: '21'
distribution: 'temurin'
server-id: jfrog-central
server-username: INTERNAL_USERNAME
Expand All @@ -41,25 +50,38 @@ jobs:
run: |
mvn -U -DuseInternalRepo=true --no-transfer-progress clean package
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
with:
install: true

- name: Log in to JFrog registry
if: inputs.push_to_jfrog == true
uses: docker/login-action@v3
with:
registry: https://wultra.jfrog.io/
username: ${{ vars.JFROG_CONTAINER_REGISTRY_USERNAME }}
password: ${{ secrets.JFROG_CONTAINER_REGISTRY_PASSWORD }}
- name: Log in to Azure registry
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: docker/login-action@v2
if: inputs.push_to_acr == true
uses: docker/login-action@v3
with:
registry: https://powerauth.azurecr.io/
username: ${{ secrets.ACR_USERNAME }}
username: ${{ vars.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build and push container image to Azure registry
uses: docker/build-push-action@v3
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name == 'workflow_dispatch' }}
platforms: linux/amd64
tags: powerauth.azurecr.io/mobile-utility-server:${{ env.REVISION }}${{ env.TIMESTAMP }}-${{ github.sha }}
push: ${{ inputs.push_to_acr == true || inputs.push_to_jfrog == true }}
platforms: linux/amd64,linux/arm64
tags: |
${{ inputs.push_to_acr == true && format('powerauth.azurecr.io/mobile-utility-server:{0}{1}-{2}', env.REVISION, env.TIMESTAMP, github.sha) || '' }}
${{ inputs.push_to_jfrog == true && format('wultra.jfrog.io/wultra-docker/mobile-utility-server:{0}{1}-{2}', env.REVISION, env.TIMESTAMP, github.sha) || '' }}
file: ./deploy/dockerfile/runtime/Dockerfile
context: .

- run: echo '### 🚀 Published images' >> $GITHUB_STEP_SUMMARY
- if: inputs.push_to_acr == true
run: |
echo 'powerauth.azurecr.io/mobile-utility-server:${{ env.REVISION }}${{ env.TIMESTAMP }}-${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
- if: inputs.push_to_jfrog == true
run: echo 'wultra.jfrog.io/wultra-docker/mobile-utility-server:${{ env.REVISION }}${{ env.TIMESTAMP }}-${{ github.sha }}' >> $GITHUB_STEP_SUMMARY
10 changes: 5 additions & 5 deletions deploy/dockerfile/runtime/docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env sh
#!/usr/bin/env bash
set -euo pipefail

liquibase --headless=true --log-level=INFO --changeLogFile=$LB_HOME/db/changelog/db.changelog-master.xml \
--username=$MOBILE_UTILITY_SERVER_DATASOURCE_USERNAME \
--password=$MOBILE_UTILITY_SERVER_DATASOURCE_PASSWORD \
--url=$MOBILE_UTILITY_SERVER_DATASOURCE_URL \
liquibase --headless=true --log-level=INFO --changeLogFile="${LB_HOME}/db/changelog/db.changelog-master.xml" \
--username="${MOBILE_UTILITY_SERVER_DATASOURCE_USERNAME:-}" \
--password="${MOBILE_UTILITY_SERVER_DATASOURCE_PASSWORD:-}" \
--url="${MOBILE_UTILITY_SERVER_DATASOURCE_URL}" \
update

java -Dserver.port=8000 -jar /mobile-utility-server.war
Loading