-
Notifications
You must be signed in to change notification settings - Fork 6
Capture Group endpoints refactored separately. #196
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
Capture Group endpoints refactored separately. #196
Conversation
Nefarious46
commented
Nov 26, 2025
- Endpoints for inserting standalone Capture Groups
- Replaces PR Capture Group endpoints refactored separately #169
- Rebased with spotless and flow_id in group.
…and flow_id in group
| public class CaptureGroup { | ||
|
|
||
| public enum group_type { | ||
| public enum groupType { |
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.
enums are like classes, their name must start with capital and values must be capitalized
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.
Enums fixed in this one but there will be separate PR where all enums are corrected as such to avoid mismatches with database insertions.
|
|
||
| @RestController | ||
| @RequestMapping(path = "capture") | ||
| @RequestMapping(path = "capture/group") |
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 paths to
/v2/captures/group/1
/v2/captures/capture/1
| // GET ALL | ||
| @RequestMapping( | ||
| path = "/group", | ||
| path = "/{id}", |
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.
see previous api path changes for refactoring this
| } | ||
|
|
||
| @RequestMapping( | ||
| path = "/{id}", |
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.
/v2/captures/group/$groupId
…ture group entity
|
Paths corrected as suggested. |
|
Renamed CaptureGroupController to CaptureGroupsController since it is handling group specifics and not singular group. CaptureGroupController will be included in the linking Controller. #197 |