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

Bug fixes and updates to documentation and workflows #137

Merged
merged 77 commits into from
Jul 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
da348ed
chore(trg): Add LICENSE and legal notice to documentation
ds-jhartmann Jul 6, 2023
40d212c
TRI-1350: Updated TRI-821 files
ds-alexander-bulgakov Jul 10, 2023
c41b830
TRI-1350: Updated TRI-767 files
ds-alexander-bulgakov Jul 10, 2023
df4c532
Merge branch 'main' into feature/TRI-1350-adjust-cucumber-tests
ds-alexander-bulgakov Jul 11, 2023
1b927dc
TRI-1350: changed expected files for TRI-704
ds-alexander-bulgakov Jul 11, 2023
db29c7b
TRI-1350: changed expected files for TRI-528
ds-alexander-bulgakov Jul 11, 2023
d424f40
chore(trg): TRI-1457 TRG 7.05 Add legal information to distribution
ds-ext-abugajewski Jul 11, 2023
c4c366b
chore(trg): TRI-1457 TRG 7.05 Add legal information to distribution -…
ds-ext-abugajewski Jul 12, 2023
8d7f475
TRI-1350: adjusted expected file for TRI-1009
ds-alexander-bulgakov Jul 12, 2023
2a8f6fd
TRI-1350: adjusted expected file for TRI-1070
ds-alexander-bulgakov Jul 12, 2023
f0bf991
fix(irs-api): [TRI-1428] Batch processing fail due to missing bpn
ds-ext-abugajewski Jul 12, 2023
722e578
fix(irs-api): [TRI-1428] Batch processing fail due to missing bpn - s…
ds-ext-abugajewski Jul 12, 2023
12b04e4
feat(impl):[TRI-1440] known knows
ds-ext-kmassalski Jul 13, 2023
c2eceed
feat(impl):[TRI-1440] known knows
ds-ext-kmassalski Jul 13, 2023
fc6656e
feat(impl):[TRI-1440] update
ds-ext-kmassalski Jul 13, 2023
2c3c5d0
feat(impl):[TRI-1440] update
ds-ext-kmassalski Jul 14, 2023
40d2706
Update CHANGELOG.md
ds-ext-kmassalski Jul 17, 2023
156b942
Update CHANGELOG.md
ds-ext-kmassalski Jul 17, 2023
4cb5811
Update CHANGELOG.md
ds-ext-kmassalski Jul 17, 2023
a3385be
Update CHANGELOG.md
ds-ext-kmassalski Jul 17, 2023
abc90c6
feat(impl):[TRI-1440] add jira ticket numbers
ds-ext-kmassalski Jul 17, 2023
21d2548
chore(docs): Add copyright statements
ds-jhartmann Jul 17, 2023
8d4daf0
Merge pull request #411 from catenax-ng/bugfix/TRI-1428-batch-process…
ds-ext-abugajewski Jul 17, 2023
fcbdc48
chore(workflows): Add local docker build step
ds-jhartmann Jul 17, 2023
d391c01
chore(workflows): Add local registry
ds-jhartmann Jul 17, 2023
6562210
chore(workflows): Remove trivy scan trigger from irs-build action
ds-jhartmann Jul 17, 2023
69caa38
chore(testdata): Fix script issues after merge conflicts
ds-jhartmann Jul 17, 2023
4c1c815
Merge pull request #410 from catenax-ng/feature/TRI-1350-adjust-cucum…
ds-alexander-bulgakov Jul 17, 2023
8d4d251
Merge pull request #408 from catenax-ng/chore/TRI-1457
ds-jkreutzfeld Jul 17, 2023
8421b59
Merge pull request #399 from catenax-ng/chore/TRI-1458
ds-jhartmann Jul 17, 2023
d9f313b
Merge pull request #423 from catenax-ng/chore/fix-testdata-script
ds-jhartmann Jul 17, 2023
95e8c4e
chore(workflows): Add maven cache step
ds-jhartmann Jul 17, 2023
0cfa18b
chore(workflows): Revert Add maven cache step
ds-jhartmann Jul 17, 2023
94f21d0
Merge pull request #422 from catenax-ng/chore/trivy-build-local-docke…
ds-jhartmann Jul 17, 2023
76035d4
feat(impl):[TRI-1440] update after review
ds-ext-kmassalski Jul 17, 2023
3809180
fix(irs-api): [TRI-1408] Correct Swagger API documentation for ESS API
ds-ext-abugajewski Jul 18, 2023
8516525
fix(api): Make BPN mandatory in IRS API
ds-jkreutzfeld Jul 18, 2023
6baa6b0
chore(workflows): Split integration tests into separate workflows for…
ds-jhartmann Jul 18, 2023
7f55548
fix(api): Fix unit test
ds-jkreutzfeld Jul 18, 2023
74ab766
chore(workflows): fix cucumber filter
ds-jhartmann Jul 18, 2023
2845f2d
TRI-1428: adjust tavern test to fixed request body
ds-alexander-bulgakov Jul 18, 2023
ed25b84
adjusted tavern.yml to make it possible to select the BPN for desired…
ds-alexander-bulgakov Jul 18, 2023
8f9356d
fix(api): Add test case
ds-jkreutzfeld Jul 18, 2023
d875985
chore(trivy): suppress false positive for CVE-2023-2976
ds-jhartmann Jul 18, 2023
6742e22
Merge pull request #425 from catenax-ng/fix/make-bpn-mandatory
ds-jkreutzfeld Jul 18, 2023
06ca073
Merge pull request #427 from catenax-ng/feature/TRI-1428-adjust-taver…
ds-alexander-bulgakov Jul 18, 2023
91a1a87
Merge pull request #428 from catenax-ng/chore/suppress-trivy-false-po…
ds-jhartmann Jul 18, 2023
505892e
Merge pull request #429 from eclipse-tractusx/main
ds-jhartmann Jul 18, 2023
0d959d1
chore(docs): Add missing and remove outdated Arc42 documentation
ds-jhartmann Jul 18, 2023
38d039a
chore(docs): Remove edc consumer charts from documentation
ds-jhartmann Jul 19, 2023
f8fcfcf
Merge pull request #426 from catenax-ng/chore/split_cucumber_tests_fo…
ds-jhartmann Jul 19, 2023
34fb328
fix(irs-api): [TRI-1428] Batch processing fail due to missing bpn - u…
ds-ext-abugajewski Jul 19, 2023
a29239b
fix(irs-api): [TRI-1428] Batch processing fail due to missing bpn - d…
ds-ext-abugajewski Jul 19, 2023
5b86b8e
fix(irs-api): [TRI-1408] Correct Swagger API documentation for ESS AP…
ds-ext-abugajewski Jul 19, 2023
21f5361
fix(edc-client): Add support to check for rightExpressions
ds-jhartmann Jul 19, 2023
697a379
fix(edc-client): Allow all policies if wildcard '*' is set
ds-jhartmann Jul 19, 2023
bc76662
fix(irs-api): [TRI-1428] Batch processing fail due to missing bpn - f…
ds-ext-abugajewski Jul 19, 2023
a3bef8e
Update CHANGELOG.md
mkanal Jul 19, 2023
cb74b2c
Update CHANGELOG.md
mkanal Jul 19, 2023
ffd8e6a
Update CHANGELOG.md
mkanal Jul 19, 2023
8440d43
Update CHANGELOG.md
mkanal Jul 19, 2023
099ef57
Update CHANGELOG.md
mkanal Jul 19, 2023
5c0d3bb
Merge pull request #432 from catenax-ng/bugfix/TRI-1428-update-insomn…
ds-ext-abugajewski Jul 19, 2023
3b8665b
fix(edc-client): Add support for multiplicity constraints
ds-jhartmann Jul 19, 2023
72d8442
Merge pull request #431 from catenax-ng/chore/TRI-944-documentation-h…
ds-jhartmann Jul 19, 2023
a66e162
Merge pull request #413 from catenax-ng/feature/TRI-1440-known-knows
ds-jhartmann Jul 19, 2023
a617f8d
fix(ess-api): [TRI-1408] Correct Swagger API documentation for ESS AP…
ds-ext-abugajewski Jul 19, 2023
552ec93
fix(ess-api): [TRI-1408] Correct Swagger API documentation for ESS AP…
ds-ext-abugajewski Jul 19, 2023
d17a2d5
Merge pull request #433 from catenax-ng/fix/fix-policy-store-for-CX3.2
ds-jhartmann Jul 19, 2023
20eae84
fix(irs-api): [TRI-1408] Correct Swagger API documentation for ESS -…
ds-ext-abugajewski Jul 19, 2023
b68c67f
fix(ess-api): [TRI-1408] Correct Swagger API documentation for ESS AP…
ds-ext-abugajewski Jul 19, 2023
9dd69f5
Merge pull request #424 from catenax-ng/bugfix/TRI-1408_correct_swagg…
mkanal Jul 19, 2023
a0a13cd
chore(charts): fix template for digitalTwinRegistry.descriptorEndpoint
ds-jhartmann Jul 19, 2023
67c78db
chore(changelog): Update changelog for release 3.2.1
ds-jhartmann Jul 19, 2023
9b7bab0
Merge pull request #436 from catenax-ng/chore/prepare-release-3.2.1
ds-jhartmann Jul 19, 2023
f036f9b
chore(release): Prepare release for Helm version 6.2.1
ds-jhartmann Jul 19, 2023
9bbf1f2
Merge pull request #437 from catenax-ng/chore/prepare-helm-release-6.2.1
ds-jhartmann Jul 19, 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
5 changes: 4 additions & 1 deletion .config/.trivyignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
CVE-2022-42003

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

# Vulnerability method not in IRS codebase (Files.createTempDir from guava). https://github.com/google/guava/issues/2575
CVE-2023-2976
20 changes: 20 additions & 0 deletions .github/workflows/integration-test-DEV.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: IRS DEV Cucumber Integration test execution

on:
workflow_dispatch: # Trigger manually
push:
branches:
- 'main'

jobs:
trigger-integration-test:
uses: ./.github/workflows/xray-cucumber-integration.yaml
secrets:
keycloakTokenUrl: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_TOKEN_URI }}
clientId: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_ID }}
clientSecret: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_SECRET }}
jiraUser: ${{ secrets.ORG_IRS_JIRA_USERNAME }}
jiraPassword: ${{ secrets.ORG_IRS_JIRA_PASSWORD }}
with:
executionFilter: "not @Ignore and @INTEGRATION_TEST and @DEV"
exportFilter: "11349"
18 changes: 18 additions & 0 deletions .github/workflows/integration-test-INT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: IRS INT Cucumber Integration test execution

on:
workflow_dispatch: # Trigger manually

jobs:
trigger-integration-test:
uses: ./.github/workflows/xray-cucumber-integration.yaml
secrets:
keycloakTokenUrl: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_TOKEN_URI }}
clientId: ${{ secrets.ORG_IRS_OAUTH2_CLIENT_ID_INT }}
clientSecret: ${{ secrets.ORG_IRS_OAUTH2_CLIENT_SECRET_INT }}
jiraUser: ${{ secrets.ORG_IRS_JIRA_USERNAME }}
jiraPassword: ${{ secrets.ORG_IRS_JIRA_PASSWORD }}
with:
executionFilter: "not @Ignore and @INTEGRATION_TEST and @INT"
exportFilter: "11349"

13 changes: 0 additions & 13 deletions .github/workflows/irs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,16 +173,3 @@ jobs:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
repository: ${{ env.IMAGE_NAMESPACE }}/${{ env.IMAGE_NAME }}

trigger-trivy-image-scan:
if: >-
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
github.actor != 'dependabot[bot]'
needs:
- build_images
uses: ./.github/workflows/trivy-image-scan.yml
with:
image-tag: ${{ needs.build_images.outputs.image_tag }}
ref: ${{ github.ref }}
sha: ${{ github.sha }}

12 changes: 12 additions & 0 deletions .github/workflows/tavern.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,21 @@ on:
description: Global Asset ID to use for the asPlanned tests
default: 'urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e'
required: true
bpn-asPlanned:
type: string
description: BPN to use for the asPlanned Global Asset ID
default: 'BPNL00000003AYRE'
required: true
global-asset-id-asBuild:
type: string
description: Global Asset ID to use for the asBuild tests
default: 'urn:uuid:7940e0cc-7814-41eb-8b04-d984a325deec'
required: true
bpn-asBuild:
type: string
description: BPN to use for the asBuild Global Asset ID
default: 'BPNL00000003AYRE'
required: true
execution-ticket:
type: string
description: JIRA execution ticket to safe results in.
Expand Down Expand Up @@ -60,7 +70,9 @@ jobs:
KEYCLOAK_CLIENT_ID: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_ID }}
KEYCLOAK_CLIENT_SECRET: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_SECRET }}
GLOBAL_ASSET_ID_AS_PLANNED: ${{ github.event.inputs.global-asset-id-asPlanned || 'urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e' }}
BPN_AS_PLANNED: ${{ github.event.inputs.bpn-asPlanned || 'BPNL00000003AYRE' }}
GLOBAL_ASSET_ID_AS_BUILD: ${{ github.event.inputs.global-asset-id-asBuild || 'urn:uuid:7940e0cc-7814-41eb-8b04-d984a325deec' }}
BPN_AS_BUILD: ${{ github.event.inputs.bpn-asBuild || 'BPNL00000003AYRE' }}
run: |
python -m pytest local/testing/api-tests/irs-api-tests.tavern.yaml --junitxml=tavern-results.xml

Expand Down
54 changes: 25 additions & 29 deletions .github/workflows/trivy-image-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ name: "Trivy vulnerability scanner for image"

on:
workflow_dispatch: # Trigger manually
inputs:
image-tag:
required: false
type: string
workflow_call: # Trigger by another workflow
inputs:
image-tag:
required: true
type: string
ref:
type: string
sha:
type: string
pull_request:
paths-ignore:
- '**/*.md'
- '**/*.txt'
- 'charts/**'
- 'docs/**'
- 'local/**'
- 'CHANGELOG.md'
push:
branches:
- main
tags:
- '**'
schedule:
- cron: '0 0 * * *' # Once a day

Expand All @@ -28,26 +28,22 @@ jobs:
actions: read
contents: read
security-events: write
services:
registry:
image: registry:2
ports:
- 5000:5000

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Determine image version
id: version
run: |
# Strip git ref prefix from version
VERSION=$(echo "${{ github.head_ref || github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.head_ref || github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Support PR ref versions
[[ "${{ github.ref }}" == "refs/pull/"* ]] && VERSION=PR-$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\)/merge,\1,')
# Use Docker `latest` tag convention
[ "$VERSION" == "main" ] && VERSION=latest
# Use input parameter 'image-tag' if present
[[ "${{ github.event.inputs.image-tag }}" != '' ]] && VERSION=$(echo "${{ github.event.inputs.image-tag }}")
echo VERSION=$VERSION
echo "::set-output name=image_tag::$VERSION"
- name: Build image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: localhost:5000/irs-api:testing

# It's also possible to scan your private registry with Trivy's built-in image scan.
# All you have to do is set ENV vars.
Expand All @@ -59,7 +55,7 @@ jobs:
uses: aquasecurity/trivy-action@master
with:
# Path to Docker image
image-ref: "ghcr.io/catenax-ng/irs-api:${{ steps.version.outputs.image_tag }} "
image-ref: "localhost:5000/irs-api:testing"
format: "sarif"
output: "trivy-results2.sarif"
exit-code: "1"
Expand Down
45 changes: 30 additions & 15 deletions .github/workflows/xray-cucumber-integration.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
name: IRS Cucumber Integration test Xray execution

on:
workflow_dispatch: # Trigger manually
push:
branches:
- 'main'
workflow_call: # Trigger by another workflow
secrets:
keycloakTokenUrl:
required: true
clientId:
required: true
clientSecret:
required: true
jiraUser:
required: true
jiraPassword:
required: true
inputs:
executionFilter:
required: true
type: string
exportFilter:
required: true
type: string

jobs:
build:
Expand All @@ -29,32 +44,32 @@ jobs:
- name: Download Feature Files
id: download
env:
JIRA_USERNAME: ${{ secrets.ORG_IRS_JIRA_USERNAME }}
JIRA_PASSWORD: ${{ secrets.ORG_IRS_JIRA_PASSWORD }}
JIRA_USERNAME: ${{ secrets.jiraUser }}
JIRA_PASSWORD: ${{ secrets.jiraPassword }}
EXPORT_FILTER: ${{ inputs.exportFilter }}
# JIRA filter 11349: project = TRI AND type = Test AND "Test Type" = Cucumber
# Downloads all feature files of cucumber tests inside TRI project
run: |
export HTTP_RESULT=$(curl -s --show-error -w "%{http_code}" -u $JIRA_USERNAME:$JIRA_PASSWORD "https://jira.catena-x.net/rest/raven/1.0/export/test?filter=11349&fz=true" -o features.zip)
export HTTP_RESULT=$(curl -s --show-error -w "%{http_code}" -u $JIRA_USERNAME:$JIRA_PASSWORD "https://jira.catena-x.net/rest/raven/1.0/export/test?filter=$EXPORT_FILTER&fz=true" -o features.zip)
[[ $HTTP_RESULT == 200 || $HTTP_RESULT == 400 ]]
echo "::set-output name=http_response::$HTTP_RESULT"

- name: Build with Maven
if: ${{ steps.download.outputs.http_response == '200' }}
env:
KEYCLOAK_HOST: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_TOKEN_URI }}
KEYCLOAK_CLIENT_ID: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_ID }}
KEYCLOAK_CLIENT_SECRET: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_SECRET }}
IRS_INT: https://irs.int.demo.catena-x.net
IRS_DEV: https://irs.dev.demo.catena-x.net
KEYCLOAK_HOST: ${{ secrets.keycloakTokenUrl }}
KEYCLOAK_CLIENT_ID: ${{ secrets.clientId }}
KEYCLOAK_CLIENT_SECRET: ${{ secrets.clientSecret }}
ISSUE_FILTER: ${{ inputs.executionFilter }}
run: |
unzip -o features.zip -d irs-cucumber-tests/src/test/resources/features
mvn --batch-mode clean install -pl irs-cucumber-tests,irs-models -D"cucumber.filter.tags"="not @Ignore and @INTEGRATION_TEST"
mvn --batch-mode clean install -pl irs-cucumber-tests,irs-models -D"cucumber.filter.tags"="$ISSUE_FILTER"

- name: Submit results to Xray
if: ${{ always() && steps.download.outputs.http_response == '200' }}
env:
JIRA_USERNAME: ${{ secrets.ORG_IRS_JIRA_USERNAME }}
JIRA_PASSWORD: ${{ secrets.ORG_IRS_JIRA_PASSWORD }}
JIRA_USERNAME: ${{ secrets.jiraUser }}
JIRA_PASSWORD: ${{ secrets.jiraPassword }}
run: |
curl --request POST \
-u $JIRA_USERNAME:$JIRA_PASSWORD \
Expand Down
77 changes: 18 additions & 59 deletions .github/workflows/xray-cucumber.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: IRS Cucumber Xray execution
name: IRS Cucumber test execution

on:
workflow_dispatch: # Trigger manually
Expand All @@ -8,6 +8,12 @@ on:
paths-ignore:
- '**/*.md'
- '**/*.txt'
- 'charts/**'
- '.config/**'
- 'docs/**'
- 'local/**'
- 'README.md'
- 'CHANGELOG.md'
pull_request:
branches:
- main
Expand All @@ -22,61 +28,14 @@ on:
- 'CHANGELOG.md'

jobs:
build:
# This job does not need to run unless we can access the credentials
if: >-
(github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) &&
github.actor != 'dependabot[bot]'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

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

- name: Cache maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Download Feature Files
id: download
env:
JIRA_USERNAME: ${{ secrets.ORG_IRS_JIRA_USERNAME }}
JIRA_PASSWORD: ${{ secrets.ORG_IRS_JIRA_PASSWORD }}
# JIRA filter 11349: project = TRI AND type = Test AND "Test Type" = Cucumber
# Downloads all feature files of cucumber tests inside TRI project
run: |
export HTTP_RESULT=$(curl -s --show-error -w "%{http_code}" -u $JIRA_USERNAME:$JIRA_PASSWORD "https://jira.catena-x.net/rest/raven/1.0/export/test?filter=11349&fz=true" -o features.zip)
[[ $HTTP_RESULT == 200 || $HTTP_RESULT == 400 ]]
echo "::set-output name=http_response::$HTTP_RESULT"

- name: Build with Maven
if: ${{ steps.download.outputs.http_response == '200' }}
env:
KEYCLOAK_HOST: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_TOKEN_URI }}
KEYCLOAK_CLIENT_ID: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_ID }}
KEYCLOAK_CLIENT_SECRET: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_SECRET }}
IRS_INT: https://irs.int.demo.catena-x.net
IRS_DEV: https://irs.dev.demo.catena-x.net
run: |
unzip -o features.zip -d irs-cucumber-tests/src/test/resources/features
mvn --batch-mode clean install -pl irs-cucumber-tests,irs-models -D"cucumber.filter.tags"="not @Ignore and not @INTEGRATION_TEST"

- name: Submit results to Xray
if: ${{ always() && steps.download.outputs.http_response == '200' }}
env:
JIRA_USERNAME: ${{ secrets.ORG_IRS_JIRA_USERNAME }}
JIRA_PASSWORD: ${{ secrets.ORG_IRS_JIRA_PASSWORD }}
run: |
curl --request POST \
-u $JIRA_USERNAME:$JIRA_PASSWORD \
--header 'Content-Type: application/json' \
--data-binary '@irs-cucumber-tests/report.json' \
"https://jira.catena-x.net/rest/raven/1.0/import/execution/cucumber"
trigger-integration-test:
uses: ./.github/workflows/xray-cucumber-integration.yaml
secrets:
keycloakTokenUrl: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_TOKEN_URI }}
clientId: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_ID }}
clientSecret: ${{ secrets.KEYCLOAK_OAUTH2_CLIENT_SECRET }}
jiraUser: ${{ secrets.ORG_IRS_JIRA_USERNAME }}
jiraPassword: ${{ secrets.ORG_IRS_JIRA_PASSWORD }}
with:
executionFilter: "not @Ignore and not @INTEGRATION_TEST"
exportFilter: "11349"
25 changes: 21 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.2.1] - 2023-07-19
### Fixed
- EDC Policies now get validated regardless of the type of constraint.
- EDC Policies of type `FrameworkAgreement` are now validated correctly.
- Fixed error in BPN handling for IRS Batch requests

## [3.2.0] - 2023-07-14
### Changed
- The client code for accessing the Digital Twin Registry (central and decentral) is now available as a spring boot maven library. See the README in the irs-registry-client module for more information.
Expand All @@ -14,9 +20,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- IRS now supports the AAS API 3.0 and its updated models. **Note**: this also reflects in the Job response shells, please check the new schema.

### Known knowns
- PLACEHOLDER REMOVE IF EMPTY: risks that were introduced or discovered in the release and are known but not resolved

## [3.1.0] - 2023-06-28
- [TRI-1460] ESS Notifications endpoints are not working in the decentral Digital Twin Registry scenario because endpoints does not provide bpn as a parameter.
- [TRI-1096] No limiting of requests in parallel - IRS allows sending API requests unlimited
- [TRI-1100] Potential denial-of-service (DoS) attack - IRS allows to enter a large number of characters, which are reflected in the response of the server
- [TRI-1098] Software related information disclosure - IRS returns redundant information about the type and version of used software
- [TRI-793] Misconfigured Access-Control-Allow- Origin Header - by intercepting network traffic it could be possible to read and modify any messages that are exchanged with server
- [TRI-1095] HTTP security headers configuration could be improved and allow for additional protection against some web application attacks
- [TRI-1441] Synchronous communication with shared C-X services without circuit breaker pattern - potentially could affect IRS resilience when other services becomes non-responsive.
- [TRI-1441] Cascading effects of failure when Digital Twin Registry becomes non-responsive - potentially bulkhead pattern could improve IRS resilience
- [TRI-1477] Retry mechanism used inside IRS could potentially affect IRS resilience - DDOS other services on which IRS is dependent, exhaustion of resources and available threads, etc.
- [TRI-1478] Lack of resources management - thread pooling, heap limitation etc.
- [TRI-1024] IRS does not support scale out on multiple instances

## [3.1.0] - 2023-07-07
### Changed
- Removed catalog cache
- Changed EDC catalog retrieval from pagination to filter
Expand Down Expand Up @@ -266,7 +282,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Unresolved
- **Select Aspects you need** You are able to select the needed aspects for which you want to collect the correct endpoint information.

[Unreleased]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.2.0...HEAD
[Unreleased]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.2.1...HEAD
[3.2.1]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.2.0...3.2.1
[3.2.0]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.1.0...3.2.0
[3.1.0]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.0.1...3.1.0
[3.0.1]: https://github.com/eclipse-tractusx/item-relationship-service/compare/3.0.0...3.0.1
Expand Down
Loading
Loading