Adapt cancel flow (#1274)
* Adapt assignment events to communicate mass cancel operations within one event. Signed-off-by: Michael Herdt <Michael.Herdt@bosch.io> * Fix edge cases identified by test failures. Adapt tests and reduce amount of published cancel events. Signed-off-by: Michael Herdt <Michael.Herdt@bosch.io> * Fix license header Signed-off-by: Michael Herdt <Michael.Herdt@bosch.io> * Refactor visibility of methods in assignment strategy classes. Avoid having empty action status messages. Signed-off-by: Michael Herdt <Michael.Herdt@bosch.io> * Fix api docs Signed-off-by: Michael Herdt <Michael.Herdt@bosch.io> Signed-off-by: Michael Herdt <Michael.Herdt@bosch.io> Co-authored-by: Bogdan Bondar <Bogdan.Bondar@bosch.io>
This commit is contained in:
@@ -131,7 +131,8 @@ final class DdiApiModelProperties {
|
||||
|
||||
static final String ACTION_HISTORY_RESP_STATUS = "Status of the deployment based on previous feedback by the device.";
|
||||
|
||||
static final String ACTION_HISTORY_RESP_MESSAGES = "Messages are previously sent to the feedback channel in LIFO order by the device.";
|
||||
static final String ACTION_HISTORY_RESP_MESSAGES = "Messages are previously sent to the feedback channel in LIFO order by the device. "
|
||||
+ "Note: The first status message is set by the system and describes the trigger of the deployment";
|
||||
|
||||
static final String UPDATE_MODE = "Optional parameter to specify the update mode that should be applied when updating target attributes. "
|
||||
+ "Valid values are 'merge', 'replace', and 'remove'. Defaults to 'merge'.";
|
||||
|
||||
@@ -382,7 +382,11 @@ public class RootControllerDocumentationTest extends AbstractApiRestDocumentatio
|
||||
fieldWithPath("deployment.chunks[].part").description(DdiApiModelProperties.CHUNK_TYPE),
|
||||
fieldWithPath("deployment.chunks[].name").description(DdiApiModelProperties.CHUNK_NAME),
|
||||
fieldWithPath("deployment.chunks[].version")
|
||||
.description(DdiApiModelProperties.CHUNK_VERSION))));
|
||||
.description(DdiApiModelProperties.CHUNK_VERSION),
|
||||
fieldWithPath("actionHistory.status")
|
||||
.description(DdiApiModelProperties.ACTION_HISTORY_RESP_STATUS),
|
||||
fieldWithPath("actionHistory.messages")
|
||||
.description(DdiApiModelProperties.ACTION_HISTORY_RESP_MESSAGES))));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user