-
Notifications
You must be signed in to change notification settings - Fork 52
[OSE-167] Scaffolding for /v1/operations #172
[OSE-167] Scaffolding for /v1/operations #172
Conversation
db *storage.BoltDB | ||
} | ||
|
||
func (b BoltOperationStorage) StoreOperation(op StoredOperation) error { |
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.
is this PR intended to be a draft? or do you aim to merge with these unimplemented?
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.
I intend to merge with these unimplemented. They will be implemented in subsequent PRs. Just trying to keep the surface area small.
Codecov Report
@@ Coverage Diff @@
## main #172 +/- ##
==========================================
+ Coverage 26.16% 26.37% +0.21%
==========================================
Files 20 21 +1
Lines 1594 1623 +29
==========================================
+ Hits 417 428 +11
- Misses 1106 1123 +17
- Partials 71 72 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
lgtm - need to fix a linter error before merge
* The simplest scaffolding possible * rename Co-authored-by: Gabe <gcohen@squareup.com>
* Initial create, delete, get for submissions * Basic tests for the router * Added the rest of the scaffolding * Added List and Review * Removed the delete method * Simplified for scaffolding * spec * zero structs * Consolidate under the same API * mage spec * Minor updates * [OSE-167] Scaffolding for /v1/operations (#172) * The simplest scaffolding possible * rename Co-authored-by: Gabe <gcohen@squareup.com> * Fix lint and compilation * PR fixes * rename * regen * spec * Removed unused config * reviews Co-authored-by: Gabe <gcohen@squareup.com>
* Initial create, delete, get for submissions * Basic tests for the router * Added the rest of the scaffolding * Added List and Review * Removed the delete method * Simplified for scaffolding * spec * zero structs * Consolidate under the same API * mage spec * Minor updates * [OSE-167] Scaffolding for /v1/operations (#172) * The simplest scaffolding possible * rename Co-authored-by: Gabe <gcohen@squareup.com> * Fix lint and compilation * PR fixes * rename * regen * Removed unused config * The simplest scaffolding possible * Implemented ops storage * Simple impl * Submission implementation with test * Swagger spec * Neatly wrapping up * Upgrade mod * minor improvements * PR comments. * PR comments. Co-authored-by: Gabe <gcohen@squareup.com>
This PR introduces the boilerplate needed to support the operation api with the get/list/cancel actions.