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

Migrate Edc-Api-Request-Calls to Management Api Version 0.1.2 #325

Closed
5 tasks
efiege opened this issue Jun 23, 2023 · 1 comment
Closed
5 tasks

Migrate Edc-Api-Request-Calls to Management Api Version 0.1.2 #325

efiege opened this issue Jun 23, 2023 · 1 comment
Assignees
Labels
kind/enhancement New feature or request
Milestone

Comments

@efiege
Copy link

efiege commented Jun 23, 2023

Feature Request

Description

We want to migrate to edc version 0.1.2. As a result the management-api calls must be adapted. The http GET methods to query edc objects have been replaced by POST methods.

Here is an example regarding the retrieval of assets:
Old request:
GET on /assets?offset=x&limit=y

New Request:
POST on /assets/request using the following json:

{
    "@context": {
        "edc": "https://w3id.org/edc/v0.0.1/ns/"
    },
    "@type": "QuerySpecDto",
    "offset": 0,
    "limit": 10
}

Like described in #364 "Creating new UI API Wrapper endpoints for each page and each request" is our best option.

Solution Proposal and Work Breakdown

  • Use API Wrapper to fetch Assets on Asset-Page
  • Use API Wrapper to fetch Polices on Policies-Page
  • Use API Wrapper to fetch Contarct Definition on Contract Definitions-Page
  • Use API Wrapper to fetch Transfer-Processes on Transfer History-Page
  • Use API Wrapper to fetch Catalog for Catalog Browser-Page
@efiege efiege added the kind/enhancement New feature or request label Jun 23, 2023
@efiege efiege changed the title Migrate Edc-Api-Calls to Management Api Version 0.1.2 Migrate Edc-Api-Request-Calls to Management Api Version 0.1.2 Jun 27, 2023
@SebastianOpriel SebastianOpriel added this to the Migration MS8->0.1.x milestone Jul 13, 2023
@richardtreier
Copy link
Collaborator

redundant, since we will migrate calls to our UI API Wrapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants