Skip to content
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

Trigger next rollout group - backend and management API implementatio… #1294

Merged

Conversation

dimitar-shterev
Copy link
Contributor

Trigger next rollout group - Back-end and management API implementation. Back-end and management API tests.

Signed-off-by: Dimitar Shterev dimitar.shterev@bosch.io

…ns. Backend and management API tests.

Signed-off-by: Dimitar Shterev <dimitar.shterev@bosch.io>
@hawkbit-bot
Copy link

Can one of the admins verify this patch?

@StefanKlt
Copy link
Contributor

Please make sure to test also edge and error cases on management level (not existing rollout, different combinations of rollouts states and group states, ...)

Signed-off-by: Dimitar Shterev <dimitar.shterev@bosch.io>
Signed-off-by: Dimitar Shterev <dimitar.shterev@bosch.io>
Copy link
Contributor

@StefanKlt StefanKlt left a comment

Choose a reason for hiding this comment

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

The approach looks relay good. Just had a few comments.

StefanKlt and others added 10 commits November 24, 2022 16:22
Signed-off-by: Stefan Klotz <stefan.klotz@bosch.io>
…rollout group in rollout view.

Signed-off-by: Dimitar Shterev <dimitar.shterev@bosch.io>
Signed-off-by: Stefan Klotz <stefan.klotz@bosch.io>
…up_ui

Trigger next rollout group - UI changes. New button for trigger next rollout group.
Signed-off-by: Stefan Klotz <stefan.klotz@bosch.io>
Signed-off-by: Stefan Klotz <stefan.klotz@bosch.io>
Signed-off-by: Stefan Klotz <stefan.klotz@bosch.io>
Signed-off-by: Stefan Klotz <stefan.klotz@bosch.io>
Signed-off-by: Stefan Klotz <stefan.klotz@bosch.io>
@@ -1033,14 +1040,95 @@ private void postRollout(final String name, final int groupSize, final Long dist

private Rollout createRollout(final String name, final int amountGroups, final long distributionSetId,
final String targetFilterQuery) {
final Rollout rollout = rolloutManagement.create(
final Rollout rollout = createRolloutInCreatingSatate(name, amountGroups, distributionSetId, targetFilterQuery);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
final Rollout rollout = createRolloutInCreatingSatate(name, amountGroups, distributionSetId, targetFilterQuery);
final Rollout rollout = createRolloutInCreatingState(name, amountGroups, distributionSetId, targetFilterQuery);

Copy link
Contributor

@StefanKlt StefanKlt left a comment

Choose a reason for hiding this comment

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

Looks good, thanks @dimitar-shterev

@stefbehl stefbehl merged commit 2db45a4 into eclipse-hawkbit:master Jan 12, 2023
@stefbehl stefbehl deleted the feature/trigger_next_rollout_group branch January 12, 2023 12:22
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.

5 participants