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

Synch #531

Merged
merged 119 commits into from
Apr 15, 2024
Merged

Synch #531

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
9cee04c
chore(charts):[#489] Rename chart from irs-helm to item-relationship-…
dsmf Mar 21, 2024
cf43611
chore(charts):[#489] Rename chart from irs-helm to item-relationship-…
dsmf Mar 21, 2024
0464846
Merge branch 'main' into chore/489-rename-helm-chart
dsmf Mar 21, 2024
9d213fb
chore(charts):[#489] Rename chart -- update CHANGELOG files
dsmf Mar 21, 2024
264aa77
chore(charts): [#489] Fix numeric sorting by version
dsmf Mar 22, 2024
bb134cc
chore(charts): [#489] Fixes
dsmf Mar 22, 2024
b3b26ab
Merge branch 'main' into chore/489-rename-helm-chart
dsmf Mar 22, 2024
1c5d09c
Merge remote-tracking branch 'upstream/chore/489-rename-helm-chart' i…
dsmf Mar 22, 2024
8ffe948
Merge pull request #833 from dsmf/chore/489-rename-helm-chart
dsmf Mar 22, 2024
cd665dd
fix(impl): [#199] fixes for incorrect implementation
dsmf Mar 25, 2024
b697f63
fix(impl): [#199] Add 500er to OpenApiExamples.java
dsmf Mar 27, 2024
c7bd17d
fix(impl): [#199] Add CreatePoliciesResponse
dsmf Mar 27, 2024
6c7fd6f
fix(impl): [#199] Correct CreatePolicyRequest OpenAPI
dsmf Mar 27, 2024
f17feda
fix(impl): [#199] Add BPN regex constant
dsmf Mar 27, 2024
df32eb2
fix(impl): [#199] Fix OpenAPI
dsmf Mar 27, 2024
00dfa3c
fix(impl): [#199] Update insomnia collection for POST policy
dsmf Mar 27, 2024
7e07b49
fix(impl): [#199] Improve variable naming
dsmf Mar 28, 2024
4a20918
fix(impl): [#199] Add BPN validator
dsmf Mar 28, 2024
5dee36a
fix(impl): [#199] Fix api doc
dsmf Mar 28, 2024
d500025
fix(impl): [#199] Fix UpdatePolicyRequest attribute naming
dsmf Mar 28, 2024
fba5c64
fix(impl): [#199] Fix UpdatePolicyRequest (attribute name and validat…
dsmf Mar 28, 2024
bb09996
fix(impl): [#199] PolicyPersistence: return saved policy
dsmf Mar 28, 2024
01bda79
fix(impl): [#199] Correct updateAllowedPolicy API doc and code format…
dsmf Mar 28, 2024
8e89f0d
fix(impl): [#199] Fixes, improvements, move of business logic to service
dsmf Mar 28, 2024
2be0088
fix(impl): [#199] Rename request parameter for GET policies
dsmf Mar 28, 2024
968b04d
fix(impl): [#199] Code formatting
dsmf Mar 28, 2024
97122e8
fix(impl): [#199] Remove relicts from move of business logic to service
dsmf Mar 28, 2024
8397352
fix(impl): [#199] Add additional validation to avoid wrong API usage
dsmf Mar 28, 2024
a87a67a
fix(impl): [#199] Correct IRS collection for PUT policies request
dsmf Mar 28, 2024
6a75e29
fix(impl): [#199] Fix gitignore
dsmf Mar 11, 2024
21b107c
fix(impl): [#199] Fix validation and add documentation
dsmf Mar 28, 2024
e2ba964
fix(impl): [#199] tests
dsmf Mar 28, 2024
09925a4
fix(impl): [#199] Correct API doc
dsmf Mar 28, 2024
f9400dc
fix(impl): [#199] Format code
dsmf Mar 28, 2024
6e3b488
fix(impl): [#199] Fix checkstyle
dsmf Mar 28, 2024
b86b209
fix(impl): [#199] Fix OpenAPI annotation
dsmf Mar 28, 2024
78c4246
fix(impl): [#199] add todo concerning OpenAPI response value descript…
dsmf Mar 28, 2024
25e8259
fix(impl): [#199] fix insomnia collection
dsmf Mar 28, 2024
d5432af
feat(impl):[XXX] fix compatibility matrix versions
ds-ext-kmassalski Apr 4, 2024
a9793e4
feat(impl):[#499] docs cleanup
ds-ext-kmassalski Apr 5, 2024
89986a6
feat(cucumber):[#357] Add expected files for new cucumber tests
ds-jhartmann Apr 5, 2024
8be31a6
feat(testing):[#357] Add new asPlanned testdata
ds-jhartmann Apr 5, 2024
e95dd6d
Update irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policy…
dsmf Apr 8, 2024
7b28965
Update irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policy…
dsmf Apr 8, 2024
8d05fa7
Update irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policy…
dsmf Apr 8, 2024
2d9eef2
Update irs-policy-store/src/test/java/org/eclipse/tractusx/irs/policy…
dsmf Apr 8, 2024
4b919bb
feat(impl):[#488] fail that should fail
ds-ext-kmassalski Apr 8, 2024
e627aab
feat(impl):[#488] comment
ds-ext-kmassalski Apr 8, 2024
68fe1a6
fix(impl): [#199] update irs-api.yaml
dsmf Apr 8, 2024
d7e0a33
fix(impl): [#199] remove obsolete code
dsmf Apr 8, 2024
fe4edeb
Merge remote-tracking branch 'origin/fix/199-fix-policy-api' into fix…
dsmf Apr 8, 2024
9535e4f
feat(impl):[#488] new dataset reduced
ds-ext-kmassalski Apr 8, 2024
145a266
feat(impl):[#488] new as planned
ds-ext-kmassalski Apr 8, 2024
933a1a5
feat(impl):[#488] new as planned
ds-ext-kmassalski Apr 8, 2024
3ca8844
feat(cucumber):[#357] Add expected files for new cucumber tests
ds-jhartmann Apr 8, 2024
6cb9bec
Merge pull request #854 from catenax-ng/feat/488-new-dataset-reduced
ds-ext-kmassalski Apr 9, 2024
b04026d
fix(impl): [#199] add test
dsmf Apr 9, 2024
06c542a
fix(impl): [#199] group constants via interface
dsmf Apr 9, 2024
9e73ea9
Merge pull request #851 from catenax-ng/feat/499-cleanup-docs
ds-ext-kmassalski Apr 9, 2024
dd14862
fix(impl): [#199] correct logging
dsmf Apr 9, 2024
45fd895
fix(impl): [#199] fix default handling
dsmf Apr 9, 2024
280228c
Merge branch 'main' into chore/489-rename-helm-chart
dsmf Apr 9, 2024
d1fe5a1
feat(irs-api):[#357] Add capability to add SAMM models locally
ds-jhartmann Apr 9, 2024
a4e237b
Merge remote-tracking branch 'refs/remotes/origin/main' into feature/…
ds-jhartmann Apr 9, 2024
437c59f
feat(irs-api):[#357] Ignore padding for locally provided schema files
ds-jhartmann Apr 9, 2024
df41ca3
chore(docs):[#357] Add Industry Core Models
ds-jhartmann Apr 9, 2024
a1a198e
Merge pull request #834 from catenax-ng/chore/489-rename-helm-chart
dsmf Apr 9, 2024
7f40903
Merge branch 'main' into fix/199-fix-policy-api
dsmf Apr 9, 2024
88d5ea9
feat(cucumber):[#357] Adjust to latest testdata version
ds-jhartmann Apr 9, 2024
1431c4a
fix(impl): [#199] fix checkstyle warning (copyright header)
dsmf Apr 9, 2024
51c03e2
fix(impl): [#199] fix checkstyle warning (InterfaceIsType)
dsmf Apr 9, 2024
7efea9d
fix(impl): [#199] fix IDE warning
dsmf Apr 9, 2024
d8957ad
fix(impl): [#199] fix API doc
dsmf Apr 9, 2024
7b1b3a3
fix(impl): [#199] corrections in irs-api.yaml
dsmf Apr 9, 2024
77fb94a
fix(impl): [#199] update irs-api.yaml
dsmf Apr 10, 2024
da16713
fix(impl): [#199] code formatting
dsmf Apr 10, 2024
3ba862f
fix(impl): [#199] fix PMD errors
dsmf Apr 10, 2024
2360dea
Update irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/…
dsmf Apr 10, 2024
d4077c9
Update irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/…
dsmf Apr 10, 2024
6520bf9
Update irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/…
dsmf Apr 10, 2024
7f96e04
Update irs-api/src/main/java/org/eclipse/tractusx/irs/aaswrapper/job/…
dsmf Apr 10, 2024
dec6f5b
Update irs-api/src/main/java/org/eclipse/tractusx/irs/services/valida…
dsmf Apr 10, 2024
d376a7b
Update irs-api/src/main/java/org/eclipse/tractusx/irs/services/valida…
dsmf Apr 10, 2024
a0d3ea6
Update irs-api/src/main/java/org/eclipse/tractusx/irs/services/valida…
dsmf Apr 10, 2024
7cac102
Update irs-api/src/main/java/org/eclipse/tractusx/irs/services/valida…
dsmf Apr 10, 2024
e23ff9e
Update irs-api/src/main/java/org/eclipse/tractusx/irs/util/JsonUtil.java
dsmf Apr 10, 2024
7773020
Update irs-policy-store/src/main/java/org/eclipse/tractusx/irs/policy…
dsmf Apr 10, 2024
db75d10
fix(impl): [#199] fix insomnia collection
dsmf Apr 10, 2024
68de77f
Merge remote-tracking branch 'origin/fix/199-fix-policy-api' into fix…
dsmf Apr 10, 2024
d853faa
Merge pull request #848 from catenax-ng/feat/XXX-fix-compatibility-ma…
ds-ext-kmassalski Apr 10, 2024
2d4a5fb
Merge pull request #852 from catenax-ng/feat/488-faild-that-should-fail
ds-ext-kmassalski Apr 10, 2024
a503426
Merge pull request #859 from eclipse-tractusx/main
ds-jhartmann Apr 10, 2024
73c6ec9
Merge pull request #839 from catenax-ng/fix/199-fix-policy-api
dsmf Apr 10, 2024
f6d1eeb
chore(deps):[#463] Bump io.minio:minio to 8.5.9
ds-jhartmann Apr 10, 2024
513b00b
chore(deps):[#463] Manually update org.apache.commons:commons-compres…
ds-jhartmann Apr 10, 2024
ae60c03
chore(deps):[#463] Update dependencies
ds-jhartmann Apr 10, 2024
0a24a51
chore(deps):[#463] Revert dependency update
ds-jhartmann Apr 10, 2024
736b8e6
chore(deps):[#463] Manually update nimbus-jose-jwt to fix CVE
ds-jhartmann Apr 10, 2024
d601490
chore(ci):[#463] Fix quality check scan issue
ds-jhartmann Apr 10, 2024
e55f33e
chore(workflows):[#463] Cleanup trivyignore
ds-jhartmann Apr 10, 2024
7f748b8
chore(workflows):[#463] Cleanup trivyignore
ds-jhartmann Apr 10, 2024
969dbaf
chore(workflows):[#463] Cleanup trivyignore
ds-jhartmann Apr 10, 2024
d4977cd
chore(workflows):[#463] Cleanup trivyignore
ds-jhartmann Apr 10, 2024
aff4fff
Merge pull request #860 from catenax-ng/chore/#463-update-dependencies
ds-jhartmann Apr 10, 2024
c47d641
Merge pull request #857 from catenax-ng/feature/#357-Update-Semantic-…
ds-jhartmann Apr 10, 2024
d2f8834
chore(cucumber):[#357] ignore contractAgreementId on expected file co…
ds-jhartmann Apr 10, 2024
66d46ac
chore(irs-api):[#357] Add json aliases to relationship aspects
ds-jhartmann Apr 11, 2024
00d8094
chore(cucumber):[#357] Update expected files
ds-jhartmann Apr 11, 2024
c891082
fix(impl): [#405] fix ClassCastException
dsmf Apr 11, 2024
62b1306
Merge pull request #864 from catenax-ng/fix/405-ClassCastException
ds-jhartmann Apr 12, 2024
faa79e5
Merge pull request #861 from catenax-ng/chore/fix-cucumber-definitions
ds-jhartmann Apr 12, 2024
f6ac170
fix(impl): [#405] improve readability
dsmf Apr 12, 2024
11129bd
Merge branch 'refs/heads/main' into bugfix/405-RestClientExceptions-n…
dsmf Apr 12, 2024
16d6319
fix(impl): [#405] catch RestClientExceptions
dsmf Apr 12, 2024
a2cb4aa
fix(impl): [#405] update CHANGELOG.md
dsmf Apr 12, 2024
9ed5102
feat(impl):[#517] updated insomnia collection
ds-ext-kmassalski Apr 15, 2024
bd6e811
Merge pull request #866 from catenax-ng/bugfix/405-RestClientExceptio…
dsmf Apr 15, 2024
f33d178
feat(impl):[#517] updated insomnia collection
ds-ext-kmassalski Apr 15, 2024
833c6e5
Merge pull request #867 from catenax-ng/feat/517-update-insomnia-coll…
ds-ext-kmassalski Apr 15, 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
8 changes: 0 additions & 8 deletions .config/.trivyignore
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
# Only relevant if UNWRAP_SINGLE_VALUE_ARRAYS is activated, which is not the case here.
CVE-2022-42003

# HttpInvokerServiceExporter is not loaded as a bean in the IRS.
CVE-2016-1000027

# Vulnerability method not in IRS codebase (Files.createTempDir from guava). https://github.com/google/guava/issues/2575
CVE-2023-2976
1 change: 0 additions & 1 deletion .config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ This folder contains configuration, rules and suppression files for code quality
| irs.header | Copyright header definition for the checkstyle module RegexpHeader. | see checkstyle.xml file |
| owasp-suppressions.xml | [OWASP dependendy check](https://owasp.org/www-project-dependency-check/) suppressions. | [OWASP suppressions documentation](https://jeremylong.github.io/DependencyCheck/general/suppression.html) |
| pmd-rules.xml | [PMD Source Code Analyzer](https://pmd.github.io/) rules. | [PMD rules documentation](https://pmd.github.io/pmd/pmd_userdocs_making_rulesets.html) |
| spotbugs-excludes.xml | [Spotbugs](https://spotbugs.github.io/) excludes. | [Spotbugs excludes documentation](https://spotbugs.readthedocs.io/en/stable/filter.html) |


10 changes: 5 additions & 5 deletions .github/workflows/helm-chart-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
- name: Get helm charts latest tag version
id: step1
run: |
latestVersion=$(git tag | grep "irs-helm-[1-9]" | tail -1)
latestVersion=$(git tag | grep "item-relationship-service-[1-9]" | sort -V | tail -1)
echo "::set-output name=latest_version::$latestVersion"
echo "Exported $latestVersion latest helm charts version"
- name: Get helm charts current version
id: step2
run: |
chartVersion=irs-helm-$(cat ./charts/irs-helm/Chart.yaml | grep "version:" | head -1 | cut -d ":" -d " " -f2)
chartVersion=item-relationship-service-$(cat ./charts/item-relationship-service/Chart.yaml | grep "version:" | head -1 | cut -d ":" -d " " -f2)
echo "::set-output name=current_version::$chartVersion"
echo "Exported $chartVersion helm charts version"

Expand Down Expand Up @@ -60,7 +60,7 @@
version: v3.9.3

- name: Update helm dependencies for irs
working-directory: charts/irs-helm/
working-directory: charts/item-relationship-service/
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add minio https://charts.min.io/
Expand All @@ -69,11 +69,11 @@
helm dependency update

- name: Create temporary CHANGELOG file for helm release
working-directory: charts/irs-helm/
working-directory: charts/item-relationship-service/
run: |
touch CHANGELOG-temp.md

currentVersionNumber=$(echo ${{ needs.get-helm-charts-versions-irs.outputs.current_version }} | sed -e "s/^irs-helm-//" )
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
Expand All @@ -83,7 +83,7 @@
cat CHANGELOG-temp.md

- name: Run chart-releaser
uses: helm/[email protected]

Check warning on line 86 in .github/workflows/helm-chart-release.yaml

View workflow job for this annotation

GitHub Actions / Analyze

[MEDIUM] Unpinned Actions Full Length Commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
with:
config: ./.github/configs/cr-config.yml
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
fetch-depth: 0

- name: Kubernetes KinD Cluster
uses: container-tools/kind-action@v2

Check warning on line 32 in .github/workflows/helm-test.yaml

View workflow job for this annotation

GitHub Actions / Analyze

[MEDIUM] Unpinned Actions Full Length Commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
with:
node_image: ${{ github.event.inputs.node_image || 'kindest/node:v1.27.3' }}
version: v0.20.0
Expand Down Expand Up @@ -72,5 +72,5 @@
helm repo add minio https://charts.min.io/
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add grafana https://grafana.github.io/helm-charts
ct install --charts charts/irs-helm --helm-extra-set-args "--set=image.tag=testing --set=image.repository=kind-registry:5000/irs-api"
ct install --charts charts/item-relationship-service --helm-extra-set-args "--set=image.tag=testing --set=image.repository=kind-registry:5000/irs-api"
if: steps.list-changed.outputs.changed == 'true'
12 changes: 6 additions & 6 deletions .github/workflows/helm-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
on:
pull_request:
paths:
- 'charts/irs-helm/**'
- 'charts/item-relationship-service/**'
workflow_dispatch:

jobs:
Expand All @@ -19,7 +19,7 @@
uses: container-tools/kind-action@v2

- name: Set up Helm
uses: azure/setup-helm@v3

Check warning on line 22 in .github/workflows/helm-upgrade.yaml

View workflow job for this annotation

GitHub Actions / Analyze

[MEDIUM] Unpinned Actions Full Length Commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
with:
version: v3.9.3

Expand All @@ -32,12 +32,12 @@
helm repo add irs https://eclipse-tractusx.github.io/item-relationship-service

- name: Run helm install
# Install latest released irs-helm version
# Install latest released item-relationship-service version
run: |
helm install irs irs/irs-helm
helm install irs irs/item-relationship-service

- name: Run helm upgrade
# Upgrade the installed irs-helm version with the locally available charts
# Upgrade the installed item-relationship-service version with the locally available charts
run: |
helm dependency update charts/irs-helm
helm upgrade irs charts/irs-helm
helm dependency update charts/item-relationship-service
helm upgrade irs charts/item-relationship-service
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
- uses: actions/checkout@v4

- name: Calculate Helm release version from CHANGELOG
run: echo HELM_VERSION=$(cat charts/irs-helm/CHANGELOG.md | sed -n 's/.*\[\([0-9]\+\.[0-9]\+\.[0-9]\+\)\].*/\1/p' | head -n 1) >> $GITHUB_ENV
run: echo HELM_VERSION=$(cat charts/item-relationship-service/CHANGELOG.md | sed -n 's/.*\[\([0-9]\+\.[0-9]\+\.[0-9]\+\)\].*/\1/p' | head -n 1) >> $GITHUB_ENV

- name: Update Chart.yaml appVersion
uses: mikefarah/[email protected]

Check warning on line 19 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Analyze

[MEDIUM] Unpinned Actions Full Length Commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
with:
cmd: yq -i eval '.appVersion = "${{ github.ref_name }}"' charts/irs-helm/Chart.yaml
cmd: yq -i eval '.appVersion = "${{ github.ref_name }}"' charts/item-relationship-service/Chart.yaml

- name: Update Chart.yaml version
uses: mikefarah/[email protected]

Check warning on line 24 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Analyze

[MEDIUM] Unpinned Actions Full Length Commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
with:
cmd: yq -i eval '.version = "${{ env.HELM_VERSION }}"' charts/irs-helm/Chart.yaml
cmd: yq -i eval '.version = "${{ env.HELM_VERSION }}"' charts/item-relationship-service/Chart.yaml

- name: Prepare Helm release
uses: peter-evans/create-pull-request@v5

Check warning on line 29 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Analyze

[MEDIUM] Unpinned Actions Full Length Commit SHA

Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. When selecting a SHA, you should verify it is from the action's repository and not a repository fork.
with:
commit-message: "chore(release): Prepare release for Helm version ${{ env.HELM_VERSION }}"
branch: chore/prepare-helm-release-${{ env.HELM_VERSION }}
Expand Down
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,5 @@ docs/src/diagram-replacer/package.json
docs/src/diagram-replacer/plantuml.jar

# Helm Chart Dependencies
/charts/irs-helm/Chart.lock
/charts/irs-helm/charts/


/charts/item-relationship-service/Chart.lock
/charts/item-relationship-service/charts/
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,17 @@ _**For better traceability add the corresponding GitHub issue number in each cha

### Added

- SAMM models can now be added locally #488
- Introduced new Cucumber Tests to cover Industry Core 2.0.0 compatibility #488

### Changed

### Fixed

- ClassCastException in exception handling of EdcSubmodelClientImp#getEndpointReferencesForAsset corrected (returns the exception as failed future now). #405
- RestClientExceptions are handled correctly in BpdmFacade now. #405


## [4.9.0] - 2024-04-03
### Added
- Extended EdcPolicyDefinitionService to check if a policy in the edc exists
Expand All @@ -20,8 +29,14 @@ _**For better traceability add the corresponding GitHub issue number in each cha
- IRS now supports Asset Administration Shell v3.1 - adjusted lookup shells endpoint changes (assetIds query param is encoded). #359
- Support of building relationships based on SingleLevelBomAsBuilt v3.0.0 #488

### Changed

- Renamed item relationship service Helm chart from "irs-helm" to "item-relationship-service". #489


## [4.8.0] - 2024-03-18
### Changed

- Improved maintainability in EdcSubmodelClientImpl by reduced method visibility and better naming (in context of #448).
- EdcPolicyDefinitionService, EdcContractDefinitionService and EdcAssetService throw AlreadyExist exceptions when
conflict is returned from EDC
Expand Down Expand Up @@ -137,7 +152,7 @@ _**For better traceability add the corresponding GitHub issue number in each cha
- Added `impactedSuppliersOnFirstTier` parameter to Supply SupplyChainImpacted Aspect model - contains information of first level supply chain impacted
- Exported health endpoints to prometheus (see HealthMetricsExportConfiguration,
DependenciesHealthMetricsExportConfiguration) and
added [system health dashboard](charts/irs-helm/dashboards/system-health-dashboard.json)
added [system health dashboard](charts/item-relationship-service/dashboards/system-health-dashboard.json)
in order to visualize health metrics of IRS and its dependencies. #283

### Fixed
Expand Down
34 changes: 29 additions & 5 deletions COMPATIBILITY_MATRIX.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@

Full changelog of IRS: [changelog](CHANGELOG.md)

## [Unreleased]

| Dependency | Version | Helm | Comments |
|----------------------------|------------------------------|------------|-----------------|
| EDC | 0.5.3 | 0.5.3 | |
| EDC PostgresSQL | 15.1.0-debian-11-r12 | 12.1.6 | Optional |
| MIW | 0.1.0 | 0.1.0 | REST connection |
| Semantics Hub | 0.1.29 | v0.2.11-M1 | REST connection |
| DTR | 0.3.14-M1 | 0.3.22 | REST connection |
| Minio | RELEASE.2022-11-11T03-44-20Z | 5.0.1 | |
| SingleLevelBomAsBuilt | 2.0.0 | - | Model version |
| SingleLevelBomAsPlanned | 2.0.0 | - | Model version |
| SingleLevelBomAsSpecified | 1.0.0 | - | Model version |
| SingleLevelUsageAsBuilt | 2.0.0 | - | Model version |
| PartAsPlanned | 2.0.0 | - | Model Version |
| SingleLevelBomAsPlanned | 3.0.0 | - | Model Version |
| SerialPart | 3.0.0 | - | Model Version |
| Batch | 3.0.0 | - | Model Version |
| JustInSequencePart | 3.0.0 | - | Model Version |
| SingleLevelBomAsBuilt | 3.0.0 | - | Model Version |
| PartSiteInformationAsBuilt | 1.0.0 | - | Model Version |

## [4.9.0] - 2024-04-03

| Dependency | Version | Helm | Comments |
Expand All @@ -10,14 +32,15 @@ Full changelog of IRS: [changelog](CHANGELOG.md)
| EDC PostgresSQL | 15.1.0-debian-11-r12 | 12.1.6 | Optional |
| MIW | 0.1.0 | 0.1.0 | REST connection |
| Semantics Hub | 0.1.29 | v0.2.11-M1 | REST connection |
| DTR | 0.3.14-M1 | 0.3.22 | REST connection |
| DTR | 0.4.1 | 0.4.9 | REST connection |
| Minio | RELEASE.2022-11-11T03-44-20Z | 5.0.1 | |
| SingleLevelBomAsBuilt | 2.0.0 | - | Model version |
| SingleLevelBomAsBuilt | 3.0.0 | - | Model version |
| SingleLevelBomAsPlanned | 2.0.0 | - | Model version |
| SingleLevelBomAsSpecified | 1.0.0 | - | Model version |
| SingleLevelUsageAsBuilt | 2.0.0 | - | Model version |

## [4.8.0] - 2024-03-18

| Dependency | Version | Helm | Comments |
|---------------------------|------------------------------|------------|-----------------|
| EDC | 0.5.3 | 0.5.3 | |
Expand All @@ -31,8 +54,8 @@ Full changelog of IRS: [changelog](CHANGELOG.md)
| SingleLevelBomAsSpecified | 1.0.0 | - | Model version |
| SingleLevelUsageAsBuilt | 2.0.0 | - | Model version |


## [4.7.0] - 2024-03-04

| Dependency | Version | Helm | Comments |
|---------------------------|------------------------------|------------|-----------------|
| EDC | 0.5.3 | 0.5.3 | |
Expand All @@ -46,8 +69,8 @@ Full changelog of IRS: [changelog](CHANGELOG.md)
| SingleLevelBomAsSpecified | 1.0.0 | - | Model version |
| SingleLevelUsageAsBuilt | 2.0.0 | - | Model version |


## [4.6.0] - 2024-02-20

| Dependency | Version | Helm | Comments |
|---------------------------|------------------------------|------------|-----------------|
| EDC | 0.5.3 | 0.5.3 | |
Expand All @@ -61,8 +84,8 @@ Full changelog of IRS: [changelog](CHANGELOG.md)
| SingleLevelBomAsSpecified | 1.0.0 | - | Model version |
| SingleLevelUsageAsBuilt | 2.0.0 | - | Model version |


## [4.2.0] - 2023-11-28

| Dependency | Version | Helm | Comments |
|---------------------------|------------------------------|------------|-----------------|
| EDC | 0.5.3 | 0.5.3 | |
Expand All @@ -77,6 +100,7 @@ Full changelog of IRS: [changelog](CHANGELOG.md)
| SingleLevelUsageAsBuilt | 2.0.0 | - | Model version |

## [4.1.0] - 2023-11-15

| Dependency | Version | Helm | Comments |
|---------------------------|------------------------------|------------|-----------------|
| EDC | 0.5.3 | 0.5.3 | |
Expand Down
19 changes: 10 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,26 +171,27 @@ https://github.com/google/google-java-format/blob/master/README.md#intellij-jre-
1. Choose a release version using [semantic versioning](https://semver.org/spec/v2.0.0.html)
and create a corresponding branch according to the template: `chore/prepare-release-x.x.x`.
2. Add release notes for new version in [CHANGELOG.md](CHANGELOG.md)
and [charts/irs-helm/CHANGELOG.md](charts/irs-helm/CHANGELOG.md)
and [charts/item-relationship-service/CHANGELOG.md](charts/item-relationship-service/CHANGELOG.md)
(for an example [see here](https://github.com/eclipse-tractusx/item-relationship-service/pull/429))
- Check if the changelog entries for the release are complete.
- Add the corresponding GitHub issue numbers to each entry if missing.
3. Update [COMPATIBILITY_MATRIX.md](COMPATIBILITY_MATRIX.md).
4. Update IRS API version in IrsApplication class and irs-api.yaml
5. Create pull request from [release preparation branch to main](https://github.com/eclipse-tractusx/item-relationship-service/compare/chore/prepare-release-x.x.x) and merge to main.
6. Create Git tag for the desired release version `git tag x.x.x`
(note: the irs-helm tag will be created automatically by the GitHub workflow based on the version in the irs-helm changelog).
7. Push Git tag to repository `git push origin x.x.x` (this will trigger the GitHub release workflow).
8. Wait for release workflow to complete.
9. Merge the automatically opened PR by GitHub actions bot.
10. Notify about the release in IRS Matrix Chat using the following template:
5. Create pull request from [release preparation branch to main](https://github.com/eclipse-tractusx/item-relationship-service/compare/chore/prepare-release-x.x.x)
6. Merge this pull request to main.
7. Create Git tag for the desired release version `git tag x.x.x`
(note: the _item-relationship-service_ tag will be created automatically by the GitHub workflow based on the version in the [helm chart changelog](charts/item-relationship-service/CHANGELOG.md)).
8. Push Git tag to repository `git push origin x.x.x` (this will trigger the GitHub release workflow).
9. Wait for release workflow to complete.
10. Merge the pull request that was automatically opened by GitHub actions bot.
11. Notify about the release in IRS Matrix Chat using the following template:

> **IRS Release x.x.x**
>
> IRS version x.x.x is released.
>
> https://github.com/eclipse-tractusx/item-relationship-service/releases/tag/x.x.x<br>
> https://github.com/eclipse-tractusx/item-relationship-service/releases/tag/irs-helm-y.y.y<br>
> https://github.com/eclipse-tractusx/item-relationship-service/releases/tag/item-relationship-service-y.y.y<br>
> **Full Changelog:** https://github.com/eclipse-tractusx/item-relationship-service/compare/w.w.w...x.x.x

_(replace x.x.x with IRS version to release, y.y.y with IRS helm version to release and w.w.w with previous IRS version)_
Expand Down
Loading
Loading