Skip to content

Commit 146e183

Browse files
Merge branch 'main' into bug/xxx-fix-testdata
2 parents 48735c1 + 2b6b42a commit 146e183

File tree

144 files changed

+3161
-3127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+3161
-3127
lines changed

.github/workflows/e2e-tests-xray_frontend.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ on:
3333
jobs:
3434
install:
3535
runs-on: ubuntu-latest
36+
outputs:
37+
http_result: ${{ steps.download.outputs.http_response }}
3638
defaults:
3739
run:
3840
working-directory: frontend
@@ -53,6 +55,7 @@ jobs:
5355

5456
# Fetch feature files
5557
- name: Fetch .feature files from Jira Xray
58+
id: download
5659
env:
5760
JIRA_USERNAME: ${{ secrets.ASSOCIATION_TX_JIRA_USERNAME }}
5861
JIRA_PASSWORD: ${{ secrets.ASSOCIATION_TX_JIRA_PASSWORD }}
@@ -86,7 +89,7 @@ jobs:
8689
cypress-run-chrome:
8790
timeout-minutes: 15
8891
runs-on: ubuntu-latest
89-
if: ${{ steps.download.outputs.http_response == '200' }}
92+
if: ${{ needs.install.outputs.http_result == '200' }}
9093
defaults:
9194
run:
9295
working-directory: frontend
@@ -130,14 +133,14 @@ jobs:
130133
131134
132135
- name: Cypress run all tests
133-
uses: cypress-io/[email protected].1 # use the explicit version number
136+
uses: cypress-io/[email protected].2 # use the explicit version number
134137
with:
135138
browser: chrome
136139
working-directory: frontend
137140
# using wait-on parameter causes "Error: connect ECONNREFUSED 127.0.0.1:4200"
138141
env:
139-
CYPRESS_SUPERVISOR_LOGIN: ${{ secrets.ASSOCIATION_SUPERVISOR_CLIENT_ID }}
140-
CYPRESS_SUPERVISOR_PW: ${{ secrets.ASSOCIATION_SUPERVISOR_PASSWORD }}
142+
CYPRESS_SUPERVISOR_LOGIN: ${{ secrets.ASSOCIATION_SUPERVISOR_TX_A_CLIENT_ID }}
143+
CYPRESS_SUPERVISOR_PW: ${{ secrets.ASSOCIATION_SUPERVISOR_TX_A_PASSWORD }}
141144
CYPRESS_ADMIN_LOGIN: ${{ secrets.TRACE_X_ADMIN_LOGIN }}
142145
CYPRESS_ADMIN_PW: ${{ secrets.TRACE_X_ADMIN_PW }}
143146
CYPRESS_USER_LOGIN: ${{ secrets.TRACE_X_USER_LOGIN }}

.github/workflows/xray-cucumber-association.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
env:
4848
JIRA_USERNAME: ${{ secrets.ASSOCIATION_TX_JIRA_USERNAME }}
4949
JIRA_PASSWORD: ${{ secrets.ASSOCIATION_TX_JIRA_PASSWORD }}
50+
working-directory: tx-cucumber-tests
5051
# JIRA filter 11349: project = "[TR] FOSS - Open Source (Impl.)" AND issuetype = Test AND "Test Type" = Cucumber AND status = Ready AND labels = INTEGRATION_TEST AND (environment ~ DEV OR environment ~ "INT")
5152
# Downloads all feature files of cucumber tests inside TRI project
5253
run: |
@@ -66,19 +67,20 @@ jobs:
6667
# Required step due to fact that jira will name feature files differently with each feature added and that will cause duplicate test runs
6768
- name: Cleanup repository feature files
6869
if: ${{ steps.download.outputs.http_response == '200' }}
69-
#working-directory: tx-cucumber-tests
70+
working-directory: tx-cucumber-tests
7071
run: |
71-
rm -r tx-cucumber-tests/src/test/resources/features/*
72+
rm -r src/test/resources/features/*
7273
7374
- name: Build with Maven
7475
if: ${{ steps.download.outputs.http_response == '200' }}
7576
env:
76-
KEYCLOAK_HOST: ${{ secrets.ASSOCIATION_KEYCLOAK_HOST }}
77-
SUPERVISOR_CLIENT_ID: ${{ secrets.ASSOCIATION_SUPERVISOR_CLIENT_ID }}
78-
SUPERVISOR_PASSWORD: ${{ secrets.ASSOCIATION_SUPERVISOR_PASSWORD }}
79-
E2E_TXA_HOST: ${{ secrets.ASSOCIATION_E2E_TXA_HOST }}
80-
E2E_TXB_HOST: ${{ secrets.ASSOCIATION_E2E_TXB_HOST }}
81-
#working-directory: tx-cucumber-tests
77+
ASSOCIATION_KEYCLOAK_HOST: ${{ secrets.ASSOCIATION_KEYCLOAK_HOST }}
78+
ASSOCIATION_SUPERVISOR_TX_A_CLIENT_ID: ${{ secrets.ASSOCIATION_SUPERVISOR_TX_A_CLIENT_ID }}
79+
ASSOCIATION_SUPERVISOR_TX_A_PASSWORD: ${{ secrets.ASSOCIATION_SUPERVISOR_TX_A_PASSWORD }}
80+
ASSOCIATION_SUPERVISOR_TX_B_CLIENT_ID: ${{ secrets.ASSOCIATION_SUPERVISOR_TX_B_CLIENT_ID }}
81+
ASSOCIATION_SUPERVISOR_TX_B_PASSWORD: ${{ secrets.ASSOCIATION_SUPERVISOR_TX_B_PASSWORD }}
82+
ASSOCIATION_E2E_TXA_HOST: ${{ secrets.ASSOCIATION_E2E_TXA_HOST }}
83+
ASSOCIATION_E2E_TXB_HOST: ${{ secrets.ASSOCIATION_E2E_TXB_HOST }}
8284
run: |
8385
unzip -o tx-cucumber-tests/features.zip -d tx-cucumber-tests/src/test/resources/features
8486
mvn -pl tx-models,tx-cucumber-tests --batch-mode clean install -D"cucumber.filter.tags"="@trace-x-automated" -P association

CHANGELOG.md

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,47 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
_**For better traceability add the corresponding GitHub issue number in each changelog entry, please.**_
99
## [UNRELEASED - DD.MM.YYYY]
10+
11+
### Added
12+
- #908 Add owner field to affected parts view in notification details
13+
1014
### Changed
11-
- #XXX Updated node:alpine 18 to 20 to fix cves
15+
- #1252 adapt IRS example response for integration tests to reflect current state
16+
- #1122 Fixed editing notification sendTo attribute
17+
- #1328 Fixed semanticDataModel translation and part name within notification detail / edit view.
18+
- #908 Renamed header in notification detail for parts from Supplier Parts to Affected parts
19+
- #1151 Display of null values within contracts in datepicker to be empty if null
20+
- #1318 fix testdata v14 where parts had the wrong bpn
21+
22+
### Removed
23+
- #1227 Removed scrollbar on approval dialog
24+
25+
## [13.0.1 - 26.07.2024]
26+
27+
### Added
28+
- #511 Added installation guide for local frontend with umbrella chart
29+
- #XXXX added tests for notification-detail.facade.ts
30+
31+
### Changed
32+
- #1318 fix dashboard count for other parts
1233
- #1070 Convert png to svg according to TRG 1.04 - Diagrams as code / Editable static files
13-
- #XXX updated Swagger-ui documentation
14-
- #XXX update IRS chart version from 7.3.1 to 7.4.0
15-
- #XXX updated publish documentation action
1634
- #1222 Removed image publishing to GHCR
1735
- #1222 Adjust backend baseimage in Dockerfile to major version eclipse-temurin:21-jre-alpine
18-
- #XXX update springboot to 3.2.8 from 3.2.5
19-
- #XXX define uid and gid of backend Dockerfile directly in user, instead of variables
2036
- #1244 upgraded registry from 0.4.1 to 0.5.0
2137
- #XXX update e2e-tests-xray_frontend.yml to support association int environment
22-
- #1318 fix testdata v14 where parts had the wrong bpn
38+
- #XXX Updated node:alpine 18 to 20 to fix cves
39+
- #XXX update springboot to 3.2.8 from 3.2.5
40+
- #XXX define uid and gid of backend Dockerfile directly in user, instead of variables
41+
- #XXX updated Swagger-ui documentation
42+
- #XXX update IRS chart version from 7.3.1 to 7.4.0
43+
- #XXX updated publish documentation action
2344

24-
### Added
25-
- #511 Added installation guide for local frontend with umbrella chart
45+
### Known knowns
46+
- #786 Implemented short term solution for securing EDC Callback APIs
47+
- #1122 Editing notifications changes createdBy BPN
48+
- #1310 Part tree fullscreen error message
49+
- #1308 Part name in notification always undefined
50+
- #1307 First message different for sender and receiver
2651

2752
## [13.0.0 - 19.07.2024]
2853

COMPATIBILITY_MATRIX.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Compatibility matrix Trace-X
22

3-
## Trace-X UNRELEASED [x.x.x](https://github.com/eclipse-tractusx/traceability-foss/releases/tag/x.x.x) - 2024-xx-xx
3+
## Trace-X UNRELEASED [13.0.1](https://github.com/eclipse-tractusx/traceability-foss/releases/tag/13.0.1) - 2024-07-26
44

55
### Catena-X Release?
66

7-
- [?] yes
7+
- [x] yes
88
- [ ] no
99

10-
### Helm Version [x.x.x](https://github.com/eclipse-tractusx/traceability-foss/releases/tag/helm-charts-x.x.x)
10+
### Helm Version [1.3.43](https://github.com/eclipse-tractusx/traceability-foss/releases/tag/helm-charts-1.3.43)
1111

1212
| Dependency | Name of Service | Version | Helm | Comments |
1313
|------------------|------------------------------|----------------------|----------|-----------------------------------------------------|

DEPENDENCIES_BACKEND

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ maven/mavencentral/com.jayway.jsonpath/json-path/2.9.0, Apache-2.0, approved, cl
5050
maven/mavencentral/com.nimbusds/content-type/2.2, Apache-2.0, approved, clearlydefined
5151
maven/mavencentral/com.nimbusds/lang-tag/1.7, Apache-2.0, approved, clearlydefined
5252
maven/mavencentral/com.nimbusds/nimbus-jose-jwt/9.37.3, Apache-2.0, approved, #11701
53+
maven/mavencentral/com.nimbusds/nimbus-jose-jwt/9.40, Apache-2.0, approved, #15156
5354
maven/mavencentral/com.nimbusds/oauth2-oidc-sdk/9.43.4, Apache-2.0, approved, clearlydefined
5455
maven/mavencentral/com.squareup.okhttp3/okhttp-dnsoverhttps/4.12.0, Apache-2.0, approved, #11159
5556
maven/mavencentral/com.squareup.okhttp3/okhttp/4.12.0, Apache-2.0, approved, #15227

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![Kics](https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/kics.yml/badge.svg)](https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/kics.yml)
1010
[![Trivy](https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/trivy.yml/badge.svg)](https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/trivy.yml)
1111
[![Eclipse DASH IP Check](https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/eclipse-dash.yml/badge.svg)](https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/eclipse-dash.yml)
12-
[![[BE] Dependency check](https://github.com/catenax-ng/tx-traceability-foss/actions/workflows/dependency-check.yml/badge.svg)](https://github.com/catenax-ng/tx-traceability-foss/actions/workflows/dependency-check.yml)
12+
[![[BE] Dependency check](https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/dependency-check.yml/badge.svg)](https://github.com/eclipse-tractusx/traceability-foss/actions/workflows/dependency-check.yml)
1313

1414
## Trace-X is a system for tracking parts along the supply chain.
1515

charts/traceability-foss/CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ All notable changes to this project will be documented in this file.
55
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).
66
## Unreleased
77

8+
## [1.3.43] - 2024-07-19
89
### Changed
9-
1010
- #1222 enabled read-only filesystem by default for backend
1111

1212
### Added
13-
1413
- added /tmp volume to backend container
1514

1615
## [1.3.42] - 2024-07-19

dev/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
- Hint you need to copy the access token for argo cd into the specific environment for requests against argo (argocd.token) in insomnia: argo_access_token
88

9-
Here you can find the [Trace-X Insomnia Collection](https://github.com/catenax-ng/tx-traceability-foss/blob/main/tx-backend/collection/tracex.json). Use this [README](https://github.com/catenax-ng/tx-traceability-foss/blob/main/tx-backend/collection/README.md) to find out how to setup Insomnia with the Trace-X Collection.
9+
Here you can find the [Trace-X Insomnia Collection](https://github.com/eclipse-tractusx/traceability-foss/blob/main/tx-backend/collection/tracex.json). Use this [README](https://github.com/eclipse-tractusx/traceability-foss/blob/main/tx-backend/collection/README.md) to find out how to setup Insomnia with the Trace-X Collection.
1010

1111
In the Collection you will find a directory named 'Argo', in which you can delete & sync all necessary application components. Go through every directory inside the 'Argo' directory and execute every request inside the Directory 'DELETE'. To make this step easier, you can install the Insomnia Plugin ['multiple requests'](https://insomnia.rest/plugins/insomnia-plugin-multiple-requests). With this Plugin you can execute all requests inside the 'DELETE' Directory by right-clicking the directory and choosing 'send Requests'.
1212

0 commit comments

Comments
 (0)