Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into feature/#358-update-edc-0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-jhartmann committed Apr 25, 2024
2 parents e077c71 + 4f08dbd commit 3fa5933
Show file tree
Hide file tree
Showing 16 changed files with 913 additions and 679 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/publish-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ jobs:
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2

- name: Build API documentation with Maven
run: |
mvn clean package -pl irs-common,irs-models,irs-policy-store,irs-testing,irs-edc-client,irs-registry-client,irs-api -DskipTests --batch-mode
cp irs-api/target/generated-sources/openapi/index.html docs/src/docs/api-specification/index.html
- name: Build with Maven
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
Expand Down Expand Up @@ -112,10 +107,26 @@ jobs:
run: |
mv docs/src/diagram-replacer/assets/ docs/target/generated-docs/assets/
- name: Generate Swagger UI
uses: Legion2/swagger-ui-action@v1
with:
output: swagger-ui
spec-file: docs/src/api/irs-api.yaml

- name: Update documentation on GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3.9.3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: "./docs/target/generated-docs"
destination_dir: "docs"

- name: Deploy Swagger UI to GitHub Pages
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: "swagger-ui"
destination_dir: "docs/swagger-ui"


173 changes: 87 additions & 86 deletions DEPENDENCIES

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions docs/src/docs/api-specification/api-specification.adoc

This file was deleted.

5 changes: 0 additions & 5 deletions docs/src/docs/api-specification/api.adoc

This file was deleted.

10 changes: 0 additions & 10 deletions docs/src/docs/api-specification/index.html

This file was deleted.

4 changes: 2 additions & 2 deletions docs/src/docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
== Administration Guide
xref:administration/administration-guide.adoc[]

== API-Documentation
xref:api-specification/api-specification.adoc[OpenApi specification]
== Swagger-UI
xref:swagger-ui/index.adoc[Swagger-UI]

== Architecture Documentation (arc42)
- xref:arc42/index.adoc[Single chapters]
Expand Down
13 changes: 13 additions & 0 deletions docs/src/docs/swagger-ui/index.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= Swagger-UI

== NOTICE

This work is licensed under the https://www.apache.org/licenses/LICENSE-2.0[Apache-2.0].

- SPDX-License-Identifier: Apache-2.0
- SPDX-FileCopyrightText: 2021, 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
- SPDX-FileCopyrightText: 2022, 2023 BOSCH AG
- SPDX-FileCopyrightText: 2021, 2022 ZF Friedrichshafen AG
- SPDX-FileCopyrightText: 2022 ISTOS GmbH
- SPDX-FileCopyrightText: 2021, 2023 Contributors to the Eclipse Foundation
- Source URL: https://github.com/eclipse-tractusx/item-relationship-service
Original file line number Diff line number Diff line change
@@ -1,109 +1,109 @@
{
"submodels": [
{
"identification": "urn:uuid:662f3a1b-de56-4cbb-8fb4-51779643126d",
"aspectType": "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": null,
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "pack"
}
],
"productType": "pack"
}
},
{
"identification": "urn:uuid:73068d1b-e846-4a22-a0ae-b6310f5b0a36",
"aspectType": "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": null,
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:b5933d6b-f005-4a9a-996e-a55501b2d651",
"aspectType": "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": null,
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:ab703fb6-7869-439b-aedf-43c3f21f8060",
"aspectType": "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": null,
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:26aa986b-a443-4b8d-aec5-bc0da9757cbe",
"aspectType": "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": null,
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:1753b174-8212-429d-9f37-cfa2e0d6a07c",
"aspectType": "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": null,
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:6e6f7237-982e-4359-accf-e3b9c0fb4f0e",
"aspectType": "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": null,
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
}
]
"submodels": [
{
"identification": "urn:uuid:0f28e9b8-d683-4ac7-ab04-e2da39f6dbf4",
"aspectType": "urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": "NGFkNjljZjctNzRhYy00MzYzLWJkNGUtZjBjYjc5MTFhNDY2:dXJuOnV1aWQ6MTU5MGU0ZDgtNjRiOS00NDUyLThjZGYtZjgyMjFmNGNlNzEz:ZWQwYjA1Y2EtZTdhMS00OWNjLTgwNzgtYWYxYWU2MWMwYjU4",
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "pack"
}
],
"productType": "pack"
}
},
{
"identification": "urn:uuid:207317f6-5689-4957-a8b1-be613cf6e811",
"aspectType": "urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": "ZTY1ZGNhY2MtZGQ1Ny00N2NjLWE0MjItMzU5OTMzZjg0ZWIz:dXJuOnV1aWQ6MDc4YTJiMTctMjJkZS00NTMwLWI2ODktYzYwNzNmZjRkMjA2:MzBkNDllMDgtNzFhNS00Y2E4LTg1OWEtYWIxODkzMGJjN2Qy",
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:bbbb4f96-4ffc-4228-bb8b-6c584c714c13",
"aspectType": "urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": "NTA2OTRiZTktNzZmNS00N2Q4LWI3ZTctNDQ2YjYyNzZkZWE2:dXJuOnV1aWQ6MTkzODIwYTktYTU4NC00NzcxLTlhYjctYmM0ZmY4Mjg2Zjlh:N2I3YWEwYTktYzYyNS00ZjdmLWEzMjMtYmYxYTkxNThlMWUw",
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:6e432adb-10f0-499f-ad08-bbf36c74f9bb",
"aspectType": "urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": "ZTY1ZGNhY2MtZGQ1Ny00N2NjLWE0MjItMzU5OTMzZjg0ZWIz:dXJuOnV1aWQ6MDc4YTJiMTctMjJkZS00NTMwLWI2ODktYzYwNzNmZjRkMjA2:MzBkNDllMDgtNzFhNS00Y2E4LTg1OWEtYWIxODkzMGJjN2Qy",
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:3685db54-9d52-4df2-87a2-05c32edbdc49",
"aspectType": "urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": "ZTY1ZGNhY2MtZGQ1Ny00N2NjLWE0MjItMzU5OTMzZjg0ZWIz:dXJuOnV1aWQ6MDc4YTJiMTctMjJkZS00NTMwLWI2ODktYzYwNzNmZjRkMjA2:MzBkNDllMDgtNzFhNS00Y2E4LTg1OWEtYWIxODkzMGJjN2Qy",
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:86fee0d5-130c-43cc-b476-4fcce3f9a1c5",
"aspectType": "urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": "ZTY1ZGNhY2MtZGQ1Ny00N2NjLWE0MjItMzU5OTMzZjg0ZWIz:dXJuOnV1aWQ6MDc4YTJiMTctMjJkZS00NTMwLWI2ODktYzYwNzNmZjRkMjA2:MzBkNDllMDgtNzFhNS00Y2E4LTg1OWEtYWIxODkzMGJjN2Qy",
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
},
{
"identification": "urn:uuid:5156fe68-a54b-45e6-8c82-0c4fd488be8c",
"aspectType": "urn:samm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode",
"contractAgreementId": "NGFkNjljZjctNzRhYy00MzYzLWJkNGUtZjBjYjc5MTFhNDY2:dXJuOnV1aWQ6MTU5MGU0ZDgtNjRiOS00NDUyLThjZGYtZjgyMjFmNGNlNzEz:ZWQwYjA1Y2EtZTdhMS00OWNjLTgwNzgtYWYxYWU2MWMwYjU4",
"payload": {
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"subcomponents": [
{
"tractionBatteryCode": "X12MCPM27KLPCLX2M2382320",
"productType": "module"
}
],
"productType": "module"
}
}
]
}
Loading

0 comments on commit 3fa5933

Please sign in to comment.