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

Main release merge #320

Merged
merged 244 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
244 commits
Select commit Hold shift + click to select a range
8cb132b
feat: Merge PR #252
borisrizov-zf Feb 9, 2024
99f1da8
chore(release): 0.5.0-develop.1 [skip ci]
borisrizov-zf Feb 9, 2024
effb480
feat: add domain objects needed by sts infrastructure
borisrizov-zf Feb 4, 2024
103e7f2
feat: add dto objects for sts infrastructure
borisrizov-zf Feb 4, 2024
56a48eb
feat: add missing relationships to entities
borisrizov-zf Feb 4, 2024
018d9c0
feat: add sts properties
borisrizov-zf Feb 4, 2024
b4bb9b7
feat: add exceptions for sts infrastructure
borisrizov-zf Feb 4, 2024
e982919
feat: extend 'miw.security' properties
borisrizov-zf Feb 4, 2024
4227f3e
feat: implement token endpoint
borisrizov-zf Feb 4, 2024
d6c30bf
feat: add token endpoint happy-path test
borisrizov-zf Feb 4, 2024
5330f64
fix: add missing JSON properties
borisrizov-zf Feb 5, 2024
9b7222d
chore(test): remove commented code
borisrizov-zf Feb 7, 2024
873f9d2
chore: rename the /token controller method
borisrizov-zf Feb 7, 2024
f45b291
chore: remove fields from toString method in dto
borisrizov-zf Feb 7, 2024
762349c
chore: use UriComponentsBuilder for idp url
borisrizov-zf Feb 8, 2024
9a12905
chore: replace generic assert with dedicated exception
borisrizov-zf Feb 8, 2024
72b5fd2
chore: fix debug message for idp request
borisrizov-zf Feb 8, 2024
218ec6c
chore: move comment above relevant code
borisrizov-zf Feb 8, 2024
da37374
chore: add api doc for InvalidIdpTokenResponse
borisrizov-zf Feb 8, 2024
baace00
chore: refactor to using did in token controller
borisrizov-zf Feb 9, 2024
c53f83d
chore: fix typo in exception message
borisrizov-zf Feb 9, 2024
1f84f22
chore: use paremeterized type reference in test
borisrizov-zf Feb 9, 2024
9ef08dd
chore: fix warnings in token test
borisrizov-zf Feb 9, 2024
6000199
chore: update exception message in api doc
borisrizov-zf Feb 9, 2024
9aa5862
chore: move exception class to correct package
borisrizov-zf Feb 19, 2024
7aceb09
chore: add missing 'exception' suffix
borisrizov-zf Feb 19, 2024
754ac68
chore: update token endpoint
borisrizov-zf Feb 19, 2024
accc0d2
feat: use a spring validator for SecureTokenRequest
borisrizov-zf Feb 20, 2024
053bc84
Merge pull request #249 from borisrizov-zf/feature/token-service-and-…
borisrizov-zf Feb 22, 2024
7873e56
chore(release): 0.5.0-develop.2 [skip ci]
borisrizov-zf Feb 22, 2024
061faa7
feat: create initial class
aleksandra-bel Feb 7, 2024
fc5db81
feat: create initial classes with validation
aleksandra-bel Feb 7, 2024
89c7565
chore: add unit tests
aleksandra-bel Feb 7, 2024
46c6321
chore: refactor if clauses
aleksandra-bel Feb 7, 2024
ce75056
feat: adding draft for integration test, refactoring
aleksandra-bel Feb 9, 2024
5ae223d
feat: add JWT verification and extend tests
andreibogus Feb 12, 2024
03d99b9
chore: remove unnecessary class
aleksandra-bel Feb 15, 2024
3daaeeb
chore: remove unnecessary requestMatcher
andreibogus Feb 22, 2024
d83ce91
feat: add JWT verification and extend tests
andreibogus Feb 12, 2024
5b945fc
chore: remove unnecessary class
andreibogus Feb 22, 2024
d8084ee
fix: fix integration test
aleksandra-bel Feb 22, 2024
a918fd2
chore(ci): remove dast report step
borisrizov-zf Feb 23, 2024
fe858dd
chore(ci): add minimum retention for dast report
borisrizov-zf Feb 23, 2024
1c1f1fb
fix: DAST scan PR #256
borisrizov-zf Feb 23, 2024
008dde6
chore(release): 0.5.0-develop.3 [skip ci]
borisrizov-zf Feb 23, 2024
4af7318
chore(ci): add gradle wrapper validation
borisrizov-zf Feb 23, 2024
f9acf55
fix: Add missing gradle validation PR #257
borisrizov-zf Feb 23, 2024
524aad5
chore(release): 0.5.0-develop.4 [skip ci]
borisrizov-zf Feb 23, 2024
e9569a7
chore: reformat and fix exception handling
aleksandra-bel Feb 26, 2024
a0d9bdf
feat: Merge PR #255
borisrizov-zf Feb 27, 2024
0232cd9
chore(release): 0.5.0-develop.5 [skip ci]
borisrizov-zf Feb 27, 2024
4feebd4
feat: add service method, controller, config for scope matching
aleksandra-bel Feb 21, 2024
579a5ec
feat: improve filter, add exception handling
aleksandra-bel Feb 22, 2024
9dc628b
feat: add api docs, option asJwt
aleksandra-bel Feb 26, 2024
478e807
chore: improve api docs
aleksandra-bel Feb 26, 2024
a6c2154
chore: improve api docs
aleksandra-bel Feb 26, 2024
1785080
feat: add ignoring version
aleksandra-bel Feb 27, 2024
ec293b0
chore: move logic to token validation utils
aleksandra-bel Feb 27, 2024
eac5a99
chore: add test for custom web filter
aleksandra-bel Feb 27, 2024
74495d3
chore: clean up configs
aleksandra-bel Feb 27, 2024
2f2e498
chore: fix exception classes
aleksandra-bel Feb 29, 2024
7e51877
chore: improve test coverage
andreibogus Feb 29, 2024
ffce5ba
chore: refactor and fix new tests
andreibogus Feb 29, 2024
4b3c764
chore: refactor test
aleksandra-bel Mar 1, 2024
e500c4b
Merge pull request #259 from aleksandra-bel/feature/scopes-matching
borisrizov-zf Mar 1, 2024
3925170
chore(release): 0.5.0-develop.6 [skip ci]
borisrizov-zf Mar 1, 2024
195c19a
chore: create table, repository and entity for Jti
andreibogus Mar 5, 2024
dae1954
chore: add column name to field in entity
andreibogus Mar 5, 2024
6809578
feat: add logic regarding jti info store and check
aleksandra-bel Mar 5, 2024
4630dca
chore: fix scripts and tests
aleksandra-bel Mar 5, 2024
9987632
chore: refactor
andreibogus Mar 6, 2024
9b277d7
chore: add liquibase comments
andreibogus Mar 6, 2024
b92c924
chore: add nonce on token creation, clean up tests
aleksandra-bel Mar 7, 2024
e047550
fix: fix bug with token re-wrapping
andreibogus Mar 7, 2024
c6edd97
Merge pull request #268 from aleksandra-bel/feature/make_token_one_ti…
borisrizov-zf Mar 7, 2024
381d5c3
chore(release): 0.5.0-develop.7 [skip ci]
borisrizov-zf Mar 7, 2024
eb2e38f
fix: possible caching vulnerability in action
borisrizov-zf Mar 8, 2024
8d13d5e
Merge pull request #269 from borisrizov-zf/fix/update-gradle-build-ac…
borisrizov-zf Mar 8, 2024
052cfe2
chore(release): 0.5.0-develop.8 [skip ci]
borisrizov-zf Mar 8, 2024
e1f6fab
chore: update the setup-helm action
borisrizov-zf Mar 8, 2024
ef0179f
chore: update setup-java action
borisrizov-zf Mar 8, 2024
1d78f2c
chore: update download-artifact action
borisrizov-zf Mar 8, 2024
288f8ac
chore: update upload-artifact action
borisrizov-zf Mar 8, 2024
064f495
chore: update build-and-push action
borisrizov-zf Mar 8, 2024
aaf8e3c
chore: update metadata-action action
borisrizov-zf Mar 8, 2024
6d303eb
chore: update set-output to new format
borisrizov-zf Mar 8, 2024
dfb45b6
chore: update login-action from docker
borisrizov-zf Mar 8, 2024
f6c6901
chore: remove deprecated 'token' value
borisrizov-zf Mar 8, 2024
7058155
Merge pull request #270 from borisrizov-zf/fix/update-outdated-ci-act…
borisrizov-zf Mar 8, 2024
ec60117
feat: add logging of auth failures
borisrizov-zf Mar 8, 2024
6fe9ad3
Merge pull request #271 from borisrizov-zf/feat/83-log-auth-failures
borisrizov-zf Mar 8, 2024
85b8334
chore(release): 0.5.0-develop.9 [skip ci]
borisrizov-zf Mar 8, 2024
1adaf78
docs: add notice about egress for JSON-LD
borisrizov-zf Mar 8, 2024
046a33d
Merge pull request #272 from borisrizov-zf/docs/114-add-notice-about-…
borisrizov-zf Mar 8, 2024
a7d6aa6
feat: upload miw jar to gh release
borisrizov-zf Mar 8, 2024
a8effe0
Merge pull request #273 from borisrizov-zf/feat/upload-jar-artifact-t…
borisrizov-zf Mar 8, 2024
c16a096
chore(release): 0.5.0-develop.10 [skip ci]
borisrizov-zf Mar 8, 2024
9dd6f27
feat: support new algorithm (WIP)
andreibogus Mar 11, 2024
8ddaa84
chore: refactor
aleksandra-bel Mar 11, 2024
b694d19
feat: add extra transaction
andreibogus Mar 12, 2024
cabc658
chore: add postgres test container
aleksandra-bel Mar 12, 2024
dc3d872
chore: improve tests and fix transaction
aleksandra-bel Mar 13, 2024
97437b4
fix: fix kid parameter
andreibogus Mar 13, 2024
b33f8a6
fix: fix ES256K signature
andreibogus Mar 13, 2024
b2a0f75
chore: refactor
aleksandra-bel Mar 14, 2024
9f50bc2
chore: fix sonar issue
aleksandra-bel Mar 14, 2024
541a524
chore: use builder for header
aleksandra-bel Mar 15, 2024
9eb3294
fix: add WalletKey for ES256K algorithm to DidDocument
andreibogus Mar 20, 2024
72b592c
fix: add "y" parameter and remove unused imports
andreibogus Mar 21, 2024
d10a5ed
chore: format code
andreibogus Mar 21, 2024
1b6b70b
Merge pull request #274 from aleksandra-bel/feature/support-ES256K
borisrizov-zf Mar 21, 2024
fe0357f
chore(release): 0.5.0-develop.11 [skip ci]
borisrizov-zf Mar 21, 2024
c911d33
feat: adapt request and wallet service
aleksandra-bel Mar 19, 2024
420ad02
chore: adapt tests
aleksandra-bel Mar 19, 2024
384325d
chore: rename properties
andreibogus Mar 19, 2024
70d9e7e
chore: make didUrl always configurable from request
aleksandra-bel Mar 19, 2024
b6d92df
chore: fix length requirement
aleksandra-bel Mar 20, 2024
ebee250
chore: resolve conflicts
aleksandra-bel Mar 21, 2024
c21f7af
fix: fix did creation in did document
aleksandra-bel Mar 21, 2024
9a10298
chore: change api docs
aleksandra-bel Mar 21, 2024
2536914
chore: add key id
aleksandra-bel Mar 21, 2024
dc0dc40
Merge pull request #275 from aleksandra-bel/feature/adapt-create-wallet
borisrizov-zf Mar 25, 2024
1cbca0d
chore(release): 0.5.0-develop.12 [skip ci]
borisrizov-zf Mar 25, 2024
6a67c92
feat: added body type to /token endpoint
andreibogus Apr 18, 2024
59ccdb2
fix: fix object name
andreibogus Apr 18, 2024
17da4c4
Merge pull request #288 from aleksandra-bel/refactor_body_type_in_tok…
borisrizov-zf Apr 18, 2024
b242a3d
chore(release): 0.5.0-develop.13 [skip ci]
borisrizov-zf Apr 18, 2024
78b7dc3
fix: STS Token API Response
hemantxpatel Apr 29, 2024
8eda499
fix: Test Cases
hemantxpatel Apr 29, 2024
6b1b541
Merge pull request #293 from sap-contributions/fix/sts-token-api
borisrizov-zf May 2, 2024
179b590
chore(release): 0.5.0-develop.14 [skip ci]
borisrizov-zf May 2, 2024
b604f3d
fix: add asJwt to controllers and services
mustafasalfiti Feb 27, 2024
1b260fa
fix: exceptions
mustafasalfiti Feb 27, 2024
61832ed
fix: exception names
mustafasalfiti Feb 27, 2024
d0522f4
fix: did resolver
mustafasalfiti Feb 27, 2024
ef961a5
fix: add asJwt as query param and fix exceptions
mustafasalfiti Mar 5, 2024
7f01263
fix: part of tests
mustafasalfiti Mar 5, 2024
bb0b30c
fix: current tests
mustafasalfiti Mar 5, 2024
842e437
fix: add test and validation
mustafasalfiti Mar 12, 2024
4216e0d
fix: get vc as jwt with tests
mustafasalfiti Mar 19, 2024
2154b7f
fix: add copyright to getCredentialsCommand
mustafasalfiti Mar 19, 2024
4aec527
fix: add wiremock
mustafasalfiti Mar 19, 2024
531d3f7
fix: add exceptions and fix naming
mustafasalfiti Apr 19, 2024
8b5180a
fix: test for jwt
mustafasalfiti Apr 19, 2024
3da1eff
fix: update code with the new ssi lib main
mustafasalfiti Apr 19, 2024
760ee94
fix: api docs
mustafasalfiti Apr 19, 2024
069a7d3
fix: add keyId to createPresentation
mustafasalfiti Apr 22, 2024
fa9ee4b
fix: change context url
mustafasalfiti Apr 23, 2024
02b1f5a
fix: update ssi agent lib version
mustafasalfiti Apr 24, 2024
b840c77
fix: remove try catch
mustafasalfiti Apr 24, 2024
0c5f111
fix: remove new line
mustafasalfiti Apr 24, 2024
14f6195
fix: revert IssueDismantlerCredentialReqeust.java
mustafasalfiti Apr 24, 2024
050358e
fix: add asJwt to controllers and services
mustafasalfiti Feb 27, 2024
fc6c077
fix: exceptions
mustafasalfiti Feb 27, 2024
30a60d5
fix: exception names
mustafasalfiti Feb 27, 2024
8cbb756
fix: add asJwt as query param and fix exceptions
mustafasalfiti Mar 5, 2024
50ba388
fix: part of tests
mustafasalfiti Mar 5, 2024
b3db3e0
fix: add test and validation
mustafasalfiti Mar 12, 2024
dba48e2
fix: add exceptions and fix naming
mustafasalfiti Apr 19, 2024
0a69f1c
fix: test for jwt
mustafasalfiti Apr 19, 2024
9497d3e
fix: update code with the new ssi lib main
mustafasalfiti Apr 19, 2024
8e7b796
fix: api docs
mustafasalfiti Apr 19, 2024
874e850
fix: remove try catch
mustafasalfiti Apr 24, 2024
31819c8
fix: remove new line
mustafasalfiti Apr 24, 2024
bac5200
fix: revert IssueDismantlerCredentialReqeust.java
mustafasalfiti Apr 24, 2024
697ff85
fix: formatting
nitin-vavdiya May 23, 2024
e00620d
fix: formatting
nitin-vavdiya May 23, 2024
956b6af
fix: copyright updated
nitin-vavdiya May 23, 2024
9ade90e
fix: copyright updated
nitin-vavdiya May 23, 2024
1365b39
Merge pull request #260 from Cofinity-X/feat/vc_asJwt
borisrizov-zf May 28, 2024
613831e
chore(release): 0.5.0-develop.15 [skip ci]
borisrizov-zf May 28, 2024
7190ed1
fix: adjust api docs for 'api/token' endpoint
andreibogus Apr 22, 2024
ff2012c
chore: regenerate openapi_v001.json
aleksandra-bel Apr 24, 2024
1910e88
fix: fix openapi_v001.json
aleksandra-bel Apr 24, 2024
c30134e
fix: fix openapi_v001.json
aleksandra-bel Apr 24, 2024
068462b
fix: fix openapi_v001.json
aleksandra-bel Apr 24, 2024
11da855
Merge pull request #289 from aleksandra-bel/feature/review_api_docs
borisrizov-zf May 28, 2024
cba60ef
chore(release): 0.5.0-develop.16 [skip ci]
borisrizov-zf May 28, 2024
ebd691a
fix: api doc folder structure
nitin-vavdiya May 29, 2024
01297f6
Merge pull request #311 from Cofinity-X/fix/api-doc-folder
borisrizov-zf May 29, 2024
688daa8
chore(release): 0.5.0-develop.17 [skip ci]
borisrizov-zf May 29, 2024
0247648
add KeyStorageService Interface & implement DBSKeytorage
PManaras Mar 19, 2024
b3cd848
add encoding type also for holders credential config
PManaras Mar 20, 2024
5fc27ca
fix missing encoding in updateSummaryCredential
PManaras Mar 20, 2024
bb8af0a
make KeyService.createCredential return VerifiableCredential
PManaras Mar 20, 2024
e7b3c22
clean up
PManaras Mar 20, 2024
44688b3
clean up testutils
PManaras Mar 20, 2024
765eed8
add column for keystore type through separate changeset
PManaras Mar 20, 2024
5ceb5cb
cleanup PresentationService
PManaras Mar 20, 2024
df397ae
introduce SigningService and KeyProvider interfaces
PManaras Mar 20, 2024
42ad5b5
cleanup unnecessary imports
PManaras Mar 20, 2024
54abaa4
add KeyCreationOptions, pass keyCreationOptions to SigningService.getKey
PManaras Mar 21, 2024
1a02d0c
extend add LocalSigningService interface
PManaras Mar 21, 2024
fd4b247
add lombok validation for config builders, add AUTHORITY_SIGNING_SERV…
PManaras Mar 21, 2024
f3c9813
fix docker-env: remove unncessary env var
PManaras Mar 21, 2024
587b058
remove unecessary imports and vars
PManaras Mar 21, 2024
297b78d
add migration for existing wallets & migration test
PManaras Mar 21, 2024
3133070
remove unncessary java migration
PManaras Mar 21, 2024
5c8e1c3
add javadoc for new interfaces
PManaras Mar 21, 2024
8d6ed32
remove comments from test
PManaras Mar 21, 2024
e140002
rebase onto develop
PManaras Apr 11, 2024
4c99ee0
integrate changes
PManaras Apr 12, 2024
d2a5cd8
add issueToken to SigningService
PManaras Apr 15, 2024
2aeb2e4
refactor token issuer to use configured keyprovider to retrieve keypair
PManaras Apr 15, 2024
8f8fdbf
remove wallet key repository from secure token issuer
PManaras Apr 15, 2024
537758f
remove unused imports and commented segments
PManaras Apr 16, 2024
fec91a8
remove unused imports, remove comments
PManaras Apr 25, 2024
b02e477
chore(release): 1.0.0-develop.2 [skip ci]
PManaras Apr 22, 2024
83e338b
revert copyright to 2023 in ManagedIdentityWalletsApplication.java
PManaras Apr 25, 2024
b2959e6
fix: ficense header updated
nitin-vavdiya May 27, 2024
099fabb
fix: chart file
nitin-vavdiya May 28, 2024
8b16023
fix: chart file
nitin-vavdiya May 28, 2024
22e3bb8
fix: test cases
nitin-vavdiya May 28, 2024
e264c0f
fix: direct access to WalletKeyService while signing VC removed
nitin-vavdiya May 28, 2024
a7fb417
fix: sonar issues
nitin-vavdiya May 28, 2024
171434e
doc: readme updated
nitin-vavdiya May 29, 2024
af87ecb
fix: javadoc, imports and throws
nitin-vavdiya May 29, 2024
ba2f0e8
Merge pull request #291 from Cofinity-X/pr-upstream-keystorage
borisrizov-zf Jun 3, 2024
224975e
chore(release): 0.5.0-develop.18 [skip ci]
borisrizov-zf Jun 3, 2024
d120358
chore: add instructions to settings.gradle
borisrizov-zf Jun 11, 2024
45ddd7b
feat: move src/ to a dedicated sub-project
borisrizov-zf Jun 11, 2024
a6ceba4
fix: .helmdocsignore is not at project root
borisrizov-zf Jun 12, 2024
b64cc56
chore: update DEPENDENCIES location in build files
borisrizov-zf Jun 12, 2024
98747c8
feat: save dash.jar in the root project for easy re-use
borisrizov-zf Jun 12, 2024
99a1e91
fix: update helm-docs test action
borisrizov-zf Jun 12, 2024
b6a7656
fix: new build location for upload action
borisrizov-zf Jun 12, 2024
f2a21de
Merge pull request #316 from borisrizov-zf/feature/multi-module-support
borisrizov-zf Jun 12, 2024
eecdde2
chore(release): 0.5.0-develop.19 [skip ci]
borisrizov-zf Jun 12, 2024
26e779e
chore!: issue membership, framework and dismantler VC API removed alo…
nitin-vavdiya Jun 10, 2024
1430881
fix: test cases of get VC api
nitin-vavdiya Jun 11, 2024
09d337f
fix: VP validation tests
nitin-vavdiya Jun 11, 2024
847f123
fix: VP test cases
nitin-vavdiya Jun 11, 2024
bf71a1d
fix: failing test cases
nitin-vavdiya Jun 12, 2024
ae9bcef
chore: removed envs from dev asset and sonar fix
nitin-vavdiya Jun 12, 2024
e776be9
chore: copyright update
nitin-vavdiya Jun 12, 2024
1ec9254
doc: API doc updated
nitin-vavdiya Jun 12, 2024
b10fa38
fix: formatting issue with api json file
nitin-vavdiya Jun 13, 2024
0e13e42
doc: arc42 updated
nitin-vavdiya Jun 13, 2024
dc0b99b
Merge pull request #315 from Cofinity-X/chore/remove-not-needed-apis-…
borisrizov-zf Jun 13, 2024
cd65911
chore(release): 0.5.0-develop.20 [skip ci]
borisrizov-zf Jun 13, 2024
daccb85
chore(legal): Update legal documents according to TRG7
thackerronak Jun 13, 2024
b59677c
Merge pull request #318 from Cofinity-X/update_legal_docs
borisrizov-zf Jun 14, 2024
8e74e76
chore: add contribution docs and committer docs
borisrizov-zf Jun 18, 2024
31cbb74
Merge pull request #319 from borisrizov-zf/feature/update-contributio…
borisrizov-zf Jun 18, 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
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
# ********************************************************************************/

**/.git
build/test-results
miw/build/test-results
11 changes: 7 additions & 4 deletions .github/workflows/app-test-coverage-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@ jobs:
fetch-depth: 0

- name: Set up Java 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2

- name: Test app
run: ./gradlew test

Expand All @@ -48,18 +51,18 @@ jobs:
run: ./gradlew jacocoTestReport

- name: Upload test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: test-results
path: ${{ github.workspace }}/build/
path: ${{ github.workspace }}/miw/build/

- name: Publish code coverage report as PR comment
uses: madrapps/jacoco-report@v1.6.1
if: always()
with:
paths: |
${{ github.workspace }}/build/reports/xml/jacoco.xml
${{ github.workspace }}/miw/build/reports/xml/jacoco.xml
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: 80
min-coverage-changed-files: 80
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/app-test-coverage-repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

steps:
- name: Download test results
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: test-results
path: ${{ github.workspace }}/
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/chart-verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4.1.0
with:
version: v3.12.3

Expand Down Expand Up @@ -86,8 +86,8 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: jnorwood/helm-docs:v1.11.3
options: -v ${{ github.workspace }}/charts:/helm-docs
run: helm-docs -i managed-identity-wallet/.helmdocsignore
options: -v ${{ github.workspace }}/charts:/helm-docs -v ${{ github.workspace }}/.helmdocsignore:/helm-docs/.helmdocsignore
run: helm-docs

- name: Verify that no changes are required
run: |
Expand All @@ -108,14 +108,14 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4.1.0
with:
version: v3.12.3

- name: Set up Taskfile
uses: arduino/setup-task@v1

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
version: v0.20.0

- name: Build image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/dast-scan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:
fetch-depth: 0

- name: Set up Helm
uses: azure/setup-helm@v3
uses: azure/setup-helm@v4.1.0
with:
version: v3.12.3

- name: Set up Taskfile
uses: arduino/setup-task@v1

- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
Expand All @@ -72,7 +72,7 @@ jobs:
version: v0.20.0

- name: Build image
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down Expand Up @@ -120,15 +120,10 @@ jobs:

echo "... done."

- name: Add Summary
if: success() || failure()
run: |
echo "Publishing Job summary... "
cat report_md.md >> $GITHUB_STEP_SUMMARY

- name: Upload HTML report
if: success() || failure()
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ZAP scan report
path: ./report_html.html
retention-days: 1
42 changes: 25 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,14 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2

- name: Setup Helm
uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
uses: azure/setup-helm@v4.1.0

- name: Setup JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
Expand Down Expand Up @@ -94,15 +95,15 @@ jobs:
run: ./gradlew build

- name: Upload build artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build
path: ./build
path: ./miw/build
if-no-files-found: error
retention-days: 1

- name: Upload Helm chart artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: charts
path: ./charts
Expand All @@ -114,6 +115,15 @@ jobs:
echo "::notice::${{ env.next_release }}"
echo "::notice::${{ env.will_create_new_release }}"

- name: Upload jar to GitHub release
if: github.event_name != 'pull_request' && steps.semantic-release.outputs.will_create_new_release == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_VERSION: ${{ steps.semantic-release.outputs.next_release }}
run: |
echo "::notice::Uploading jar to GitHub release"
gh release upload "v$RELEASE_VERSION" ./miw/build/libs/miw-latest.jar

docker:
name: Docker Release
needs: semantic_release
Expand All @@ -122,21 +132,21 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
- name: Download build artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: build
path: ./build
path: ./miw/build

- name: Download Helm chart artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: charts
path: ./charts

# Create SemVer or ref tags dependent of trigger event
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}
Expand All @@ -152,14 +162,14 @@ jobs:

- name: DockerHub login
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
# Use existing DockerHub credentials present as secrets
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}

- name: Push image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down Expand Up @@ -189,15 +199,13 @@ jobs:
uses: actions/checkout@v4

- name: Download Helm chart artifact
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: charts
path: ./charts

- name: Install Helm
uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
uses: azure/setup-helm@v4.1.0

- name: Add Helm dependency repositories
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/veracode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v2

- uses: madhead/read-java-properties@latest
id: version
with:
Expand All @@ -48,20 +51,20 @@ jobs:
- name: Set outputs
id: vars
run: |
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
echo "{sha_short}=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
echo "SHORT_SHA=$(git rev-parse --short HEAD)" >> $GITHUB_ENV

- name: Show version
run: echo ${APP_VERSION}.${SHORT_SHA}

- name: Set up JDK 17
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'

- name: Build with Gradle
uses: gradle/gradle-build-action@v2
uses: gradle/gradle-build-action@2.4.2
with:
arguments: build

Expand All @@ -71,6 +74,6 @@ jobs:
with:
appname: 'project-managed-identity-wallet'
createprofile: false
filepath: 'build/libs/miw-latest.jar' # add filepath for upload
filepath: 'miw/build/libs/miw-latest.jar' # add filepath for upload
vid: '${{ secrets.ORG_VERACODE_API_ID }}' # reference to API ID, which is set as github org. secret
vkey: '${{ secrets.ORG_VERACODE_API_KEY }}' #reference to API Key in github, which is set as github or. secret
File renamed without changes.
4 changes: 2 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
[
"@semantic-release/exec",
{
"prepareCmd": "cd charts/managed-identity-wallet && helm-docs -i .helmdocsignore ."
"prepareCmd": "cd charts/managed-identity-wallet && helm-docs ."
}
],
"@semantic-release/release-notes-generator",
Expand All @@ -56,7 +56,7 @@
{
"assets": [
"CHANGELOG.md",
"DEPENDENCIES",
"miw/DEPENDENCIES",
"gradle.properties",
"./charts/managed-identity-wallet/Chart.yaml",
"./charts/managed-identity-wallet/README.md"
Expand Down
Loading
Loading