Skip to content

refactor(ontology)!: use patch instead of delete for deleting cardinalities (DSP-1700) - #1903

Merged
irinaschubert merged 9 commits into
mainfrom
wip/DSP-1700-put-instead-delete-for-deleting-cardinalities-from-class
Sep 14, 2021
Merged

irinaschubert merged 9 commits into
mainfrom
wip/DSP-1700-put-instead-delete-for-deleting-cardinalities-from-class

Conversation

@irinaschubert

Copy link
Copy Markdown

resolves DSP-1700

@irinaschubert irinaschubert self-assigned this Sep 8, 2021
@irinaschubert irinaschubert changed the title use put instead of delete for deleting cardinalities refactor!: use put instead of delete for deleting cardinalities (DSP-1700) Sep 8, 2021
@irinaschubert irinaschubert changed the title refactor!: use put instead of delete for deleting cardinalities (DSP-1700) refactor!: use patch instead of delete for deleting cardinalities (DSP-1700) Sep 8, 2021
@irinaschubert

Copy link
Copy Markdown
Author

Hi @subotic , I used PATCH instead of DELETE for the deletion of cardinalities (PUT was already in use). It seems that PATCh wasn't used before so I had to enable it and also adjust the tests for these methods. I assigned the PR to you just that you can see what I did. You don't need to review it as you are on holidays.

@irinaschubert
irinaschubert marked this pull request as ready for review September 13, 2021 08:28
@kilchenmann kilchenmann changed the title refactor!: use patch instead of delete for deleting cardinalities (DSP-1700) refactor(ontology)!: use patch instead of delete for deleting cardinalities (DSP-1700) Sep 13, 2021

@kilchenmann kilchenmann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you

@BalduinLandolt BalduinLandolt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me

Comment thread webapi/src/test/scala/org/knora/webapi/e2e/CORSSupportE2ESpec.scala Outdated
@irinaschubert
irinaschubert merged commit 91ef4ec into main Sep 14, 2021
@irinaschubert
irinaschubert deleted the wip/DSP-1700-put-instead-delete-for-deleting-cardinalities-from-class branch September 14, 2021 12:13
@daschbot daschbot mentioned this pull request Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants