-
Notifications
You must be signed in to change notification settings - Fork 193
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
Trigger next rollout group - backend and management API implementatio… #1294
Conversation
…ns. Backend and management API tests. Signed-off-by: Dimitar Shterev <dimitar.shterev@bosch.io>
Can one of the admins verify this patch? |
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>
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.
The approach looks relay good. Just had a few comments.
...y/hawkbit-repository-api/src/main/java/org/eclipse/hawkbit/repository/RolloutManagement.java
Show resolved
Hide resolved
...y/hawkbit-repository-api/src/main/java/org/eclipse/hawkbit/repository/RolloutManagement.java
Outdated
Show resolved
Hide resolved
...it-repository-jpa/src/main/java/org/eclipse/hawkbit/repository/jpa/JpaRolloutManagement.java
Outdated
Show resolved
Hide resolved
...t-repository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/RolloutManagementTest.java
Outdated
Show resolved
Hide resolved
...t-repository-jpa/src/test/java/org/eclipse/hawkbit/repository/jpa/RolloutManagementTest.java
Show resolved
Hide resolved
...t-resource/src/test/java/org/eclipse/hawkbit/mgmt/rest/resource/MgmtRolloutResourceTest.java
Outdated
Show resolved
Hide resolved
...t-resource/src/test/java/org/eclipse/hawkbit/mgmt/rest/resource/MgmtRolloutResourceTest.java
Outdated
Show resolved
Hide resolved
...t-resource/src/test/java/org/eclipse/hawkbit/mgmt/rest/resource/MgmtRolloutResourceTest.java
Outdated
Show resolved
Hide resolved
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>
… all rollout states.
…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>
@@ -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); |
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.
final Rollout rollout = createRolloutInCreatingSatate(name, amountGroups, distributionSetId, targetFilterQuery); | |
final Rollout rollout = createRolloutInCreatingState(name, amountGroups, distributionSetId, targetFilterQuery); |
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.
Looks good, thanks @dimitar-shterev
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