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

Feature/trx xxx upstream contribution #912

Merged
Show file tree
Hide file tree
Changes from 62 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
7dd3c59
chore: Initial repository setup
bmunguli Jun 17, 2024
049c46e
chore: [TRX-19] migrate upstream GitHub workflows and configs (#2)
ds-jhartmann Aug 28, 2024
af45bca
chore: [TRX-50] create docker image build workflow for cofinity image
ds-jhartmann Sep 4, 2024
77f0d8b
chore: [TRX-50] remove trivy scan
ds-jhartmann Sep 4, 2024
8afe72e
chore: [TRX-50] add concurrency restriction
ds-jhartmann Sep 5, 2024
09e3c62
chore: [TRX-50] add correct env to publish image pipeline
ds-mwesener Sep 11, 2024
6fdfc96
Merge pull request #8 from Cofinity-X/chore/TRX-50-cofinity-docker-im…
ds-mwesener Sep 11, 2024
9b361cc
chore: [TRX-50] add auto dispatcher for irs-a and irs-b trace-x chart…
ds-mwesener Sep 23, 2024
70ba967
chore: Fix image tag overrides of dispatch (#13)
ds-mwesener Sep 24, 2024
5ae81f4
chore: [TRX-96] Adapt-Discovery-flow (bpnl) (#12)
pathaniaaviX Sep 24, 2024
9743093
chore: [TRX-105] secure edc callbacks (#14)
ds-awahl Sep 27, 2024
ad88b53
chore: [TRX-105] secure edc callbacks (#19)
ds-awahl Oct 10, 2024
22c8dee
Revert "chore: [TRX-105] secure edc callbacks (#19)" (#22)
ds-mwesener Oct 10, 2024
e7e9b3c
fix: fix workflow permission (#21)
ds-jhartmann Oct 11, 2024
4563a8a
Chore/trx 105 sync upstream (#23)
ds-mwesener Oct 11, 2024
66e929b
chore: [TRX-357]: updated ConstraintCheckerService to handle nullpoin…
pathaniaaviX Oct 11, 2024
c8243e0
fix: [TRX-354] add proper composition for href URL (#20)
ds-jhartmann Oct 14, 2024
0ab0376
chore: [TRX-XX] creating release 5.4.1-cfx-2 and updating doc for cof…
ds-mwesener Oct 15, 2024
bd71f82
feat(TRX-346): publish artifacts to github packages (#25)
maciej-kizlich Oct 15, 2024
5f9428a
chore: [TRX-30] removing subjectId since it is not existing in dtr. (…
ds-mwesener Oct 15, 2024
b0a9f78
fix(TRX-346): minor fixes from code review (#29)
maciej-kizlich Oct 15, 2024
c61c86b
chore: [TRX-346] Upgrading lib to 2.1.16. (#30)
ds-mwesener Oct 15, 2024
8b5553b
chore(TRX-346): Upgrading lib to 2.1.17 (#32)
maciej-kizlich Oct 15, 2024
82d8dd9
feat: trx 347 separate changelog for cfx (#26)
mkanal Oct 15, 2024
d2d4562
feat: trx 347 separate changelog for cfx (#33)
mkanal Oct 16, 2024
b2bddd7
chore: define github token to workflow (#40)
bmunguli Oct 30, 2024
c59a4ff
test(TRX-64): add integration tests for /irs/orders API (#36)
maciej-kizlich Nov 4, 2024
025ecaa
feat: [TRX-375] fix auto dispatch and image tagging (#38)
ds-jhartmann Nov 5, 2024
b7bd86e
Feature/trx 375 fix auto dispatch (#41)
ds-lcapellino Nov 6, 2024
e732429
release: create release 5.4.1-cfx-3 (#42)
ds-lcapellino Nov 11, 2024
df7a7e9
feat: Trx 327 testdata script uploading with digital twin type (#37)
poojapatel23 Nov 12, 2024
dd32468
Feat: trx 93 add load testing (#45)
ds-lcapellino Nov 15, 2024
5cf9e73
chore: [TRX-442] update documentation (#46)
ds-awahl Nov 15, 2024
47dc373
Feat/trx 93 add load testing (#47)
ds-lcapellino Nov 20, 2024
8aadc85
chore(TRX-377): enable Sonar (#43)
maciej-kizlich Nov 20, 2024
8f7f1d3
feat: [TRX-351] efficient orchestration of edc negotiations (#39)
ds-jhartmann Nov 21, 2024
814d057
fix: fix load tests (#49)
ds-lcapellino Nov 22, 2024
ebf7e6f
[TRX-456] - compatibility matrix EDC version to 0.7.5 (#51)
pathaniaaviX Nov 22, 2024
6fe56a9
chore: fix failing test (#54)
ds-jhartmann Nov 27, 2024
652f725
fix: trx-511 accept dates without time and time zone according to sta…
ds-lcapellino Nov 28, 2024
92312d5
fix: trx-511 accept dates without time and timezone (#56)
ds-lcapellino Nov 28, 2024
bc8dc64
feat(TRX-462): rework notification API (#52)
maciej-kizlich Nov 30, 2024
d793cbc
chore(NO-JIRA): update irs-edc-client to 2.1.18 (#58)
maciej-kizlich Dec 2, 2024
3c96f16
feat(TRX-70): parallel processing of batch order jobs (#48)
maciej-kizlich Dec 2, 2024
58aaecb
feat: [TRX-444] add load test data generator (#53)
ds-jhartmann Dec 2, 2024
955dc9b
chore: [TRX-13] fix runner workflows (#57)
ds-jhartmann Dec 4, 2024
92446a6
chore: [TRX-13] fix failing tavern tests (#59)
ds-jhartmann Dec 4, 2024
6bcaba9
chore: [TRX-441] add cofinity trivy workflow (#60)
ds-jhartmann Dec 5, 2024
a614d49
chore: fix failing workflows (#61)
ds-jhartmann Dec 5, 2024
0495cda
release: 5.4.1-cfx-5 (#63)
ds-awahl Dec 5, 2024
201bd4d
Release/5.4.1 cfx 4 (#50)
ds-lcapellino Dec 11, 2024
09a0764
feat(TRX-462): add API endpoint for asset update and get (#62)
maciej-kizlich Dec 13, 2024
936c211
feat: Build href URL correctly for accessing submodel assets https://…
ds-lcapellino Oct 14, 2024
e781a7d
chore: Resolve Null pointer exception while registering the company h…
pathaniaaviX Oct 11, 2024
eda3460
test: Remediation of technical Debts /irs/orders api https://github.c…
maciej-kizlich Nov 4, 2024
4c6379c
concept: Efficient orchestration of edc negotations https://github.co…
ds-jhartmann Nov 21, 2024
15ddbfe
feat: Limit jobs executed in parallel https://github.com/eclipse-trac…
maciej-kizlich Dec 2, 2024
bc62a50
feature: TRX-XXX contribute to upstream
ds-lcapellino Feb 3, 2025
7751707
feature: TRX-XXX contribute to upstream
ds-lcapellino Feb 3, 2025
7bbed63
feature: TRX-XXX contribute to upstream
ds-lcapellino Feb 3, 2025
8bcfb67
Merge branch 'entry-main' into feature/TRX-XXX-upstream-contribution
ds-lcapellino Feb 3, 2025
a51e107
Merge remote-tracking branch 'entry/main' into feature/TRX-XXX-upstre…
ds-lcapellino Feb 3, 2025
7430d80
feature: TRX-XXX contribute to upstream
ds-lcapellino Feb 3, 2025
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
12 changes: 6 additions & 6 deletions .github/actions/setup-umbrella-env/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ runs:
run: |
helm dependency update charts/tx-data-provider
helm dependency update charts/umbrella
helm install umbrella charts/umbrella -f charts/umbrella/values-adopter-irs.yaml --timeout 5m \
helm install umbrella charts/umbrella -f charts/umbrella/values-adopter-irs.yaml --timeout 10m \
--namespace e2e-testing --create-namespace --debug \
--set iatpmock.image.repository=kind-registry:5000/iatp-mock --set iatpmock.image.tag=testing

Expand Down Expand Up @@ -112,10 +112,10 @@ runs:
- uses: azure/setup-kubectl@v3

- run: |
kubectl wait --for=condition=available deployment/umbrella-dataprovider-dtr --timeout=60s --namespace e2e-testing
kubectl wait --for=condition=available deployment/umbrella-dataprovider-edc-controlplane --timeout=60s --namespace e2e-testing
kubectl wait --for=condition=available deployment/umbrella-dataprovider-edc-dataplane --timeout=60s --namespace e2e-testing
kubectl wait --for=condition=available deployment/umbrella-dataprovider-submodelserver --timeout=60s --namespace e2e-testing
kubectl wait --for=condition=available deployment/umbrella-dataprovider-dtr --timeout=90s --namespace e2e-testing
kubectl wait --for=condition=available deployment/umbrella-dataprovider-edc-controlplane --timeout=90s --namespace e2e-testing
kubectl wait --for=condition=available deployment/umbrella-dataprovider-edc-dataplane --timeout=90s --namespace e2e-testing
kubectl wait --for=condition=available deployment/umbrella-dataprovider-submodelserver --timeout=90s --namespace e2e-testing

kubectl port-forward svc/umbrella-dataprovider-dtr 4444:8080 --namespace e2e-testing &
kubectl port-forward svc/umbrella-dataprovider-edc-controlplane 8888:8081 --namespace e2e-testing &
Expand All @@ -136,7 +136,7 @@ runs:
id: deployment-ready
shell: bash
run: |
kubectl wait --for=condition=available deployment/irs-item-relationship-service --timeout=60s --namespace e2e-testing
kubectl wait --for=condition=available deployment/irs-item-relationship-service --timeout=90s --namespace e2e-testing
kubectl port-forward svc/irs-item-relationship-service 8080:8080 --namespace e2e-testing &

- name: Get Pods
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/changelog-changes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ on:
- '**/*.md'
- '**/*.txt'
- '.config/**'
- '.github/**'
- 'docs/**'
- 'local/**'

env:
# Specific CHANGELOG file which is used for releasing the product. Default <CHANGELOG.md>.
CHANGELOG_PATH: 'CHANGELOG.md'
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read

name: changelog-check
steps:
Expand All @@ -26,7 +29,7 @@ jobs:
uses: tj-actions/changed-files@v44
with:
files: |
CHANGELOG.md
${{ env.CHANGELOG_PATH }}

- name: Echo result if CHANGELOG file was changed
if: steps.changelog-changed.outputs.any_changed == 'true'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dependencies-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read

steps:
- name: Checkout repository
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/helm-chart-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
paths:
- 'charts/**'

env:
# Specific CHANGELOG file which is used for releasing the product. Default <CHANGELOG.md>.
CHANGELOG_PATH: 'CHANGELOG.md'

jobs:
get-helm-charts-versions-irs:
outputs:
Expand Down Expand Up @@ -76,7 +80,7 @@ jobs:
currentVersionNumber=$(echo ${{ needs.get-helm-charts-versions-irs.outputs.current_version }} | sed -e "s/^item-relationship-service-//" )
echo currentVersionNumber=$currentVersionNumber

sed -n -e '/## \['"${currentVersionNumber}"'\]/,/## \[/ p' CHANGELOG.md | head -n -1 | tail -n +2 >> CHANGELOG-temp.md
sed -n -e '/## \['"${currentVersionNumber}"'\]/,/## \[/ p' ${{ env.CHANGELOG_PATH }} | head -n -1 | tail -n +2 >> CHANGELOG-temp.md
echo **Full Changelog**: ${{ github.server_url }}/${{ github.repository }}/compare/${{ needs.get-helm-charts-versions-irs.outputs.latest_version }}...${{ needs.get-helm-charts-versions-irs.outputs.current_version }} >> CHANGELOG-temp.md

echo "cat CHANGELOG-temp.md"
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/irs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ on:
tags:
- '**'


jobs:
build:
runs-on: ubuntu-latest
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

env:
IRS_APPLICATION_PATH: 'irs-api/src/main/java/org/eclipse/tractusx/irs/IrsApplication.java'
# Specific CHANGELOG file which is used for releasing the product. Default <CHANGELOG.md>.
CHANGELOG_PATH: 'CHANGELOG.md'
OPENAPI_SPEC_PATH: 'docs/src/api/irs-api.yaml'
HELM_CHART_PATH: 'charts/item-relationship-service'
Expand All @@ -30,7 +31,17 @@
jobs:
release:
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:

- uses: actions/create-github-app-token@v1
id: generate-token
with:
app-id: ${{ secrets.TRACE_X_RELEASE_DOCUMENTATION_GH_APP_ID }}
private-key: ${{ secrets.TRACE_X_RELEASE_DOCUMENTATION_GH_APP_PRIVATE_KEY }}

- uses: actions/checkout@v4

- name: Validate that workflow inputs are SemVer strings
Expand Down Expand Up @@ -142,8 +153,9 @@
echo "$EOF" >> "$GITHUB_ENV"

- name: Update docs and Helm chart for release
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v7

Check notice

Code scanning / KICS

Unpinned Actions Full Length Commit SHA Note

Action is not pinned to a full length commit SHA.
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: 'chore(docs): updated docs and Helm chart for IRS release ${{ inputs.irs-version }}'
branch: action/update-for-release-${{ inputs.irs-version }}
delete-branch: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tavern-UMBRELLA.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ concurrency:
jobs:
test:
runs-on: "${{ github.repository == 'eclipse-tractusx/item-relationship-service' && 'tractusx-runner' || 'ubuntu-latest' }}"
permissions: write-all
steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -83,7 +84,7 @@ jobs:
result.xml

- name: Run ESS tests
if: always() && steps.setup-env.outcome == 'success'
if: ${{ !always() && steps.setup-env.outcome == 'success' }}
env:
IRS_HOST: 'http://localhost:8080'
IRS_ESS_HOST: 'http://localhost:8080'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/update-registry-library.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
open-pr-with-version-update:
name: "Open a Pull Request with the updated version of irs-registry-client."
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,4 @@ docs/src/diagram-replacer/plantuml.jar
/charts/item-relationship-service/Chart.lock
/charts/item-relationship-service/charts/
/docs/src/api/irs-api.actual.yaml
/.github/workflows/custom/
19 changes: 5 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,15 @@ _**For better traceability add the corresponding GitHub issue number in each cha

## [Unreleased]

### Changed

- Resolve Null pointer exception while registering the company https://github.com/eclipse-tractusx/item-relationship-service/issues/888
- Added the discovery type configurable, with a default value of bpnl in (ConnectorEndpointsService) https://github.com/eclipse-tractusx/sig-release/issues/939
- Changed orchestration of EDC negotiations to be more efficient https://github.com/eclipse-tractusx/sig-release/issues/931
### Changed

### Removed
- Removed subjectId from AssetAdministrationShellDescriptor object

### Fixed

- Fixed URI composition of href URL and configurable submodel suffix to append the path at the correct position #889
- Build href URL correctly for accessing submodel assets #889
- Resolve Null pointer exception while registering the company #888

### Added

- Added api key authentication for edc notification requests
- Added integration tests for /irs/orders API https://github.com/eclipse-tractusx/sig-release/issues/933
- Configurable number of threads for parallel processing of batch order jobs https://github.com/eclipse-tractusx/item-relationship-service/issues/892
- Added new section under crosscuting/api-endpoints to arc42 documentation


## [5.4.1] - 2024-08-19

Expand Down
4 changes: 3 additions & 1 deletion COMPATIBILITY_MATRIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ Full changelog of IRS: [changelog](CHANGELOG.md)

## [Unreleased]

## [5.4.1-cfx-3](https://github.com/eclipse-tractusx/item-relationship-service/releases/tag/5.4.1-cfx-3) - 2024-11.06

| Dependency | Version | Helm | Comments |
|------------------------------------------------------------------------------------------------------------------------------------------|------------------------------|-------|-----------------|
| EDC | 0.7.3 | 0.7.3 | |
| EDC | 0.7.5 | 0.7.5 | |
| Semantics Hub | 0.3.1 | 0.2.1 | REST connection |
| DTR | 0.5.0 | 0.5.3 | REST connection |
| Discovery Finder | 0.2.5 | - | REST connection |
Expand Down
10 changes: 5 additions & 5 deletions DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -306,12 +306,12 @@ maven/mavencentral/org.eclipse.tractusx.edc/core-spi/0.6.0, Apache-2.0, approved
maven/mavencentral/org.eclipse.tractusx.edc/edr-api/0.6.0, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.edc/edr-spi/0.6.0, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-api/0.0.2-SNAPSHOT, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-common/2.1.16, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-edc-client/2.1.16, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-models/2.1.16, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-common/2.1.17, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-edc-client/2.1.17, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-models/2.1.17, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-policy-store/0.0.2-SNAPSHOT, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-registry-client/2.1.16, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-testing/2.1.16, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-registry-client/2.1.17, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.eclipse.tractusx.irs/irs-testing/2.1.17, Apache-2.0, approved, automotive.tractusx
maven/mavencentral/org.glassfish/jakarta.json/2.0.1, EPL-2.0 OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jsonp
maven/mavencentral/org.hamcrest/hamcrest-core/2.2, BSD-3-Clause, approved, clearlydefined
maven/mavencentral/org.hamcrest/hamcrest/2.2, BSD-3-Clause, approved, #17677
Expand Down
2 changes: 2 additions & 0 deletions charts/item-relationship-service/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

_**For better traceability add the corresponding GitHub issue number in each changelog entry, please.**_

## [Unreleased]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion charts/item-relationship-service/values-umbrella.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ edc:
minio:
resources:
requests:
cpu: 0.25
cpu: 150m
memory: 1Gi
rootUser: "minio" # <minio-username>
rootPassword: "minioPass" # <minio-password>
Loading
Loading