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

Release version 0.5.0-rc5 #570

Merged
merged 319 commits into from
Jul 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
319 commits
Select commit Hold shift + click to select a range
eda9f9e
chore(deps): bump alpine from 3.17.2 to 3.17.3 in /edc-controlplane/e…
paullatzelsperger Apr 11, 2023
856750d
chore(deps): bump alpine from 3.17.2 to 3.17.3 in /edc-dataplane/edc-…
paullatzelsperger Apr 11, 2023
0de7acc
chore(deps): bump alpine
dependabot[bot] Apr 11, 2023
379cfa0
chore(deps): bump alpine from 3.17.2 to 3.17.3 in /edc-dataplane/edc-…
paullatzelsperger Apr 11, 2023
94e2fb4
docs: create decision-record about refactoring helm charts
paullatzelsperger Apr 11, 2023
302ce5d
chore(deps): bump crazy-max/ghaction-import-gpg from 1 to 5
dependabot[bot] Apr 12, 2023
4ad4322
chore(deps): bump helm/chart-testing-action from 2.3.1 to 2.4.0
dependabot[bot] Apr 12, 2023
2d7652d
chore(deps): bump mikefarah/yq from 4.31.2 to 4.33.3
dependabot[bot] Apr 12, 2023
14b6d87
feature: publish docker images to DockerHub
paullatzelsperger Apr 12, 2023
cb4156a
add manual docker-publish workflow
paullatzelsperger Apr 12, 2023
189b434
avoid input params, add concurrency
paullatzelsperger Apr 12, 2023
e58a3a0
add checkout action
paullatzelsperger Apr 12, 2023
f8d6ee2
creds as action inputs
paullatzelsperger Apr 12, 2023
6e93812
add jar build step
paullatzelsperger Apr 12, 2023
e56a86b
make namespace overridable
paullatzelsperger Apr 12, 2023
062ddb7
updated notices
paullatzelsperger Apr 12, 2023
03dd9db
incorporate new docker publish flow
paullatzelsperger Apr 12, 2023
69171f8
update chart deployment specs
paullatzelsperger Apr 12, 2023
2ba15ea
fix formatting
paullatzelsperger Apr 12, 2023
26fb63f
markdown lint
paullatzelsperger Apr 12, 2023
cbed534
fix workflow
paullatzelsperger Apr 12, 2023
f036a59
remove image namespace
paullatzelsperger Apr 12, 2023
fe6891e
prevent all interaction with dockerhub on pull requests
paullatzelsperger Apr 12, 2023
0566153
feature: publish Docker images to DockerHub
paullatzelsperger Apr 12, 2023
ab322ac
docs: decision record about refactoring helm charts
paullatzelsperger Apr 13, 2023
d38c163
docs: add technical committer to pr_etiquette.md (#182)
florianrusch-zf Apr 13, 2023
4347ea1
chore(deps): bump mikefarah/yq from 4.31.2 to 4.33.3
paullatzelsperger Apr 13, 2023
b6dce81
chore(deps): bump helm/chart-testing-action from 2.3.1 to 2.4.0
paullatzelsperger Apr 13, 2023
486d0cd
Merge pull request #205 from eclipse-tractusx/dependabot/github_actio…
paullatzelsperger Apr 13, 2023
79789ba
chore: update to temurin 17 (#212)
paullatzelsperger Apr 14, 2023
0ac05fe
feat(tests): removes lombok from edc-tests module (#159)
wolf4ood Apr 14, 2023
ecccbb0
chore: add a template for pull request descriptions (#213)
paullatzelsperger Apr 14, 2023
406e137
fix: Adapt Helm Chart for version 0.3.x (#211)
tuncaytunc-zf Apr 14, 2023
e566646
refactor: rename git branches (#218)
paullatzelsperger Apr 15, 2023
8587656
chore(deps): bump io.cucumber:cucumber-junit-platform-engine from 7.1…
dependabot[bot] Apr 17, 2023
568b0cf
chore(deps): bump io.cucumber:cucumber-java from 7.11.1 to 7.11.2 (#225)
dependabot[bot] Apr 17, 2023
d47f39e
chore(deps): bump org.testcontainers:junit-jupiter from 1.17.6 to 1.1…
dependabot[bot] Apr 17, 2023
bdd8482
chore(deps): bump com.bmuschko.docker-remote-api from 9.2.1 to 9.3.1 …
dependabot[bot] Apr 17, 2023
945ef0c
chore(deps): bump org.testcontainers:vault from 1.17.6 to 1.18.0 (#223)
dependabot[bot] Apr 17, 2023
fd241d0
docs(control-plane-adapter): improve documentation on how to use the …
saschaisele-zf Apr 17, 2023
ec424a8
feature: create in-mem helm chart (#219)
paullatzelsperger Apr 17, 2023
689f778
chore(deps): bump org.slf4j:slf4j-api from 2.0.3 to 2.0.7 (#234)
dependabot[bot] Apr 18, 2023
abb352a
chore(deps): bump com.azure:azure-security-keyvault-secrets (#235)
dependabot[bot] Apr 18, 2023
7c03aec
chore(deps): bump com.diffplug.spotless from 6.15.0 to 6.18.0 (#236)
dependabot[bot] Apr 18, 2023
192c442
chore(deps): bump com.github.johnrengelman.shadow from 8.0.0 to 8.1.1…
dependabot[bot] Apr 18, 2023
c0aa1d4
chore(deps): bump io.freefair.lombok from 6.6.2 to 8.0.1 (#238)
dependabot[bot] Apr 18, 2023
0b9c11c
chore(deps): bump org.flywaydb:flyway-core from 9.15.2 to 9.16.3 (#242)
dependabot[bot] Apr 19, 2023
d268bf0
chore(deps): bump com.google.code.gson:gson from 2.10 to 2.10.1 (#243)
dependabot[bot] Apr 19, 2023
f30e78a
refactor: update GitHub output command to current version (#233)
gcs14 Apr 19, 2023
31bfed7
fix: only run trivy when docker images were actually built (#240)
paullatzelsperger Apr 19, 2023
6521dc3
refactor: Extract the setup-java action into a re-usable action (#246)
tuncaytunc-zf Apr 19, 2023
04985e0
feat(BusinessPartnerValidation): adds logging if it's enabled on cont…
wolf4ood Apr 19, 2023
463c909
release-fix: use correct value
paullatzelsperger Apr 19, 2023
98988da
Release version 0.3.3 (#249)
github-actions[bot] Apr 19, 2023
93b2ad9
Introduce new snapshot version 0.3.4-SNAPSHOT
web-flow Apr 19, 2023
52a3ecd
release-fix: allow manual entry of Docker tag
paullatzelsperger Apr 19, 2023
42b8d03
chore: Add 0.3.3 to, and fix markdown in CHANGELOG.md (#252)
paullatzelsperger Apr 20, 2023
761ee87
docs: add decision record about conventional commits (#255)
paullatzelsperger Apr 20, 2023
524914b
fix: README.md points to wrong helm chart (#261)
florianrusch-zf Apr 20, 2023
69e84e9
feature: add explicit docker image creation during release process (#…
paullatzelsperger Apr 21, 2023
cd799fd
build(deps): add constraints to avoid vulnerable transitive dependenc…
ndr-brt Apr 21, 2023
76f2a15
chore: Rename Veracode appname in CI job (#265)
tuncaytunc-zf Apr 21, 2023
0579cc6
fix: Typo in veracode action (#267)
tuncaytunc-zf Apr 21, 2023
04e632e
Adapt Postman collection for 0.3.x (#232)
tuncaytunc-zf Apr 21, 2023
416531c
feat: Add/update documentation for connector kit (#138)
bcronin90 Apr 21, 2023
01b4267
feat: add GitHub workflow to automaticly add features to project (#264)
stephanbcbauer Apr 21, 2023
50ef73b
feature: refactor the main `tractusx-connector` chart (#230)
paullatzelsperger Apr 24, 2023
6c98c4d
build(deps): Move Gradle dependencies constrains into root build.grad…
tuncaytunc-zf Apr 24, 2023
844b35c
chore(deps): bump com.azure:azure-security-keyvault-secrets from 4.6.…
dependabot[bot] Apr 24, 2023
819f3b7
chore(deps): bump actions/checkout from 3.3.0 to 3.5.2 (#254)
dependabot[bot] Apr 24, 2023
37031c7
build(deps): Move centralized dependency constrains to "allprojects" …
tuncaytunc-zf Apr 24, 2023
5eb0eb3
feat: delete add-to-project workflow (#276)
stephanbcbauer Apr 25, 2023
b15cb71
Update DEPENDENCIES file
Apr 25, 2023
e659059
Add license and copyright header to the charts
Apr 25, 2023
5efa765
fix chart typo
Apr 25, 2023
f5d6917
fix charts
Apr 25, 2023
7e7fa6b
Update DEPENDENCIES file
Apr 26, 2023
1c817a5
Merge pull request #282 from catenax-ng/chore/updateDEPENDENCIES
SebastianBezold Apr 26, 2023
60d8faa
Fix charts
Apr 26, 2023
d91d313
Fix charts
Apr 26, 2023
80b70e6
Fix charts
Apr 26, 2023
e545d92
Create new connector certificates
Apr 26, 2023
202e3d9
Merge pull request #285 from catenax-ng/chore/addCopyrightHeaderToCharts
SebastianBezold Apr 26, 2023
fcb4694
chore(test): use new certificate in the deployment test (#288)
paullatzelsperger Apr 26, 2023
7dceee5
chore(build): add GHA variables for sonar project and org (#287)
paullatzelsperger Apr 26, 2023
59de4e2
chore(deps): bump org.junit:junit-bom from 5.9.2 to 5.9.3 (#290)
dependabot[bot] Apr 27, 2023
a276a63
chore(deps): bump org.junit.platform:junit-platform-suite (#291)
dependabot[bot] Apr 27, 2023
ce48a77
chore(build): remove CI-triggered sonar job (#292)
paullatzelsperger Apr 27, 2023
0d35a5f
chore: prepare Changelog and Migr. Guide for 0.3.4 (#298)
paullatzelsperger Apr 28, 2023
8edb5aa
chore(deps): bump org.flywaydb:flyway-core from 9.16.3 to 9.17.0 (#294)
dependabot[bot] Apr 28, 2023
97a4a29
refactor(chart): move test infrastructure into the test chart (#299)
paullatzelsperger May 2, 2023
30b4e16
chore(deps): bump io.cucumber:cucumber-junit-platform-engine (#300)
dependabot[bot] May 3, 2023
577bcb5
chore(deps): bump io.cucumber:cucumber-java from 7.11.2 to 7.12.0 (#301)
dependabot[bot] May 3, 2023
bf9e927
chore: remove all printstacktrace statementsw (#304)
paullatzelsperger May 3, 2023
e38b8b6
chore(build): use tractusx bot creds for release PRs etc.
paullatzelsperger May 4, 2023
71f4660
feat(build): publish to OSSRH Snapshots and MavenCentral (#319)
paullatzelsperger May 8, 2023
3433564
docs: update code-of-conduct (#317)
florianrusch-zf May 9, 2023
b350075
chore(deps): bump alpine (#324)
dependabot[bot] May 10, 2023
807953c
chore(deps): bump alpine (#325)
dependabot[bot] May 10, 2023
4e173cd
chore(deps): bump alpine (#326)
dependabot[bot] May 10, 2023
4e0acee
chore(deps): bump alpine (#323)
dependabot[bot] May 10, 2023
3b72478
chore(build): use composite action for GPG import (#320)
paullatzelsperger May 10, 2023
e920691
chore: Add .tractusx metafile (#335)
florianrusch-zf May 11, 2023
a6d9c07
feature: create helm chart using the Azure KeyVault variant (#279)
paullatzelsperger May 11, 2023
f11f62c
chore(helm): fix typo in required value in cp deployment (#337)
fty4 May 11, 2023
2357165
chore(deps): bump org.testcontainers:vault from 1.18.0 to 1.18.1 (#339)
dependabot[bot] May 11, 2023
f710bd0
chore(security): use uppercase AS in Dockerfiles (#341)
paullatzelsperger May 11, 2023
d50b690
chore(deps): bump org.testcontainers:junit-jupiter from 1.18.0 to 1.1…
dependabot[bot] May 12, 2023
d48d22b
feat: replace using hard-coded certs with dynamically generated ones …
paullatzelsperger May 15, 2023
58c746e
chore(deps): bump org.flywaydb:flyway-core from 9.17.0 to 9.18.0 (#349)
dependabot[bot] May 16, 2023
89410f6
docs: add documentation about the helm charts (#352)
paullatzelsperger May 16, 2023
b69afac
exclude charts/ from markdown lint, as the markdowns there are genera…
paullatzelsperger May 16, 2023
007bd65
chore(deps): bump helm/kind-action from 1.5.0 to 1.6.0 (#360)
dependabot[bot] May 16, 2023
af16fc2
fix: add migration for transferprocess_properties default value (#313)
bcronin90 May 16, 2023
a555045
fix: Rename ingress endpoint from ids to protocol (#358)
tuncaytunc-zf May 17, 2023
d80c3cd
Merge branch 'releases'
paullatzelsperger May 17, 2023
ccb221a
Introduce new snapshot version 0.3.5-SNAPSHOT
paullatzelsperger May 17, 2023
a9c2ddf
chore: remove duplicated helm-release workflow (#372)
paullatzelsperger May 18, 2023
05bf103
feature: switch to Dataspace Protocol (#378)
paullatzelsperger May 18, 2023
27fdbd0
removed version-catalog module
paullatzelsperger May 18, 2023
20e30b2
fix(migrations): remove transferprocess_properties column renaming (#…
wolf4ood May 18, 2023
a754b86
Introduce new snapshot version 0.4.1-SNAPSHOT
eclipse-tractusx-bot May 18, 2023
520d4cc
fix markdown errors
paullatzelsperger May 18, 2023
9578489
fix(ci): store release version in env (#383)
paullatzelsperger May 18, 2023
ed1155d
feat(tests): adds pg implementations for E2E tests (#382)
wolf4ood May 22, 2023
28e3e26
chore(deps): bump net.minidev:json-smart from 2.4.10 to 2.4.11 (#387)
dependabot[bot] May 22, 2023
569ecb7
chore(deps): bump com.azure:azure-security-keyvault-secrets (#386)
dependabot[bot] May 22, 2023
6e4142f
chore(deps): bump apache-sshd from 2.9.2 to 2.10.0 (#388)
dependabot[bot] May 22, 2023
bcdbb87
chore(deps): bump software.amazon.awssdk:s3 from 2.20.50 to 2.20.69 (…
dependabot[bot] May 22, 2023
69e4a06
chore(deps): bump org.testcontainers:junit-jupiter from 1.17.6 to 1.1…
dependabot[bot] May 22, 2023
c3e40fe
chore(deps): bump software.amazon.awssdk:s3 from 2.20.69 to 2.20.70 (…
dependabot[bot] May 23, 2023
a9b9e61
chore(deps): bump io.rest-assured:rest-assured from 4.5.0 to 5.3.0 (#…
dependabot[bot] May 23, 2023
4b41749
chore(deps): bump com.squareup.okhttp3:okhttp from 4.10.0 to 4.11.0 (…
dependabot[bot] May 23, 2023
231fec7
chore(deps): bump com.nimbusds:nimbus-jose-jwt from 9.25 to 9.31 (#394)
dependabot[bot] May 23, 2023
e368bce
chore: remove lombok from sftp-* modules (#392)
paullatzelsperger May 23, 2023
5a61b03
docs: add decision record about activating checkstyle (#397)
paullatzelsperger May 23, 2023
7f24bcb
feat(EdrManagementApi): implements first EDR management APIs (#331)
wolf4ood May 23, 2023
5f1af45
docs: adds decision record about Java 17 (#401)
wolf4ood May 23, 2023
da161f5
refactor: adapt code base to checkstyle rules (#402)
paullatzelsperger May 23, 2023
1072c6c
feat: remove Lombok from HashiCorp Vault impl (#404)
paullatzelsperger May 23, 2023
3514781
build: add workflow to manually release maven artefacts (#409)
paullatzelsperger May 24, 2023
baa2e72
chore(deps): bump mikefarah/yq from 4.33.3 to 4.34.1 (#410)
dependabot[bot] May 24, 2023
73cbfbe
chore(deps): bump com.azure:azure-security-keyvault-secrets (#411)
dependabot[bot] May 24, 2023
ac292eb
chore(deps): bump org.flywaydb:flyway-core from 9.18.0 to 9.19.0 (#412)
dependabot[bot] May 24, 2023
f9223c0
chore(deps): bump software.amazon.awssdk:s3 from 2.20.70 to 2.20.71 (…
dependabot[bot] May 24, 2023
e015785
chore: pin azure identity version in the versioncatalog (#414)
paullatzelsperger May 24, 2023
ec013bf
chore(deps): bump software.amazon.awssdk:s3 from 2.20.71 to 2.20.72 (…
dependabot[bot] May 25, 2023
8534c57
chore(deps): bump com.diffplug.spotless from 6.18.0 to 6.19.0 (#417)
dependabot[bot] May 25, 2023
aa7ceca
chore(deps): bump org.flywaydb:flyway-core from 9.19.0 to 9.19.1 (#416)
dependabot[bot] May 25, 2023
3ccb4a5
feat(EdrCache): add SQL implementation of EDR cache store (#405)
wolf4ood May 25, 2023
18d1fc1
chore: update curl version to 8.1.1-r1 (#418)
paullatzelsperger May 25, 2023
e1d2ff2
chore(deps): bump software.amazon.awssdk:s3 from 2.20.72 to 2.20.73 (…
dependabot[bot] May 26, 2023
09e3b8c
chore(deps): bump org.assertj:assertj-core from 3.23.1 to 3.24.2 (#422)
dependabot[bot] May 26, 2023
e53e64f
chore(deps): bump org.junit.jupiter:junit-jupiter-api (#423)
dependabot[bot] May 26, 2023
7815d5b
chore: fix DAPS module dependency, update to java 17 (#424)
paullatzelsperger May 26, 2023
52b8e68
feat(E2E): adds E2E test for CPA + DataPlaneProxy (#420)
wolf4ood May 30, 2023
c94a86b
chore(deps): bump software.amazon.awssdk:s3 from 2.20.73 to 2.20.74 (…
dependabot[bot] May 30, 2023
1a554e6
feature: participant id configuration and extractor (#427)
wolf4ood May 30, 2023
c4d49f6
chore(deps): update EDC to 0.1.0 (#433)
wolf4ood May 31, 2023
6735df2
docs: update Postman Collection for the version 0.4.0 (#431)
tuncaytunc-zf May 31, 2023
654f963
chore(deps): bump software.amazon.awssdk:s3 from 2.20.74 to 2.20.75 (…
dependabot[bot] May 31, 2023
991499d
chore(deps): bump org.testcontainers:vault from 1.18.1 to 1.18.2 (#436)
dependabot[bot] May 31, 2023
44ec494
feat(helm): make all charts self-contained (#370)
paullatzelsperger May 31, 2023
9495254
chore(deps): bump org.testcontainers:junit-jupiter from 1.18.1 to 1.1…
dependabot[bot] May 31, 2023
6759f3a
docs: add walkthrough for multi-connector setup (#437)
paullatzelsperger May 31, 2023
58048e1
chore: update changelog (#438)
paullatzelsperger May 31, 2023
91c50fa
Merge branch 'releases'
paullatzelsperger May 31, 2023
066fda7
Introduce new snapshot version 0.4.2-SNAPSHOT
paullatzelsperger May 31, 2023
6d6f82f
Merge branch 'releases'
paullatzelsperger May 31, 2023
c5b61db
fix: limit search for Chart.yaml to avoid subchart updates (#440)
paullatzelsperger May 31, 2023
49aaaff
chore(helm): fix indentation for ingress labels (#445)
fty4 Jun 7, 2023
fc82a19
chore(helm): fix tractusx-connector chart install cmd (#450)
fty4 Jun 7, 2023
95c9ee4
chore(deps): bump org.testcontainers:junit-jupiter from 1.18.2 to 1.1…
dependabot[bot] Jun 7, 2023
fef0c63
feat(helm): add networkPolicy (#336)
fty4 Jun 7, 2023
3db9d24
feat(helm): allow to omit ingress annotations key (#446)
fty4 Jun 7, 2023
29d4874
fix: wrong postgres env vars for deployment templates (#464)
ayhanmesin-zf Jun 12, 2023
813c8ea
chore(deps): bump org.testcontainers:vault from 1.18.2 to 1.18.3 (#443)
dependabot[bot] Jun 13, 2023
15f353e
chore(deps): bump com.azure:azure-identity from 1.9.0 to 1.9.1 (#452)
dependabot[bot] Jun 13, 2023
54e4d6f
chore(deps): bump org.flywaydb:flyway-core from 9.19.1 to 9.19.4 (#461)
dependabot[bot] Jun 13, 2023
cd7f0c4
chore(deps): bump software.amazon.awssdk:s3 from 2.20.75 to 2.20.84 (…
dependabot[bot] Jun 13, 2023
2f81217
feat(IdentityService): implements first skeleton of the SSI identity …
wolf4ood Jun 13, 2023
f72e7c2
chore(deps): bump software.amazon.awssdk:s3 from 2.20.84 to 2.20.85 (…
dependabot[bot] Jun 14, 2023
b1be1fe
docs: add decision record about the use of iron-verifiable-credential…
paullatzelsperger Jun 14, 2023
165d4c4
feat(helm): use release.name inside daps dependency (#475)
fty4 Jun 15, 2023
c1a0812
feat(helm): use release.name inside psql dependency (#474)
fty4 Jun 15, 2023
d2cf035
feat(helm): use release.name inside vault dependency (#473)
fty4 Jun 15, 2023
ce9458a
Remove catenax references (#471)
bcronin90 Jun 15, 2023
0a14cfc
Add parameter for db schema (#454)
bcronin90 Jun 15, 2023
79fa387
chore(helm): move test value file for memory chart to common director…
fty4 Jun 15, 2023
14b5e8d
chore(helm): add hook-delete-policy for Helm chart tests (#480)
fty4 Jun 15, 2023
0c38341
chore(deps): bump alpine (#490)
dependabot[bot] Jun 16, 2023
46d4a82
chore(deps): bump alpine (#491)
dependabot[bot] Jun 16, 2023
b27c1d3
chore(deps): bump alpine (#492)
dependabot[bot] Jun 16, 2023
a8222b6
chore(deps): bump alpine (#495)
dependabot[bot] Jun 16, 2023
3cfc390
chore(deps): bump org.bouncycastle:bcpkix-jdk18on from 1.73 to 1.74 (…
dependabot[bot] Jun 16, 2023
37474b9
chore(deps): bump software.amazon.awssdk:s3 from 2.20.85 to 2.20.86 (…
dependabot[bot] Jun 16, 2023
d41c59f
feat: add Jws2020 cryptosuite (#483)
paullatzelsperger Jun 16, 2023
6d50294
chore: remove in-mem vault (#498)
paullatzelsperger Jun 16, 2023
1ffac91
fix: construction of postgresql jdbc url (#499)
paullatzelsperger Jun 16, 2023
9d38475
- Delete old Local TXDC Setup.md (#488)
tuncaytunc-zf Jun 16, 2023
caf82d2
chore(deps): bump com.google.crypto.tink:tink from 1.7.0 to 1.9.0 (#500)
dependabot[bot] Jun 19, 2023
c9de5d0
chore(deps): bump software.amazon.awssdk:s3 from 2.20.86 to 2.20.87 (…
dependabot[bot] Jun 19, 2023
bc05aa8
chore(deps): bump io.rest-assured:rest-assured from 5.3.0 to 5.3.1 (#…
dependabot[bot] Jun 19, 2023
b5ceefc
chore(deps): bump software.amazon.awssdk:s3 from 2.20.87 to 2.20.88 (…
dependabot[bot] Jun 20, 2023
5c2e33d
refactor: move all dataplane proxy code to edc-extensions (#505)
paullatzelsperger Jun 20, 2023
006ec6c
feat(build): only increase patch version on final releases (#508)
paullatzelsperger Jun 20, 2023
9dcf138
chore(deps): bump org.flywaydb:flyway-core from 9.19.4 to 9.20.0 (#512)
dependabot[bot] Jun 21, 2023
aae102a
chore(deps): bump software.amazon.awssdk:s3 from 2.20.88 to 2.20.89 (…
dependabot[bot] Jun 21, 2023
e65f215
feat: add SSI integration to T-X (#510)
paullatzelsperger Jun 21, 2023
3c421a7
Replace DAPS with SSI in Helm charts (#511)
paullatzelsperger Jun 21, 2023
35e18bf
docs: added migration document and CHANGELOG
paullatzelsperger Jun 21, 2023
55e8d69
Introduce new snapshot version 0.5.0-SNAPSHOT
paullatzelsperger Jun 21, 2023
e3ef31c
docs: add quick guide to the charts' README (#520)
paullatzelsperger Jun 22, 2023
cfdfb69
chore(deps): bump com.azure:azure-security-keyvault-secrets (#523)
dependabot[bot] Jun 23, 2023
13a5fc9
chore(deps): bump org.bouncycastle:bcpkix-jdk18on from 1.74 to 1.75 (…
dependabot[bot] Jun 23, 2023
7be1012
chore(deps): bump software.amazon.awssdk:s3 from 2.20.89 to 2.20.91 (…
dependabot[bot] Jun 23, 2023
11a76e9
chore: upgrade to EDC 0.1.2 (#525)
paullatzelsperger Jun 23, 2023
e3ba0df
chore(tests): create the mock server in @BeforeEach (#524)
wolf4ood Jun 23, 2023
6ac39e8
chore: prepare Changelog (#526)
paullatzelsperger Jun 23, 2023
91da8d8
Introduce new snapshot version 0.5.0-SNAPSHOT
eclipse-tractusx-bot Jun 23, 2023
392060d
fix: remove duplicated headline in CHANGELOG
paullatzelsperger Jun 23, 2023
3794f44
Feat: add helm doc check to PR verification (#503)
bcronin90 Jun 23, 2023
0f583fd
refactor(build): restructure and serialize the build pipeline (#530)
paullatzelsperger Jun 26, 2023
8bbe6e6
chore(deps): bump software.amazon.awssdk:s3 from 2.20.91 to 2.20.92 (…
dependabot[bot] Jun 26, 2023
de7c6bc
feat(tests): adds E2E test for ContractNegotiation failure using SSI …
wolf4ood Jun 26, 2023
80eda4e
fix(build): use correct workflow name to trigger publish (#532)
paullatzelsperger Jun 26, 2023
0990eec
fix(test): enable coverage report via Sonar (#533)
paullatzelsperger Jun 26, 2023
3bc262d
chore(deps): bump software.amazon.awssdk:s3 from 2.20.92 to 2.20.93 (…
dependabot[bot] Jun 27, 2023
09d8448
Fix following requests in postman collection: (#535)
tuncaytunc-zf Jun 27, 2023
14d9e59
fix: replace '__' with '--' in the Sql EDR Store (#538)
paullatzelsperger Jun 27, 2023
fb0716b
feat(SSI): adds E2E test for Catalog request with real MIW (#544)
wolf4ood Jun 29, 2023
d0ec6f5
chore(deps): bump software.amazon.awssdk:s3 from 2.20.93 to 2.20.96 (…
dependabot[bot] Jun 30, 2023
77abaab
chore(deps): bump thomaseizinger/create-pull-request from 1.3.0 to 1.…
dependabot[bot] Jun 30, 2023
1e8036d
Introduce new snapshot version 0.5.0-SNAPSHOT
eclipse-tractusx-bot Jun 30, 2023
a572859
feat: add BPN as header in the call from dataplane to http source (#541)
ndr-brt Jun 30, 2023
28d6773
chore(build): fix changelog lint (#552)
wolf4ood Jun 30, 2023
0e82830
chore(deps): bump software.amazon.awssdk:s3 from 2.20.96 to 2.20.97 (…
dependabot[bot] Jul 3, 2023
7819b9d
refactor: Remove observability-api-customization and use upstream ext…
tuncaytunc-zf Jul 3, 2023
821afc1
chore(deps): bump software.amazon.awssdk:s3 from 2.20.97 to 2.20.98 (…
dependabot[bot] Jul 4, 2023
d13ea57
feat(ssi): add credential issuer and credential subject id validation…
wolf4ood Jul 4, 2023
674f42e
Fix deployment notes. (#560)
tuncaytunc-zf Jul 4, 2023
9a9717b
chore(build): updates to EDC 0.1.3 (#561)
wolf4ood Jul 4, 2023
03a2f3d
docs: add EDR API overview documentation
paullatzelsperger Jul 4, 2023
967e3ff
Introduce new snapshot version 0.5.0-SNAPSHOT
eclipse-tractusx-bot Jul 4, 2023
3ea1fe9
chore(changelog): fix md lint after release (#565)
wolf4ood Jul 5, 2023
7d99e4d
fix(charts): add temporary emptyDir volume to the controlplane charts…
wolf4ood Jul 5, 2023
c1b625d
fix(charts): add temp volume for tmp directory (#568)
wolf4ood Jul 5, 2023
d31eebe
feat: update DEPENDENCIES, add check to CI (#566)
paullatzelsperger Jul 5, 2023
d98d5cd
chore(build): updates to EDC 0.1.3 (#569)
wolf4ood Jul 5, 2023
ebeb9fc
Prepare release 0.5.0-rc5
eclipse-tractusx-bot Jul 5, 2023
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
27 changes: 27 additions & 0 deletions .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,33 @@ jobs:
git diff
exit 1
fi

verify-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/setup-java
- name: Download latest Eclipse Dash
run: |
curl -L https://repo.eclipse.org/service/local/artifact/maven/redirect\?r\=dash-licenses\&g\=org.eclipse.dash\&a\=org.eclipse.dash.licenses\&v\=LATEST --output dash.jar
- name: Regenerate DEPENDENCIES
run: |
# dash returns a nonzero exit code if there are libs that need review. the "|| true" avoids that
./gradlew allDependencies | grep -Poh "(?<=\s)[\w.-]+:[\w.-]+:[^:\s\[\]]+" | sort | uniq | java -jar dash.jar - -summary DEPENDENCIES-gen || true

# log warning if restricted deps are found
grep -E 'restricted' DEPENDENCIES | if test $(wc -l) -gt 0; then
echo "::warning file=DEPENDENCIES,title=Restricted Dependencies found::Some dependencies are marked 'restricted' - please review them"
fi

# log error and fail job if rejected deps are found
grep -E 'rejected' DEPENDENCIES | if test $(wc -l) -gt 0; then
echo "::error file=DEPENDENCIES,title=Rejected Dependencies found::Some dependencies are marked 'rejected', they cannot be used"
exit 1
fi
- name: Check for differences
run: |
diff DEPENDENCIES DEPENDENCIES-gen

verify-formatting:
runs-on: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.5.0-rc4] - 2023-07-04
## [0.5.0-rc5] - 2023-07-05

### Changed

Upgraded to EDC 0.1.3

## [0.5.0-rc4] - 2023-07-04

### Removed

Removed the interim solution `observability-api-customization` and use the upstream extension `Observability API` instead
Expand Down Expand Up @@ -361,7 +363,9 @@ corresponding [documentation](/docs/migration/Version_0.0.x_0.1.x.md).

## [0.0.1] - 2022-05-13

[Unreleased]: https://github.com/eclipse-tractusx/tractusx-edc/compare/0.5.0-rc4...HEAD
[Unreleased]: https://github.com/eclipse-tractusx/tractusx-edc/compare/0.5.0-rc5...HEAD

[0.5.0-rc5]: https://github.com/eclipse-tractusx/tractusx-edc/compare/0.5.0-rc4...0.5.0-rc5

[0.5.0-rc4]: https://github.com/eclipse-tractusx/tractusx-edc/compare/0.5.0-rc3...0.5.0-rc4

Expand Down
624 changes: 369 additions & 255 deletions DEPENDENCIES

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions charts/tractusx-connector-azure-vault/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0-rc4
version: 0.5.0-rc5
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.5.0-rc4"
appVersion: "0.5.0-rc5"
home: https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector
sources:
- https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector
Expand Down
4 changes: 2 additions & 2 deletions charts/tractusx-connector-azure-vault/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tractusx-connector-azure-vault

![Version: 0.5.0-rc4](https://img.shields.io/badge/Version-0.5.0--rc4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0-rc4](https://img.shields.io/badge/AppVersion-0.5.0--rc4-informational?style=flat-square)
![Version: 0.5.0-rc5](https://img.shields.io/badge/Version-0.5.0--rc5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0-rc5](https://img.shields.io/badge/AppVersion-0.5.0--rc5-informational?style=flat-square)

A Helm chart for Tractus-X Eclipse Data Space Connector. The connector deployment consists of two runtime consists of a
Control Plane and a Data Plane. Note that _no_ external dependencies such as a PostgreSQL database and Azure KeyVault are included.
Expand Down Expand Up @@ -45,7 +45,7 @@ Combined, run this shell command to start the in-memory Tractus-X EDC runtime:

```shell
helm repo add tractusx-edc https://eclipse-tractusx.github.io/charts/dev
helm install my-release tractusx-edc/tractusx-connector-azure-vault --version 0.5.0-rc4 \
helm install my-release tractusx-edc/tractusx-connector-azure-vault --version 0.5.0-rc5 \
-f <path-to>/tractusx-connector-azure-vault-test.yaml \
--set vault.azure.name=$AZURE_VAULT_NAME \
--set vault.azure.client=$AZURE_CLIENT_ID \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ spec:
- name: "configuration"
mountPath: "/app/logging.properties"
subPath: "logging.properties"
- name: "tmp"
mountPath: "/tmp"
volumes:
- name: "configuration"
configMap:
Expand All @@ -346,6 +348,8 @@ spec:
path: "opentelemetry.properties"
- key: "logging.properties"
path: "logging.properties"
- name: "tmp"
emptyDir: { }
{{- with .Values.controlplane.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ spec:
- name: "configuration"
mountPath: "/app/logging.properties"
subPath: "logging.properties"
- name: "tmp"
mountPath: "/tmp"
volumes:
- name: "configuration"
configMap:
Expand All @@ -217,6 +219,8 @@ spec:
path: "opentelemetry.properties"
- key: "logging.properties"
path: "logging.properties"
- name: "tmp"
emptyDir: { }
{{- with .Values.dataplane.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/tractusx-connector-legacy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0-rc4
version: 0.5.0-rc5
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.5.0-rc4"
appVersion: "0.5.0-rc5"
home: https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector-legacy
sources:
- https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector-legacy
Expand Down
4 changes: 2 additions & 2 deletions charts/tractusx-connector-legacy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

> **:exclamation: This Helm Chart is deprecated!**

![Version: 0.5.0-rc4](https://img.shields.io/badge/Version-0.5.0--rc4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0-rc4](https://img.shields.io/badge/AppVersion-0.5.0--rc4-informational?style=flat-square)
![Version: 0.5.0-rc5](https://img.shields.io/badge/Version-0.5.0--rc5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0-rc5](https://img.shields.io/badge/AppVersion-0.5.0--rc5-informational?style=flat-square)

A Helm chart for Tractus-X Eclipse Data Space Connector. The connector deployment consists of two runtime consists of a
Control Plane and a Data Plane. Note that _no_ external dependencies such as a PostgreSQL database and HashiCorp Vault are included.
Expand Down Expand Up @@ -42,7 +42,7 @@ Combined, run this shell command to start the in-memory Tractus-X EDC runtime:

```shell
helm repo add tractusx-edc https://eclipse-tractusx.github.io/charts/dev
helm install my-release tractusx-edc/tractusx-connector --version 0.5.0-rc4 \
helm install my-release tractusx-edc/tractusx-connector --version 0.5.0-rc5 \
-f <path-to>/tractusx-connector-test.yaml
```

Expand Down
4 changes: 2 additions & 2 deletions charts/tractusx-connector-memory/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0-rc4
version: 0.5.0-rc5
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.5.0-rc4"
appVersion: "0.5.0-rc5"
home: https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector-memory
sources:
- https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector-memory
4 changes: 2 additions & 2 deletions charts/tractusx-connector-memory/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tractusx-connector-memory

![Version: 0.5.0-rc4](https://img.shields.io/badge/Version-0.5.0--rc4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0-rc4](https://img.shields.io/badge/AppVersion-0.5.0--rc4-informational?style=flat-square)
![Version: 0.5.0-rc5](https://img.shields.io/badge/Version-0.5.0--rc5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0-rc5](https://img.shields.io/badge/AppVersion-0.5.0--rc5-informational?style=flat-square)

A Helm chart for Tractus-X Eclipse Data Space Connector based on memory. Please only use this for development or testing purposes, never in production workloads!

Expand Down Expand Up @@ -39,7 +39,7 @@ Combined, run this shell command to start the in-memory Tractus-X EDC runtime:

```shell
helm repo add tractusx-edc https://eclipse-tractusx.github.io/charts/dev
helm install my-release tractusx-edc/tractusx-connector-memory --version 0.5.0-rc4 \
helm install my-release tractusx-edc/tractusx-connector-memory --version 0.5.0-rc5 \
-f <path-to>/tractusx-connector-memory-test.yaml \
--set vault.secrets="client-secret:$YOUR_CLIENT_SECRET"
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,17 @@ spec:
- name: "configuration"
mountPath: "/app/logging.properties"
subPath: "logging.properties"
- name: "tmp"
mountPath: "/tmp"
volumes:
- name: "configuration"
configMap:
name: {{ include "txdc.fullname" . }}-runtime
items:
- key: "logging.properties"
path: "logging.properties"
- name: "tmp"
emptyDir: { }
{{- with .Values.runtime.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/tractusx-connector/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.5.0-rc4
version: 0.5.0-rc5
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.5.0-rc4"
appVersion: "0.5.0-rc5"
home: https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector
sources:
- https://github.com/eclipse-tractusx/tractusx-edc/tree/main/charts/tractusx-connector
Expand Down
4 changes: 2 additions & 2 deletions charts/tractusx-connector/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tractusx-connector

![Version: 0.5.0-rc4](https://img.shields.io/badge/Version-0.5.0--rc4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0-rc4](https://img.shields.io/badge/AppVersion-0.5.0--rc4-informational?style=flat-square)
![Version: 0.5.0-rc5](https://img.shields.io/badge/Version-0.5.0--rc5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.5.0-rc5](https://img.shields.io/badge/AppVersion-0.5.0--rc5-informational?style=flat-square)

A Helm chart for Tractus-X Eclipse Data Space Connector. The connector deployment consists of two runtime consists of a
Control Plane and a Data Plane. Note that _no_ external dependencies such as a PostgreSQL database and HashiCorp Vault are included.
Expand Down Expand Up @@ -42,7 +42,7 @@ Combined, run this shell command to start the in-memory Tractus-X EDC runtime:

```shell
helm repo add tractusx-edc https://eclipse-tractusx.github.io/charts/dev
helm install my-release tractusx-edc/tractusx-connector --version 0.5.0-rc4 \
helm install my-release tractusx-edc/tractusx-connector --version 0.5.0-rc5 \
-f <path-to>/tractusx-connector-test.yaml
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ spec:
- name: "configuration"
mountPath: "/app/logging.properties"
subPath: "logging.properties"
- name: "tmp"
mountPath: "/tmp"
volumes:
- name: "configuration"
configMap:
Expand All @@ -344,6 +346,8 @@ spec:
path: "opentelemetry.properties"
- key: "logging.properties"
path: "logging.properties"
- name: "tmp"
emptyDir: { }
{{- with .Values.controlplane.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
4 changes: 4 additions & 0 deletions charts/tractusx-connector/templates/deployment-dataplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ spec:
- name: "configuration"
mountPath: "/app/logging.properties"
subPath: "logging.properties"
- name: "tmp"
mountPath: "/tmp"
volumes:
- name: "configuration"
configMap:
Expand All @@ -216,6 +218,8 @@ spec:
path: "opentelemetry.properties"
- key: "logging.properties"
path: "logging.properties"
- name: "tmp"
emptyDir: { }
{{- with .Values.dataplane.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
5 changes: 0 additions & 5 deletions docs/samples/example-dataspace/plato-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ controlplane:
tag: "latest"
repository: "edc-controlplane-postgresql-hashicorp-vault"
securityContext:
# avoids some errors in the log: cannot write temp files of large multipart requests when R/O
readOnlyRootFilesystem: false
# SSI configuration
ssi:
miw:
Expand All @@ -54,9 +52,6 @@ dataplane:
pullPolicy: Never
tag: "latest"
repository: "edc-dataplane-hashicorp-vault"
securityContext:
# avoids some errors in the log: cannot write temp files of large multipart requests when R/O
readOnlyRootFilesystem: false
aws:
endpointOverride: http://minio:9000
secretAccessKey: qwerty123
Expand Down
5 changes: 0 additions & 5 deletions docs/samples/example-dataspace/sokrates-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ controlplane:
pullPolicy: Never
tag: "latest"
repository: "edc-controlplane-postgresql-hashicorp-vault"
securityContext:
# avoids some errors in the log: cannot write temp files of large multipart requests when R/O
readOnlyRootFilesystem: false
# SSI configuration
ssi:
miw:
Expand All @@ -54,8 +51,6 @@ dataplane:
tag: "latest"
repository: "edc-dataplane-hashicorp-vault"
securityContext:
# avoids some errors in the log: cannot write temp files of large multipart requests when R/O
readOnlyRootFilesystem: false
aws:
endpointOverride: http://minio:9000
secretAccessKey: qwerty123
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.eclipse.edc.spi.system.ServiceExtensionContext;
import org.eclipse.edc.transform.spi.TypeTransformerRegistry;
import org.eclipse.edc.web.spi.WebService;
import org.eclipse.tractusx.edc.api.cp.adapter.transform.EndpointDataReferenceToDataAddressTransformer;
import org.eclipse.tractusx.edc.api.cp.adapter.transform.JsonObjectFromEndpointDataReferenceEntryTransformer;
import org.eclipse.tractusx.edc.api.cp.adapter.transform.JsonObjectToNegotiateEdrRequestDtoTransformer;
import org.eclipse.tractusx.edc.api.cp.adapter.transform.NegotiateEdrRequestDtoToNegotiatedEdrRequestTransformer;
Expand Down Expand Up @@ -51,6 +52,7 @@ public void initialize(ServiceExtensionContext context) {
transformerRegistry.register(new NegotiateEdrRequestDtoToNegotiatedEdrRequestTransformer());
transformerRegistry.register(new JsonObjectToNegotiateEdrRequestDtoTransformer());
transformerRegistry.register(new JsonObjectFromEndpointDataReferenceEntryTransformer());
transformerRegistry.register(new EndpointDataReferenceToDataAddressTransformer());
webService.registerResource(apiConfig.getContextAlias(), new AdapterEdrController(adapterTransferProcessService, jsonLdService, transformerRegistry));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
import org.eclipse.edc.spi.EdcException;
import org.eclipse.edc.spi.monitor.Monitor;
import org.eclipse.edc.spi.result.Result;
import org.eclipse.edc.spi.types.domain.edr.EndpointDataAddressConstants;
import org.eclipse.edc.spi.types.domain.DataAddress;
import org.eclipse.edc.spi.types.domain.edr.EndpointDataReference;
import org.eclipse.edc.transform.spi.TypeTransformerRegistry;
import org.eclipse.edc.web.spi.exception.InvalidRequestException;
Expand All @@ -42,8 +42,8 @@

import static org.eclipse.edc.web.spi.exception.ServiceResultHandler.exceptionMapper;

@Consumes({MediaType.APPLICATION_JSON})
@Produces({MediaType.APPLICATION_JSON})
@Consumes({ MediaType.APPLICATION_JSON })
@Produces({ MediaType.APPLICATION_JSON })
@Path("/adapter/edrs")
public class AdapterEdrController implements AdapterEdrApi {

Expand Down Expand Up @@ -79,17 +79,6 @@ public JsonObject initiateEdrNegotiation(JsonObject requestObject) {
.orElseThrow(f -> new EdcException("Error creating response body: " + f.getFailureDetail()));
}

@GET
@Path("/{id}")
@Override
public JsonObject getEdr(@PathParam("id") String transferProcessId) {
var edr = adapterTransferProcessService.findByTransferProcessId(transferProcessId).orElseThrow(exceptionMapper(EndpointDataReference.class, transferProcessId));

return transformerRegistry.transform(EndpointDataAddressConstants.from(edr), JsonObject.class)
.compose(jsonLdService::compact)
.orElseThrow(f -> new EdcException("Error creating response body: " + f.getFailureDetail()));
}

@GET
@Override
public List<JsonObject> queryEdrs(@QueryParam("assetId") String assetId, @QueryParam("agreementId") String agreementId) {
Expand All @@ -107,6 +96,17 @@ public List<JsonObject> queryEdrs(@QueryParam("assetId") String assetId, @QueryP
.collect(Collectors.toList());
}

@GET
@Path("/{id}")
@Override
public JsonObject getEdr(@PathParam("id") String transferProcessId) {
var edr = adapterTransferProcessService.findByTransferProcessId(transferProcessId).orElseThrow(exceptionMapper(EndpointDataReference.class, transferProcessId));
return transformerRegistry.transform(edr, DataAddress.class)
.compose(dataAddress -> transformerRegistry.transform(dataAddress, JsonObject.class))
.compose(jsonLdService::compact)
.orElseThrow(f -> new EdcException("Error creating response body: " + f.getFailureDetail()));
}

private void logIfError(Result<?> result) {
result.onFailure(f -> monitor.warning(f.getFailureDetail()));
}
Expand Down
Loading