-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fbb481f
commit 65d735a
Showing
15 changed files
with
54 additions
and
1,154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,10 @@ | |
|
||
package de.sovity.edc.ext.wrapper.api.usecase; | ||
|
||
import de.sovity.edc.ext.wrapper.api.usecase.model.CreateOfferingDto; | ||
import de.sovity.edc.ext.wrapper.api.usecase.model.KpiResult; | ||
import io.swagger.v3.oas.annotations.Operation; | ||
import io.swagger.v3.oas.annotations.tags.Tag; | ||
import jakarta.ws.rs.Consumes; | ||
import jakarta.ws.rs.GET; | ||
import jakarta.ws.rs.POST; | ||
import jakarta.ws.rs.Path; | ||
import jakarta.ws.rs.Produces; | ||
import jakarta.ws.rs.core.MediaType; | ||
|
@@ -30,19 +27,10 @@ | |
|
||
/** | ||
* Provides the endpoints for use-case specific requests. | ||
* | ||
* @author Ronja Quensel ([email protected]) | ||
* @author Richard Treier | ||
* @author Tim Dahlmanns | ||
*/ | ||
@Path("wrapper/use-case-api") | ||
@Tag(name = "Use Case", description = "Generic Use Case Application API Endpoints.") | ||
public interface UseCaseResource { | ||
@POST | ||
@Path("data-offer") | ||
@Consumes(MediaType.APPLICATION_JSON) | ||
@Operation(description = "Creates a new data offer, consisting of an asset, a policy definition and a contract definition.") | ||
void createOffer(CreateOfferingDto dto); | ||
|
||
@GET | ||
@Path("kpis") | ||
|
24 changes: 0 additions & 24 deletions
24
.../wrapper-api/src/main/java/de/sovity/edc/ext/wrapper/api/usecase/model/AssetEntryDto.java
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
...c/main/java/de/sovity/edc/ext/wrapper/api/usecase/model/ContractDefinitionRequestDto.java
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...pper-api/src/main/java/de/sovity/edc/ext/wrapper/api/usecase/model/CreateOfferingDto.java
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
...src/main/java/de/sovity/edc/ext/wrapper/api/usecase/model/PolicyDefinitionRequestDto.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.