Skip to content

Commit

Permalink
0.55
Browse files Browse the repository at this point in the history
  • Loading branch information
wbouvy committed Aug 11, 2020
1 parent c102aed commit bd3ab83
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog Hiber API

### 0.55 (2020-08-11)

This release introduces the option to transfer modems without their data.

#### Changes

##### ModemTransferService

- Added type `TransferModemsRequest.DataTransferMode` and field `TransferModemsRequest.date_transfer_modem`
to indicate what should happen with modem data like messages and events when it is transferred.
The current options are to include or exclude everything, but more granular options will be added later.

### 0.54.2 (2020-08-10)

This is a minor release with a few more performance improvements and some bug fixes.
Expand Down
14 changes: 13 additions & 1 deletion modem_transfer.proto
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@ message TransferModemsRequest {
TRANSFER_EXTERNAL_DEVICES = 3;
}

/** What to do with the messages, events and other related data. */
enum DataTransferMode {
/** Include all related data in the transfer. */
INCLUDE = 0;

/** Exclude messages and all events. The data will be deleted. */
EXCLUDE_ALL = 1;
}

message Response {
TransferModemsRequest request = 1;
ModemTransfer transfer = 2;
Expand Down Expand Up @@ -218,14 +227,17 @@ message TransferModemsRequest {
* Deprecated since 0.46.
* To allow gateways to be transferred without their external devices must now be done using `gateway_transfer_mode`
*/
bool allow_gateways_and_external_devices = 7 [deprecated=true];
bool allow_gateways_and_external_devices = 7 [deprecated = true];

/* Set the mode with which this gateway is transferred.
* It explicitly sets what needs to happen to external devices.
* This setting is mutually exclusive with the (now deprecated) setting `allow_gateways_and_external_devices`.
*/
GatewayTransferMode gateway_transfer_mode = 8;
}

/** What to do with the modem's data, like messages and events. */
DataTransferMode data_transfer_mode = 9;
}

message ListModemTransfersRequest {
Expand Down

0 comments on commit bd3ab83

Please sign in to comment.