-
Notifications
You must be signed in to change notification settings - Fork 18
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
Api State Removal - backend #844
Api State Removal - backend #844
Conversation
Skipping CI for Draft Pull Request. |
e871268
to
1a520c9
Compare
1a520c9
to
12af71b
Compare
…/dev/btp-manager:PR-844
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review remarks
internal/api/api.go
Outdated
router.HandleFunc("POST /api/service-bindings", a.CreateServiceBinding) | ||
router.HandleFunc("DELETE /api/service-bindings/{id}", a.DeleteServiceBinding) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's keep ids in the path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted.
internal/api/api.go
Outdated
router.HandleFunc("GET /api/service-offerings/{id}", a.GetServiceOffering) | ||
router.HandleFunc("GET /api/service-instances", a.ListServiceInstances) | ||
router.HandleFunc("GET /api/service-instances/{id}", a.GetServiceInstance) | ||
router.HandleFunc("GET /api/service-offerings", a.HandleGetServiceOffering) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing plural.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted to the ID's in the path so it's gone
Description
Always require sm_secret_namespace and sm_secret_name URL parameters for API calls. Add an interface to test API calls that require SMClient
Changes proposed in this pull request:
Related issue(s)
See #442