Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 566681fc authored by Marco Amoia's avatar Marco Amoia
Browse files

Merge branch 'release' into 'main'

Release 1.5.0

See merge request !311
parents 8873fe7f c015e340
Branches
Tags
2 merge requests!314Feature/update 1.6.0,!311Release 1.5.0
Pipeline #309485 failed
Showing
with 1498 additions and 37 deletions
PROJECT_VERSION_NUMBER="1.4.0"
PROJECT_VERSION_NUMBER="1.5.0"
......@@ -13,11 +13,11 @@
<groupId>eu.europa.ec.simpl</groupId>
<artifactId>simpl-parent</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
<packaging>pom</packaging>
<properties>
<common.version>1.4.0</common.version>
<common.version>1.5.0</common.version>
<java.version>21</java.version>
<spring-cloud.version>2024.0.0</spring-cloud.version>
<mapstruct.version>1.6.3</mapstruct.version>
......@@ -31,7 +31,7 @@
<spotless.version>2.43.0</spotless.version>
<spring-shell.version>3.3.3</spring-shell.version>
<simpl.common.logging.version>1.0.0-SNAPSHOT.39.1a139b97</simpl.common.logging.version>
<simpl.httpclient.version>1.4.0</simpl.httpclient.version>
<simpl.httpclient.version>1.5.0</simpl.httpclient.version>
<nimbus.version>9.47</nimbus.version>
<spring-statemachine-core.version>4.0.0</spring-statemachine-core.version>
<tika-core.version>3.0.0</tika-core.version>
......@@ -302,6 +302,37 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>2.5.0</version>
<executions>
<execution>
<id>download-licenses</id>
<configuration>
<sortArtifactByName>true</sortArtifactByName>
<licensesOutputFile>${basedir}/THIRD_PARTY_LICENCES.xml</licensesOutputFile>
<force>true</force>
</configuration>
<goals>
<goal>download-licenses</goal>
</goals>
</execution>
<execution>
<id>add-third-party</id>
<configuration>
<sortArtifactByName>true</sortArtifactByName>
<outputDirectory>${basedir}</outputDirectory>
<thirdPartyFilename>THIRD_PARTY_LICENCES.md</thirdPartyFilename>
<fileTemplate>${basedir}/src/main/resources/third-party-file.ftl</fileTemplate>
<force>true</force>
</configuration>
<goals>
<goal>add-third-party</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
......@@ -329,4 +360,13 @@
<url>${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/maven</url>
</snapshotRepository>
</distributionManagement>
<licenses>
<license>
<name>EUROPEAN UNION PUBLIC LICENCE v. 1.2</name>
<url>https://eupl.eu/1.2/en/</url>
<distribution>repo</distribution>
<comments>EUPL © the European Union 2007, 2016</comments>
</license>
</licenses>
</project>
# Third-party library licences
The current section includes all third party libraries used as dependencies
## Lists of 80 third-party dependencies
| Licence type | Name | Dependency | Version | Link |
| :----------- | :--- | :--------- | :------ | :--- |
| (Apache-2.0) | Apache Commons Codec | commons-codec:commons-codec | 1.18.0 | https://commons.apache.org/proper/commons-codec/ |
| (Apache-2.0) | Apache Commons IO | commons-io:commons-io | 2.17.0 | https://commons.apache.org/proper/commons-io/ |
| (Apache-2.0) | Apache Commons Lang | org.apache.commons:commons-lang3 | 3.17.0 | https://commons.apache.org/proper/commons-lang/ |
| (The Apache Software License, Version 2.0) | Apache Commons Logging | commons-logging:commons-logging | 1.2 | http://commons.apache.org/proper/commons-logging/ |
| (Apache-2.0) | Apache Commons Text | org.apache.commons:commons-text | 1.13.0 | https://commons.apache.org/proper/commons-text |
| (Apache License, Version 2.0) | Apache HttpClient | org.apache.httpcomponents:httpclient | 4.5.14 | http://hc.apache.org/httpcomponents-client-ga |
| (Apache License, Version 2.0) | Apache HttpCore | org.apache.httpcomponents:httpcore | 4.4.16 | http://hc.apache.org/httpcomponents-core-ga |
| (Apache Software License, version 2.0)(Lesser General Public License, version 3 or greater) | btf | com.github.java-json-tools:btf | 1.3 | https://github.com/java-json-tools/btf |
| (The MIT License) | Checker Qual | org.checkerframework:checker-qual | 3.43.0 | https://checkerframework.org/ |
| (Apache License, Version 2.0) | ClassMate | com.fasterxml:classmate | 1.7.0 | https://github.com/FasterXML/java-classmate |
| (Apache 2.0) | error-prone annotations | com.google.errorprone:error_prone_annotations | 2.28.0 | https://errorprone.info/error_prone_annotations |
| (The Apache Software License, Version 2.0) | FindBugs-jsr305 | com.google.code.findbugs:jsr305 | 3.0.2 | http://findbugs.sourceforge.net/ |
| (The Apache Software License, Version 2.0) | Guava InternalFutureFailureAccess and InternalFutures | com.google.guava:failureaccess | 1.0.2 | https://github.com/google/guava/failureaccess |
| (The Apache Software License, Version 2.0) | Guava ListenableFuture only | com.google.guava:listenablefuture | 9999.0-empty-to-avoid-conflict-with-guava | https://github.com/google/guava/listenablefuture |
| (Apache License, Version 2.0) | Guava: Google Core Libraries for Java | com.google.guava:guava | 33.3.1-jre | https://github.com/google/guava |
| (Apache License 2.0) | Hibernate Validator Engine | org.hibernate.validator:hibernate-validator | 8.0.2.Final | http://hibernate.org/validator/hibernate-validator |
| (Apache License, Version 2.0) | J2ObjC Annotations | com.google.j2objc:j2objc-annotations | 3.0.0 | https://github.com/google/j2objc/ |
| (The Apache Software License, Version 2.0) | Jackson datatype: JSR310 | com.fasterxml.jackson.datatype:jackson-datatype-jsr310 | 2.18.2 | https://github.com/FasterXML/jackson-modules-java8/jackson-datatype-jsr310 |
| (The Apache Software License, Version 2.0) | Jackson-annotations | com.fasterxml.jackson.core:jackson-annotations | 2.18.2 | https://github.com/FasterXML/jackson |
| (The Apache Software License, Version 2.0) | Jackson-core | com.fasterxml.jackson.core:jackson-core | 2.18.2 | https://github.com/FasterXML/jackson-core |
| (Apache Software License, version 2.0)(Lesser General Public License, version 3 or greater) | jackson-coreutils | com.github.java-json-tools:jackson-coreutils | 2.0 | https://github.com/java-json-tools/jackson-coreutils |
| (Apache Software License, version 2.0)(Lesser General Public License, version 3 or greater) | jackson-coreutils-equivalence | com.github.java-json-tools:jackson-coreutils-equivalence | 1.0 | https://github.com/java-json-tools/jackson-coreutils |
| (The Apache Software License, Version 2.0) | jackson-databind | com.fasterxml.jackson.core:jackson-databind | 2.18.2 | https://github.com/FasterXML/jackson |
| (The Apache Software License, Version 2.0) | Jackson-dataformat-YAML | com.fasterxml.jackson.dataformat:jackson-dataformat-yaml | 2.18.2 | https://github.com/FasterXML/jackson-dataformats-text |
| (EDL 1.0) | Jakarta Activation API | jakarta.activation:jakarta.activation-api | 2.1.3 | https://github.com/jakartaee/jaf-api |
| (EPL 2.0)(GPL2 w/ CPE) | Jakarta Annotations API | jakarta.annotation:jakarta.annotation-api | 2.1.1 | https://projects.eclipse.org/projects/ee4j.ca |
| (Apache License 2.0) | Jakarta Bean Validation API | jakarta.validation:jakarta.validation-api | 3.0.2 | https://beanvalidation.org |
| (Eclipse Distribution License - v 1.0) | Jakarta XML Binding API | jakarta.xml.bind:jakarta.xml.bind-api | 4.0.2 | https://github.com/jakartaee/jaxb-api/jakarta.xml.bind-api |
| (Apache License 2.0) | JBoss Logging 3 | org.jboss.logging:jboss-logging | 3.6.1.Final | http://www.jboss.org |
| (Apache License, Version 2.0) | Joda-Time | joda-time:joda-time | 2.10.5 | https://www.joda.org/joda-time/ |
| (The MIT License) | JOpt Simple | net.sf.jopt-simple:jopt-simple | 5.0.4 | http://jopt-simple.github.io/jopt-simple |
| (Apache Software License, version 2.0)(Lesser General Public License, version 3 or greater) | json-patch | com.github.java-json-tools:json-patch | 1.13 | https://github.com/java-json-tools/json-patch |
| (Apache Software License, version 2.0)(Lesser General Public License, version 3 or greater) | json-schema-core | com.github.java-json-tools:json-schema-core | 1.2.14 | https://github.com/java-json-tools/json-schema-core |
| (Apache Software License, version 2.0)(Lesser General Public License, version 3 or greater) | json-schema-validator | com.github.java-json-tools:json-schema-validator | 2.2.14 | https://github.com/java-json-tools/json-schema-validator |
| (The Apache License, Version 2.0) | JSpecify annotations | org.jspecify:jspecify | 1.0.0 | http://jspecify.org/ |
| (The Apache Software License, Version 2.0) | libphonenumber | com.googlecode.libphonenumber:libphonenumber | 8.11.1 | https://github.com/google/libphonenumber/ |
| (The Apache Software License, Version 2.0) | micrometer-commons | io.micrometer:micrometer-commons | 1.14.2 | https://github.com/micrometer-metrics/micrometer |
| (The Apache Software License, Version 2.0) | micrometer-observation | io.micrometer:micrometer-observation | 1.14.2 | https://github.com/micrometer-metrics/micrometer |
| (Mozilla Public License, Version 2.0) | Mozilla Rhino | org.mozilla:rhino | 1.7.7.2 | https://developer.mozilla.org/en/Rhino |
| (Apache Software License, version 2.0)(Lesser General Public License, version 3 or greater) | msg-simple | com.github.java-json-tools:msg-simple | 1.2 | https://github.com/java-json-tools/msg-simple |
| (The MIT License) | Project Lombok | org.projectlombok:lombok | 1.18.36 | https://projectlombok.org |
| (MIT License) | SLF4J API Module | org.slf4j:slf4j-api | 2.0.16 | http://www.slf4j.org |
| (Apache License, Version 2.0) | SnakeYAML | org.yaml:snakeyaml | 2.3 | https://bitbucket.org/snakeyaml/snakeyaml |
| (Apache License, Version 2.0) | Spring AOP | org.springframework:spring-aop | 6.2.1 | https://github.com/spring-projects/spring-framework |
| (Apache License, Version 2.0) | Spring Beans | org.springframework:spring-beans | 6.2.1 | https://github.com/spring-projects/spring-framework |
| (Apache License, Version 2.0) | Spring Commons Logging Bridge | org.springframework:spring-jcl | 6.2.1 | https://github.com/spring-projects/spring-framework |
| (Apache License, Version 2.0) | Spring Context | org.springframework:spring-context | 6.2.1 | https://github.com/spring-projects/spring-framework |
| (Apache License, Version 2.0) | Spring Core | org.springframework:spring-core | 6.2.1 | https://github.com/spring-projects/spring-framework |
| (Apache License, Version 2.0) | Spring Data Core | org.springframework.data:spring-data-commons | 3.4.1 | https://spring.io/projects/spring-data |
| (Apache License, Version 2.0) | Spring Expression Language (SpEL) | org.springframework:spring-expression | 6.2.1 | https://github.com/spring-projects/spring-framework |
| (Apache License, Version 2.0) | Spring Web | org.springframework:spring-web | 6.2.1 | https://github.com/spring-projects/spring-framework |
| (Apache License, Version 2.0) | Spring Web MVC | org.springframework:spring-webmvc | 6.2.1 | https://github.com/spring-projects/spring-framework |
| (Apache License, Version 2.0) | spring-boot | org.springframework.boot:spring-boot | 3.4.1 | https://spring.io/projects/spring-boot |
| (Apache License, Version 2.0) | spring-boot-autoconfigure | org.springframework.boot:spring-boot-autoconfigure | 3.4.1 | https://spring.io/projects/spring-boot |
| (Apache License, Version 2.0) | spring-boot-starter | org.springframework.boot:spring-boot-starter | 3.4.1 | https://spring.io/projects/spring-boot |
| (Apache License, Version 2.0) | spring-boot-starter-validation | org.springframework.boot:spring-boot-starter-validation | 3.4.1 | https://spring.io/projects/spring-boot |
| (The Apache License, Version 2.0) | springdoc-openapi-starter-common | org.springdoc:springdoc-openapi-starter-common | 2.7.0 | https://springdoc.org/springdoc-openapi-starter-common/ |
| (The Apache License, Version 2.0) | springdoc-openapi-starter-webmvc-api | org.springdoc:springdoc-openapi-starter-webmvc-api | 2.7.0 | https://springdoc.org/springdoc-openapi-starter-webmvc-api/ |
| (The Apache License, Version 2.0) | springdoc-openapi-starter-webmvc-ui | org.springdoc:springdoc-openapi-starter-webmvc-ui | 2.7.0 | https://springdoc.org/springdoc-openapi-starter-webmvc-ui/ |
| (Apache-2.0) | Swagger UI | org.webjars:swagger-ui | 5.18.2 | https://www.webjars.org |
| (Apache License 2.0) | swagger-annotations | io.swagger:swagger-annotations | 1.6.14 | https://github.com/swagger-api/swagger-core/modules/swagger-annotations |
| (Apache License 2.0) | swagger-annotations | io.swagger.core.v3:swagger-annotations | 2.2.27 | https://github.com/swagger-api/swagger-core/modules/swagger-annotations |
| (Apache License 2.0) | swagger-annotations-jakarta | io.swagger.core.v3:swagger-annotations-jakarta | 2.2.25 | https://github.com/swagger-api/swagger-core/modules/swagger-annotations-jakarta |
| (Apache License 2.0) | swagger-compat-spec-parser | io.swagger:swagger-compat-spec-parser | 1.0.72 | http://nexus.sonatype.org/oss-repository-hosting.html/swagger-parser-project/modules/swagger-compat-spec-parser |
| (Apache License 2.0) | swagger-core | io.swagger:swagger-core | 1.6.14 | https://github.com/swagger-api/swagger-core/modules/swagger-core |
| (Apache License 2.0) | swagger-core | io.swagger.core.v3:swagger-core | 2.2.27 | https://github.com/swagger-api/swagger-core/modules/swagger-core |
| (Apache License 2.0) | swagger-core-jakarta | io.swagger.core.v3:swagger-core-jakarta | 2.2.25 | https://github.com/swagger-api/swagger-core/modules/swagger-core-jakarta |
| (Apache License 2.0) | swagger-models | io.swagger:swagger-models | 1.6.14 | https://github.com/swagger-api/swagger-core/modules/swagger-models |
| (Apache License 2.0) | swagger-models | io.swagger.core.v3:swagger-models | 2.2.27 | https://github.com/swagger-api/swagger-core/modules/swagger-models |
| (Apache License 2.0) | swagger-models-jakarta | io.swagger.core.v3:swagger-models-jakarta | 2.2.25 | https://github.com/swagger-api/swagger-core/modules/swagger-models-jakarta |
| (Apache License 2.0) | swagger-parser | io.swagger:swagger-parser | 1.0.72 | http://nexus.sonatype.org/oss-repository-hosting.html/swagger-parser-project/modules/swagger-parser |
| (Apache License 2.0) | swagger-parser | io.swagger.parser.v3:swagger-parser | 2.1.24 | http://nexus.sonatype.org/oss-repository-hosting.html/swagger-parser-project/modules/swagger-parser |
| (Apache License 2.0) | swagger-parser | io.swagger.parser.v3:swagger-parser-core | 2.1.24 | http://nexus.sonatype.org/oss-repository-hosting.html/swagger-parser-project/modules/swagger-parser-core |
| (Apache License 2.0) | swagger-parser-safe-url-resolver | io.swagger:swagger-parser-safe-url-resolver | 1.0.72 | http://nexus.sonatype.org/oss-repository-hosting.html/swagger-parser-project/modules/swagger-parser-safe-url-resolver |
| (Apache License 2.0) | swagger-parser-safe-url-resolver | io.swagger.parser.v3:swagger-parser-safe-url-resolver | 2.1.24 | http://nexus.sonatype.org/oss-repository-hosting.html/swagger-parser-project/modules/swagger-parser-safe-url-resolver |
| (Apache License 2.0) | swagger-parser-v2-converter | io.swagger.parser.v3:swagger-parser-v2-converter | 2.1.24 | http://nexus.sonatype.org/oss-repository-hosting.html/swagger-parser-project/modules/swagger-parser-v2-converter |
| (Apache License 2.0) | swagger-parser-v3 | io.swagger.parser.v3:swagger-parser-v3 | 2.1.24 | http://nexus.sonatype.org/oss-repository-hosting.html/swagger-parser-project/modules/swagger-parser-v3 |
| (Apache License, Version 2.0) | tomcat-embed-el | org.apache.tomcat.embed:tomcat-embed-el | 10.1.34 | https://tomcat.apache.org/ |
| (Apache Software License, version 2.0)(Lesser General Public License, version 3 or greater) | uri-template | com.github.java-json-tools:uri-template | 0.10 | https://github.com/java-json-tools/uri-template |
| (MIT) | webjars-locator-lite | org.webjars:webjars-locator-lite | 1.0.1 | https://webjars.org |
This diff is collapsed.
......@@ -6,7 +6,7 @@
<parent>
<groupId>eu.europa.ec.simpl</groupId>
<artifactId>simpl-parent</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
</parent>
<artifactId>simpl-api-iaa</artifactId>
......@@ -84,6 +84,10 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>license-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
......@@ -604,4 +608,13 @@
</build>
</profile>
</profiles>
<licenses>
<license>
<name>EUROPEAN UNION PUBLIC LICENCE v. 1.2</name>
<url>https://eupl.eu/1.2/en/</url>
<distribution>repo</distribution>
<comments>EUPL © the European Union 2007, 2016</comments>
</license>
</licenses>
</project>
......@@ -18,7 +18,7 @@ get:
"200":
description: Certificate downloaded successfully
content:
application/octet-stream:
'application/octet-stream':
schema:
type: string
format: binary
......
......@@ -14,6 +14,13 @@ post:
explode: false
schema:
type: string
requestBody:
description: Contains the timestamp of the request along with the timestamp signature
content:
application/json:
schema:
$ref: ../../schemas/SignatureProof.yaml
required: false
responses:
"200":
description: Ephemeral proof generated successfully
......@@ -22,6 +29,22 @@ post:
schema:
type: string
"400":
description: Invalid participant ID
description: Invalid ephemeral proof request
content:
application/json:
schema:
$ref: '../../schemas/Problem.yaml'
example:
invalid-participant-id:
type: /error/invalid-participant-id
title: "Participant ID is invalid"
invalid-signature-proof:
type: /error/invalid-signature-proof
title: "Signature proof is invalid"
invalid-timestamp-window:
type: /error/invalid-signature-proof
title: "Invalid timestamp window"
detail: "The provided timestamp falls outside the Governance Authority’s allowed time window of 1 minute."
security:
- mtls: []
......@@ -79,12 +79,11 @@ post:
description: Creates a new participant with the provided details
operationId: create
requestBody:
description: Details of the participant to create and of the identity attributes
that will be assigned to it
description: Details of the participant to create
content:
application/json:
schema:
$ref: ../schemas/ParticipantWithIdentityAttributes.yaml
$ref: ../schemas/Participant.yaml
required: true
responses:
"201":
......
type: object
properties:
timestamp:
description: the timestamp of the request, in UTC ISO 8601 format
type: string
format: date-time
example: 2025-04-04T12:34:56Z
nonce:
description: a randomly generated nonce
type: string
format: uuid
example: "36b8f84d-df4e-4d49-b662-bcde71a8764f"
signature:
description: base64-encoded signature of the timestamp and noce ($timestamp + _ + $nonce)
example: "MEYCIQDV6nM1jU2J...=="
type: string
format: byte
required:
- timestamp
- nonce
- signature
\ No newline at end of file
......@@ -33,6 +33,8 @@ paths:
$ref: paths/onboardingProcedureTemplates/onboardingProcedureTemplateId/validationRules/validationRuleId.yaml
/onboardingProcedureTemplates/{onboardingProcedureTemplateId}:
$ref: paths/onboardingProcedureTemplates/onboardingProcedureTemplateId.yaml
/onboardingProcedureTemplates/{onboardingProcedureTemplateId}/identityAttributes:
$ref: paths/onboardingProcedureTemplates/onboardingProcedureTemplateId/identityAttributes.yaml
/mimeTypes/{mimeTypeId}:
$ref: paths/mimeTypes/mimeTypeId.yaml
/onboardingRequests:
......@@ -47,8 +49,8 @@ paths:
$ref: paths/onboardingRequests/onboardingRequestId/documents.yaml
/onboardingRequests/{onboardingRequestId}/approve:
$ref: paths/onboardingRequests/onboardingRequestId/approve.yaml
/mimeTypes:
$ref: paths/mimeTypes.yaml
/onboardingRequests/{onboardingRequestId}/identityAttributes:
$ref: paths/onboardingRequests/onboardingRequestId/identityAttributes.yaml
/onboardingStatus/{onboardingStatusId}:
$ref: paths/onboardingStatus/onboardingStatusId.yaml
/onboardingRequests/{onboardingRequestId}/expirationTimeframe:
......@@ -67,6 +69,8 @@ paths:
$ref: paths/onboardingRequests/onboardingRequestId.yaml
/onboardingRequests/{onboardingRequestId}/documents/{documentId}:
$ref: paths/onboardingRequests/onboardingRequestId/documents/documentId.yaml
/mimeTypes:
$ref: paths/mimeTypes.yaml
/mimeTypes/supported:
$ref: paths/mimeTypes/supported.yaml
/info/version:
......
get:
tags:
- Onboarding Templates
summary: Retrieve identity attributes for an onboarding procedure template
description: Returns the list of identity attributes associated with the specified onboarding procedure template.
operationId: getOnboardingProcedureTemplateIdentityAttributes
parameters:
- name: onboardingProcedureTemplateId
in: path
required: true
description: The ID of the onboarding procedure template.
schema:
type: string
format: uuid
responses:
'200':
description: Successfully retrieved the list of identity attributes.
content:
application/json:
schema:
type: array
items:
$ref: "../../../schemas/IdentityAttribute.yaml"
'403':
$ref: "../../../schemas/ResponseErrors.yaml#/403"
'500':
$ref: "../../../schemas/ResponseErrors.yaml#/500"
put:
tags:
- Onboarding Templates
summary: Update identity attributes for an onboarding procedure template
description: Replaces the identity attributes for the specified onboarding procedure template. If the list is empty, all existing attributes will be deleted.
operationId: updateOnboardingProcedureTemplateIdentityAttributes
parameters:
- name: onboardingProcedureTemplateId
in: path
required: true
description: The ID of the onboarding procedure template.
schema:
type: string
format: uuid
requestBody:
required: true
content:
application/json:
schema:
type: array
items:
$ref: "../../../schemas/IdentityAttribute.yaml"
responses:
'204':
description: Identity attributes updated successfully.
'400':
description: "Invalid creation parameters"
content:
application/problem+json:
examples:
invalidParameters:
summary: "Invalid Request"
value: { "type": "https://simpl.ec.europa.eu/errors/invalid-parameters" }
invalidIdentityAttribute:
summary: "Invalid Identity Attribute"
value: { "type": "https://simpl.ec.europa.eu/errors/invalid-identity-attribute", "title": "Invalid Identity Attribute", "detail": "The following Identity Attributes codes are not valid for this dataspace: X, Y, Z" }
schema:
$ref: "../../../schemas/Problem.yaml"
'403':
$ref: "../../../schemas/ResponseErrors.yaml#/403"
'500':
$ref: "../../../schemas/ResponseErrors.yaml#/500"
get:
tags:
- Onboarding Requests Management
summary: Retrieve identity attributes for an onboarding request
description: Returns the list of identity attributes associated with the specified onboarding request.
operationId: getOnboardingRequestIdentityAttributes
parameters:
- name: onboardingRequestId
in: path
required: true
description: The ID of the onboarding request.
schema:
type: string
format: uuid
responses:
'200':
description: Successfully retrieved the list of identity attributes.
content:
application/json:
schema:
type: array
items:
$ref: "../../../schemas/IdentityAttribute.yaml"
'403':
$ref: "../../../schemas/ResponseErrors.yaml#/403"
'500':
$ref: "../../../schemas/ResponseErrors.yaml#/500"
put:
tags:
- Onboarding Requests Management
summary: Update identity attributes for an onboarding request
description: Replaces the identity attributes for the specified onboarding request. If the list is empty, all existing attributes will be deleted.
operationId: updateOnboardingRequestIdentityAttributes
parameters:
- name: onboardingRequestId
in: path
required: true
description: The ID of the onboarding request.
schema:
type: string
format: uuid
requestBody:
required: true
content:
application/json:
schema:
type: array
items:
$ref: "../../../schemas/IdentityAttribute.yaml"
responses:
'204':
description: Identity attributes updated successfully.
'400':
description: "Invalid creation parameters"
content:
application/problem+json:
examples:
invalidParameters:
summary: "Invalid Request"
value: { "type": "https://simpl.ec.europa.eu/errors/invalid-parameters" }
invalidIdentityAttribute:
summary: "Invalid Identity Attribute"
value: { "type": "https://simpl.ec.europa.eu/errors/invalid-identity-attribute", "title": "Invalid Identity Attribute", "detail": "The following Identity Attributes codes are not valid for this dataspace: X, Y, Z" }
schema:
$ref: "../../../schemas/Problem.yaml"
'403':
$ref: "../../../schemas/ResponseErrors.yaml#/403"
'500':
$ref: "../../../schemas/ResponseErrors.yaml#/500"
type: object
properties:
code:
type: string
description: The unique code identifying the identity attribute.
This is the only parameter used during the update
example: DATA_CONSUMER
required:
- code
......@@ -32,6 +32,11 @@ properties:
items:
$ref: ./Comment.yaml
# readOnly: true
identityAttributes:
type: array
items:
$ref: ./IdentityAttribute.yaml
readOnly: true
rejectionCause:
type: string
description: Rejection cause for a reject of the onboarding request
......
......@@ -19,6 +19,10 @@ properties:
type: array
items:
$ref: ./DocumentTemplate.yaml
identityAttributes:
type: array
items:
$ref: ./IdentityAttribute.yaml
expirationTimeframe:
type: integer
format: int64
......@@ -32,3 +36,4 @@ required:
- expirationTimeframe
- expirationTimeframeTimeUnit
- documentTemplates
- identityAttributes
......@@ -6,10 +6,16 @@ properties:
format: uuid
description: Unique identifier of the rule
readOnly: true
validationRule:
readOnly: true
allOf:
- $ref: ./OnboardingValidationRule.yaml
ruleType:
$ref: ./ValidationRuleType.yaml
name:
type: string
description: A short readable name for the rule
example: Document expiration date
description:
type: string
description: A description of the rule.
example: Checks the expiration date of the driving license
status:
readOnly: true
allOf:
......
......@@ -6,5 +6,9 @@ properties:
message:
type: string
description: Error message describing the failure.
ruleName:
type: string
description: A short readable name for the rule
example: Document expiration date
required:
- message
\ No newline at end of file
'403':
description: "Forbidden, the user does not have the roles to perform the operation"
content:
application/problem+json:
examples:
unauthorized:
summary: "Forbidden"
value: { "type": "https://simpl.ec.europa.eu/errors/forbidden" }
schema:
$ref: "Problem.yaml"
'500':
description: "Internal Server Error, an internal server error occurred"
content:
application/problem+json:
schema:
$ref: "Problem.yaml"
......@@ -55,6 +55,8 @@ components:
$ref: schemas/Error.yaml
IdentityAttribute:
$ref: schemas/IdentityAttribute.yaml
IdentityAttributeIdentifier:
$ref: schemas/IdentityAttributeIdentifier.yaml
PageResponseIdentityAttribute:
$ref: schemas/PageResponseIdentityAttribute.yaml
securitySchemes:
......
......@@ -15,14 +15,13 @@ post:
type: string
format: uuid
requestBody:
description: List of UUIDs representing identity attributes to be assigned
description: List of identity attributes identifiers to be assigned. You can put alternative one of id the code.
content:
application/json:
schema:
type: array
items:
type: string
format: uuid
$ref: ../../../../schemas/IdentityAttributeIdentifier.yaml
required: true
responses:
"204":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment