Remove deprecated (#2800)
* ActionFields.DETAILSTATUS removed and replaces with STATUS (so status is with changed semantic - not active but real status) * MgmtAction.detailStatus removed and replaced with status (so status is with changed semantic - not active but real status) * MgmtTargetTagRestApi.assignTargetsPut removed - use POST method * ActionStatusFields.REPORTEDAT deprecation removed - it is a synonym of CREATEDAT but is part of timestamp/reported aspect while createdat is part of creted at/by * MgmtDistributionSetRequestBodyPost.os/runtime/application is removed and * ActionStatusFields.TIMESTAMPT added Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -284,7 +284,7 @@ public interface ControllerManagement {
|
||||
* allowed number of action status messages from history; messageCount equal zero, does not retrieve any message; and messageCount larger
|
||||
* than zero, retrieves the specified number of messages, limited by maximum allowed number. A controller sends the feedback for an
|
||||
* {@link ActionStatus} as a list of messages; while returning the messages, even though the messages from multiple {@link ActionStatus}
|
||||
* are retrieved in descending order by the reported time ({@link ActionStatus#getOccurredAt()}), i.e. latest ActionStatus first, the
|
||||
* are retrieved in descending order by the reported time ({@link ActionStatus#getTimestamp()}), i.e. latest ActionStatus first, the
|
||||
* sub-ordering of messages from within single {@link ActionStatus} is unspecified.
|
||||
*
|
||||
* @param actionId to be filtered on
|
||||
|
||||
@@ -336,6 +336,6 @@ public interface Action extends TenantAwareBaseEntity {
|
||||
private Integer code;
|
||||
private Collection<@ValidString String> messages;
|
||||
|
||||
private Long occurredAt;
|
||||
private Long timestamp;
|
||||
}
|
||||
}
|
||||
@@ -23,7 +23,7 @@ public interface ActionStatus extends TenantAwareBaseEntity {
|
||||
/**
|
||||
* @return time in {@link TimeUnit#MILLISECONDS} when the status was reported.
|
||||
*/
|
||||
long getOccurredAt();
|
||||
long getTimestamp();
|
||||
|
||||
/**
|
||||
* @return {@link Action} this {@link ActionStatus} belongs to.
|
||||
|
||||
Reference in New Issue
Block a user