diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index 599bf66f90..38f9a43f32 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -76,7 +76,7 @@ jobs: with: image-ref: 'localhost:5000/traceability-foss:fe_${{ github.sha }}' format: "sarif" - exit-code: "1" + limit-severities-for-sarif: true output: 'trivy-results.sarif' severity: 'CRITICAL,HIGH' @@ -134,7 +134,6 @@ jobs: uses: aquasecurity/trivy-action@0.12.0 with: scan-type: "config" - exit-code: "1" hide-progress: false format: "sarif" output: "trivy-results1.sarif" @@ -182,6 +181,7 @@ jobs: image-ref: localhost:5000/traceability-foss:trivy trivyignores: "./.github/workflows/.trivyignore" format: "sarif" + limit-severities-for-sarif: true output: "trivy-results2.sarif" severity: "CRITICAL,HIGH" timeout: "10m0s" diff --git a/CHANGELOG.md b/CHANGELOG.md index 23eb1a5106..63a720f3fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,11 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ### Added - Added Table columns settings in part tables to show/hide/reorder table columns - new endpoints supporting filtering feature for investigations and alers api/investigations api/alerts +- Added support for aspectmodel traction battery code - Added missing translations - support for date ranges BEFORE_LOCAL_DATE and AFTER_LOCAL_DATE providing both will cause filter result to return only relevant date ranges - added supported searchCriteriaFieldsMappers for investigations, alerts, assetsAsBuilt and assetAsPlanned related endpoints +- added cache busting to build output of FE application ### Changed - Updated user manual to reflect the table column settings feature @@ -20,10 +22,15 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - Changed Filter to support Logical operator (AND,OR) on searchCriteria - Adapt frontend to use the changed filter logic with the correct operator per use case - Reworked business logic of /registry/reload to always sync all assets +- Only include configured severities into report +- Shedlock version from 5.7.0 to 5.9.1 +- Swagger Annotation Version from 1.6.11 to 1.6.12 +- Testcontainer Postgresql Version from 1.19.0 to 1.19.1 - Bump @babel/traverse from 7.20.13 to 7.23.2 in frontend - distinctFilterValues endpoints now support startWith parameter that will cause result to contain only suggestions starting with given string - changed qualityNotification filtering changed from side to channel as response field name - changed assetAsBuilt filtering manufacturerId to businessPartner +- IRS-Client-Lib from 1.2.1-SNAPSHOT to 1.4.0 ### Removed - Removed &filterOperator=AND from filtering requests diff --git a/DEPENDENCIES_BACKEND b/DEPENDENCIES_BACKEND index 9e027a3add..faaac7ad8d 100644 --- a/DEPENDENCIES_BACKEND +++ b/DEPENDENCIES_BACKEND @@ -33,18 +33,22 @@ maven/mavencentral/com.nimbusds/oauth2-oidc-sdk/9.43.3, Apache-2.0, approved, cl maven/mavencentral/com.squareup.okhttp3/okhttp-dnsoverhttps/4.10.0, Apache-2.0, approved, clearlydefined maven/mavencentral/com.squareup.okhttp3/okhttp-dnsoverhttps/4.11.0, Apache-2.0, approved, clearlydefined maven/mavencentral/com.squareup.okhttp3/okhttp/4.10.0, Apache-2.0 AND MPL-2.0, approved, #3057 -maven/mavencentral/com.squareup.okio/okio-jvm/3.0.0, Apache-2.0, approved, clearlydefined +maven/mavencentral/com.squareup.okio/okio-jvm/3.5.0, Apache-2.0, approved, #9851 maven/mavencentral/com.sun.istack/istack-commons-runtime/4.1.1, BSD-3-Clause, approved, #2590 maven/mavencentral/com.sun.istack/istack-commons-runtime/4.1.2, BSD-3-Clause, approved, #2590 maven/mavencentral/com.tngtech.archunit/archunit/1.1.0, Apache-2.0, approved, #11048 maven/mavencentral/com.vaadin.external.google/android-json/0.0.20131108.vaadin1, Apache-2.0, approved, CQ21310 maven/mavencentral/com.xebialabs.restito/restito/1.1.0, MIT, approved, clearlydefined maven/mavencentral/com.zaxxer/HikariCP/5.0.1, Apache-2.0, approved, clearlydefined +maven/mavencentral/commons-beanutils/commons-beanutils/1.9.4, Apache-2.0, approved, CQ12654 maven/mavencentral/commons-codec/commons-codec/1.11, Apache-2.0 AND BSD-3-Clause, approved, CQ15971 maven/mavencentral/commons-codec/commons-codec/1.15, Apache-2.0 AND BSD-3-Clause AND LicenseRef-Public-Domain, approved, CQ22641 +maven/mavencentral/commons-collections/commons-collections/3.2.2, Apache-2.0, approved, CQ10385 +maven/mavencentral/commons-digester/commons-digester/2.1, Apache-2.0, approved, clearlydefined maven/mavencentral/commons-fileupload/commons-fileupload/1.5, Apache-2.0, approved, #7109 maven/mavencentral/commons-io/commons-io/2.13.0, Apache-2.0, approved, #8717 maven/mavencentral/commons-logging/commons-logging/1.2, Apache-2.0, approved, CQ10162 +maven/mavencentral/commons-validator/commons-validator/1.7, Apache-2.0, approved, clearlydefined maven/mavencentral/dev.failsafe/failsafe-okhttp/3.3.2, Apache-2.0, approved, #9178 maven/mavencentral/dev.failsafe/failsafe/3.3.2, Apache-2.0, approved, #9268 maven/mavencentral/io.cucumber/ci-environment/9.2.0, MIT, approved, clearlydefined @@ -70,30 +74,19 @@ maven/mavencentral/io.github.openfeign/feign-jackson/12.3, Apache-2.0, approved, maven/mavencentral/io.github.openfeign/feign-okhttp/12.3, Apache-2.0, approved, clearlydefined maven/mavencentral/io.github.openfeign/feign-slf4j/12.4, Apache-2.0, approved, clearlydefined maven/mavencentral/io.github.resilience4j/resilience4j-annotations/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-annotations/2.1.0, Apache-2.0, approved, #10171 maven/mavencentral/io.github.resilience4j/resilience4j-bulkhead/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-bulkhead/2.1.0, Apache-2.0, approved, #10172 maven/mavencentral/io.github.resilience4j/resilience4j-circuitbreaker/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-circuitbreaker/2.1.0, Apache-2.0, approved, #10170 maven/mavencentral/io.github.resilience4j/resilience4j-circularbuffer/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-circularbuffer/2.1.0, Apache-2.0, approved, clearlydefined maven/mavencentral/io.github.resilience4j/resilience4j-consumer/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-consumer/2.1.0, Apache-2.0, approved, #10165 maven/mavencentral/io.github.resilience4j/resilience4j-core/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-core/2.1.0, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-feign/2.1.0, Apache-2.0, approved, clearlydefined +maven/mavencentral/io.github.resilience4j/resilience4j-feign/2.0.2, Apache-2.0, approved, clearlydefined maven/mavencentral/io.github.resilience4j/resilience4j-framework-common/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-framework-common/2.1.0, Apache-2.0, approved, clearlydefined maven/mavencentral/io.github.resilience4j/resilience4j-micrometer/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-micrometer/2.1.0, Apache-2.0, approved, #10916 maven/mavencentral/io.github.resilience4j/resilience4j-ratelimiter/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-ratelimiter/2.1.0, Apache-2.0, approved, #10168 -maven/mavencentral/io.github.resilience4j/resilience4j-retry/2.1.0, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-spring-boot2/2.1.0, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-spring/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-spring/2.1.0, Apache-2.0, approved, #10169 +maven/mavencentral/io.github.resilience4j/resilience4j-retry/2.0.2, Apache-2.0, approved, clearlydefined +maven/mavencentral/io.github.resilience4j/resilience4j-spring-boot3/2.0.2, Apache-2.0, approved, #7276 +maven/mavencentral/io.github.resilience4j/resilience4j-spring6/2.0.2, Apache-2.0, approved, #7277 maven/mavencentral/io.github.resilience4j/resilience4j-timelimiter/2.0.2, Apache-2.0, approved, clearlydefined -maven/mavencentral/io.github.resilience4j/resilience4j-timelimiter/2.1.0, Apache-2.0, approved, #10166 maven/mavencentral/io.micrometer/micrometer-commons/1.11.3, Apache-2.0 AND (Apache-2.0 AND MIT), approved, #9243 maven/mavencentral/io.micrometer/micrometer-core/1.11.3, Apache-2.0 AND (Apache-2.0 AND MIT), approved, #9238 maven/mavencentral/io.micrometer/micrometer-observation/1.11.3, Apache-2.0, approved, #9242 @@ -110,10 +103,10 @@ maven/mavencentral/io.rest-assured/xml-path/5.3.1, Apache-2.0, approved, #9267 maven/mavencentral/io.rest-assured/xml-path/5.3.2, Apache-2.0, approved, #9267 maven/mavencentral/io.smallrye/jandex/3.0.5, Apache-2.0, approved, clearlydefined maven/mavencentral/io.swagger.core.v3/swagger-annotations-jakarta/2.2.8, Apache-2.0, approved, #5947 +maven/mavencentral/io.swagger.core.v3/swagger-annotations/2.2.16, Apache-2.0, approved, clearlydefined maven/mavencentral/io.swagger.core.v3/swagger-core-jakarta/2.2.8, Apache-2.0, approved, #5929 maven/mavencentral/io.swagger.core.v3/swagger-models-jakarta/2.2.8, Apache-2.0, approved, #5919 -maven/mavencentral/io.swagger/swagger-annotations/1.6.10, Apache-2.0, approved, #3792 -maven/mavencentral/io.swagger/swagger-annotations/1.6.11, Apache-2.0, approved, #3792 +maven/mavencentral/io.swagger/swagger-annotations/1.6.12, Apache-2.0, approved, #3792 maven/mavencentral/jakarta.activation/jakarta.activation-api/2.1.0, EPL-2.0 OR BSD-3-Clause OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jaf maven/mavencentral/jakarta.activation/jakarta.activation-api/2.1.2, EPL-2.0 OR BSD-3-Clause OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jaf maven/mavencentral/jakarta.annotation/jakarta.annotation-api/2.1.1, EPL-2.0 OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.ca @@ -133,9 +126,9 @@ maven/mavencentral/net.java.dev.jna/jna/5.12.1, Apache-2.0 OR LGPL-2.1-or-later, maven/mavencentral/net.javacrumbs.json-unit/json-unit-assertj/2.38.0, Apache-2.0, approved, clearlydefined maven/mavencentral/net.javacrumbs.json-unit/json-unit-core/2.38.0, Apache-2.0, approved, clearlydefined maven/mavencentral/net.javacrumbs.json-unit/json-unit-json-path/2.38.0, Apache-2.0, approved, #11049 -maven/mavencentral/net.javacrumbs.shedlock/shedlock-core/5.7.0, Apache-2.0, approved, #10582 -maven/mavencentral/net.javacrumbs.shedlock/shedlock-provider-jdbc-template/5.7.0, Apache-2.0, approved, #10584 -maven/mavencentral/net.javacrumbs.shedlock/shedlock-spring/5.7.0, Apache-2.0, approved, #10583 +maven/mavencentral/net.javacrumbs.shedlock/shedlock-core/5.9.1, Apache-2.0, approved, #11246 +maven/mavencentral/net.javacrumbs.shedlock/shedlock-provider-jdbc-template/5.9.1, Apache-2.0, approved, #11245 +maven/mavencentral/net.javacrumbs.shedlock/shedlock-spring/5.9.1, Apache-2.0, approved, #11247 maven/mavencentral/net.minidev/accessors-smart/2.4.11, Apache-2.0, approved, #7515 maven/mavencentral/net.minidev/accessors-smart/2.4.9, Apache-2.0, approved, #7515 maven/mavencentral/net.minidev/json-smart/2.4.10, Apache-2.0, approved, #3288 @@ -172,7 +165,7 @@ maven/mavencentral/org.bitbucket.b_c/jose4j/0.9.3, Apache-2.0, approved, #4707 maven/mavencentral/org.bouncycastle/bcpkix-jdk15on/1.69, MIT, approved, clearlydefined maven/mavencentral/org.bouncycastle/bcpkix-jdk18on/1.75, MIT, approved, #9166 maven/mavencentral/org.bouncycastle/bcprov-jdk15on/1.69, MIT, approved, clearlydefined -maven/mavencentral/org.bouncycastle/bcprov-jdk18on/1.75, MIT AND CC0-1.0, approved, #9167 +maven/mavencentral/org.bouncycastle/bcprov-jdk18on/1.76, MIT AND CC0-1.0, approved, #9827 maven/mavencentral/org.bouncycastle/bcutil-jdk15on/1.69, MIT, approved, clearlydefined maven/mavencentral/org.bouncycastle/bcutil-jdk18on/1.75, MIT, approved, #9170 maven/mavencentral/org.ccil.cowan.tagsoup/tagsoup/1.2.1, Apache-2.0, approved, clearlydefined @@ -228,28 +221,47 @@ maven/mavencentral/org.eclipse.edc/web-spi/0.1.3, Apache-2.0, approved, technolo maven/mavencentral/org.eclipse.jetty.toolchain/jetty-jakarta-servlet-api/5.0.2, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty.toolchain/jetty-jakarta-websocket-api/2.0.0, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty.websocket/websocket-core-client/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty.websocket/websocket-core-client/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty.websocket/websocket-core-common/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty.websocket/websocket-core-common/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty.websocket/websocket-core-server/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty.websocket/websocket-core-server/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty.websocket/websocket-jakarta-client/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty.websocket/websocket-jakarta-client/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty.websocket/websocket-jakarta-common/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty.websocket/websocket-jakarta-common/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty.websocket/websocket-jakarta-server/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty.websocket/websocket-jakarta-server/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty.websocket/websocket-servlet/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty.websocket/websocket-servlet/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-alpn-client/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-alpn-client/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-annotations/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-annotations/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-client/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-client/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-http/11.0.17, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-io/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-io/11.0.17, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-jndi/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-jndi/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-plus/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-plus/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-security/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-security/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-server/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-server/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-servlet/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-servlet/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-util/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-util/11.0.17, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-webapp/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.jetty/jetty-webapp/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty maven/mavencentral/org.eclipse.jetty/jetty-xml/11.0.15, EPL-2.0 OR Apache-2.0, approved, rt.jetty -maven/mavencentral/org.eclipse.tractusx.irs/irs-registry-client/1.2.1-20231005.130041-12, Apache-2.0, approved, automotive.tractusx +maven/mavencentral/org.eclipse.jetty/jetty-xml/11.0.16, EPL-2.0 OR Apache-2.0, approved, rt.jetty +maven/mavencentral/org.eclipse.tractusx.irs/irs-edc-client/1.4.0, Apache-2.0, approved, automotive.tractusx +maven/mavencentral/org.eclipse.tractusx.irs/irs-models/1.4.0, Apache-2.0, approved, automotive.tractusx +maven/mavencentral/org.eclipse.tractusx.irs/irs-registry-client/1.4.0, Apache-2.0, approved, automotive.tractusx maven/mavencentral/org.eclipse.tractusx.traceability/tx-backend/0.0.1-SNAPSHOT, Apache-2.0, approved, automotive.tractusx maven/mavencentral/org.eclipse.tractusx.traceability/tx-models/0.0.1-SNAPSHOT, Apache-2.0, approved, automotive.tractusx maven/mavencentral/org.flywaydb/flyway-core/9.16.3, Apache-2.0, approved, #7935 @@ -297,8 +309,8 @@ maven/mavencentral/org.javassist/javassist/3.29.0-GA, Apache-2.0 AND LGPL-2.1-or maven/mavencentral/org.javassist/javassist/3.29.2-GA, Apache-2.0 AND LGPL-2.1-or-later AND MPL-1.1, approved, #6023 maven/mavencentral/org.jboss.logging/jboss-logging/3.5.0.Final, Apache-2.0, approved, #9471 maven/mavencentral/org.jboss.logging/jboss-logging/3.5.3.Final, Apache-2.0, approved, #9471 -maven/mavencentral/org.jetbrains.kotlin/kotlin-stdlib-common/1.5.31, Apache-2.0, approved, clearlydefined maven/mavencentral/org.jetbrains.kotlin/kotlin-stdlib-common/1.8.22, Apache-2.0, approved, #8910 +maven/mavencentral/org.jetbrains.kotlin/kotlin-stdlib-common/1.9.0, Apache-2.0, approved, clearlydefined maven/mavencentral/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.6.10, Apache-2.0, approved, clearlydefined maven/mavencentral/org.jetbrains.kotlin/kotlin-stdlib-jdk7/1.8.22, Apache-2.0, approved, #8807 maven/mavencentral/org.jetbrains.kotlin/kotlin-stdlib-jdk8/1.6.10, Apache-2.0, approved, clearlydefined @@ -387,6 +399,7 @@ maven/mavencentral/org.springframework/spring-expression/6.0.12, Apache-2.0, app maven/mavencentral/org.springframework/spring-jcl/6.0.11, Apache-2.0, approved, #3283 maven/mavencentral/org.springframework/spring-jcl/6.0.12, Apache-2.0, approved, #3283 maven/mavencentral/org.springframework/spring-jdbc/6.0.11, Apache-2.0, approved, #5924 +maven/mavencentral/org.springframework/spring-jdbc/6.0.13, Apache-2.0, approved, #5924 maven/mavencentral/org.springframework/spring-orm/6.0.11, Apache-2.0, approved, #5925 maven/mavencentral/org.springframework/spring-test/6.0.11, Apache-2.0, approved, #7003 maven/mavencentral/org.springframework/spring-tx/6.0.11, Apache-2.0, approved, #5926 @@ -394,8 +407,8 @@ maven/mavencentral/org.springframework/spring-web/6.0.11, Apache-2.0, approved, maven/mavencentral/org.springframework/spring-webmvc/6.0.11, Apache-2.0, approved, #5944 maven/mavencentral/org.testcontainers/database-commons/1.18.3, MIT, approved, clearlydefined maven/mavencentral/org.testcontainers/jdbc/1.18.3, MIT, approved, clearlydefined -maven/mavencentral/org.testcontainers/junit-jupiter/1.19.0, MIT, approved, #10344 -maven/mavencentral/org.testcontainers/postgresql/1.19.0, MIT, approved, #10350 +maven/mavencentral/org.testcontainers/junit-jupiter/1.19.1, MIT, approved, #10344 +maven/mavencentral/org.testcontainers/postgresql/1.19.1, MIT, approved, #10350 maven/mavencentral/org.testcontainers/testcontainers/1.18.3, MIT, approved, #7938 maven/mavencentral/org.thymeleaf/thymeleaf-spring6/3.1.2.RELEASE, Apache-2.0, approved, #10581 maven/mavencentral/org.thymeleaf/thymeleaf/3.1.2.RELEASE, Apache-2.0, approved, CQ23960 diff --git a/dev/README.md b/dev/README.md index 77f94dd419..e70b6e6f20 100644 --- a/dev/README.md +++ b/dev/README.md @@ -32,49 +32,49 @@ Keep in mind to always update DEV and TEST since they are dependend on each othe Sample invocation (DEV) ``` -python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.11.json -s https://traceability.dev.demo.catena-x.net/api/submodel -edc https://trace-x-edc.dev.demo.catena-x.net -a https://trace-x-registry.dev.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-dataplane.dev.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC +python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.12.json -s https://traceability.dev.demo.catena-x.net/api/submodel -edc https://trace-x-edc.dev.demo.catena-x.net -a https://trace-x-registry.dev.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-dataplane.dev.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC ``` Sample invocation (TEST) ``` -python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.11.json -s https://traceability-test.dev.demo.catena-x.net/api/submodel -edc https://trace-x-test-edc.dev.demo.catena-x.net -a https://trace-x-registry-test.dev.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-test-edc-dataplane.dev.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC +python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.12.json -s https://traceability-test.dev.demo.catena-x.net/api/submodel -edc https://trace-x-test-edc.dev.demo.catena-x.net -a https://trace-x-registry-test.dev.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-test-edc-dataplane.dev.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC ``` Sample invocation (E2E A) ``` -python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.11.json -s https://traceability-e2e-a.dev.demo.catena-x.net/api/submodel -edc https://trace-x-edc-e2e-a.dev.demo.catena-x.net -a https://trace-x-registry-e2e-a.dev.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-e2e-a-dataplane.dev.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC +python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.12.json -s https://traceability-e2e-a.dev.demo.catena-x.net/api/submodel -edc https://trace-x-edc-e2e-a.dev.demo.catena-x.net -a https://trace-x-registry-e2e-a.dev.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-e2e-a-dataplane.dev.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC ``` Sample invocation (E2E B) ``` -python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.11.json -s https://traceability-e2e-b.dev.demo.catena-x.net/api/submodel -edc https://trace-x-edc-e2e-b.dev.demo.catena-x.net -a https://trace-x-registry-e2e-b.dev.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-e2e-b-dataplane.dev.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC +python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.12.json -s https://traceability-e2e-b.dev.demo.catena-x.net/api/submodel -edc https://trace-x-edc-e2e-b.dev.demo.catena-x.net -a https://trace-x-registry-e2e-b.dev.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-e2e-b-dataplane.dev.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC ``` Sample invocation (INT A) ``` -python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.11.json -s https://traceability-int-a.int.demo.catena-x.net/api/submodel -edc https://trace-x-edc-int-a.int.demo.catena-x.net -a https://trace-x-registry-int-a.int.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-int-a-dataplane.int.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC BPNL00000003AZQP BPNL00000003CSGV +python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.12.json -s https://traceability-int-a.int.demo.catena-x.net/api/submodel -edc https://trace-x-edc-int-a.int.demo.catena-x.net -a https://trace-x-registry-int-a.int.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-int-a-dataplane.int.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC BPNL00000003AZQP BPNL00000003CSGV ``` Sample invocation (INT B) ``` -python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.11.json -s https://traceability-int-b.int.demo.catena-x.net/api/submodel -edc https://trace-x-edc-int-b.int.demo.catena-x.net -a https://trace-x-registry-int-b.int.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-int-b-dataplane.int.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC BPNL00000003AZQP BPNL00000003CSGV +python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.12.json -s https://traceability-int-b.int.demo.catena-x.net/api/submodel -edc https://trace-x-edc-int-b.int.demo.catena-x.net -a https://trace-x-registry-int-b.int.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-int-b-dataplane.int.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC BPNL00000003AZQP BPNL00000003CSGV ``` Sample invocation (STABLE A) ``` -python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.11.json -s https://traceability-stable-a.stable.demo.catena-x.net/api/submodel -edc https://trace-x-edc-stable-a.stable.demo.catena-x.net -a https://tx-registry-stable-a.stable.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-int-a-dataplane.int.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC BPNL00000003AZQP BPNL00000003CSGV +python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.12.json -s https://traceability-stable-a.stable.demo.catena-x.net/api/submodel -edc https://trace-x-edc-stable-a.stable.demo.catena-x.net -a https://tx-registry-stable-a.stable.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-int-a-dataplane.int.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC BPNL00000003AZQP BPNL00000003CSGV ``` Sample invocation (STABLE B) ``` -python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.11.json -s https://traceability-stable-b.stable.demo.catena-x.net/api/submodel -edc https://trace-x-edc-stable-b.stable.demo.catena-x.net -a https://tx-registry-stable-b.stable.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-int-b-dataplane.int.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC BPNL00000003AZQP BPNL00000003CSGV +python transform-and-upload.py -f CX_Testdata_MessagingTest_v0.0.12.json -s https://traceability-stable-b.stable.demo.catena-x.net/api/submodel -edc https://trace-x-edc-stable-b.stable.demo.catena-x.net -a https://tx-registry-stable-b.stable.demo.catena-x.net/semantics/registry/api/v3.0 -d https://trace-x-edc-int-b-dataplane.int.demo.catena-x.net -p id-3.0-trace -k --aas3 --allowedBPNs BPNL00000003CML1 BPNL00000003CNKC BPNL00000003AZQP BPNL00000003CSGV ``` where: diff --git a/docs/src/docs/user/user-manual.adoc b/docs/src/docs/user/user-manual.adoc index 6563af1d91..ca8b14d726 100644 --- a/docs/src/docs/user/user-manual.adoc +++ b/docs/src/docs/user/user-manual.adoc @@ -17,42 +17,70 @@ This work is licensed under the [Apache-2.0](https://www.apache.org/licenses/LIC == General information Accessing the application is done by the URL provided by the hosting company. -You can have three roles for the users: +A list of user or technical roles can be found below: -* User -* Supervisor -* Admin +=== Trace-X app roles + +Available roles: https://portal.int.demo.catena-x.net/appusermanagement/3bbc88ae-5f0d-45cb-ab3e-8c7602ff58b4 + +image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/usermanual/app_roles.png[] + +Assignment of roles: https://portal.int.demo.catena-x.net/documentation/?path=docs%2F03.+User+Management%2F02.+Modify+User+Account%2F03.+User+Permissions.md + +image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/usermanual/assign_app_roles.png[] + +=== Catena-X portal roles + +Role details: https://portal.int.demo.catena-x.net/role-details + +image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/usermanual/cx_portal_roles.png[] + +User accounts: https://portal.int.demo.catena-x.net/documentation/?path=docs%2F03.+User+Management%2F01.+User+Account + +=== Technical users + +Documentation: https://portal.int.demo.catena-x.net/documentation/?path=docs%2F03.+User+Management%2F01.+User+Account To login use the credentials provided by the hosting company. == Navigation + Navigation is done based on the top menu. image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/navigation-overview-r3-1.png[] === Dashboard + Provides a fast overview about the amount of manufactured and supplied / customer (other) parts and batches, as well as the amount of open investigations and alerts. Lists the five newest quality investigations and alerts to get an overview of the current state. === Parts + Navigates to the own manufactured parts and batches list view. === Other parts + Navigates to the supplier and customer parts and batches list view. === Quality investigation + Navigates to the inbox and outgoing investigations. === Quality alert + Navigates to the inbox and outgoing alerts. === Administration -Only applicable for the admin user role. Possibility to check the network status based on logfiles and will provide access to configuration possibilities for the application. + +Only applicable for the admin user role. +Possibility to check the network status based on logfiles and will provide access to configuration possibilities for the application. === Logout + Use the Icon in upper right corner to open User details and sign out button. === Language + image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/language-icon.png[] Change language. + Supported languages: @@ -60,8 +88,10 @@ Supported languages: * German == Parts + List view of the own manufactured (asBuilt) or planned (asPlanned) parts and batches. -By default, both tables are displayed. You can adjust the View of tables by activating/deactivating the tables. +By default, both tables are displayed. +You can adjust the View of tables by activating/deactivating the tables. image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/parts-list-view.png[] @@ -76,59 +106,82 @@ Both tables can be sorted, filtered and searched. The global search bar at the top returns part results from both Tables. === AsBuilt Lifecycle Parts + List view of own Parts with AsBuilt Lifecycle. -Gives detailed information on the assets registered in the Digital Twin Registry of Catena-X for the company. This includes data based on the aspect models of Use Case Traceability: Asbuilt, SerialPart, Batch. +Gives detailed information on the assets registered in the Digital Twin Registry of Catena-X for the company. +This includes data based on the aspect models of Use Case Traceability: Asbuilt, SerialPart, Batch. Parts that are in a quality alert are highlighted yellow. === AsPlanned Lifecycle Parts + List view of own Parts with AsPlanned Lifecycle. -Gives detailed information on the assets registered in the Digital Twin Registry of Catena-X for the company. This includes data based on the aspect models of Use Case Traceability: AsPlanned, SerialPart, Batch. +Gives detailed information on the assets registered in the Digital Twin Registry of Catena-X for the company. +This includes data based on the aspect models of Use Case Traceability: AsPlanned, SerialPart, Batch. Parts that are in a quality alert are highlighted yellow. === Parts selection -> Create Quality alert -Select one or multiple child components/parts/batches that are build into your part. Selection will enable you to create a quality alert (notification) to your customers. The quality alert will be added to a queue (queued & requested inbox) and not directly sent to the customers. + +Select one or multiple child components/parts/batches that are build into your part. +Selection will enable you to create a quality alert (notification) to your customers. +The quality alert will be added to a queue (queued & requested inbox) and not directly sent to the customers. Once the quality alert is created you will get a pop-up and can directly navigate to the inbox for further action. === Parts table column settings -On the right upper site of a table there is a settings icon in which you can set the table columns to a desired view. With a click on it a dialog opens where you can change the settings of the corresponding table: -image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/table-settings-dialog.png[] +On the right upper site of a table there is a settings icon in which you can set the table columns to a desired view. +With a click on it a dialog opens where you can change the settings of the corresponding table: +image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/table-settings-dialog.png[] -Hide/show table columns by clicking on the checkbox or the column name. It is possible to hide/show all columns by clicking on the "All"- checkbox. +Hide/show table columns by clicking on the checkbox or the column name. +It is possible to hide/show all columns by clicking on the "All"- checkbox. The reset icon resets the table columns to its default view. -Reorder the table columns by selecting a list item (click on the right of the column name). By selecting the column, you can reorder it with the up and down arrow icons to move it in the front or back of other columns. +Reorder the table columns by selecting a list item (click on the right of the column name). +By selecting the column, you can reorder it with the up and down arrow icons to move it in the front or back of other columns. -Apply your changes by clicking on the "Save" - button. If you want to discard your changes, simply press you "ESC" - button, click anywhere else except in the dialog or close it explicitely with the close icon on the upper right of the dialog. +Apply your changes by clicking on the "Save" - button. +If you want to discard your changes, simply press you "ESC" - button, click anywhere else except in the dialog or close it explicitely with the close icon on the upper right of the dialog. The settings will be stored in the local storage of the browser and will be persisted until they get deleted. === Part details + Clicking on an item in the list opens "Part details" view. More detailed information on the asset is listed as well as a part tree that visually shows the parts relations. image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/parts-list-detailed-view.png[] ==== Overview -General production information. Information on the quality status of the part/batch. + +General production information. +Information on the quality status of the part/batch. ==== Relations -Part tree based on SingleLevelBomAsBuilt aspect model. Dependent on the semantic data model of the part the borders are in a different color. A green border indicates that the part is a SerialPart. A yellow border indicates that the part is a piece of a batch. -It is possible to adjust the view of the relationships by dragging the mouse to the desired view. Zooming in/out can be done with the corresponding control buttons. +Part tree based on SingleLevelBomAsBuilt aspect model. +Dependent on the semantic data model of the part the borders are in a different color. +A green border indicates that the part is a SerialPart. +A yellow border indicates that the part is a piece of a batch. -image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/open-new-tab.png[] Open part tree in new tab to zoom, scroll and focus in a larger view. A minimap on the bottom right provides an overview of the current position on the part tree. +It is possible to adjust the view of the relationships by dragging the mouse to the desired view. +Zooming in/out can be done with the corresponding control buttons. + +image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/open-new-tab.png[] Open part tree in new tab to zoom, scroll and focus in a larger view. +A minimap on the bottom right provides an overview of the current position on the part tree. ==== Manufacturer data + Detailed information on the IDs for the manufactured part/batch. ==== Customer data + Information about the identifiers at the customer for the respective part/batch. == Other parts + List view of the supplied/delivered parts and batches (Supplier parts / Customer parts). Gives detailed information on the assets registered in the Digital Twin Registry of Catena-X. This includes data based on the aspect models of Use Case Traceability: SerialPart, Batch. @@ -142,60 +195,78 @@ Alternatively, you can use the view toggle to adjust the visibility of the table Additionally, it's possible to switch between tabs above each of the table views to display either supplier or customer parts === Supplier parts + List view of supplied parts and batches. Supplier parts that are in a quality investigation are highlighted yellow. ==== Supplier parts select / Quality Investigation -Select one or multiple supplier parts. Selection will enable you to create a quality investigation (notification) to your supplier. The quality investigation will be added to a queue (queued & requested inbox) and not directly be sent to the supplier. + +Select one or multiple supplier parts. +Selection will enable you to create a quality investigation (notification) to your supplier. +The quality investigation will be added to a queue (queued & requested inbox) and not directly be sent to the supplier. Once the quality investigation is created you will get a pop-up and can directly navigate to the inbox for further action. === Supplier part details + Clicking on an item in the list opens "Part details" view. More detailed information on the asset is listed. image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/supplier-parts-list-detailed-view.png[] ==== Overview -General production information. Information on the quality status of the supplier part/batch. + +General production information. +Information on the quality status of the supplier part/batch. ==== Manufacturer data + Detailed information on the IDs for the supplier part/batch. ==== Customer data + Information about the identifiers at the customer (in this case own company) for the respective part/batch. === Customer Parts + List view of customer parts and batches. Customer Parts that are in a quality alert are highlighted yellow. === Customer part details + Clicking on an item in the list opens "Part details" view. More detailed information on the asset is listed. image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/customer-parts-list-detailed-view.png[] ==== Overview -General production information. Information on the quality status of the supplier part/batch. + +General production information. +Information on the quality status of the supplier part/batch. ==== Manufacturer data + Detailed information on the IDs for the supplier part/batch. ==== Customer data + Information about the identifiers at the customer for the respective part/batch. == Quality investigation + Inbox for received quality investigations and "Queued & Requested" inbox for outgoing draft as well as already sent investigations. image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/investigations-list-view.png[] image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/notification-drafts.png[] Received investigations. -Investigations received by a customer. Those notifications specify a defect or request to investigate on a specific part / batch on your side and give feedback to the customer. +Investigations received by a customer. +Those notifications specify a defect or request to investigate on a specific part / batch on your side and give feedback to the customer. image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/notification-send.png[] Queued & Requested investigations. -Notifications in the context of quality investigations that are in queued/draft status or already requested/sent to the supplier. Those notifications specify a defect or request to investigate on a specific part / batch on your suppliers side and give feedback back to you. +Notifications in the context of quality investigations that are in queued/draft status or already requested/sent to the supplier. +Those notifications specify a defect or request to investigate on a specific part / batch on your suppliers side and give feedback back to you. * Queued status: Quality investigation is created but not yet released. * Requested status: Quality investigation is sent to the supplier. @@ -203,7 +274,9 @@ Notifications in the context of quality investigations that are in queued/draft === Quality investigation context action -Select the three dots icon on the right side of an investigation entry to open the context menu. From there it is possible to open the investigation detailed view or change the status of an investigation. Only the possible status transition will show up. +Select the three dots icon on the right side of an investigation entry to open the context menu. +From there it is possible to open the investigation detailed view or change the status of an investigation. +Only the possible status transition will show up. image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/notification-context-action.png[] @@ -237,9 +310,11 @@ Displays all state transitions including the reason/description of the transitio ==== Quality investigation action -All possible state transitions are displayed in form of buttons (upper right corner). There the desired action can be selected to open a modal in which the details to the status change can be provided and completed. +All possible state transitions are displayed in form of buttons (upper right corner). +There the desired action can be selected to open a modal in which the details to the status change can be provided and completed. === Quality investigation status + Following status for a quality investigation (notification) are possible: |=== @@ -271,33 +346,42 @@ Following status for a quality investigation (notification) are possible: |=== === Quality investigation status flow -Notifications always have a status. The transition from one status to a subsequent status is described in the below state model. -The Sender can change the status to closed from any status. The receiver can never change the status to closed. +Notifications always have a status. +The transition from one status to a subsequent status is described in the below state model. + +The Sender can change the status to closed from any status. +The receiver can never change the status to closed. -The legend in the below state diagram describes who can set the status. One exception to this rule: the transition from status SENT to status RECEIVED is done automatically once the sender receives the Http status code 201. +The legend in the below state diagram describes who can set the status. +One exception to this rule: the transition from status SENT to status RECEIVED is done automatically once the sender receives the Http status code 201. image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/notificationstatemodel.png[Notification state model] == Quality alert + Inbox for received quality alerts and "Queued & Requested" inbox for outgoing draft as well as already sent alerts. image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/alerts-list-view.png[] image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/notification-drafts.png[] Received alerts. -Alerts received by a supplier. Those notifications specify a defect or request to informed on a specific part / batch on your side to be informed and give feedback to the supplier. +Alerts received by a supplier. +Those notifications specify a defect or request to informed on a specific part / batch on your side to be informed and give feedback to the supplier. image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/notification-send.png[] Queued & Requested alerts. -Notifications in the context of quality alerts that are in queued/draft status or already requested/sent to the customer. Those notifications specify a defect or request to inform on a specific part / batch on the customer side and give feedback back to you. +Notifications in the context of quality alerts that are in queued/draft status or already requested/sent to the customer. +Those notifications specify a defect or request to inform on a specific part / batch on the customer side and give feedback back to you. * Queued status: Quality alert is created but not yet released. * Requested status: Quality alert is sent to the customer. === Quality alert context action -Select the three dots icon on the right side of an alert entry to open the context menu. From there it is possible to open the alert detailed view or change the status of an alert. Only the possible status transitions will show up. +Select the three dots icon on the right side of an alert entry to open the context menu. +From there it is possible to open the alert detailed view or change the status of an alert. +Only the possible status transitions will show up. image:https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/notification-context-action.png[] @@ -331,9 +415,11 @@ Displays all state transitions including the reason/description of the transitio ==== Quality investigation action -All possible state transitions are displayed in form of buttons (upper right corner). There the desired action can be selected to open a modal in which the details to the status change can be provided and completed. +All possible state transitions are displayed in form of buttons (upper right corner). +There the desired action can be selected to open a modal in which the details to the status change can be provided and completed. === Quality alert status + Following status for a quality alert (notification) are possible: |=== @@ -365,10 +451,14 @@ Following status for a quality alert (notification) are possible: |=== === Quality alert status flow -Notifications always have a status. The transition from one status to a subsequent status is described in the below state model. -The Sender can change the status to closed from any status. The receiver can never change the status to closed. +Notifications always have a status. +The transition from one status to a subsequent status is described in the below state model. + +The Sender can change the status to closed from any status. +The receiver can never change the status to closed. -The legend in the below state diagram describes who can set the status. One exception to this rule: the transition from status SENT to status RECEIVED is done automatically once the sender receives the Http status code 201. +The legend in the below state diagram describes who can set the status. +One exception to this rule: the transition from status SENT to status RECEIVED is done automatically once the sender receives the Http status code 201. image::https://raw.githubusercontent.com/eclipse-tractusx/traceability-foss/main/docs/src/images/arc42/user-guide/notificationstatemodel.png[Notification state model] diff --git a/docs/src/images/user-manual/app_roles.png b/docs/src/images/user-manual/app_roles.png new file mode 100644 index 0000000000..f2b46de53b Binary files /dev/null and b/docs/src/images/user-manual/app_roles.png differ diff --git a/docs/src/images/user-manual/assign_app_roles.png b/docs/src/images/user-manual/assign_app_roles.png new file mode 100644 index 0000000000..17ecd5481c Binary files /dev/null and b/docs/src/images/user-manual/assign_app_roles.png differ diff --git a/docs/src/images/user-manual/cx_portal_roles.png b/docs/src/images/user-manual/cx_portal_roles.png new file mode 100644 index 0000000000..1d3d49b545 Binary files /dev/null and b/docs/src/images/user-manual/cx_portal_roles.png differ diff --git a/frontend/package.json b/frontend/package.json index a0468c674e..ad1d107506 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,8 +3,8 @@ "version": "8.0.0", "scripts": { "analyze": "ng build --configuration=production --stats-json && webpack-bundle-analyzer dist/stats.json", - "build:prod": "ng build --configuration=debugProd --base-href /{baseHrefPlaceholder}/ --deploy-url /{baseHrefPlaceholder}/", - "build:prodDebug": "ng build --configuration=debugProd --base-href /{baseHrefPlaceholder}/ --deploy-url /{baseHrefPlaceholder}/", + "build:prod": "ng build --output-hashing=all --configuration=debugProd --base-href /{baseHrefPlaceholder}/ --deploy-url /{baseHrefPlaceholder}/ ", + "build:prodDebug": "ng build --output-hashing=all --configuration=debugProd --base-href /{baseHrefPlaceholder}/ --deploy-url /{baseHrefPlaceholder}/", "format": "prettier --write \"src/**/*.{js,ts,json,md,css,scss,html}\"", "lint": "eslint --color --fix -c .eslintrc.js --ext .ts ./src/app", "ng": "ng", diff --git a/frontend/scripts/replace-base-href.js b/frontend/scripts/replace-base-href.js index a0d15fa9c2..3f50eb05c8 100755 --- a/frontend/scripts/replace-base-href.js +++ b/frontend/scripts/replace-base-href.js @@ -22,7 +22,9 @@ const fs = require('fs'); const NGINX_CONF_PATH = '/etc/nginx/nginx.conf'; const NGINX_SECURITY_CONF_PATH = '/etc/nginx/security-headers.conf'; const HTML_PATH = '/usr/share/nginx/html/index.html'; -const RUNTIME_PATH = '/usr/share/nginx/html/runtime.js'; + +const files = fs.readdirSync('/usr/share/nginx/html/'); +const RUNTIME_PATH = '/usr/share/nginx/html/' + files.find((file) => file.startsWith('runtime.') && file.endsWith('.js')); const BASE_HREF_PLACEHOLDER_VAR = '/{baseHrefPlaceholder}'; const BACKEND_DOMAIN_PLACEHOLDER_VAR = '{backendDomain}'; @@ -45,3 +47,4 @@ fs.writeFileSync(NGINX_CONF_PATH, NGINX_CONF_WITH_BASE, 'utf8'); const NGINX_SECURITY_CONF = fs.readFileSync(NGINX_SECURITY_CONF_PATH, 'utf8'); const NGINX_SECURITY_CONF_WITH_DOMAIN = NGINX_SECURITY_CONF.split(BACKEND_DOMAIN_PLACEHOLDER_VAR).join(BACKEND_DOMAIN); fs.writeFileSync(NGINX_SECURITY_CONF_PATH, NGINX_SECURITY_CONF_WITH_DOMAIN, 'utf8'); + diff --git a/frontend/src/app/modules/page/parts/model/aspectModels.model.ts b/frontend/src/app/modules/page/parts/model/aspectModels.model.ts index 4472acc34c..1727dbafdb 100644 --- a/frontend/src/app/modules/page/parts/model/aspectModels.model.ts +++ b/frontend/src/app/modules/page/parts/model/aspectModels.model.ts @@ -42,10 +42,9 @@ export type PartSiteInformationAsPlanned = { } export type TractionBatteryCode = { - uuid4: string, productType: string, tractionBatteryCode: string, - subComponents: TractionBatteryCode[] + subcomponents?: TractionBatteryCode[] } diff --git a/frontend/src/app/modules/page/parts/model/parts.model.ts b/frontend/src/app/modules/page/parts/model/parts.model.ts index 8cda20e428..05a88d1f4d 100644 --- a/frontend/src/app/modules/page/parts/model/parts.model.ts +++ b/frontend/src/app/modules/page/parts/model/parts.model.ts @@ -20,7 +20,7 @@ ********************************************************************************/ import type { PaginationResponse } from '@core/model/pagination.model'; -import { SemanticModel } from '@page/parts/model/aspectModels.model'; +import { SemanticModel, TractionBatteryCode } from '@page/parts/model/aspectModels.model'; import { DetailAspectModel } from '@page/parts/model/detailAspectModel.model'; import { MainAspectType } from '@page/parts/model/mainAspectType.enum'; import { Owner } from '@page/parts/model/owner.enum'; @@ -55,6 +55,10 @@ export interface Part { manufacturingDate?: string; manufacturingCountry?: string; + productType?: string; + tractionBatteryCode?: string; + subcomponents: TractionBatteryCode[]; + // as planned validityPeriodFrom?: string; validityPeriodTo?: string; @@ -110,6 +114,7 @@ export enum SemanticDataModel { SERIALPART = 'SERIALPART', PARTASPLANNED = 'PARTASPLANNED', JUSTINSEQUENCE = 'JUSTINSEQUENCE', + TRACTIONBATTERYCODE = 'TRACTIONBATTERYCODE', UNKNOWN = 'UNKNOWN' } @@ -118,6 +123,7 @@ export enum SemanticDataModelInCamelCase { SERIALPART = 'SerialPart', PARTASPLANNED = 'PartAsPlanned', JUSTINSEQUENCE = 'JustInSequence', + TRACTIONBATTERYCODE = 'TractionBatteryCode', UNKNOWN = 'Unknown' } diff --git a/frontend/src/app/modules/shared/assembler/parts.assembler.spec.ts b/frontend/src/app/modules/shared/assembler/parts.assembler.spec.ts index fe3b7c5a6f..8b5f8e2151 100644 --- a/frontend/src/app/modules/shared/assembler/parts.assembler.spec.ts +++ b/frontend/src/app/modules/shared/assembler/parts.assembler.spec.ts @@ -19,13 +19,13 @@ * SPDX-License-Identifier: Apache-2.0 ********************************************************************************/ -import { Pagination } from '@core/model/pagination.model'; -import { AsBuiltAspectModel } from '@page/parts/model/aspectModels.model'; -import { DetailAspectType } from '@page/parts/model/detailAspectModel.model'; -import { MainAspectType } from '@page/parts/model/mainAspectType.enum'; -import { Part, QualityType, SemanticDataModel } from '@page/parts/model/parts.model'; -import { PartsAssembler } from '@shared/assembler/parts.assembler'; -import { of } from 'rxjs'; +import {Pagination} from '@core/model/pagination.model'; +import {AsBuiltAspectModel} from '@page/parts/model/aspectModels.model'; +import {DetailAspectType} from '@page/parts/model/detailAspectModel.model'; +import {MainAspectType} from '@page/parts/model/mainAspectType.enum'; +import {Part, QualityType, SemanticDataModel} from '@page/parts/model/parts.model'; +import {PartsAssembler} from '@shared/assembler/parts.assembler'; +import {of} from 'rxjs'; describe('PartsAssembler', () => { const page = (content: T[]): Pagination => ({ @@ -222,4 +222,62 @@ describe('PartsAssembler', () => { }); }); }); + + describe('mapForTractionBatteryCodeDetailsView', () => { + const tractionBatteryCode = 'tractionBatteryCode'; + const productType = 'productType'; + it('should clean up data for traction battery details view', done => { + const data = { tractionBatteryCode, productType, test: '' } as unknown as Part; + of({ data }) + .pipe(PartsAssembler.mapPartForTractionBatteryCodeDetailsView()) + .subscribe(result => { + expect(result).toEqual({ data: { tractionBatteryCode, productType } as unknown as Part }); + done(); + }); + }); + it('should return nothing when there is no viewData', done => { + const data = undefined as unknown as Part; + of({data}) + .pipe(PartsAssembler.mapPartForTractionBatteryCodeDetailsView()) + .subscribe(result => { + expect(result).toEqual(undefined); + done(); + }); + }); + }); + + describe('mapForTractionBatterySubComponentsView', () => { + const tractionBatteryCode = 'tractionBatteryCode'; + const productType = 'productType'; + const subcomponents = 'subcomponents'; + it('should clean up data for traction battery subcomponents view', done => { + const data = { tractionBatteryCode, productType, subcomponents, test: '' } as unknown as Part; + of({ data }) + .pipe(PartsAssembler.mapPartForTractionBatteryCodeSubComponentsView()) + .subscribe(result => { + expect(result).toEqual({ data: { tractionBatteryCode, productType, subcomponents } as unknown as Part }); + done(); + }); + }); + it('should return nothing when there is no viewData', done => { + const data = undefined as unknown as Part; + of({ data } ) + .pipe(PartsAssembler.mapPartForTractionBatteryCodeSubComponentsView()) + .subscribe(result => { + expect(result).toEqual( undefined); + done(); + }); + }); + it('should return nothing when there is no tractionbattery', done => { + const data = { productType, subcomponents, test: '' } as unknown as Part; + of({ data }) + .pipe(PartsAssembler.mapPartForTractionBatteryCodeSubComponentsView()) + .subscribe(result => { + expect(result).toEqual(undefined); + done(); + }); + }); + }); + + }); diff --git a/frontend/src/app/modules/shared/assembler/parts.assembler.ts b/frontend/src/app/modules/shared/assembler/parts.assembler.ts index 190b52d44a..3f81fdce98 100644 --- a/frontend/src/app/modules/shared/assembler/parts.assembler.ts +++ b/frontend/src/app/modules/shared/assembler/parts.assembler.ts @@ -19,20 +19,21 @@ * SPDX-License-Identifier: Apache-2.0 ********************************************************************************/ -import { Pagination, PaginationResponse } from '@core/model/pagination.model'; -import { PaginationAssembler } from '@core/pagination/pagination.assembler'; +import {Pagination, PaginationResponse} from '@core/model/pagination.model'; +import {PaginationAssembler} from '@core/pagination/pagination.assembler'; import { AsBuiltAspectModel, AsPlannedAspectModel, PartSiteInformationAsPlanned, SemanticModel, + TractionBatteryCode, } from '@page/parts/model/aspectModels.model'; -import { MainAspectType } from '@page/parts/model/mainAspectType.enum'; -import { Part, PartResponse, QualityType } from '@page/parts/model/parts.model'; -import { TableHeaderSort } from '@shared/components/table/table.model'; -import { View } from '@shared/model/view.model'; -import { OperatorFunction } from 'rxjs'; -import { map } from 'rxjs/operators'; +import {MainAspectType} from '@page/parts/model/mainAspectType.enum'; +import {Part, PartResponse, QualityType} from '@page/parts/model/parts.model'; +import {TableHeaderSort} from '@shared/components/table/table.model'; +import {View} from '@shared/model/view.model'; +import {OperatorFunction} from 'rxjs'; +import {map} from 'rxjs/operators'; export class PartsAssembler { @@ -67,6 +68,11 @@ export class PartsAssembler { const functionValidFrom = (partResponse.detailAspectModels[1]?.data as PartSiteInformationAsPlanned)?.functionValidFrom; const functionValidUntil = (partResponse.detailAspectModels[1]?.data as PartSiteInformationAsPlanned)?.functionValidUntil; + // traction battery code + const productType = (partResponse.detailAspectModels[1]?.data as TractionBatteryCode)?.productType; + const tractionBatteryCode = (partResponse.detailAspectModels[1]?.data as TractionBatteryCode)?.tractionBatteryCode; + const subcomponents = (partResponse.detailAspectModels[1]?.data as TractionBatteryCode)?.subcomponents; + let mappedPart = { id: partResponse.id, idShort: partResponse.idShort, @@ -95,9 +101,15 @@ export class PartsAssembler { manufacturingDate: manufacturingDate, manufacturingCountry: manufacturingCountry, + // tractionBatteryCode + productType: productType, + tractionBatteryCode: tractionBatteryCode, + subcomponents: subcomponents, + // as planned validityPeriodFrom: validityPeriodFrom, validityPeriodTo: validityPeriodTo, + //partSiteInformationAsPlanned catenaXSiteId: catenaXSiteId, psFunction: psFunction, @@ -109,7 +121,6 @@ export class PartsAssembler { activeInvestigations: partResponse.qualityInvestigationsInStatusActive, } - return mappedPart; } public static assembleOtherPart(partResponse: PartResponse, mainAspectType: MainAspectType): Part { @@ -205,6 +216,28 @@ export class PartsAssembler { }); } + public static mapPartForTractionBatteryCodeDetailsView(): OperatorFunction, View> { + return map(viewData => { + if (!viewData?.data?.tractionBatteryCode) { + return; + } + + const { productType, tractionBatteryCode } = viewData.data; + return { data: { productType, tractionBatteryCode } as Part }; + }); + } + + public static mapPartForTractionBatteryCodeSubComponentsView(): OperatorFunction, View> { + return map(viewData => { + if (!viewData?.data?.tractionBatteryCode || !viewData?.data?.subcomponents?.length) { + return; + } + + const { productType, tractionBatteryCode, subcomponents } = viewData.data; + return { data: { productType, tractionBatteryCode, subcomponents } as Part }; + }); + } + public static mapSortToApiSort(sorting: TableHeaderSort): string { if (!sorting) { return ''; diff --git a/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.html b/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.html index 49c6622a57..e3d77dba13 100644 --- a/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.html +++ b/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.html @@ -53,9 +53,14 @@ - + + + + + {{ 'partDetail.investigation.tab.header' | i18n }} @@ -81,6 +86,53 @@ + + + + + {{ 'partDetail.tractionBatteryCodeTitle' | i18n }} + + + + + + + {{ 'partDetail.subcomponents' | i18n }} + + + +
+ + + + + + + + + + + + + + + + +
{{'partDetail.position' | i18n}} 000{{i+1}} {{'partDetail.productType' | i18n }}{{subcomponent.productType}} {{'partDetail.tractionBatteryCode' | i18n }} {{subcomponent.tractionBatteryCode}}
+
+
+ +
+
+
+ +
+
+
+ diff --git a/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.scss b/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.scss index 1635fcbc28..b7bf65a189 100644 --- a/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.scss +++ b/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.scss @@ -52,6 +52,7 @@ @apply flex flex-row; justify-content: space-between; padding-bottom: 25px; + padding-top: 5px; @media (max-width: 1024px) { @apply flex-col; @@ -62,9 +63,11 @@ &--manufacturer-info { @apply flex flex-row; justify-content: space-between; + padding-bottom: 25px; @media (max-width: 1024px) { @apply flex-col; + padding-bottom: unset; } } @@ -89,6 +92,28 @@ cursor: pointer; } } + + &--tractionBattery-info { + width: 100%; + height: fit-content; + } + + &--tractionBattery-content { + @apply flex flex-row; + justify-content: space-between; + padding-bottom: 25px; + margin-top: 8px; + + @media (max-width: 1024px) { + @apply flex-col; + padding-bottom: unset; + } + } + + &-subcomponents-table-container { + height: 350px; + overflow: auto; + } } app-card-list { diff --git a/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.ts b/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.ts index afa70930c7..54b7a9c1c5 100644 --- a/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.ts +++ b/frontend/src/app/modules/shared/modules/part-details/presentation/part-detail.component.ts @@ -19,17 +19,19 @@ * SPDX-License-Identifier: Apache-2.0 ********************************************************************************/ -import { AfterViewInit, Component, Input, OnDestroy } from '@angular/core'; -import { FormControl } from '@angular/forms'; -import { Router } from '@angular/router'; -import { Part, QualityType } from '@page/parts/model/parts.model'; -import { PartsAssembler } from '@shared/assembler/parts.assembler'; -import { SelectOption } from '@shared/components/select/select.component'; -import { State } from '@shared/model/state'; -import { View } from '@shared/model/view.model'; -import { PartDetailsFacade } from '@shared/modules/part-details/core/partDetails.facade'; -import { Observable, Subscription } from 'rxjs'; -import { filter, tap } from 'rxjs/operators'; +import {AfterViewInit, Component, Input, OnDestroy} from '@angular/core'; +import {FormControl} from '@angular/forms'; +import {Router} from '@angular/router'; +import {Pagination} from '@core/model/pagination.model'; +import {TractionBatteryCode} from '@page/parts/model/aspectModels.model'; +import {Part, QualityType} from '@page/parts/model/parts.model'; +import {PartsAssembler} from '@shared/assembler/parts.assembler'; +import {SelectOption} from '@shared/components/select/select.component'; +import {State} from '@shared/model/state'; +import {View} from '@shared/model/view.model'; +import {PartDetailsFacade} from '@shared/modules/part-details/core/partDetails.facade'; +import {Observable, Subscription} from 'rxjs'; +import {filter, tap} from 'rxjs/operators'; @Component({ selector: 'app-part-detail', @@ -44,8 +46,13 @@ export class PartDetailComponent implements AfterViewInit, OnDestroy { public readonly selectedPartDetails$: Observable>; public readonly manufacturerDetails$: Observable>; public readonly customerOrPartSiteDetails$: Observable>; - public customerOrPartSiteDetailsHeader$: Subscription; + public readonly tractionBatteryDetails$: Observable>; + public readonly tractionBatterySubcomponents$: Observable>; + public readonly paginatedTractionBatterySubcomponents: Pagination; + + public readonly displayedColumns: string[]; + public customerOrPartSiteDetailsHeader$: Subscription; public customerOrPartSiteHeader: string; public showQualityTypeDropdown = false; @@ -67,6 +74,10 @@ export class PartDetailComponent implements AfterViewInit, OnDestroy { this.manufacturerDetails$ = this.partDetailsFacade.selectedPart$.pipe(PartsAssembler.mapPartForManufacturerView()); this.customerOrPartSiteDetails$ = this.partDetailsFacade.selectedPart$.pipe(PartsAssembler.mapPartForCustomerOrPartSiteView()); + + this.tractionBatteryDetails$ = this.partDetailsFacade.selectedPart$.pipe(PartsAssembler.mapPartForTractionBatteryCodeDetailsView()); + this.tractionBatterySubcomponents$ = this.partDetailsFacade.selectedPart$.pipe(PartsAssembler.mapPartForTractionBatteryCodeSubComponentsView()) as unknown as Observable>; + this.customerOrPartSiteDetailsHeader$ = this.customerOrPartSiteDetails$?.subscribe(data=> { if(data?.data?.functionValidFrom){ this.customerOrPartSiteHeader = 'partDetail.partSiteInformationData' @@ -80,6 +91,7 @@ export class PartDetailComponent implements AfterViewInit, OnDestroy { label: value, value: value, })); + this.displayedColumns = ["position", "productType", "tractionBatteryCode"] } public ngOnDestroy(): void { diff --git a/frontend/src/app/modules/shared/service/alerts.service.ts b/frontend/src/app/modules/shared/service/alerts.service.ts index 9efa19747b..6bc4c2a55b 100644 --- a/frontend/src/app/modules/shared/service/alerts.service.ts +++ b/frontend/src/app/modules/shared/service/alerts.service.ts @@ -19,15 +19,15 @@ * SPDX-License-Identifier: Apache-2.0 ********************************************************************************/ -import { HttpParams } from '@angular/common/http'; -import { Injectable } from '@angular/core'; -import { ApiService } from '@core/api/api.service'; -import { environment } from '@env'; -import { NotificationAssembler } from '@shared/assembler/notification.assembler'; -import { TableHeaderSort } from '@shared/components/table/table.model'; -import { Severity } from '@shared/model/severity.model'; -import type { Observable } from 'rxjs'; -import { map } from 'rxjs/operators'; +import {HttpParams} from '@angular/common/http'; +import {Injectable} from '@angular/core'; +import {ApiService} from '@core/api/api.service'; +import {environment} from '@env'; +import {NotificationAssembler} from '@shared/assembler/notification.assembler'; +import {TableHeaderSort} from '@shared/components/table/table.model'; +import {Severity} from '@shared/model/severity.model'; +import type {Observable} from 'rxjs'; +import {map} from 'rxjs/operators'; import { Notification, NotificationCreateResponse, @@ -51,7 +51,7 @@ export class AlertsService { let params = new HttpParams() .set('page', page) .set('size', pageSize) - .set('filter', 'side,EQUAL,SENDER,AND') + .set('filter', 'channel,EQUAL,SENDER,AND') sort.forEach(sortingItem => { params = params.append('sort', sortingItem); @@ -67,7 +67,7 @@ export class AlertsService { let params = new HttpParams() .set('page', page) .set('size', pageSize) - .set('filter', 'side,EQUAL,RECEIVER,AND') + .set('filter', 'channel,EQUAL,RECEIVER,AND') sort.forEach(sortingItem => { params = params.append('sort', sortingItem); diff --git a/frontend/src/app/modules/shared/service/investigations.service.ts b/frontend/src/app/modules/shared/service/investigations.service.ts index 26852142fc..8729fe73b4 100644 --- a/frontend/src/app/modules/shared/service/investigations.service.ts +++ b/frontend/src/app/modules/shared/service/investigations.service.ts @@ -19,16 +19,16 @@ * SPDX-License-Identifier: Apache-2.0 ********************************************************************************/ -import { HttpParams } from '@angular/common/http'; -import { Injectable } from '@angular/core'; -import { ApiService } from '@core/api/api.service'; -import { environment } from '@env'; -import { DateTimeString } from '@shared/components/dateTime/dateTime.component'; -import { TableHeaderSort } from '@shared/components/table/table.model'; -import { Severity } from '@shared/model/severity.model'; -import type { Observable } from 'rxjs'; -import { map } from 'rxjs/operators'; -import { NotificationAssembler } from '../assembler/notification.assembler'; +import {HttpParams} from '@angular/common/http'; +import {Injectable} from '@angular/core'; +import {ApiService} from '@core/api/api.service'; +import {environment} from '@env'; +import {DateTimeString} from '@shared/components/dateTime/dateTime.component'; +import {TableHeaderSort} from '@shared/components/table/table.model'; +import {Severity} from '@shared/model/severity.model'; +import type {Observable} from 'rxjs'; +import {map} from 'rxjs/operators'; +import {NotificationAssembler} from '../assembler/notification.assembler'; import { Notification, NotificationCreateResponse, @@ -52,7 +52,7 @@ export class InvestigationsService { let params = new HttpParams() .set('page', page) .set('size', pageSize) - .set('filter', 'side,EQUAL,SENDER,AND') + .set('filter', 'channel,EQUAL,SENDER,AND') sort.forEach(sortingItem => { params = params.append('sort', sortingItem); @@ -68,7 +68,7 @@ export class InvestigationsService { let params = new HttpParams() .set('page', page) .set('size', pageSize) - .set('filter', 'side,EQUAL,RECEIVER,AND') + .set('filter', 'channel,EQUAL,RECEIVER,AND') sort.forEach(sortingItem => { params = params.append('sort', sortingItem); diff --git a/frontend/src/assets/locales/de/common.json b/frontend/src/assets/locales/de/common.json index 1912d450d5..a4a5a29a40 100644 --- a/frontend/src/assets/locales/de/common.json +++ b/frontend/src/assets/locales/de/common.json @@ -80,11 +80,11 @@ "name": "Name", "manufacturer": "Hersteller", "partId": "Produktnummer", - "manufacturerPartId": "Hersteller produktnummer", - "customerPartId": "Kunden produktnummer", + "manufacturerPartId": "Hersteller Produktnummer", + "customerPartId": "Kunden Produktnummer", "classification": "Klassifizierung", - "nameAtCustomer": "Kunden produktname", - "nameAtManufacturer": "Hersteller produktname", + "nameAtCustomer": "Kunden Produktname", + "nameAtManufacturer": "Hersteller Produktname", "semanticModelId": "Semantische Modellnummer", "qualityType": "Qualitätsstufe", "manufacturingDate": "Produktionsdatum", diff --git a/frontend/src/assets/locales/de/partDetail.json b/frontend/src/assets/locales/de/partDetail.json index 2a6d839bd9..87be49bda4 100644 --- a/frontend/src/assets/locales/de/partDetail.json +++ b/frontend/src/assets/locales/de/partDetail.json @@ -13,8 +13,8 @@ "qualityType": "Qualitätsstufe", "productionDate": "Produktionsdatum", "manufacturer": "Hersteller", - "manufacturerPartId": "Hersteller produktnummer", - "nameAtManufacturer": "Hersteller produktname", + "manufacturerPartId": "Hersteller Produktnummer", + "nameAtManufacturer": "Hersteller Produktname", "nameAtCustomer": "Name beim Kunden", "customerPartId": "Kunden Produktnummer", "semanticDataModel": "Semantisches Datenmodell", @@ -24,6 +24,12 @@ "classification": "Klassifizierung", "functionValidFrom": "Funktion gülitg von", "functionValidUntil": "Funktion gültig bis", + "tractionBatteryCodeTitle": "Traction Batterie Code", + "tractionBattery": "Antriebsbatterie", + "position": "Position", + "productType": "Produkttyp", + "tractionBatteryCode": "Batterie Code", + "subcomponents": "Teilkomponenten", "tab": { "header": "Produkt-Details", "description": "Detaillierte Informationen über Ihr ausgewähltes Produkt" diff --git a/frontend/src/assets/locales/en/partDetail.json b/frontend/src/assets/locales/en/partDetail.json index a2b53b2836..7e1f707f8e 100644 --- a/frontend/src/assets/locales/en/partDetail.json +++ b/frontend/src/assets/locales/en/partDetail.json @@ -24,6 +24,12 @@ "classification": "Classification", "functionValidFrom": "Function valid from", "functionValidUntil": "Function valid until", + "tractionBatteryCodeTitle": "Traction battery code", + "tractionBattery": "Traction battery", + "position": "Position", + "productType": "Product type", + "tractionBatteryCode": "Battery Code", + "subcomponents": "Subcomponents", "tab": { "header": "Part details", "description": "Detailed information about your selected part" diff --git a/pom.xml b/pom.xml index 6e818ea702..92c8a338f6 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ SPDX-License-Identifier: Apache-2.0 3.9.1.2184 3.1.2 3.0.0-M8 - 4.0.0-M9 + 4.0.0-M11 0.1.3 0.0.1-SNAPSHOT @@ -73,20 +73,20 @@ SPDX-License-Identifier: Apache-2.0 12.3 3.1.0 9.4.3.0 - 2.1.0 - 5.7.0 + 2.0.2 + 5.9.1 2022.0.3 24.0.1 3.8.0 12.4 8.3.3 3.0.2 - 1.6.11 + 1.6.12 0.2.6 2.13.0 0.9.3 1.1.0 - 1.19.0 + 1.19.1 5.3.2 2.0.4 @@ -99,7 +99,7 @@ SPDX-License-Identifier: Apache-2.0 2.15.2 5.9.3 3.0.0 - 1.2.1-SNAPSHOT + 1.4.0 jacoco reuseReports @@ -289,6 +289,7 @@ SPDX-License-Identifier: Apache-2.0 dependency-check-maven ${owasp-plugin.version} + true dependency_check/suppressions.xml diff --git a/tx-backend/openapi/traceability-foss-backend.json b/tx-backend/openapi/traceability-foss-backend.json index 4753bb5574..7eb0650eae 100644 --- a/tx-backend/openapi/traceability-foss-backend.json +++ b/tx-backend/openapi/traceability-foss-backend.json @@ -1,2530 +1,2550 @@ { - "openapi" : "3.0.1", - "info" : { - "title" : "Trace-FOSS - OpenAPI Documentation", - "description" : "Trace-FOSS is a system for tracking parts along the supply chain. A high level of transparency across the supplier network enables faster intervention based on a recorded event in the supply chain. This saves costs by seamlessly tracking parts and creates trust through clearly defined and secure data access by the companies and persons involved in the process.", - "license" : { - "name" : "License: Apache 2.0" + "openapi": "3.0.1", + "info": { + "title": "Trace-FOSS - OpenAPI Documentation", + "description": "Trace-FOSS is a system for tracking parts along the supply chain. A high level of transparency across the supplier network enables faster intervention based on a recorded event in the supply chain. This saves costs by seamlessly tracking parts and creates trust through clearly defined and secure data access by the companies and persons involved in the process.", + "license": { + "name": "License: Apache 2.0" }, - "version" : "1.0.0" + "version": "1.0.0" }, - "servers" : [ + "servers": [ { - "url" : "http://localhost:9998/api", - "description" : "Generated server url" + "url": "http://localhost:9998/api", + "description": "Generated server url" } ], - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ], - "tags" : [ + "tags": [ { - "name" : "ShellDescriptorController", - "description" : "Shell Descriptor Controller" + "name": "ShellDescriptorController", + "description": "Shell Descriptor Controller" }, { - "name" : "Investigations", - "description" : "Operations on Investigation Notification" + "name": "Investigations", + "description": "Operations on Investigation Notification" } ], - "paths" : { - "/bpn-config" : { - "get" : { - "tags" : [ + "paths": { + "/bpn-config": { + "get": { + "tags": [ "BpnEdcMapping" ], - "summary" : "Get BPN EDC URL mappings", - "description" : "The endpoint returns a result of BPN EDC URL mappings.", - "operationId" : "getBpnEdcs", - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "summary": "Get BPN EDC URL mappings", + "description": "The endpoint returns a result of BPN EDC URL mappings.", + "operationId": "getBpnEdcs", + "responses": { + "200": { + "description": "Returns the paged result found", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns the paged result found", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] }, - "put" : { - "tags" : [ + "put": { + "tags": [ "BpnEdcMapping" ], - "summary" : "Updates BPN EDC URL mappings", - "description" : "The endpoint updates BPN EDC URL mappings", - "operationId" : "updateBpnEdcMappings", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 1000, - "minItems" : 0, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/BpnMappingRequest" + "summary": "Updates BPN EDC URL mappings", + "description": "The endpoint updates BPN EDC URL mappings", + "operationId": "updateBpnEdcMappings", + "requestBody": { + "content": { + "application/json": { + "schema": { + "maxItems": 1000, + "minItems": 0, + "type": "array", + "items": { + "$ref": "#/components/schemas/BpnMappingRequest" } } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns the paged result found for BpnEdcMapping", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "200": { + "description": "Returns the paged result found for BpnEdcMapping", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] }, - "post" : { - "tags" : [ + "post": { + "tags": [ "BpnEdcMapping" ], - "summary" : "Creates BPN EDC URL mappings", - "description" : "The endpoint creates BPN EDC URL mappings", - "operationId" : "createBpnEdcUrlMappings", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 1000, - "minItems" : 0, - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/BpnMappingRequest" + "summary": "Creates BPN EDC URL mappings", + "description": "The endpoint creates BPN EDC URL mappings", + "operationId": "createBpnEdcUrlMappings", + "requestBody": { + "content": { + "application/json": { + "schema": { + "maxItems": 1000, + "minItems": 0, + "type": "array", + "items": { + "$ref": "#/components/schemas/BpnMappingRequest" } } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns the paged result found for BpnEdcMapping", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "200": { + "description": "Returns the paged result found for BpnEdcMapping", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/submodel/data/{submodelId}" : { - "get" : { - "tags" : [ + "/submodel/data/{submodelId}": { + "get": { + "tags": [ "Submodel" ], - "summary" : "Gets Submodel by its id", - "description" : "The endpoint returns Submodel for given id. Used for data providing functionality", - "operationId" : "getSubmodelById", - "parameters" : [ + "summary": "Gets Submodel by its id", + "description": "The endpoint returns Submodel for given id. Used for data providing functionality", + "operationId": "getSubmodelById", + "parameters": [ { - "name" : "submodelId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "submodelId", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns the paged result found", - "content" : { - "application/json" : {} + "200": { + "description": "Returns the paged result found", + "content": { + "application/json": {} } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] }, - "post" : { - "tags" : [ + "post": { + "tags": [ "Submodel" ], - "summary" : "Save Submodel", - "description" : "This endpoint allows you to save a Submodel identified by its ID.", - "operationId" : "saveSubmodel", - "parameters" : [ + "summary": "Save Submodel", + "description": "This endpoint allows you to save a Submodel identified by its ID.", + "operationId": "saveSubmodel", + "parameters": [ { - "name" : "submodelId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "submodelId", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "type" : "string" + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No Content." + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No Content." - }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/investigations" : { - "get" : { - "tags" : [ + "/investigations": { + "get": { + "tags": [ "Investigations" ], - "summary" : "Gets investigations", - "description" : "The endpoint returns investigations as paged result.", - "operationId" : "getInvestigations", - "parameters" : [ + "summary": "Gets investigations", + "description": "The endpoint returns investigations as paged result.", + "operationId": "getInvestigations", + "parameters": [ { - "name" : "pageable", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/OwnPageable" + "name": "pageable", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/OwnPageable" } }, { - "name" : "filter", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaRequestParam" + "name": "filter", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/SearchCriteriaRequestParam" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "200": { + "description": "Returns the paged result found for Asset", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns the paged result found for Asset", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] }, - "post" : { - "tags" : [ + "post": { + "tags": [ "Investigations" ], - "summary" : "Start investigations by part ids", - "description" : "The endpoint starts investigations based on part ids provided.", - "operationId" : "investigateAssets", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/StartQualityNotificationRequest" + "summary": "Start investigations by part ids", + "description": "The endpoint starts investigations based on part ids provided.", + "operationId": "investigateAssets", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartQualityNotificationRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "201": { + "description": "Created.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QualityNotificationIdResponse" } } } }, - "201" : { - "description" : "Created.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/QualityNotificationIdResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/investigations/{investigationId}/update" : { - "post" : { - "tags" : [ + "/investigations/{investigationId}/update": { + "post": { + "tags": [ "Investigations" ], - "summary" : "Update investigations by id", - "description" : "The endpoint updates investigations by their id.", - "operationId" : "updateInvestigation", - "parameters" : [ + "summary": "Update investigations by id", + "description": "The endpoint updates investigations by their id.", + "operationId": "updateInvestigation", + "parameters": [ { - "name" : "investigationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "investigationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateQualityNotificationRequest" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateQualityNotificationRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No content." - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/investigations/{investigationId}/close" : { - "post" : { - "tags" : [ + "/investigations/{investigationId}/close": { + "post": { + "tags": [ "Investigations" ], - "summary" : "Close investigations by id", - "description" : "The endpoint closes investigations by their id.", - "operationId" : "closeInvestigation", - "parameters" : [ + "summary": "Close investigations by id", + "description": "The endpoint closes investigations by their id.", + "operationId": "closeInvestigation", + "parameters": [ { - "name" : "investigationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "investigationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/CloseQualityNotificationRequest" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloseQualityNotificationRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No content." - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/investigations/{investigationId}/cancel" : { - "post" : { - "tags" : [ + "/investigations/{investigationId}/cancel": { + "post": { + "tags": [ "Investigations" ], - "summary" : "Cancles investigations by id", - "description" : "The endpoint cancles investigations by their id.", - "operationId" : "cancelInvestigation", - "parameters" : [ + "summary": "Cancles investigations by id", + "description": "The endpoint cancles investigations by their id.", + "operationId": "cancelInvestigation", + "parameters": [ { - "name" : "investigationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "investigationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No content." + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No content." - }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/investigations/{investigationId}/approve" : { - "post" : { - "tags" : [ + "/investigations/{investigationId}/approve": { + "post": { + "tags": [ "Investigations" ], - "summary" : "Approves investigations by id", - "description" : "The endpoint approves investigations by their id.", - "operationId" : "approveInvestigation", - "parameters" : [ + "summary": "Approves investigations by id", + "description": "The endpoint approves investigations by their id.", + "operationId": "approveInvestigation", + "parameters": [ { - "name" : "investigationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "investigationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No content." - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/edc/notification/contract" : { - "post" : { - "tags" : [ + "/edc/notification/contract": { + "post": { + "tags": [ "Notifications" ], - "summary" : "Triggers EDC notification contract", - "description" : "The endpoint Triggers EDC notification contract based on notification type and method", - "operationId" : "createNotificationContract", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/CreateNotificationContractRequest" + "summary": "Triggers EDC notification contract", + "description": "The endpoint Triggers EDC notification contract based on notification type and method", + "operationId": "createNotificationContract", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateNotificationContractRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "201": { + "description": "Created.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CreateNotificationContractResponse" } } } }, - "201" : { - "description" : "Created.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/CreateNotificationContractResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-planned/sync" : { - "post" : { - "tags" : [ + "/assets/as-planned/sync": { + "post": { + "tags": [ "AssetsAsPlanned" ], - "summary" : "Synchronizes assets from IRS", - "description" : "The endpoint synchronizes the assets from irs.", - "operationId" : "sync", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SyncAssetsRequest" + "summary": "Synchronizes assets from IRS", + "description": "The endpoint synchronizes the assets from irs.", + "operationId": "sync", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SyncAssetsRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "201": { + "description": "Created." + }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "201" : { - "description" : "Created." - }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-planned/detail-information" : { - "post" : { - "tags" : [ + "/assets/as-planned/detail-information": { + "post": { + "tags": [ "AssetsAsPlanned" ], - "summary" : "Searches for assets by ids.", - "description" : "The endpoint searchs for assets by id and returns a list of them.", - "operationId" : "getDetailInformation", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GetDetailInformationRequest" + "summary": "Searches for assets by ids.", + "description": "The endpoint searchs for assets by id and returns a list of them.", + "operationId": "getDetailInformation", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDetailInformationRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "200": { + "description": "Returns the paged result found for Asset", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array" } } } }, - "200" : { - "description" : "Returns the paged result found for Asset", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-built/sync" : { - "post" : { - "tags" : [ + "/assets/as-built/sync": { + "post": { + "tags": [ "AssetsAsBuilt" ], - "summary" : "Synchronizes assets from IRS", - "description" : "The endpoint synchronizes the assets from irs.", - "operationId" : "sync_1", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/SyncAssetsRequest" + "summary": "Synchronizes assets from IRS", + "description": "The endpoint synchronizes the assets from irs.", + "operationId": "sync_1", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/SyncAssetsRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "201": { + "description": "Created." + }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "201" : { - "description" : "Created." - }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-built/detail-information" : { - "post" : { - "tags" : [ + "/assets/as-built/detail-information": { + "post": { + "tags": [ "AssetsAsBuilt" ], - "summary" : "Searches for assets by ids.", - "description" : "The endpoint searchs for assets by id and returns a list of them.", - "operationId" : "getDetailInformation_1", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/GetDetailInformationRequest" + "summary": "Searches for assets by ids.", + "description": "The endpoint searchs for assets by id and returns a list of them.", + "operationId": "getDetailInformation_1", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetDetailInformationRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns the paged result found for Asset", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array" + "200": { + "description": "Returns the paged result found for Asset", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/alerts" : { - "get" : { - "tags" : [ + "/alerts": { + "get": { + "tags": [ "Alerts" ], - "summary" : "Gets alerts", - "description" : "The endpoint returns alerts as paged result.", - "operationId" : "getAlerts", - "parameters" : [ + "summary": "Gets alerts", + "description": "The endpoint returns alerts as paged result.", + "operationId": "getAlerts", + "parameters": [ { - "name" : "pageable", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/OwnPageable" + "name": "pageable", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/OwnPageable" } }, { - "name" : "filter", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaRequestParam" + "name": "filter", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/SearchCriteriaRequestParam" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "200": { + "description": "Returns the paged result found for Asset", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "type": "array" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns the paged result found for Asset", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "type" : "array" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] }, - "post" : { - "tags" : [ + "post": { + "tags": [ "Alerts" ], - "summary" : "Start alert by part ids", - "description" : "The endpoint starts alert based on part ids provided.", - "operationId" : "alertAssets", - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/StartQualityNotificationRequest" + "summary": "Start alert by part ids", + "description": "The endpoint starts alert based on part ids provided.", + "operationId": "alertAssets", + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/StartQualityNotificationRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "201": { + "description": "Created.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/QualityNotificationIdResponse" } } } }, - "201" : { - "description" : "Created.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/QualityNotificationIdResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/alerts/{alertId}/update" : { - "post" : { - "tags" : [ + "/alerts/{alertId}/update": { + "post": { + "tags": [ "Alerts" ], - "summary" : "Update alert by id", - "description" : "The endpoint updates alert by their id.", - "operationId" : "updateAlert", - "parameters" : [ + "summary": "Update alert by id", + "description": "The endpoint updates alert by their id.", + "operationId": "updateAlert", + "parameters": [ { - "name" : "alertId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "alertId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateQualityNotificationRequest" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateQualityNotificationRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No content." - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/alerts/{alertId}/close" : { - "post" : { - "tags" : [ + "/alerts/{alertId}/close": { + "post": { + "tags": [ "Alerts" ], - "summary" : "Close alert by id", - "description" : "The endpoint closes alert by id.", - "operationId" : "closeAlert", - "parameters" : [ + "summary": "Close alert by id", + "description": "The endpoint closes alert by id.", + "operationId": "closeAlert", + "parameters": [ { - "name" : "alertId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "alertId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/CloseQualityNotificationRequest" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/CloseQualityNotificationRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No content." - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/alerts/{alertId}/cancel" : { - "post" : { - "tags" : [ + "/alerts/{alertId}/cancel": { + "post": { + "tags": [ "Alerts" ], - "summary" : "Cancels alert by id", - "description" : "The endpoint cancels alert by id.", - "operationId" : "cancelAlert", - "parameters" : [ + "summary": "Cancels alert by id", + "description": "The endpoint cancels alert by id.", + "operationId": "cancelAlert", + "parameters": [ { - "name" : "alertId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "alertId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No content." + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No content." - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/alerts/{alertId}/approve" : { - "post" : { - "tags" : [ + "/alerts/{alertId}/approve": { + "post": { + "tags": [ "Alerts" ], - "summary" : "Approves alert by id", - "description" : "The endpoint approves alert by id.", - "operationId" : "approveAlert", - "parameters" : [ + "summary": "Approves alert by id", + "description": "The endpoint approves alert by id.", + "operationId": "approveAlert", + "parameters": [ { - "name" : "alertId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "alertId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No content." + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No content." - }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-planned/{assetId}" : { - "get" : { - "tags" : [ + "/assets/as-planned/{assetId}": { + "get": { + "tags": [ "AssetsAsPlanned" ], - "summary" : "Get asset by id", - "description" : "The endpoint returns an asset filtered by id .", - "operationId" : "assetById", - "parameters" : [ + "summary": "Get asset by id", + "description": "The endpoint returns an asset filtered by id .", + "operationId": "assetById", + "parameters": [ { - "name" : "assetId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "responses" : { - "200" : { - "description" : "Returns the assets found", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Returns the assets found", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "type": "array", + "description": "Assets", + "items": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticModelId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "semanticModelId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "businessPartner" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "businessPartner": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "nameAtManufacturer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "nameAtManufacturer": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "owner" : { - "type" : "string", - "enum" : [ + "owner": { + "type": "string", + "enum": [ "SUPPLIER", "CUSTOMER", "OWN", "UNKNOWN" ] }, - "childRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Child relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "childRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Child relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "parentRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Parent relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "parentRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Parent relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "activeAlert" : { - "type" : "boolean" + "activeAlert": { + "type": "boolean" }, - "underInvestigation" : { - "type" : "boolean" + "underInvestigation": { + "type": "boolean" }, - "qualityType" : { - "type" : "string", - "enum" : [ + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -2532,14 +2552,14 @@ "LifeThreatening" ] }, - "van" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "van": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticDataModel" : { - "type" : "string", - "enum" : [ + "semanticDataModel": { + "type": "string", + "enum": [ "BATCH", "SERIALPART", "UNKNOWN", @@ -2547,24 +2567,24 @@ "JUSTINSEQUENCE" ] }, - "classification" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "classification": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "detailAspectModels" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectModelResponse" + "detailAspectModels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectModelResponse" } }, - "qualityAlertsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityAlertsInStatusActive": { + "type": "integer", + "format": "int32" }, - "qualityInvestigationsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityInvestigationsInStatusActive": { + "type": "integer", + "format": "int32" } } } @@ -2572,243 +2592,173 @@ } } }, - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] }, - "patch" : { - "tags" : [ + "patch": { + "tags": [ "AssetsAsPlanned" ], - "summary" : "Updates asset", - "description" : "The endpoint updates asset by provided quality type.", - "operationId" : "updateAsset", - "parameters" : [ + "summary": "Updates asset", + "description": "The endpoint updates asset by provided quality type.", + "operationId": "updateAsset", + "parameters": [ { - "name" : "assetId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateAssetRequest" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAssetRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "200" : { - "description" : "Returns the updated asset", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "responses": { + "200": { + "description": "Returns the updated asset", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "type": "array", + "description": "Assets", + "items": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticModelId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "semanticModelId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "businessPartner" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "businessPartner": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "nameAtManufacturer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "nameAtManufacturer": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "owner" : { - "type" : "string", - "enum" : [ + "owner": { + "type": "string", + "enum": [ "SUPPLIER", "CUSTOMER", "OWN", "UNKNOWN" ] }, - "childRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Child relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "childRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Child relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "parentRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Parent relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "parentRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Parent relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "activeAlert" : { - "type" : "boolean" + "activeAlert": { + "type": "boolean" }, - "underInvestigation" : { - "type" : "boolean" + "underInvestigation": { + "type": "boolean" }, - "qualityType" : { - "type" : "string", - "enum" : [ + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -2816,14 +2766,14 @@ "LifeThreatening" ] }, - "van" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "van": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticDataModel" : { - "type" : "string", - "enum" : [ + "semanticDataModel": { + "type": "string", + "enum": [ "BATCH", "SERIALPART", "UNKNOWN", @@ -2831,24 +2781,24 @@ "JUSTINSEQUENCE" ] }, - "classification" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "classification": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "detailAspectModels" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectModelResponse" + "detailAspectModels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectModelResponse" } }, - "qualityAlertsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityAlertsInStatusActive": { + "type": "integer", + "format": "int32" }, - "qualityInvestigationsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityInvestigationsInStatusActive": { + "type": "integer", + "format": "int32" } } } @@ -2856,135 +2806,225 @@ } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-built/{assetId}" : { - "get" : { - "tags" : [ + "/assets/as-built/{assetId}": { + "get": { + "tags": [ "AssetsAsBuilt" ], - "summary" : "Get asset by id", - "description" : "The endpoint returns an asset filtered by id .", - "operationId" : "assetById_1", - "parameters" : [ + "summary": "Get asset by id", + "description": "The endpoint returns an asset filtered by id .", + "operationId": "assetById_1", + "parameters": [ { - "name" : "assetId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "responses" : { - "200" : { - "description" : "Returns the assets found", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Returns the assets found", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "type": "array", + "description": "Assets", + "items": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticModelId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "semanticModelId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "businessPartner" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "businessPartner": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "nameAtManufacturer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "nameAtManufacturer": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "owner" : { - "type" : "string", - "enum" : [ + "owner": { + "type": "string", + "enum": [ "SUPPLIER", "CUSTOMER", "OWN", "UNKNOWN" ] }, - "childRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Child relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "childRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Child relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "parentRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Parent relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "parentRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Parent relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "activeAlert" : { - "type" : "boolean" + "activeAlert": { + "type": "boolean" }, - "underInvestigation" : { - "type" : "boolean" + "underInvestigation": { + "type": "boolean" }, - "qualityType" : { - "type" : "string", - "enum" : [ + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -2992,14 +3032,14 @@ "LifeThreatening" ] }, - "van" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "van": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticDataModel" : { - "type" : "string", - "enum" : [ + "semanticDataModel": { + "type": "string", + "enum": [ "BATCH", "SERIALPART", "UNKNOWN", @@ -3007,24 +3047,24 @@ "JUSTINSEQUENCE" ] }, - "classification" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "classification": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "detailAspectModels" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectModelResponse" + "detailAspectModels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectModelResponse" } }, - "qualityAlertsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityAlertsInStatusActive": { + "type": "integer", + "format": "int32" }, - "qualityInvestigationsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityInvestigationsInStatusActive": { + "type": "integer", + "format": "int32" } } } @@ -3032,213 +3072,193 @@ } } }, - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] }, - "patch" : { - "tags" : [ + "patch": { + "tags": [ "AssetsAsBuilt" ], - "summary" : "Updates asset", - "description" : "The endpoint updates asset by provided quality type.", - "operationId" : "updateAsset_1", - "parameters" : [ + "summary": "Updates asset", + "description": "The endpoint updates asset by provided quality type.", + "operationId": "updateAsset_1", + "parameters": [ { - "name" : "assetId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "requestBody" : { - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/UpdateAssetRequest" + "requestBody": { + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/UpdateAssetRequest" } } }, - "required" : true + "required": true }, - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "200" : { - "description" : "Returns the updated asset", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Returns the updated asset", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "type": "array", + "description": "Assets", + "items": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticModelId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "semanticModelId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "businessPartner" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "businessPartner": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "nameAtManufacturer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "nameAtManufacturer": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "owner" : { - "type" : "string", - "enum" : [ + "owner": { + "type": "string", + "enum": [ "SUPPLIER", "CUSTOMER", "OWN", "UNKNOWN" ] }, - "childRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Child relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "childRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Child relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "parentRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Parent relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "parentRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Parent relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "activeAlert" : { - "type" : "boolean" + "activeAlert": { + "type": "boolean" }, - "underInvestigation" : { - "type" : "boolean" + "underInvestigation": { + "type": "boolean" }, - "qualityType" : { - "type" : "string", - "enum" : [ + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -3246,14 +3266,14 @@ "LifeThreatening" ] }, - "van" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "van": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticDataModel" : { - "type" : "string", - "enum" : [ + "semanticDataModel": { + "type": "string", + "enum": [ "BATCH", "SERIALPART", "UNKNOWN", @@ -3261,24 +3281,24 @@ "JUSTINSEQUENCE" ] }, - "classification" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "classification": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "detailAspectModels" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectModelResponse" + "detailAspectModels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectModelResponse" } }, - "qualityAlertsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityAlertsInStatusActive": { + "type": "integer", + "format": "int32" }, - "qualityInvestigationsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityInvestigationsInStatusActive": { + "type": "integer", + "format": "int32" } } } @@ -3286,697 +3306,677 @@ } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/shelldescriptors" : { - "get" : { - "tags" : [ + "/shelldescriptors": { + "get": { + "tags": [ "ShellDescriptorController" ], - "summary" : "FindAll shell descriptors", - "description" : "The endpoint returns all shell descriptors.", - "operationId" : "findAll", - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "summary": "FindAll shell descriptors", + "description": "The endpoint returns all shell descriptors.", + "operationId": "findAll", + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "200": { + "description": "ShellDescriptors found.", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/ShellDescriptorResponse" + } } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "ShellDescriptors found.", - "content" : { - "application/json" : { - "schema" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/ShellDescriptorResponse" - } + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] }, - "delete" : { - "tags" : [ + "delete": { + "tags": [ "Registry", "ShellDescriptorController" ], - "summary" : "Triggers deleteAll of shell descriptors list", - "description" : "The endpoint deletes all shell descriptors.", - "operationId" : "deleteAll", - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "summary": "Triggers deleteAll of shell descriptors list", + "description": "The endpoint deletes all shell descriptors.", + "operationId": "deleteAll", + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "Deleted." + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "Deleted." - }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/registry/reload" : { - "get" : { - "tags" : [ + "/registry/reload": { + "get": { + "tags": [ "Registry" ], - "summary" : "Triggers reload of shell descriptors", - "description" : "The endpoint Triggers reload of shell descriptors.", - "operationId" : "reload", - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "summary": "Triggers reload of shell descriptors", + "description": "The endpoint Triggers reload of shell descriptors.", + "operationId": "reload", + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "202": { + "description": "Created registry reload job." + }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "202" : { - "description" : "Created registry reload job." - }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/investigations/{investigationId}" : { - "get" : { - "tags" : [ + "/investigations/{investigationId}": { + "get": { + "tags": [ "Investigations" ], - "summary" : "Gets investigations by id", - "description" : "The endpoint returns investigations as paged result by their id.", - "operationId" : "getInvestigation", - "parameters" : [ + "summary": "Gets investigations by id", + "description": "The endpoint returns investigations as paged result by their id.", + "operationId": "getInvestigation", + "parameters": [ { - "name" : "investigationId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "investigationId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "OK.", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": -2147483648, + "type": "array", + "description": "Investigations", + "items": { + "$ref": "#/components/schemas/InvestigationResponse" + } } } } }, - "200" : { - "description" : "OK.", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : -2147483648, - "type" : "array", - "description" : "Investigations", - "items" : { - "$ref" : "#/components/schemas/InvestigationResponse" - } + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/dashboard" : { - "get" : { - "tags" : [ + "/dashboard": { + "get": { + "tags": [ "Dashboard" ], - "summary" : "Returns dashboard related data", - "description" : "The endpoint can return limited data based on the user role", - "operationId" : "dashboard", - "responses" : { - "200" : { - "description" : "Returns dashboard data", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/DashboardResponse" + "summary": "Returns dashboard related data", + "description": "The endpoint can return limited data based on the user role", + "operationId": "dashboard", + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "200": { + "description": "Returns dashboard data", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/DashboardResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-planned" : { - "get" : { - "tags" : [ + "/assets/as-planned": { + "get": { + "tags": [ "AssetsAsPlanned" ], - "summary" : "Get assets by pagination", - "description" : "The endpoint returns a paged result of assets.", - "operationId" : "AssetsAsPlanned", - "parameters" : [ + "summary": "Get assets by pagination", + "description": "The endpoint returns a paged result of assets.", + "operationId": "AssetsAsPlanned", + "parameters": [ { - "name" : "pageable", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/OwnPageable" + "name": "pageable", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/OwnPageable" } }, { - "name" : "filter", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaRequestParam" + "name": "filter", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/SearchCriteriaRequestParam" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "200" : { - "description" : "Returns the paged result found for Asset", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array", - "items" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Returns the paged result found for Asset", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "maxItems": 2147483647, + "type": "array", + "description": "Assets", + "items": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticModelId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "semanticModelId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "businessPartner" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "businessPartner": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "nameAtManufacturer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "nameAtManufacturer": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "owner" : { - "type" : "string", - "enum" : [ + "owner": { + "type": "string", + "enum": [ "SUPPLIER", "CUSTOMER", "OWN", "UNKNOWN" ] }, - "childRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Child relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "childRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Child relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "parentRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Parent relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "parentRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Parent relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "activeAlert" : { - "type" : "boolean" + "activeAlert": { + "type": "boolean" }, - "underInvestigation" : { - "type" : "boolean" + "underInvestigation": { + "type": "boolean" }, - "qualityType" : { - "type" : "string", - "enum" : [ + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -3984,14 +3984,14 @@ "LifeThreatening" ] }, - "van" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "van": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticDataModel" : { - "type" : "string", - "enum" : [ + "semanticDataModel": { + "type": "string", + "enum": [ "BATCH", "SERIALPART", "UNKNOWN", @@ -3999,24 +3999,24 @@ "JUSTINSEQUENCE" ] }, - "classification" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "classification": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "detailAspectModels" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectModelResponse" + "detailAspectModels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectModelResponse" } }, - "qualityAlertsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityAlertsInStatusActive": { + "type": "integer", + "format": "int32" }, - "qualityInvestigationsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityInvestigationsInStatusActive": { + "type": "integer", + "format": "int32" } } } @@ -4025,223 +4025,173 @@ } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-planned/{assetId}/children/{childId}" : { - "get" : { - "tags" : [ + "/assets/as-planned/{assetId}/children/{childId}": { + "get": { + "tags": [ "AssetsAsPlanned" ], - "summary" : "Get asset by child id", - "description" : "The endpoint returns an asset filtered by child id.", - "operationId" : "assetByChildId", - "parameters" : [ + "summary": "Get asset by child id", + "description": "The endpoint returns an asset filtered by child id.", + "operationId": "assetByChildId", + "parameters": [ { - "name" : "assetId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { - "name" : "childId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "childId", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "200" : { - "description" : "Returns the asset by childId", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "responses": { + "200": { + "description": "Returns the asset by childId", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "type": "array", + "description": "Assets", + "items": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticModelId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "semanticModelId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "businessPartner" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "businessPartner": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "nameAtManufacturer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "nameAtManufacturer": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "owner" : { - "type" : "string", - "enum" : [ + "owner": { + "type": "string", + "enum": [ "SUPPLIER", "CUSTOMER", "OWN", "UNKNOWN" ] }, - "childRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Child relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "childRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Child relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "parentRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Parent relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "parentRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Parent relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "activeAlert" : { - "type" : "boolean" + "activeAlert": { + "type": "boolean" }, - "underInvestigation" : { - "type" : "boolean" + "underInvestigation": { + "type": "boolean" }, - "qualityType" : { - "type" : "string", - "enum" : [ + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -4249,14 +4199,14 @@ "LifeThreatening" ] }, - "van" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "van": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticDataModel" : { - "type" : "string", - "enum" : [ + "semanticDataModel": { + "type": "string", + "enum": [ "BATCH", "SERIALPART", "UNKNOWN", @@ -4264,24 +4214,24 @@ "JUSTINSEQUENCE" ] }, - "classification" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "classification": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "detailAspectModels" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectModelResponse" + "detailAspectModels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectModelResponse" } }, - "qualityAlertsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityAlertsInStatusActive": { + "type": "integer", + "format": "int32" }, - "qualityInvestigationsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityInvestigationsInStatusActive": { + "type": "integer", + "format": "int32" } } } @@ -4289,276 +4239,356 @@ } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-planned/distinctFilterValues" : { - "get" : { - "tags" : [ + "/assets/as-planned/distinctFilterValues": { + "get": { + "tags": [ "Assets", "AssetsAsPlanned" ], - "summary" : "getDistinctFilterValues", - "description" : "The endpoint returns a distinct filter values for given fieldName.", - "operationId" : "distinctFilterValues", - "parameters" : [ + "summary": "getDistinctFilterValues", + "description": "The endpoint returns a distinct filter values for given fieldName.", + "operationId": "distinctFilterValues", + "parameters": [ { - "name" : "fieldName", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" + "name": "fieldName", + "in": "query", + "required": true, + "schema": { + "type": "string" } }, { - "name" : "size", - "in" : "query", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "size", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } }, { - "name" : "startWith", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" + "name": "startWith", + "in": "query", + "required": true, + "schema": { + "type": "string" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns a distinct filter values for given fieldName.", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array" + "200": { + "description": "Returns a distinct filter values for given fieldName.", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-built" : { - "get" : { - "tags" : [ + "/assets/as-built": { + "get": { + "tags": [ "AssetsAsBuilt" ], - "summary" : "Get assets by pagination", - "description" : "The endpoint returns a paged result of assets.", - "operationId" : "assets", - "parameters" : [ + "summary": "Get assets by pagination", + "description": "The endpoint returns a paged result of assets.", + "operationId": "assets", + "parameters": [ { - "name" : "pageable", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/OwnPageable" + "name": "pageable", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/OwnPageable" } }, { - "name" : "searchCriteriaRequestParam", - "in" : "query", - "required" : true, - "schema" : { - "$ref" : "#/components/schemas/SearchCriteriaRequestParam" + "name": "searchCriteriaRequestParam", + "in": "query", + "required": true, + "schema": { + "$ref": "#/components/schemas/SearchCriteriaRequestParam" } } ], - "responses" : { - "200" : { - "description" : "Returns the paged result found for Asset", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array", - "items" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Returns the paged result found for Asset", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array", + "items": { + "maxItems": 2147483647, + "type": "array", + "description": "Assets", + "items": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticModelId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "semanticModelId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "businessPartner" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "businessPartner": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "nameAtManufacturer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "nameAtManufacturer": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "owner" : { - "type" : "string", - "enum" : [ + "owner": { + "type": "string", + "enum": [ "SUPPLIER", "CUSTOMER", "OWN", "UNKNOWN" ] }, - "childRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Child relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "childRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Child relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "parentRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Parent relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "parentRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Parent relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "activeAlert" : { - "type" : "boolean" + "activeAlert": { + "type": "boolean" }, - "underInvestigation" : { - "type" : "boolean" + "underInvestigation": { + "type": "boolean" }, - "qualityType" : { - "type" : "string", - "enum" : [ + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -4566,14 +4596,14 @@ "LifeThreatening" ] }, - "van" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "van": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticDataModel" : { - "type" : "string", - "enum" : [ + "semanticDataModel": { + "type": "string", + "enum": [ "BATCH", "SERIALPART", "UNKNOWN", @@ -4581,24 +4611,24 @@ "JUSTINSEQUENCE" ] }, - "classification" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "classification": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "detailAspectModels" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectModelResponse" + "detailAspectModels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectModelResponse" } }, - "qualityAlertsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityAlertsInStatusActive": { + "type": "integer", + "format": "int32" }, - "qualityInvestigationsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityInvestigationsInStatusActive": { + "type": "integer", + "format": "int32" } } } @@ -4607,193 +4637,183 @@ } } }, - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-built/{assetId}/children/{childId}" : { - "get" : { - "tags" : [ + "/assets/as-built/{assetId}/children/{childId}": { + "get": { + "tags": [ "AssetsAsBuilt" ], - "summary" : "Get asset by child id", - "description" : "The endpoint returns an asset filtered by child id.", - "operationId" : "assetByChildId_1", - "parameters" : [ + "summary": "Get asset by child id", + "description": "The endpoint returns an asset filtered by child id.", + "operationId": "assetByChildId_1", + "parameters": [ { - "name" : "assetId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "assetId", + "in": "path", + "required": true, + "schema": { + "type": "string" } }, { - "name" : "childId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "childId", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "responses" : { - "200" : { - "description" : "Returns the asset by childId", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Returns the asset by childId", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "type": "array", + "description": "Assets", + "items": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticModelId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "semanticModelId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "businessPartner" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "businessPartner": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "nameAtManufacturer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "nameAtManufacturer": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "manufacturerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "manufacturerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "owner" : { - "type" : "string", - "enum" : [ + "owner": { + "type": "string", + "enum": [ "SUPPLIER", "CUSTOMER", "OWN", "UNKNOWN" ] }, - "childRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Child relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "childRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Child relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "parentRelations" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Parent relationships", - "items" : { - "$ref" : "#/components/schemas/DescriptionsResponse" + "parentRelations": { + "maxItems": 2147483647, + "type": "array", + "description": "Parent relationships", + "items": { + "$ref": "#/components/schemas/DescriptionsResponse" } }, - "activeAlert" : { - "type" : "boolean" + "activeAlert": { + "type": "boolean" }, - "underInvestigation" : { - "type" : "boolean" + "underInvestigation": { + "type": "boolean" }, - "qualityType" : { - "type" : "string", - "enum" : [ + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -4801,14 +4821,14 @@ "LifeThreatening" ] }, - "van" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "van": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "semanticDataModel" : { - "type" : "string", - "enum" : [ + "semanticDataModel": { + "type": "string", + "enum": [ "BATCH", "SERIALPART", "UNKNOWN", @@ -4816,24 +4836,24 @@ "JUSTINSEQUENCE" ] }, - "classification" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "classification": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "detailAspectModels" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectModelResponse" + "detailAspectModels": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectModelResponse" } }, - "qualityAlertsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityAlertsInStatusActive": { + "type": "integer", + "format": "int32" }, - "qualityInvestigationsInStatusActive" : { - "type" : "integer", - "format" : "int32" + "qualityInvestigationsInStatusActive": { + "type": "integer", + "format": "int32" } } } @@ -4841,621 +4861,601 @@ } } }, - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-built/distinctFilterValues" : { - "get" : { - "tags" : [ + "/assets/as-built/distinctFilterValues": { + "get": { + "tags": [ "AssetsAsBuilt", "Assets" ], - "summary" : "getDistinctFilterValues", - "description" : "The endpoint returns a distinct filter values for given fieldName.", - "operationId" : "distinctFilterValues_1", - "parameters" : [ + "summary": "getDistinctFilterValues", + "description": "The endpoint returns a distinct filter values for given fieldName.", + "operationId": "distinctFilterValues_1", + "parameters": [ { - "name" : "fieldName", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" + "name": "fieldName", + "in": "query", + "required": true, + "schema": { + "type": "string" } }, { - "name" : "size", - "in" : "query", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "size", + "in": "query", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } }, { - "name" : "startWith", - "in" : "query", - "required" : true, - "schema" : { - "type" : "string" + "name": "startWith", + "in": "query", + "required": true, + "schema": { + "type": "string" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "200" : { - "description" : "Returns a distinct filter values for given fieldName.", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "minItems" : 0, - "type" : "array" + "200": { + "description": "Returns a distinct filter values for given fieldName.", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "minItems": 0, + "type": "array" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/assets/as-built/countries" : { - "get" : { - "tags" : [ + "/assets/as-built/countries": { + "get": { + "tags": [ "AssetsAsBuilt" ], - "summary" : "Get map of assets", - "description" : "The endpoint returns a map for assets consumed by the map.", - "operationId" : "assetsCountryMap", - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "summary": "Get map of assets", + "description": "The endpoint returns a map for assets consumed by the map.", + "operationId": "assetsCountryMap", + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "Returns the assets found", + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": { + "type": "integer", + "format": "int64" + } } } } }, - "200" : { - "description" : "Returns the assets found", - "content" : { - "application/json" : { - "schema" : { - "type" : "object", - "additionalProperties" : { - "type" : "integer", - "format" : "int64" - } + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/alerts/{alertId}" : { - "get" : { - "tags" : [ + "/alerts/{alertId}": { + "get": { + "tags": [ "Alerts" ], - "summary" : "Gets Alert by id", - "description" : "The endpoint returns alert by id.", - "operationId" : "getAlert", - "parameters" : [ + "summary": "Gets Alert by id", + "description": "The endpoint returns alert by id.", + "operationId": "getAlert", + "parameters": [ { - "name" : "alertId", - "in" : "path", - "required" : true, - "schema" : { - "type" : "integer", - "format" : "int64" + "name": "alertId", + "in": "path", + "required": true, + "schema": { + "type": "integer", + "format": "int64" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" - } - } - } - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" + } + } + } + }, + "200": { + "description": "OK.", + "content": { + "application/json": { + "schema": { + "maxItems": 2147483647, + "type": "array", + "description": "Alerts", + "items": { + "$ref": "#/components/schemas/AlertResponse" + } } } } }, - "200" : { - "description" : "OK.", - "content" : { - "application/json" : { - "schema" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Alerts", - "items" : { - "$ref" : "#/components/schemas/AlertResponse" - } + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/submodel/data" : { - "delete" : { - "tags" : [ + "/submodel/data": { + "delete": { + "tags": [ "Submodel" ], - "summary" : "Delete All Submodels", - "description" : "Deletes all submodels from the system.", - "operationId" : "deleteSubmodels", - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "summary": "Delete All Submodels", + "description": "Deletes all submodels from the system.", + "operationId": "deleteSubmodels", + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "No Content." + }, + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "No Content." - }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } ] } }, - "/bpn-config/{bpn}" : { - "delete" : { - "tags" : [ + "/bpn-config/{bpn}": { + "delete": { + "tags": [ "BpnEdcMapping" ], - "summary" : "Deletes BPN EDC URL mappings", - "description" : "The endpoint deletes BPN EDC URL mappings", - "operationId" : "deleteBpnEdcUrlMappings", - "parameters" : [ + "summary": "Deletes BPN EDC URL mappings", + "description": "The endpoint deletes BPN EDC URL mappings", + "operationId": "deleteBpnEdcUrlMappings", + "parameters": [ { - "name" : "bpn", - "in" : "path", - "required" : true, - "schema" : { - "type" : "string" + "name": "bpn", + "in": "path", + "required": true, + "schema": { + "type": "string" } } ], - "responses" : { - "429" : { - "description" : "Too many requests.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "responses": { + "500": { + "description": "Internal server error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "204" : { - "description" : "Deleted." - }, - "401" : { - "description" : "Authorization failed.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "404": { + "description": "Not found.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "400" : { - "description" : "Bad request.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "429": { + "description": "Too many requests.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "403" : { - "description" : "Forbidden.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "400": { + "description": "Bad request.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "415" : { - "description" : "Unsupported media type", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "403": { + "description": "Forbidden.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "404" : { - "description" : "Not found.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "204": { + "description": "Deleted." + }, + "401": { + "description": "Authorization failed.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } }, - "500" : { - "description" : "Internal server error.", - "content" : { - "application/json" : { - "schema" : { - "$ref" : "#/components/schemas/ErrorResponse" + "415": { + "description": "Unsupported media type", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ErrorResponse" } } } } }, - "security" : [ + "security": [ { - "oAuth2" : [ + "oAuth2": [ "profile email" ] } @@ -5463,134 +5463,134 @@ } } }, - "components" : { - "schemas" : { - "BpnMappingRequest" : { - "required" : [ + "components": { + "schemas": { + "BpnMappingRequest": { + "required": [ "bpn", "url" ], - "type" : "object", - "properties" : { - "bpn" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "url" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "type": "object", + "properties": { + "bpn": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "url": { + "maxLength": 255, + "minLength": 0, + "type": "string" } } }, - "ErrorResponse" : { - "type" : "object", - "properties" : { - "message" : { - "maxLength" : 1000, - "minLength" : 0, - "pattern" : "^.*$", - "type" : "string" + "ErrorResponse": { + "type": "object", + "properties": { + "message": { + "maxLength": 1000, + "minLength": 0, + "pattern": "^.*$", + "type": "string" } } }, - "StartQualityNotificationRequest" : { - "required" : [ + "StartQualityNotificationRequest": { + "required": [ "severity" ], - "type" : "object", - "properties" : { - "partIds" : { - "maxItems" : 100, - "minItems" : 1, - "type" : "array", - "items" : { - "type" : "string" - } - }, - "description" : { - "maxLength" : 1000, - "minLength" : 15, - "type" : "string" - }, - "targetDate" : { - "type" : "string", - "format" : "date-time" - }, - "severity" : { - "type" : "string", - "enum" : [ + "type": "object", + "properties": { + "partIds": { + "maxItems": 100, + "minItems": 1, + "type": "array", + "items": { + "type": "string" + } + }, + "description": { + "maxLength": 1000, + "minLength": 15, + "type": "string" + }, + "targetDate": { + "type": "string", + "format": "date-time" + }, + "severity": { + "type": "string", + "enum": [ "MINOR", "MAJOR", "CRITICAL", "LIFE_THREATENING" ] }, - "receiverBpn" : { - "type" : "string" + "receiverBpn": { + "type": "string" }, - "asBuilt" : { - "type" : "boolean" + "asBuilt": { + "type": "boolean" } } }, - "QualityNotificationIdResponse" : { - "type" : "object", - "properties" : { - "id" : { - "type" : "integer", - "format" : "int64" + "QualityNotificationIdResponse": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" } } }, - "UpdateQualityNotificationRequest" : { - "required" : [ + "UpdateQualityNotificationRequest": { + "required": [ "status" ], - "type" : "object", - "properties" : { - "status" : { - "type" : "string", - "description" : "The UpdateInvestigationStatus", - "enum" : [ + "type": "object", + "properties": { + "status": { + "type": "string", + "description": "The UpdateInvestigationStatus", + "enum": [ "ACKNOWLEDGED", "ACCEPTED", "DECLINED" ] }, - "reason" : { - "type" : "string" + "reason": { + "type": "string" } } }, - "CloseQualityNotificationRequest" : { - "type" : "object", - "properties" : { - "reason" : { - "maxLength" : 1000, - "minLength" : 15, - "type" : "string" + "CloseQualityNotificationRequest": { + "type": "object", + "properties": { + "reason": { + "maxLength": 1000, + "minLength": 15, + "type": "string" } } }, - "CreateNotificationContractRequest" : { - "required" : [ + "CreateNotificationContractRequest": { + "required": [ "notificationMethod", "notificationType" ], - "type" : "object", - "properties" : { - "notificationType" : { - "type" : "string", - "enum" : [ + "type": "object", + "properties": { + "notificationType": { + "type": "string", + "enum": [ "QUALITY_INVESTIGATION", "QUALITY_ALERT" ] }, - "notificationMethod" : { - "type" : "string", - "enum" : [ + "notificationMethod": { + "type": "string", + "enum": [ "RECEIVE", "UPDATE", "RESOLVE" @@ -5598,56 +5598,56 @@ } } }, - "CreateNotificationContractResponse" : { - "type" : "object", - "properties" : { - "notificationAssetId" : { - "type" : "string" + "CreateNotificationContractResponse": { + "type": "object", + "properties": { + "notificationAssetId": { + "type": "string" }, - "accessPolicyId" : { - "type" : "string" + "accessPolicyId": { + "type": "string" }, - "contractDefinitionId" : { - "type" : "string" + "contractDefinitionId": { + "type": "string" } } }, - "SyncAssetsRequest" : { - "type" : "object", - "properties" : { - "globalAssetIds" : { - "maxItems" : 100, - "minItems" : 1, - "type" : "array", - "description" : "Assets", - "items" : { - "type" : "string" + "SyncAssetsRequest": { + "type": "object", + "properties": { + "globalAssetIds": { + "maxItems": 100, + "minItems": 1, + "type": "array", + "description": "Assets", + "items": { + "type": "string" } } } }, - "GetDetailInformationRequest" : { - "type" : "object", - "properties" : { - "assetIds" : { - "maxItems" : 50, - "minItems" : 1, - "type" : "array", - "items" : { - "type" : "string" + "GetDetailInformationRequest": { + "type": "object", + "properties": { + "assetIds": { + "maxItems": 50, + "minItems": 1, + "type": "array", + "items": { + "type": "string" } } } }, - "UpdateAssetRequest" : { - "required" : [ + "UpdateAssetRequest": { + "required": [ "qualityType" ], - "type" : "object", - "properties" : { - "qualityType" : { - "type" : "string", - "enum" : [ + "type": "object", + "properties": { + "qualityType": { + "type": "string", + "enum": [ "Ok", "Minor", "Major", @@ -5657,125 +5657,125 @@ } } }, - "DescriptionsResponse" : { - "type" : "object", - "properties" : { - "id" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "idShort" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "DescriptionsResponse": { + "type": "object", + "properties": { + "id": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "idShort": { + "maxLength": 255, + "minLength": 0, + "type": "string" } } }, - "DetailAspectDataAsBuiltResponse" : { - "type" : "object", - "properties" : { - "partId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "customerPartId" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "nameAtCustomer" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "manufacturingCountry" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "manufacturingDate" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "DetailAspectDataAsBuiltResponse": { + "type": "object", + "properties": { + "partId": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "customerPartId": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "nameAtCustomer": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "manufacturingCountry": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "manufacturingDate": { + "maxLength": 255, + "minLength": 0, + "type": "string" } } }, - "DetailAspectDataAsPlannedResponse" : { - "type" : "object", - "properties" : { - "validityPeriodFrom" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "validityPeriodTo" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "DetailAspectDataAsPlannedResponse": { + "type": "object", + "properties": { + "validityPeriodFrom": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "validityPeriodTo": { + "maxLength": 255, + "minLength": 0, + "type": "string" } } }, - "DetailAspectDataResponse" : { - "type" : "object", - "oneOf" : [ + "DetailAspectDataResponse": { + "type": "object", + "oneOf": [ { - "$ref" : "#/components/schemas/DetailAspectDataAsBuiltResponse" + "$ref": "#/components/schemas/DetailAspectDataAsBuiltResponse" }, { - "$ref" : "#/components/schemas/DetailAspectDataAsPlannedResponse" + "$ref": "#/components/schemas/DetailAspectDataAsPlannedResponse" }, { - "$ref" : "#/components/schemas/PartSiteInformationAsPlannedResponse" + "$ref": "#/components/schemas/PartSiteInformationAsPlannedResponse" }, { - "$ref" : "#/components/schemas/DetailAspectDataTractionBatteryCodeResponse" + "$ref": "#/components/schemas/DetailAspectDataTractionBatteryCodeResponse" } ] }, - "DetailAspectDataTractionBatteryCodeResponse" : { - "type" : "object", - "properties" : { - "productType" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "DetailAspectDataTractionBatteryCodeResponse": { + "type": "object", + "properties": { + "productType": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "tractionBatteryCode" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "tractionBatteryCode": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "subcomponents" : { - "type" : "array", - "items" : { - "$ref" : "#/components/schemas/DetailAspectDataTractionBatteryCodeSubcomponentResponse" + "subcomponents": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DetailAspectDataTractionBatteryCodeSubcomponentResponse" } } } }, - "DetailAspectDataTractionBatteryCodeSubcomponentResponse" : { - "type" : "object", - "properties" : { - "productType" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "tractionBatteryCode" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "DetailAspectDataTractionBatteryCodeSubcomponentResponse": { + "type": "object", + "properties": { + "productType": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "tractionBatteryCode": { + "maxLength": 255, + "minLength": 0, + "type": "string" } } }, - "DetailAspectModelResponse" : { - "type" : "object", - "properties" : { - "type" : { - "type" : "string", - "enum" : [ + "DetailAspectModelResponse": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ "AS_BUILT", "AS_PLANNED", "TRACTION_BATTERY_CODE", @@ -5785,90 +5785,90 @@ "PART_SITE_INFORMATION_AS_PLANNED" ] }, - "data" : { - "$ref" : "#/components/schemas/DetailAspectDataResponse" + "data": { + "$ref": "#/components/schemas/DetailAspectDataResponse" } } }, - "PartSiteInformationAsPlannedResponse" : { - "type" : "object", - "properties" : { - "functionValidUntil" : { - "type" : "string" + "PartSiteInformationAsPlannedResponse": { + "type": "object", + "properties": { + "functionValidUntil": { + "type": "string" }, - "function" : { - "type" : "string" + "function": { + "type": "string" }, - "functionValidFrom" : { - "type" : "string" + "functionValidFrom": { + "type": "string" }, - "catenaXSiteId" : { - "type" : "string" + "catenaXSiteId": { + "type": "string" } } }, - "ShellDescriptorResponse" : { - "type" : "object", - "properties" : { - "id" : { - "type" : "integer", - "format" : "int64" + "ShellDescriptorResponse": { + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64" }, - "globalAssetId" : { - "type" : "string" + "globalAssetId": { + "type": "string" } } }, - "OwnPageable" : { - "type" : "object", - "properties" : { - "page" : { - "type" : "integer", - "format" : "int32" - }, - "size" : { - "type" : "integer", - "format" : "int32" - }, - "sort" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Content of Assets PageResults", - "example" : "manufacturerPartId,desc", - "items" : { - "type" : "string" + "OwnPageable": { + "type": "object", + "properties": { + "page": { + "type": "integer", + "format": "int32" + }, + "size": { + "type": "integer", + "format": "int32" + }, + "sort": { + "maxItems": 2147483647, + "type": "array", + "description": "Content of Assets PageResults", + "example": "manufacturerPartId,desc", + "items": { + "type": "string" } } } }, - "SearchCriteriaRequestParam" : { - "type" : "object", - "properties" : { - "filter" : { - "maxItems" : 2147483647, - "type" : "array", - "description" : "Filter Criteria", - "example" : "owner,EQUAL,OWN", - "items" : { - "type" : "string" + "SearchCriteriaRequestParam": { + "type": "object", + "properties": { + "filter": { + "maxItems": 2147483647, + "type": "array", + "description": "Filter Criteria", + "example": "owner,EQUAL,OWN", + "items": { + "type": "string" } } } }, - "InvestigationResponse" : { - "type" : "object", - "properties" : { - "id" : { - "maximum" : 255, - "minimum" : 0, - "type" : "integer", - "format" : "int64" - }, - "status" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string", - "enum" : [ + "InvestigationResponse": { + "type": "object", + "properties": { + "id": { + "maximum": 255, + "minimum": 0, + "type": "integer", + "format": "int64" + }, + "status": { + "maxLength": 255, + "minLength": 0, + "type": "string", + "enum": [ "CREATED", "SENT", "RECEIVED", @@ -5879,147 +5879,147 @@ "CLOSED" ] }, - "description" : { - "maxLength" : 1000, - "minLength" : 0, - "type" : "string" - }, - "createdBy" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "createdByName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "createdDate" : { - "maxLength" : 50, - "minLength" : 0, - "type" : "string" - }, - "assetIds" : { - "maxItems" : 1000, - "minItems" : 0, - "type" : "array", - "description" : "assetIds", - "items" : { - "type" : "string" - } - }, - "channel" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string", - "enum" : [ + "description": { + "maxLength": 1000, + "minLength": 0, + "type": "string" + }, + "createdBy": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "createdByName": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "createdDate": { + "maxLength": 50, + "minLength": 0, + "type": "string" + }, + "assetIds": { + "maxItems": 1000, + "minItems": 0, + "type": "array", + "description": "assetIds", + "items": { + "type": "string" + } + }, + "channel": { + "maxLength": 255, + "minLength": 0, + "type": "string", + "enum": [ "SENDER", "RECEIVER" ] }, - "reason" : { - "$ref" : "#/components/schemas/QualityNotificationReasonResponse" + "reason": { + "$ref": "#/components/schemas/QualityNotificationReasonResponse" }, - "sendTo" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "sendTo": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "sendToName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "sendToName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "severity" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string", - "enum" : [ + "severity": { + "maxLength": 255, + "minLength": 0, + "type": "string", + "enum": [ "MINOR", "MAJOR", "CRITICAL", "LIFE-THREATENING" ] }, - "targetDate" : { - "maxLength" : 50, - "minLength" : 0, - "type" : "string" + "targetDate": { + "maxLength": 50, + "minLength": 0, + "type": "string" }, - "errorMessage" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "errorMessage": { + "maxLength": 255, + "minLength": 0, + "type": "string" } } }, - "QualityNotificationReasonResponse" : { - "type" : "object", - "properties" : { - "close" : { - "maxLength" : 1000, - "minLength" : 0, - "type" : "string" - }, - "accept" : { - "maxLength" : 1000, - "minLength" : 0, - "type" : "string" - }, - "decline" : { - "maxLength" : 1000, - "minLength" : 0, - "type" : "string" + "QualityNotificationReasonResponse": { + "type": "object", + "properties": { + "close": { + "maxLength": 1000, + "minLength": 0, + "type": "string" + }, + "accept": { + "maxLength": 1000, + "minLength": 0, + "type": "string" + }, + "decline": { + "maxLength": 1000, + "minLength": 0, + "type": "string" } } }, - "DashboardResponse" : { - "type" : "object", - "properties" : { - "myParts" : { - "type" : "integer", - "format" : "int64" + "DashboardResponse": { + "type": "object", + "properties": { + "myParts": { + "type": "integer", + "format": "int64" }, - "otherParts" : { - "type" : "integer", - "format" : "int64" + "otherParts": { + "type": "integer", + "format": "int64" }, - "investigationsReceived" : { - "type" : "integer", - "format" : "int64" + "investigationsReceived": { + "type": "integer", + "format": "int64" }, - "alertsReceived" : { - "type" : "integer", - "format" : "int64" + "alertsReceived": { + "type": "integer", + "format": "int64" }, - "alertsSent" : { - "type" : "integer", - "format" : "int64" + "alertsSent": { + "type": "integer", + "format": "int64" }, - "myPartsWithOpenAlerts" : { - "type" : "integer", - "format" : "int64" + "myPartsWithOpenAlerts": { + "type": "integer", + "format": "int64" }, - "supplierPartsWithOpenAlerts" : { - "type" : "integer", - "format" : "int64" + "supplierPartsWithOpenAlerts": { + "type": "integer", + "format": "int64" } } }, - "AlertResponse" : { - "type" : "object", - "properties" : { - "id" : { - "maximum" : 255, - "minimum" : 0, - "type" : "integer", - "format" : "int64" - }, - "status" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string", - "enum" : [ + "AlertResponse": { + "type": "object", + "properties": { + "id": { + "maximum": 255, + "minimum": 0, + "type": "integer", + "format": "int64" + }, + "status": { + "maxLength": 255, + "minLength": 0, + "type": "string", + "enum": [ "CREATED", "SENT", "RECEIVED", @@ -6030,88 +6030,88 @@ "CLOSED" ] }, - "description" : { - "maxLength" : 1000, - "minLength" : 0, - "type" : "string" - }, - "createdBy" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "createdByName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" - }, - "createdDate" : { - "maxLength" : 50, - "minLength" : 0, - "type" : "string" - }, - "assetIds" : { - "maxItems" : 1000, - "minItems" : 0, - "type" : "array", - "description" : "assetIds", - "items" : { - "type" : "string" - } - }, - "channel" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string", - "enum" : [ + "description": { + "maxLength": 1000, + "minLength": 0, + "type": "string" + }, + "createdBy": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "createdByName": { + "maxLength": 255, + "minLength": 0, + "type": "string" + }, + "createdDate": { + "maxLength": 50, + "minLength": 0, + "type": "string" + }, + "assetIds": { + "maxItems": 1000, + "minItems": 0, + "type": "array", + "description": "assetIds", + "items": { + "type": "string" + } + }, + "channel": { + "maxLength": 255, + "minLength": 0, + "type": "string", + "enum": [ "SENDER", "RECEIVER" ] }, - "reason" : { - "$ref" : "#/components/schemas/QualityNotificationReasonResponse" + "reason": { + "$ref": "#/components/schemas/QualityNotificationReasonResponse" }, - "sendTo" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "sendTo": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "sendToName" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "sendToName": { + "maxLength": 255, + "minLength": 0, + "type": "string" }, - "severity" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string", - "enum" : [ + "severity": { + "maxLength": 255, + "minLength": 0, + "type": "string", + "enum": [ "MINOR", "MAJOR", "CRITICAL", "LIFE-THREATENING" ] }, - "targetDate" : { - "maxLength" : 50, - "minLength" : 0, - "type" : "string" + "targetDate": { + "maxLength": 50, + "minLength": 0, + "type": "string" }, - "errorMessage" : { - "maxLength" : 255, - "minLength" : 0, - "type" : "string" + "errorMessage": { + "maxLength": 255, + "minLength": 0, + "type": "string" } } } }, - "securitySchemes" : { - "oAuth2" : { - "type" : "oauth2", - "flows" : { - "clientCredentials" : { - "scopes" : { - "profile email" : "" + "securitySchemes": { + "oAuth2": { + "type": "oauth2", + "flows": { + "clientCredentials": { + "scopes": { + "profile email": "" } } } diff --git a/tx-backend/pom.xml b/tx-backend/pom.xml index 2f4854d80e..984fa009c5 100644 --- a/tx-backend/pom.xml +++ b/tx-backend/pom.xml @@ -220,7 +220,7 @@ SPDX-License-Identifier: Apache-2.0 io.github.resilience4j - resilience4j-spring-boot2 + resilience4j-spring-boot3 ${resilience4j.version} diff --git a/tx-backend/src/main/java/org/eclipse/tractusx/traceability/common/model/BaseRequestFieldMapper.java b/tx-backend/src/main/java/org/eclipse/tractusx/traceability/common/model/BaseRequestFieldMapper.java index abf211482c..df71207871 100644 --- a/tx-backend/src/main/java/org/eclipse/tractusx/traceability/common/model/BaseRequestFieldMapper.java +++ b/tx-backend/src/main/java/org/eclipse/tractusx/traceability/common/model/BaseRequestFieldMapper.java @@ -30,7 +30,7 @@ public abstract class BaseRequestFieldMapper { public String mapRequestFieldName(String fieldName) { String mappedField = getSupportedFields().get(fieldName); if (isNull(mappedField)) { - throw new UnsupportedSearchCriteriaFieldException(fieldName, getSupportedFields().values().stream().toList()); + throw new UnsupportedSearchCriteriaFieldException(fieldName, getSupportedFields().keySet().stream().toList()); } return mappedField; } diff --git a/tx-backend/testdata/CHANGELOG.md b/tx-backend/testdata/CHANGELOG.md index 2d0a0a659b..65e3222b19 100644 --- a/tx-backend/testdata/CHANGELOG.md +++ b/tx-backend/testdata/CHANGELOG.md @@ -1,3 +1,7 @@ +## [2023-10-25] + +CX_Testdata_MessagingTest_v0.0.12.json + ## [2023-08-25] CX_Testdata_MessagingTest_v0.0.11.json diff --git a/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.12.json b/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.12.json new file mode 100644 index 0000000000..63d8ef3d19 --- /dev/null +++ b/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.12.json @@ -0,0 +1,2450 @@ +{ + "policies" : { + "ID 3.0 Trace" : { + "@context" : { + "odrl" : "http://www.w3.org/ns/odrl/2/" + }, + "@type" : "PolicyDefinitionRequestDto", + "@id" : "id-3.0-trace", + "policy" : { + "@type" : "Policy", + "odrl:permission" : [ + { + "odrl:action" : "USE", + "odrl:constraint" : { + "@type" : "AtomicConstraint", + "odrl:or" : [ + { + "@type" : "Constraint", + "odrl:leftOperand" : "PURPOSE", + "odrl:operator" : { + "@id" : "odrl:eq" + }, + "odrl:rightOperand" : "ID 3.0 Trace" + } + ] + } + } + ] + } + } + }, + "https://catenax.io/schema/TestDataContainer/1.0.0" : [ + { + "catenaXId" : "urn:uuid:0fed587c-7ab4-4597-9841-1718e9693003", + "bpnl" : "BPNL00000003CML1", + "PlainObject" : [ + { + "BPN_OEM_C" : "BPNL00000003CML1", + "BPN_OEM_A" : "BPNL00000003CSGV", + "BPN_OEM_B" : "BPNL00000003AZQP", + "BPN_OEM_D" : "BPNL00000003CNKC", + "CREATION_DATE" : "2022-09-26T12:43:51.079Z" + } + ] + }, + { + "catenaXId" : "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36e22", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36e22", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:7eeeac86-7b69-444d-81e6-655d0f1513bd", + "businessPartner" : "BPNL00000003CNKC" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "3500076-05", + "key" : "manufacturerPartId" + }, + { + "value" : "OMAOYGBDTSRCMYSCX", + "key" : "partInstanceId" + }, + { + "value" : "OMAOYGBDTSRCMYSCX", + "key" : "van" + } + ], + "manufacturingInformation" : { + "date" : "2018-09-28T04:15:57.000Z", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36e22", + "partTypeInformation" : { + "manufacturerPartId" : "3500076-05", + "classification" : "product", + "nameAtManufacturer" : "a/dev Vehicle Hybrid" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:7eeeac86-7b69-444d-81e6-655d0f1513bd", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:7eeeac86-7b69-444d-81e6-655d0f1513bd", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2023-02-20T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:1d2d8480-90a5-4a17-9ecb-2ff039d35fec", + "businessPartner" : "BPNL00000003CSGV" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "22782277-50", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-313869652971440618042264", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:7eeeac86-7b69-444d-81e6-655d0f1513bd", + "partTypeInformation" : { + "manufacturerPartId" : "22782277-50", + "customerPartId" : "22782277-50", + "classification" : "component", + "nameAtManufacturer" : "Door f-l", + "nameAtCustomer" : "b/test Door front-left" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:7eeeac86-7b69-444d-81e6-655d0f1513bd", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:6b2296cc-26c0-4f38-8a22-092338c36e22", + "createdOn" : "2023-05-29T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:1d2d8480-90a5-4a17-9ecb-2ff039d35fec", + "bpnl" : "BPNL00000003CSGV", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CSGV", + "key" : "manufacturerId" + }, + { + "value" : "95657762-59", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-584478761469608738361558", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1d2d8480-90a5-4a17-9ecb-2ff039d35fec", + "partTypeInformation" : { + "manufacturerPartId" : "95657762-59", + "customerPartId" : "95657762-59", + "classification" : "component", + "nameAtManufacturer" : "Door Key", + "nameAtCustomer" : "Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:1d2d8480-90a5-4a17-9ecb-2ff039d35fec", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:7eeeac86-7b69-444d-81e6-655d0f1513bd", + "createdOn" : "2023-06-18T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:d8030bbf-a874-49fb-b2e1-7610f0ccad12", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:d8030bbf-a874-49fb-b2e1-7610f0ccad12", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2021-01-15T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a", + "businessPartner" : "BPNL00000003CNKC" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "4922009-56", + "key" : "manufacturerPartId" + }, + { + "value" : "OMAYSKEITUGNVHKKX", + "key" : "partInstanceId" + }, + { + "value" : "OMAYSKEITUGNVHKKX", + "key" : "van" + } + ], + "manufacturingInformation" : { + "date" : "2015-03-07T19:38:12.000Z", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:d8030bbf-a874-49fb-b2e1-7610f0ccad12", + "partTypeInformation" : { + "manufacturerPartId" : "4922009-56", + "classification" : "product", + "nameAtManufacturer" : "a/dev Vehicle Hybrid" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2020-05-02T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:4e390dab-707f-446e-bfbe-653f6f5b1f37", + "businessPartner" : "BPNL00000003CML1" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "3880383-57", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-989134870198932317923938", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a", + "partTypeInformation" : { + "manufacturerPartId" : "3880383-57", + "customerPartId" : "3880383-57", + "classification" : "component", + "nameAtManufacturer" : "b/test Door f-l", + "nameAtCustomer" : "Door front-left" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:d8030bbf-a874-49fb-b2e1-7610f0ccad12", + "createdOn" : "2023-07-15T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:4e390dab-707f-446e-bfbe-653f6f5b1f37", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "6683834-82", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-493575190274381019348907", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:4e390dab-707f-446e-bfbe-653f6f5b1f37", + "partTypeInformation" : { + "manufacturerPartId" : "6683834-82", + "customerPartId" : "6683834-82", + "classification" : "component", + "nameAtManufacturer" : "Door Key", + "nameAtCustomer" : "Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:4e390dab-707f-446e-bfbe-653f6f5b1f37", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:5205f736-8fc2-4585-b869-6bf36842369a", + "createdOn" : "2023-12-05T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:7c7d5aec-b15d-491c-8fbd-c61c6c02c69a", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:7c7d5aec-b15d-491c-8fbd-c61c6c02c69a", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2022-11-22T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:f11ddc62-3bd5-468f-b7b0-110fe13ed0cd", + "businessPartner" : "BPNL00000003CNKC" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "5519583-63", + "key" : "manufacturerPartId" + }, + { + "value" : "OMAZRXWWMSPTQUEKI", + "key" : "partInstanceId" + }, + { + "value" : "OMAZRXWWMSPTQUEKI", + "key" : "van" + } + ], + "manufacturingInformation" : { + "date" : "2015-07-04T14:30:31.000Z", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:7c7d5aec-b15d-491c-8fbd-c61c6c02c69a", + "partTypeInformation" : { + "manufacturerPartId" : "5519583-63", + "classification" : "product", + "nameAtManufacturer" : "Vehicle Hybrid" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:f11ddc62-3bd5-468f-b7b0-110fe13ed0cd", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:f11ddc62-3bd5-468f-b7b0-110fe13ed0cd", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2018-09-17T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:4a5e9ff6-2d5c-4510-a90e-d55af3ba502f", + "businessPartner" : "BPNL00000003CML1" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "9069675-60", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-004314332935115065980115", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:f11ddc62-3bd5-468f-b7b0-110fe13ed0cd", + "partTypeInformation" : { + "manufacturerPartId" : "9069675-60", + "customerPartId" : "9069675-60", + "classification" : "component", + "nameAtManufacturer" : "b/test Door f-l", + "nameAtCustomer" : "Door front-left" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:f11ddc62-3bd5-468f-b7b0-110fe13ed0cd", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:7c7d5aec-b15d-491c-8fbd-c61c6c02c69a", + "createdOn" : "2023-02-16T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:4a5e9ff6-2d5c-4510-a90e-d55af3ba502f", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "8770123-80", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-246880451848384868750731", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:4a5e9ff6-2d5c-4510-a90e-d55af3ba502f", + "partTypeInformation" : { + "manufacturerPartId" : "8770123-80", + "customerPartId" : "8770123-80", + "classification" : "component", + "nameAtManufacturer" : "a/dev Door Key", + "nameAtCustomer" : "Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:4a5e9ff6-2d5c-4510-a90e-d55af3ba502f", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:f11ddc62-3bd5-468f-b7b0-110fe13ed0cd", + "createdOn" : "2023-04-13T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:4d33bfa6-0f1f-43a5-ad63-c3fe07a2d076", + "bpnl" : "BPNL00000003CSGV", + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:4d33bfa6-0f1f-43a5-ad63-c3fe07a2d076", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2021-10-24T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:c47b9f8b-48d0-4ef4-8f0b-e965a225cb8d", + "businessPartner" : "BPNL00000003CNKC" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CSGV", + "key" : "manufacturerId" + }, + { + "value" : "9321782-89", + "key" : "manufacturerPartId" + }, + { + "value" : "OMAFIVCDHEBNXKNHH", + "key" : "partInstanceId" + }, + { + "value" : "OMAFIVCDHEBNXKNHH", + "key" : "van" + } + ], + "manufacturingInformation" : { + "date" : "2015-01-03T03:16:41.000Z", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:4d33bfa6-0f1f-43a5-ad63-c3fe07a2d076", + "partTypeInformation" : { + "manufacturerPartId" : "9321782-89", + "classification" : "product", + "nameAtManufacturer" : "Vehicle Hybrid" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:c47b9f8b-48d0-4ef4-8f0b-e965a225cb8d", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:c47b9f8b-48d0-4ef4-8f0b-e965a225cb8d", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2022-06-28T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:6ec3f1db-2798-454b-a73f-0d21a8966c74", + "businessPartner" : "BPNL00000003CML1" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "9879317-51", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-477013846751358222215326", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:c47b9f8b-48d0-4ef4-8f0b-e965a225cb8d", + "partTypeInformation" : { + "manufacturerPartId" : "9879317-51", + "customerPartId" : "9879317-51", + "classification" : "component", + "nameAtManufacturer" : "b/test Door f-l", + "nameAtCustomer" : "Door front-left" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:c47b9f8b-48d0-4ef4-8f0b-e965a225cb8d", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:4d33bfa6-0f1f-43a5-ad63-c3fe07a2d076", + "createdOn" : "2023-03-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CSGV", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:6ec3f1db-2798-454b-a73f-0d21a8966c74", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "5756987-94", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-613963493493659233961306", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:6ec3f1db-2798-454b-a73f-0d21a8966c74", + "partTypeInformation" : { + "manufacturerPartId" : "5756987-94", + "customerPartId" : "5756987-94", + "classification" : "component", + "nameAtManufacturer" : "a/dev Door Key", + "nameAtCustomer" : "Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:6ec3f1db-2798-454b-a73f-0d21a8966c74", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:c47b9f8b-48d0-4ef4-8f0b-e965a225cb8d", + "createdOn" : "2023-08-21T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284b170", + "bpnl" : "BPNL00000003CSGV", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CSGV", + "key" : "manufacturerId" + }, + { + "value" : "5290709-55", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-341449848714937445621543", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284b170", + "partTypeInformation" : { + "manufacturerPartId" : "5290709-55", + "classification" : "component", + "nameAtManufacturer" : "a/dev Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284b170", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:6ec3f1db-2798-454b-a73f-0d21a8966c74", + "createdOn" : "2023-06-14T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa01", + "bpnl" : "BPNL00000003CML1", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "9858559-85", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-341449848714937445621543", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa01", + "partTypeInformation" : { + "manufacturerPartId" : "9858559-85", + "classification" : "component", + "nameAtManufacturer" : "a/dev Door Key" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa02", + "bpnl" : "BPNL00000003CML1", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "9623673-66", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-341449848714937445621543", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa02", + "partTypeInformation" : { + "manufacturerPartId" : "9623673-66", + "classification" : "component", + "nameAtManufacturer" : "a/dev Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa02", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2016-01-20T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb01", + "businessPartner" : "BPNL00000003CNKC" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb01", + "bpnl" : "BPNL00000003CNKC", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "5894914-94", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-341449848714937445621543", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb01", + "partTypeInformation" : { + "manufacturerPartId" : "5894914-94", + "classification" : "component", + "nameAtManufacturer" : "b/test Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb01", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa02", + "createdOn" : "2023-08-08T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb02", + "bpnl" : "BPNL00000003CNKC", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "6245773-32", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-341449848714937445621543", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb02", + "partTypeInformation" : { + "manufacturerPartId" : "6245773-32", + "classification" : "component", + "nameAtManufacturer" : "b/test Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb02", + "childItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2019-08-15T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa03", + "businessPartner" : "BPNL00000003CML1" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa03", + "bpnl" : "BPNL00000003CML1", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "4902203-92", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-341449848714937445621543", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa03", + "partTypeInformation" : { + "manufacturerPartId" : "4902203-92", + "classification" : "component", + "nameAtManufacturer" : "a/dev Door Key" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fa03", + "customers" : [ + { + "parentItems" : [ + { + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb02", + "createdOn" : "2022-07-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb03", + "bpnl" : "BPNL00000003CNKC", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "9770171-23", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-341449848714937445621543", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1be6ec59-40fb-4993-9836-acb0e284fb03", + "partTypeInformation" : { + "manufacturerPartId" : "9770171-23", + "classification" : "component", + "nameAtManufacturer" : "b/test Door Key" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4da01", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2019-04-04T03:19:03.000Z", + "validTo" : "2024-12-29T10:25:12.000Z" + }, + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4da01", + "partTypeInformation" : { + "manufacturerPartId" : "9649571-63", + "classification" : "product", + "nameAtManufacturer" : "a/dev Vehicle Model A" + } + } + ], + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4da01", + "sites" : [ + { + "functionValidUntil" : "2025-02-08T04:30:48.000Z", + "function" : "production", + "functionValidFrom" : "2019-08-21T02:10:36.000Z", + "catenaXSiteId" : "BPNS000004711DMY" + } + ] + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4da01", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2022-08-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4eb01", + "businessPartner" : "BPNL00000003CNKC" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4eb01", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2019-04-04T03:19:03.000Z", + "validTo" : "2024-12-29T10:25:12.000Z" + }, + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4eb01", + "partTypeInformation" : { + "manufacturerPartId" : "7805659-25", + "classification" : "product", + "nameAtManufacturer" : "b/test Vehicle Model B" + } + } + ], + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4eb01", + "sites" : [ + { + "functionValidUntil" : "2025-02-08T04:30:48.000Z", + "function" : "production", + "functionValidFrom" : "2019-08-21T02:10:36.000Z", + "catenaXSiteId" : "BPNS000004711DMY" + } + ] + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4eb01", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:piece" + }, + "createdOn" : "2022-09-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z", + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4da01", + "businessPartner" : "BPNL00000003CML1" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed6841", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "12345678ABC", + "key" : "jisNumber" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "HUR" + }, + "catenaXId" : "urn:uuid:580d3adf-1981-44a0-a214-13d6ceed6841", + "partTypeInformation" : { + "manufacturerPartId" : "3578115-43", + "customerPartId" : "PRT-12345", + "classification" : "product", + "nameAtManufacturer" : "Mirror left", + "nameAtCustomer" : "b/test side element A" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e43842", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "12345678ABC", + "key" : "jisNumber" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "HUR" + }, + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e43842", + "partTypeInformation" : { + "manufacturerPartId" : "8397292-13", + "customerPartId" : "PRT-12345", + "classification" : "product", + "nameAtManufacturer" : "Mirror left", + "nameAtCustomer" : "a/dev side element A" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c", + "sites" : [ + { + "functionValidUntil" : "2027-05-23T09:16:30.000Z", + "catenaXsiteId" : "BPNS000004711DMY", + "function" : "production", + "functionValidFrom" : "2013-11-17T23:59:54.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2015-05-18T23:10:44.000Z", + "validTo" : "2025-10-23T14:46:01.000Z" + }, + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c", + "partTypeInformation" : { + "manufacturerPartId" : "38049661-08", + "classification" : "product", + "nameAtManufacturer" : "a/dev OEM A High Voltage Battery" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "catenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca97", + "quantity" : { + "quantityNumber" : 6, + "measurementUnit" : "unit:litre" + }, + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2022-10-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ], + "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned" : [ + { + "parentParts" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:47:14.438+01:00", + "validTo" : "2024-08-02T09:00:00.000+01:00" + }, + "parentCatenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "createdOn" : "2022-11-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c" + } + ] + }, + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e", + "sites" : [ + { + "functionValidUntil" : "2025-04-04T04:14:11.000Z", + "catenaXsiteId" : "BPNS000004711DMY", + "function" : "production", + "functionValidFrom" : "2018-03-24T13:38:32.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2017-01-03T07:45:04.000Z", + "validTo" : "2029-11-15T11:57:45.000Z" + }, + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e", + "partTypeInformation" : { + "manufacturerPartId" : "2586427-48", + "classification" : "product", + "nameAtManufacturer" : "b/test Vehicle Model A" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c", + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:litre" + }, + "businessPartner" : "BPNL00000003AYRE", + "createdOn" : "2022-12-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca98", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca98", + "sites" : [ + { + "functionValidUntil" : "2031-11-21T03:24:27.000Z", + "catenaXsiteId" : "BPNS000004711DMY", + "function" : "production", + "functionValidFrom" : "2020-06-07T07:30:47.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2018-01-25T08:42:58.000Z", + "validTo" : "2029-02-10T03:24:30.000Z" + }, + "catenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca98", + "partTypeInformation" : { + "manufacturerPartId" : "8840838-04", + "classification" : "product", + "nameAtManufacturer" : "a/dev HV Modul" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca98", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "catenaXId" : "urn:uuid:c7a2b803-f8fe-4b79-b6fc-967ce847c9a1", + "quantity" : { + "quantityNumber" : 10, + "measurementUnit" : "unit:litre" + }, + "businessPartner" : "BPNL00000003CNKC", + "createdOn" : "2022-01-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ], + "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned" : [ + { + "parentParts" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:47:14.438+01:00", + "validTo" : "2024-08-02T09:00:00.000+01:00" + }, + "parentCatenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef128c", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "createdOn" : "2022-02-06T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "catenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca98" + } + ] + }, + { + "catenaXId" : "urn:uuid:c7a2b803-f8fe-4b79-b6fc-967ce847c9a1", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:c7a2b803-f8fe-4b79-b6fc-967ce847c9a1", + "sites" : [ + { + "functionValidUntil" : "2028-04-27T13:34:20.000Z", + "catenaXsiteId" : "BPNS000004711DMY", + "function" : "production", + "functionValidFrom" : "2017-05-03T09:10:04.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2016-04-28T20:00:55.000Z", + "validTo" : "2027-04-27T00:59:41.000Z" + }, + "catenaXId" : "urn:uuid:c7a2b803-f8fe-4b79-b6fc-967ce847c9a1", + "partTypeInformation" : { + "manufacturerPartId" : "8840374-09", + "classification" : "product", + "nameAtManufacturer" : "b/test ZB ZELLE" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned" : [ + { + "parentParts" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:47:14.438+01:00", + "validTo" : "2024-08-02T09:00:00.000+01:00" + }, + "parentCatenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca98", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "createdOn" : "2022-02-07T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ], + "catenaXId" : "urn:uuid:c7a2b803-f8fe-4b79-b6fc-967ce847c9a1" + } + ] + }, + { + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef128c", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef128c", + "sites" : [ + { + "functionValidUntil" : "2027-05-23T09:16:30.000Z", + "catenaXsiteId" : "BPNS000004711DMY", + "function" : "production", + "functionValidFrom" : "2013-11-17T23:59:54.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2015-05-18T23:10:44.000Z", + "validTo" : "2025-10-23T14:46:01.000Z" + }, + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef128c", + "partTypeInformation" : { + "manufacturerPartId" : "6288246-67", + "classification" : "product", + "nameAtManufacturer" : "b/test OEM A High Voltage Battery" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef128c", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "catenaXId" : "urn:uuid:e5c96ab5-896a-482c-8761-efd74777ca98", + "quantity" : { + "quantityNumber" : 6, + "measurementUnit" : "unit:litre" + }, + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2022-02-08T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:4f7b1cf2-a598-4027-bc78-63f6d8e55699", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:4f7b1cf2-a598-4027-bc78-63f6d8e55699", + "sites" : [ + { + "functionValidUntil" : "2025-03-05T00:33:55.000Z", + "catenaXsiteId" : "BPNS00000003B0Q0", + "function" : "production", + "functionValidFrom" : "2019-09-10T14:41:50.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2013-11-24T00:27:33.000Z", + "validTo" : "2025-08-16T09:18:35.000Z" + }, + "catenaXId" : "urn:uuid:4f7b1cf2-a598-4027-bc78-63f6d8e55699", + "partTypeInformation" : { + "manufacturerPartId" : "7A047C7-01", + "classification" : "product", + "nameAtManufacturer" : "a/dev N Tier A CathodeMaterial" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7", + "sites" : [ + { + "functionValidUntil" : "2031-10-27T21:24:04.000Z", + "catenaXsiteId" : "BPNS00000003B2OM", + "function" : "production", + "functionValidFrom" : "2016-01-29T21:44:37.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2017-07-03T05:23:01.000Z", + "validTo" : "2032-09-25T10:26:27.000Z" + }, + "catenaXId" : "urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7", + "partTypeInformation" : { + "manufacturerPartId" : "32494586-73", + "classification" : "product", + "nameAtManufacturer" : "b/test Tier A Gearbox" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "catenaXId" : "urn:uuid:bee5614f-9e46-4c98-9209-61a6f2b2a7fc", + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:litre" + }, + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2022-02-09T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + }, + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "catenaXId" : "urn:uuid:4518c080-14fb-4252-b8de-4362d615868d", + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:litre" + }, + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2022-02-10T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:bee5614f-9e46-4c98-9209-61a6f2b2a7fc", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:bee5614f-9e46-4c98-9209-61a6f2b2a7fc", + "sites" : [ + { + "functionValidUntil" : "2031-04-16T11:07:09.000Z", + "catenaXsiteId" : "BPNS00000003B3NX", + "function" : "production", + "functionValidFrom" : "2013-12-07T09:33:50.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2013-06-18T03:47:22.000Z", + "validTo" : "2030-12-31T23:33:25.000Z" + }, + "catenaXId" : "urn:uuid:bee5614f-9e46-4c98-9209-61a6f2b2a7fc", + "partTypeInformation" : { + "manufacturerPartId" : "6740244-02", + "classification" : "product", + "nameAtManufacturer" : "a/dev Sub Tier A Sensor" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned" : [ + { + "parentParts" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:47:14.438+01:00", + "validTo" : "2024-08-02T09:00:00.000+01:00" + }, + "parentCatenaXId" : "urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "createdOn" : "2022-02-11T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "catenaXId" : "urn:uuid:bee5614f-9e46-4c98-9209-61a6f2b2a7fc" + } + ] + }, + { + "catenaXId" : "urn:uuid:4518c080-14fb-4252-b8de-4362d615868d", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:4518c080-14fb-4252-b8de-4362d615868d", + "sites" : [ + { + "functionValidUntil" : "2030-01-29T19:43:54.000Z", + "catenaXsiteId" : "BPNS00000003B0Q0", + "function" : "production", + "functionValidFrom" : "2015-11-17T18:35:23.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2015-01-23T16:24:59.000Z", + "validTo" : "2031-05-04T12:01:38.000Z" + }, + "catenaXId" : "urn:uuid:4518c080-14fb-4252-b8de-4362d615868d", + "partTypeInformation" : { + "manufacturerPartId" : "7A987KK-04", + "classification" : "product", + "nameAtManufacturer" : "a/dev N Tier A Plastics" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:4518c080-14fb-4252-b8de-4362d615868d", + "childItems" : [] + } + ], + "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned" : [ + { + "parentParts" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:47:14.438+01:00", + "validTo" : "2024-08-02T09:00:00.000+01:00" + }, + "parentCatenaXId" : "urn:uuid:2c57b0e9-a653-411d-bdcd-64787e9fd3a7", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "createdOn" : "2022-02-12T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CNKC", + "catenaXId" : "urn:uuid:4518c080-14fb-4252-b8de-4362d615868d" + } + ] + }, + { + "catenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b", + "sites" : [ + { + "functionValidUntil" : "2028-09-29T13:56:09.000Z", + "catenaXsiteId" : "BPNS00000003B5MJ", + "function" : "production", + "functionValidFrom" : "2017-01-30T12:55:30.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2016-04-24T08:26:56.000Z", + "validTo" : "2031-12-17T23:55:04.000Z" + }, + "catenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b", + "partTypeInformation" : { + "manufacturerPartId" : "8583898-48", + "classification" : "product", + "nameAtManufacturer" : "b/test Tier B ECU1" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "catenaXId" : "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301", + "quantity" : { + "quantityNumber" : 0.3301, + "measurementUnit" : "unit:kilogram" + }, + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2022-02-13T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ], + "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned" : [ + { + "parentParts" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:47:14.438+01:00", + "validTo" : "2024-08-02T09:00:00.000+01:00" + }, + "parentCatenaXId" : "urn:uuid:68904173-ad59-4a77-8412-3e73fcafbd8b", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2022-02-14T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ], + "catenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b" + } + ] + }, + { + "catenaXId" : "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301", + "sites" : [ + { + "functionValidUntil" : "2032-01-21T11:22:57.000Z", + "catenaXsiteId" : "BPNS00000003AXS3", + "function" : "production", + "functionValidFrom" : "2017-05-27T13:54:13.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2019-08-17T14:14:30.000Z", + "validTo" : "2032-08-30T04:32:28.000Z" + }, + "catenaXId" : "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301", + "partTypeInformation" : { + "manufacturerPartId" : "6775244-06", + "classification" : "product", + "nameAtManufacturer" : "a/dev Sub Tier B Glue" + } + } + ], + "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned" : [ + { + "parentParts" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:47:14.438+01:00", + "validTo" : "2024-08-02T09:00:00.000+01:00" + }, + "parentCatenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "createdOn" : "2022-02-15T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ], + "businessPartner" : "BPNL00000003CML1", + "catenaXId" : "urn:uuid:3cdd2826-5df0-4c7b-b540-9eeccecb2301" + } + ] + }, + { + "catenaXId" : "urn:uuid:68904173-ad59-4a77-8412-3e73fcafbd8b", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:68904173-ad59-4a77-8412-3e73fcafbd8b", + "sites" : [ + { + "functionValidUntil" : "2030-05-16T19:21:46.000Z", + "catenaXsiteId" : "BPNS000000815DMY", + "function" : "production", + "functionValidFrom" : "2019-10-17T03:16:09.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2016-04-09T20:41:14.000Z", + "validTo" : "2023-12-09T04:46:33.000Z" + }, + "catenaXId" : "urn:uuid:68904173-ad59-4a77-8412-3e73fcafbd8b", + "partTypeInformation" : { + "manufacturerPartId" : "6004474-20", + "classification" : "product", + "nameAtManufacturer" : "a/dev Vehicle Model B" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned" : [ + { + "catenaXId" : "urn:uuid:68904173-ad59-4a77-8412-3e73fcafbd8b", + "childItems" : [ + { + "validityPeriod" : { + "validFrom" : "2023-03-21T08:17:29.187+01:00", + "validTo" : "2024-07-01T16:10:00.000+01:00" + }, + "catenaXId" : "urn:uuid:07cb071f-8716-45fe-89f1-f2f77a1ce93b", + "quantity" : { + "quantityNumber" : 1, + "measurementUnit" : "unit:litre" + }, + "businessPartner" : "BPNL00000003CNKC", + "createdOn" : "2022-02-16T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:e8c48a8e-d2d7-43d9-a867-65c70c85f5b8", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned" : [ + { + "catenaXId" : "urn:uuid:e8c48a8e-d2d7-43d9-a867-65c70c85f5b8", + "sites" : [ + { + "functionValidUntil" : "2028-02-14T21:42:45.000Z", + "catenaXsiteId" : "BPNS00000003B2OM", + "function" : "production", + "functionValidFrom" : "2015-07-21T06:33:16.000Z" + } + ] + } + ], + "urn:bamm:io.catenax.part_as_planned:1.0.1#PartAsPlanned" : [ + { + "validityPeriod" : { + "validFrom" : "2019-11-02T11:14:15.000Z", + "validTo" : "2024-07-17T02:07:07.000Z" + }, + "catenaXId" : "urn:uuid:e8c48a8e-d2d7-43d9-a867-65c70c85f5b8", + "partTypeInformation" : { + "manufacturerPartId" : "1987361-42", + "classification" : "product", + "nameAtManufacturer" : "b/test Tire Model A" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:44347dec-21d1-47aa-b2a7-f959bf9d424b", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "8840837-48", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-282209222605524629600815", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:44347dec-21d1-47aa-b2a7-f959bf9d424b", + "partTypeInformation" : { + "manufacturerPartId" : "8840837-48", + "customerPartId" : "9560617-12", + "classification" : "component", + "nameAtManufacturer" : "a/dev HV MODUL", + "nameAtCustomer" : "HV MODUL" + } + } + ], + "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode" : [ + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "subcomponents" : [ + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "productType" : "module" + }, + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382321", + "productType" : "module" + }, + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382322", + "productType" : "module" + }, + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382323", + "productType" : "module" + }, + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382324", + "productType" : "module" + }, + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382325", + "productType" : "module" + }, + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382326", + "productType" : "module" + } + ], + "productType" : "module" + } + ] + }, + { + "catenaXId" : "urn:uuid:b0acf3e1-3fbe-46c0-aa0b-0724caae7772", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "8840374-09", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-917923082133064161014067", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:b0acf3e1-3fbe-46c0-aa0b-0724caae7772", + "partTypeInformation" : { + "manufacturerPartId" : "8840374-09", + "customerPartId" : "8840374-09", + "classification" : "component", + "nameAtManufacturer" : "b/test ZB ZELLE", + "nameAtCustomer" : "ZB ZELLE" + } + } + ], + "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode" : [ + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "subcomponents" : [ + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "productType" : "cell" + } + ], + "productType" : "cell" + } + ] + }, + { + "catenaXId" : "urn:uuid:1233b405-5ac8-4867-93f8-6fdf37733737", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "4683655-00", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-135342108157438763234738", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:1233b405-5ac8-4867-93f8-6fdf37733737", + "partTypeInformation" : { + "manufacturerPartId" : "4683655-00", + "customerPartId" : "4683655-00", + "classification" : "component", + "nameAtManufacturer" : "a/dev ZB ZELLE", + "nameAtCustomer" : "ZB ZELLE" + } + } + ], + "urn:bamm:io.catenax.traction_battery_code:1.0.0#TractionBatteryCode" : [ + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "subcomponents" : [ + { + "tractionBatteryCode" : "X12MCPM27KLPCLX2M2382320", + "productType" : "cell" + } + ], + "productType" : "cell" + } + ] + }, + { + "catenaXId" : "urn:uuid:da978a30-4dde-4d76-808a-b7946763ff0d", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "1142469-27", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-655858074471261486971940", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:da978a30-4dde-4d76-808a-b7946763ff0d", + "partTypeInformation" : { + "manufacturerPartId" : "1142469-27", + "customerPartId" : "1142469-27", + "classification" : "component", + "nameAtManufacturer" : "b/test Door Key", + "nameAtCustomer" : "Door Key" + } + } + ], + "urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart" : [ + { + "localIdentifiers" : [ + { + "value" : "92879626SFC", + "key" : "jisNumber" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "HUR" + }, + "catenaXId" : "urn:uuid:da978a30-4dde-4d76-808a-b7946763ff0d", + "partTypeInformation" : { + "manufacturerPartId" : "1417058-05", + "customerPartId" : "PRT-12345", + "classification" : "product", + "nameAtManufacturer" : "b/test Door Key", + "nameAtCustomer" : "Door Key" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c2", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "1261027-41", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-200738629800530338038454", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c2", + "partTypeInformation" : { + "manufacturerPartId" : "1261027-41", + "customerPartId" : "1261027-41", + "classification" : "component", + "nameAtManufacturer" : "a/dev Door Key", + "nameAtCustomer" : "Door Key" + } + } + ], + "urn:bamm:io.catenax.just_in_sequence_part:1.0.0#JustInSequencePart" : [ + { + "localIdentifiers" : [ + { + "value" : "85851549CBX", + "key" : "jisNumber" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "HUR" + }, + "catenaXId" : "urn:uuid:bcfae197-40fa-4be0-821d-5c1873a1b7c2", + "partTypeInformation" : { + "manufacturerPartId" : "5464168-83", + "customerPartId" : "PRT-12345", + "classification" : "product", + "nameAtManufacturer" : "a/dev Door Key", + "nameAtCustomer" : "Door Key" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e", + "bpnl" : "BPNL00000003CML1", + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e", + "customers" : [ + { + "businessPartner" : "BPNL00000003CML1", + "parentItems" : [], + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "8840837-48", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-570196089623842018037372", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e", + "partTypeInformation" : { + "manufacturerPartId" : "8840838-04", + "customerPartId" : "8840838-04", + "classification" : "component", + "nameAtManufacturer" : "HV MODUL", + "nameAtCustomer" : "HV MODUL" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e", + "childItems" : [ + { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "hasAlternatives" : true, + "businessPartner" : "BPNL00000003CML1", + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f", + "bpnl" : "BPNL00000003CML1", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CML1", + "key" : "manufacturerId" + }, + { + "value" : "BID12345678", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "HUR" + }, + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f", + "partTypeInformation" : { + "manufacturerPartId" : "123-0.740-3434-A", + "classification" : "product", + "nameAtManufacturer" : "Sealant" + } + } + ] + }, + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f", + "bpnl" : "BPNL00000003CNKC", + "urn:bamm:io.catenax.single_level_usage_as_built:2.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f", + "customers" : [ + { + "businessPartner" : "BPNL00000003CNKC", + "parentItems" : [], + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ], + "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "8840837-48", + "key" : "manufacturerPartId" + }, + { + "value" : "NO-570196089623842018037372", + "key" : "partInstanceId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "DEU" + }, + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f", + "partTypeInformation" : { + "manufacturerPartId" : "8840838-04", + "customerPartId" : "8840838-04", + "classification" : "component", + "nameAtManufacturer" : "HV MODUL", + "nameAtCustomer" : "HV MODUL" + } + } + ], + "urn:bamm:io.catenax.single_level_bom_as_built:2.0.0#SingleLevelBomAsBuilt" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f", + "childItems" : [ + { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", + "quantity" : { + "quantityNumber" : 2.5, + "measurementUnit" : "unit:litre" + }, + "hasAlternatives" : true, + "businessPartner" : "BPNL00000003CNKC", + "createdOn" : "2022-02-03T14:48:54.709Z", + "lastModifiedOn" : "2022-02-03T14:48:54.709Z" + } + ] + } + ] + }, + { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", + "bpnl" : "BPNL00000003CNKC", + "urn:samm:io.catenax.batch:2.0.0#Batch" : [ + { + "localIdentifiers" : [ + { + "value" : "BPNL00000003CNKC", + "key" : "manufacturerId" + }, + { + "value" : "BID12345678", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54", + "country" : "HUR" + }, + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", + "partTypeInformation" : { + "manufacturerPartId" : "123-0.740-5656-A", + "classification" : "product", + "nameAtManufacturer" : "Sealant" + } + } + ] + } + ] +} diff --git a/tx-models/pom.xml b/tx-models/pom.xml index 6999acd760..f76c8955fc 100644 --- a/tx-models/pom.xml +++ b/tx-models/pom.xml @@ -42,7 +42,7 @@ SPDX-License-Identifier: Apache-2.0 io.swagger swagger-annotations - 1.6.10 + ${swagger-annotation.version} org.springframework.boot