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 Policy-Related Endpoints to EDC 0 with API Wrapper #399

Closed
15 tasks done
Tracked by #364
richardtreier opened this issue Aug 1, 2023 · 0 comments
Closed
15 tasks done
Tracked by #364

Migrate Policy-Related Endpoints to EDC 0 with API Wrapper #399

richardtreier opened this issue Aug 1, 2023 · 0 comments
Assignees
Labels
kind/epic Epic which groups several user stories
Milestone

Comments

@richardtreier
Copy link
Collaborator

richardtreier commented Aug 1, 2023

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.

Especially for the PolicyDto, which we need to re-interpret, we should interpret it in the backend, rather than the frontend.

With recommendation of @efiege we'll assume a policy to be:

class PolicyDto {
  String legacyJsonLd;
  List<ConstraintDto> constraints;

  // If the above reduction to a list of constraints/permissions did not work
  List<String> errorMessages;
}

Tasks

  1. area/api-wrapper kind/enhancement
    richardtreier
  2. area/api-wrapper kind/enhancement
    SaadEGI
  3. area/api-wrapper kind/enhancement
    SaadEGI
  4. area/api-wrapper kind/enhancement
    SaadEGI
  5. area/api-wrapper kind/enhancement
    richardtreier
  6. area/api-wrapper kind/enhancement
    SaadEGI
  7. area/frontend kind/enhancement
    SaadEGI
  8. kind/enhancement
    SaadEGI
  9. area/frontend kind/enhancement
    richardtreier
  10. kind/enhancement
    SaadEGI
  11. kind/enhancement
    SaadEGI
  12. task/test
    richardtreier
  13. task/test
    richardtreier
  14. task/test
    richardtreier
  15. task/test
    richardtreier
@richardtreier richardtreier changed the title Backend UI API Wrapper: Negotiate Contract Endpoint with 0.2.x Backend UI API Wrapper: Create Contract Negotiation Endpoint with 0.2.x Aug 3, 2023
@richardtreier richardtreier changed the title Backend UI API Wrapper: Create Contract Negotiation Endpoint with 0.2.x Backend UI API Wrapper: Migrate PolicyDto Related Endpoints to 0.2.x Aug 3, 2023
@richardtreier richardtreier changed the title Backend UI API Wrapper: Migrate PolicyDto Related Endpoints to 0.2.x Migrate PolicyDto Related Endpoints to 0.2.x Aug 3, 2023
@richardtreier richardtreier added kind/epic Epic which groups several user stories and removed area/api-wrapper kind/enhancement New feature or request labels Aug 4, 2023
@richardtreier richardtreier changed the title Migrate PolicyDto Related Endpoints to 0.2.x Migrate Policy-Related Endpoints to EDC 0 with API Wrapper Aug 4, 2023
@richardtreier richardtreier added this to the EDC 0 milestone Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/epic Epic which groups several user stories
Projects
None yet
Development

No branches or pull requests

2 participants