Skip to content

Commit

Permalink
0.115.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mhogerheijde committed Jul 25, 2022
1 parent 059894f commit 577f652
Show file tree
Hide file tree
Showing 3,492 changed files with 276 additions and 1,074 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

#### Upcoming Changes

### 0.115 (2022-07-25)

##### AWSIoTService

- **[B]** Removed the AWS IoT Integration. It was not used and outdated, and may be replaced in the future.

##### ModemAlarmService

- Removed support for JsonPath filter expressions for now.
- Added validation to check names: spaces and most symbols except for `_` and `-` and no longer allowed.

##### MQTTService

- Improved error handling and messages.
- Fixed an issue where setting a password could result in an internal server error because of
incorrect encryption parameters.
- Improved MQTT client reliability.
- Added server CA certificate option.

##### base.proto

- Added `time_zone` to `Timestamp`. It will mostly be empty (UTC), but might be used when a modem has a time zone.

### 0.114 (2022-07-18)

##### EasypulseService
Expand Down
1 change: 1 addition & 0 deletions base.proto
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ message DoubleRange {
*/
message Timestamp {
google.protobuf.Timestamp timestamp = 1;
string time_zone = 2;
string textual = 4;
}

Expand Down
9 changes: 8 additions & 1 deletion docs/html/assignment.html
Original file line number Diff line number Diff line change
Expand Up @@ -8015,7 +8015,7 @@ <h3 id="hiber.modem.alarm.ModemAlarm.Check.DelayCheck">ModemAlarm.Check.DelayChe


<h3 id="hiber.modem.alarm.ModemAlarm.Check.FieldCheck">ModemAlarm.Check.FieldCheck</h3>
<p>A check that evaluates each new message, and checks selected field(s) in the parsed body.</p><p>When multiple fields are selected, the checks are applied to all of them individually.</p><p>See the Json Path documentation at https://goessner.net/articles/JsonPath/ for details on json path.</p><p>Simple examples selecting a field:</p><p>- $.my_field: a field in the root of the parsed object</p><p>- $.my_obj.my_field: a field in a deeper structure</p><p>- $.my_array[x].my_field: the field my_field of the element at index x is selected</p><p>Complex use cases are also possible, but they require a bit more understanding of json path logic:</p><p>- $.my_array.length(): the length of my_array is selected. Combine with an equals or threshold check,</p><p>to require that an array has a certain length.</p><p>- $.my_array[?(@.name == 'D')]: the array of all objects in my_array where name equals 'D' is selected.</p><p>- $.my_array[?(@.name == 'D')]..my_field: the array of my_field values from all objects in</p><p>my_array where name equals 'D' is selected.</p><p>- $.my_array..my_field: the array of my_field values (for all objects in my_array) is selected</p><p>- $.my_array[*].my_field: the array of my_field values (for all objects in my_array) is selected</p><p>Note that this for the examples above, if they return an array, the entire array is used as the value</p><p>in the comparison for equals and oneof.</p><p>A check of this type has the following parameters (matches the fields):</p><p>- field.path: replace the path for this field</p><p>- field.ignoreFieldNotFound: replace the value for ignore_field_not_found</p><p>For the equals check:</p><p>- field.equals.expected: iff this is an equals check, replace the expected value</p><p>For the oneof check:</p><p>- field.oneof.expected: iff this is a oneof check, replace the expected values</p><p>For the threshold check:</p><p>- field.threshold.expected: iff this is a threshold check, replace the expected range</p><p>- field.threshold.minimum: iff this is a threshold check, replace the expected minimum</p><p>- field.threshold.maximum: iff this is a threshold check, replace the expected maximum</p><p>For the delta check:</p><p>- field.delta.period:</p><p>- field.delta.threshold.expected: iff this is a delta check, replace the expected range</p><p>- field.delta.threshold.minimum: iff this is a delta check, replace the expected minimum</p><p>- field.delta.threshold.maximum: iff this is a delta check, replace the expected maximum</p><p>All of the parameters above can be used in the error message template.</p><p>The delta check also adds a few additional error message variables:</p><p>- {field.delta.previous}: the previous value for the field</p><p>- {field.delta.difference} (also {actual}): the difference between previous and current value for the field</p><p>- {field.delta.current}: the current value for the field</p>
<p>A check that evaluates each new message, and checks selected field(s) in the parsed body.</p><p>When multiple fields are selected, the checks are applied to all of them individually.</p><p>See the Json Path documentation at https://goessner.net/articles/JsonPath/ for details on json path.</p><p>We currently do not allow filter expressions.</p><p>Simple examples selecting a field:</p><p>- $.my_field: a field in the root of the parsed object</p><p>- $.my_obj.my_field: a field in a deeper structure</p><p>- $.my_array[x].my_field: the field my_field of the element at index x is selected</p><p>Complex use cases are also possible, but they require a bit more understanding of json path logic:</p><p>- $.my_array.length(): the length of my_array is selected. Combine with an equals or threshold check,</p><p>to require that an array has a certain length.</p><p>- $.my_array..my_field: the array of my_field values (for all objects in my_array) is selected</p><p>- $.my_array[*].my_field: the array of my_field values (for all objects in my_array) is selected</p><p>Note that this for the examples above, if they return an array, the entire array is used as the value</p><p>in the comparison for equals and oneof.</p><p>A check of this type has the following parameters (matches the fields):</p><p>- field.path: replace the path for this field</p><p>- field.ignoreFieldNotFound: replace the value for ignore_field_not_found</p><p>For the equals check:</p><p>- field.equals.expected: iff this is an equals check, replace the expected value</p><p>For the oneof check:</p><p>- field.oneof.expected: iff this is a oneof check, replace the expected values</p><p>For the threshold check:</p><p>- field.threshold.expected: iff this is a threshold check, replace the expected range</p><p>- field.threshold.minimum: iff this is a threshold check, replace the expected minimum</p><p>- field.threshold.maximum: iff this is a threshold check, replace the expected maximum</p><p>For the delta check:</p><p>- field.delta.period:</p><p>- field.delta.threshold.expected: iff this is a delta check, replace the expected range</p><p>- field.delta.threshold.minimum: iff this is a delta check, replace the expected minimum</p><p>- field.delta.threshold.maximum: iff this is a delta check, replace the expected maximum</p><p>All of the parameters above can be used in the error message template.</p><p>The delta check also adds a few additional error message variables:</p><p>- {field.delta.previous}: the previous value for the field</p><p>- {field.delta.difference} (also {actual}): the difference between previous and current value for the field</p><p>- {field.delta.current}: the current value for the field</p>


<table class="field-table">
Expand Down Expand Up @@ -10712,6 +10712,13 @@ <h3 id="hiber.Timestamp">Timestamp</h3>
<td><p> </p></td>
</tr>

<tr>
<td>time_zone</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>

<tr>
<td>textual</td>
<td><a href="#string">string</a></td>
Expand Down
7 changes: 7 additions & 0 deletions docs/html/easypulse.html
Original file line number Diff line number Diff line change
Expand Up @@ -4754,6 +4754,13 @@ <h3 id="hiber.Timestamp">Timestamp</h3>
<td><p> </p></td>
</tr>

<tr>
<td>time_zone</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p> </p></td>
</tr>

<tr>
<td>textual</td>
<td><a href="#string">string</a></td>
Expand Down
Loading

0 comments on commit 577f652

Please sign in to comment.