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

feat: introduce policy definition request/response dto #1855

Merged
merged 1 commit into from
Aug 22, 2022
Merged

feat: introduce policy definition request/response dto #1855

merged 1 commit into from
Aug 22, 2022

Conversation

ndr-brt
Copy link
Member

@ndr-brt ndr-brt commented Aug 19, 2022

What this PR changes/adds

Introduce PolicyDefinitionRequestDto and PolicyDefinitionResponseDto

Why it does that

To not have the createdAt field needed for the POST call, and to align

Further notes

  • inlined the PolicyDefinition.Builder.uid method to id as it already existed and uid was already renamed to id

Linked Issue(s)

Closes #1795

Checklist

  • added appropriate tests?
  • performed checkstyle check locally?
  • added/updated copyright headers?
  • documented public classes/methods?
  • added/updated relevant documentation?
  • assigned appropriate label? (exclude from changelog with label no-changelog)
  • formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

@ndr-brt ndr-brt added enhancement New feature or request api Feature related to the (REST) api labels Aug 19, 2022
@ndr-brt ndr-brt merged commit e6fd1fb into eclipse-edc:main Aug 22, 2022
@ndr-brt ndr-brt deleted the feature/1795-introduce-policy-definition-dto branch August 22, 2022 08:17
janpmeyer pushed a commit to FraunhoferISST/edc-connector that referenced this pull request Aug 23, 2022
)

api: introduce PolicyDefinitionRequestDto and PolicyDefinitionResponseDto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Feature related to the (REST) api enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce PolicyDefinitionDTOs
3 participants