Skip to content
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

Backend UI API Wrapper: Create Contract Definition Endpoint with 0.2.x #332

Closed
4 tasks
Tracked by #416
efiege opened this issue Jun 27, 2023 · 0 comments · Fixed by sovity/edc-ce#466, sovity/edc-ce#498 or sovity/edc-ce#499
Closed
4 tasks
Tracked by #416
Assignees
Labels
kind/enhancement New feature or request
Milestone

Comments

@efiege
Copy link

efiege commented Jun 27, 2023

Feature Request

Description

Dealing with JSON-LD in Angular templates does not work, so before we add an intermediate layer into our UI we want to deal with the JSON-LD in our UI API Wrapper. Thus we want to add a new endpoint to type safely use the EDC Version 0 APIs from our UI.

Note that the in operator has not been working in version 0.1.2, but this issue has already been fixed:
eclipse-edc/Connector#3216

Here is a comparison of the old and the new request:
grafik

Solution Proposal and Work Breakdown

  • Pass @context for edc
  • rename id to @id
  • Pass "@type": "ContractDefinition"
  • replace criteria with edc:assetsSelector
@efiege efiege added the kind/enhancement New feature or request label Jun 27, 2023
@SebastianOpriel SebastianOpriel added this to the Migration MS8->0.1.x milestone Jul 13, 2023
@richardtreier richardtreier changed the title Migrate Create-PolicyDefinition-Call to Management Api Version 0.1.2 Backend UI API Wrapper: Create Policy Endpoint with 0.2.x Aug 1, 2023
@richardtreier richardtreier changed the title Backend UI API Wrapper: Create Policy Endpoint with 0.2.x Backend UI API Wrapper: Create Contract Definition Endpoint with 0.2.x Aug 3, 2023
@SaadEGI SaadEGI linked a pull request Aug 29, 2023 that will close this issue
@SaadEGI SaadEGI linked a pull request Aug 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment