Skip to content

Add optional externalRef to distribution set assignment requests - #3305

Open
herdt-michael wants to merge 1 commit into
eclipse-hawkbit:masterfrom
boschglobal:feature/setExternalRef
Open

Add optional externalRef to distribution set assignment requests#3305
herdt-michael wants to merge 1 commit into
eclipse-hawkbit:masterfrom
boschglobal:feature/setExternalRef

Conversation

@herdt-michael

Copy link
Copy Markdown
Contributor

MgmtDistributionSetAssignment and MgmtTargetAssignmentRequestBody were extended with an optional externalRef field. The value is propagated through TargetWithActionType/DeploymentRequest down to JpaAction creation in AbstractDsAssignmentStrategy, where it is set if provided. Instead of adding new tests, the existing weightValidation tests in MgmtDistributionSetResourceTest and MgmtTargetResourceTest were extended to verify that the field is persisted on the resulting action. Two direct DeploymentRequest constructor calls in JPA tests were adjusted to the new signature.

Signed-off-by: Michael Herdt <michael.herdt@bosch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant