-
Notifications
You must be signed in to change notification settings - Fork 47
feat: add Issuer "admin" API #533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add Issuer "admin" API #533
Conversation
32872aa to
0aca965
Compare
0aca965 to
8055a3e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
...va/org/eclipse/edc/issuerservice/api/administration/v1/unstable/IssuerAdministrationApi.java
Fixed
Show fixed
Hide fixed
...va/org/eclipse/edc/issuerservice/api/administration/v1/unstable/IssuerAdministrationApi.java
Fixed
Show fixed
Hide fixed
...va/org/eclipse/edc/issuerservice/api/administration/v1/unstable/IssuerAdministrationApi.java
Fixed
Show fixed
Hide fixed
...va/org/eclipse/edc/issuerservice/api/administration/v1/unstable/IssuerAdministrationApi.java
Fixed
Show fixed
Hide fixed
...va/org/eclipse/edc/issuerservice/api/administration/v1/unstable/IssuerAdministrationApi.java
Fixed
Show fixed
Hide fixed
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| CredentialStatusResponse checkRevocationStatus(String participantId, String credentialId); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| CredentialStatusResponse checkRevocationStatus(String participantId, String credentialId); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| Response addParticipant(AddParticipantRequest participant); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| Response updateParticipant(UpdateParticipantRequest participant); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| List<GetParticipantResponse> queryParticipants(QuerySpec querySpec); |
Check notice
Code scanning / CodeQL
Useless parameter Note
55ebd49 to
4273282
Compare
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| Response createAttestation(AttestationRequest attestationRequest); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| Response linkAttestation(String participantId, String attestationId); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| Response deleteAttestation(String participantId, String attestationId); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| Response deleteAttestation(String participantId, String attestationId); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| AttestationResponse getAttestations(String participantId); |
Check notice
Code scanning / CodeQL
Useless parameter Note
| content = @Content(array = @ArraySchema(schema = @Schema(implementation = ApiErrorDetail.class)), mediaType = "application/json")) | ||
| } | ||
| ) | ||
| AttestationResponse queryAttestations(QuerySpec query); |
Check notice
Code scanning / CodeQL
Useless parameter Note
7d0ca9f to
0851f9f
Compare
0851f9f to
b17f56a
Compare
What this PR changes/adds
This PR adds several APIs that are intended to be the "management" or "admin" API of the IssuerService.
These are:
Why it does that
defining the API for third-party integrations
Further notes
Who will sponsor this feature?
Please @-mention the committer that will sponsor your feature.
Linked Issue(s)
Closes # <-- insert Issue number if one exists
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.