Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

Improve system to support rest resources with separated create and update endpoints #79

Closed
gessnerfl opened this issue Nov 18, 2020 · 1 comment
Assignees
Labels
improvement An internal improvement/refactoring

Comments

@gessnerfl
Copy link
Owner

Story

As a developer
I want that the Rest Resource are adopted such as that it supports Create and Update operations instead of only providing an Upsert operation
So that the Rest Resource fits to endpoints of the instana API implementing such a behaviour.

Implementation Details

Currently the all resources which are implemented by the provider are using a common pattern with a PUT endpoint for create and update of the resource. However resources such as web site monitoring or users have separated endpoints for create and update. The implementation should be adjusted such as that this pattern is supported. Therefore the interface should be adopted and a base implementation should be provided where POST is used for create and PUT is used for update operations.

@gessnerfl gessnerfl self-assigned this Nov 18, 2020
@gessnerfl gessnerfl added the improvement An internal improvement/refactoring label Nov 18, 2020
gessnerfl added a commit that referenced this issue Nov 18, 2020
gessnerfl added a commit that referenced this issue Nov 18, 2020
@gessnerfl
Copy link
Owner Author

Generic implementation will be provided with the first implementation which requires create and update to be separated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
improvement An internal improvement/refactoring
Projects
None yet
Development

No branches or pull requests

1 participant