Skip to content

Conversation

@Nefarious46
Copy link
Contributor

  • Void on delete
  • Procedures renamed
  • Links Captures to groups separately in its own controller
  • Tests renewed and created controller tests for linking features

More info on PR #155

@Nefarious46 Nefarious46 requested a review from kortemik June 2, 2025 09:56
@Nefarious46 Nefarious46 self-assigned this Jun 2, 2025
@Nefarious46 Nefarious46 added the enhancement New feature or request label Jun 2, 2025
<cfe_18.capture_def_group id="4" capture_def_group_name="capturegroup4" capture_type="cfe"/>
<cfe_18.capture_def_group id="5" capture_def_group_name="capturegroup5" capture_type="cfe"/>
<cfe_18.capture_def_group id="6" capture_def_group_name="capturegroup6" capture_type="cfe"/>
<cfe_18.capture_def_group id="22" capture_def_group_name="group1" capture_type="cfe"/>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

New feature does not create capture group anymore alongside linking so test will not work with this testdata. For linking purposes, existing group needs to be used.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Does have exception signature still. Was not in the scope of this PR so will be removed when linkage feature gets reworked.


@Mapper
public interface CaptureGroupMapper {
public interface CaptureGroup_Mapper {
Copy link
Collaborator

Choose a reason for hiding this comment

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

underscore should be removed

@RestController
@RequestMapping(path = "group/captures")
@SecurityRequirement(name = "api")
public class CaptureGroup_Controller {
Copy link
Collaborator

Choose a reason for hiding this comment

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

underscore

if (cause instanceof SQLException) {
LOGGER.error((cause).getMessage());
int error = ((SQLException) cause).getErrorCode();
String state = error + "-" + ((SQLException) cause).getSQLState();
Copy link
Collaborator

Choose a reason for hiding this comment

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

use error.equals(...) && state.equals(...) instead of string concatenation

@Nefarious46
Copy link
Contributor Author

This should be checked after PR #169

@Nefarious46 Nefarious46 force-pushed the CaptureGroupCaptureLinkageEndpointRefactor branch from b6659ba to 52f432c Compare June 26, 2025 13:15
@Nefarious46 Nefarious46 requested a review from eemhu July 28, 2025 10:26
@q22u q22u removed the review label Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants