Skip to content

Commit 1f2dfd2

Browse files
author
Lab5e Release Bot
committed
Version 4.1.17
1 parent 7acb1aa commit 1f2dfd2

108 files changed

Lines changed: 355 additions & 156 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# span-java-client
22

33
The Span API
4-
- API version: 4.1.16 spooky-devante
5-
- Build date: 2021-07-14T18:46:06.793Z[GMT]
4+
- API version: 4.1.17 enhanced-allie
5+
- Build date: 2021-09-28T19:06:00.241Z[GMT]
66

77
API for device, collection, output and firmware management
88

@@ -41,7 +41,7 @@ Add this dependency to your project's POM:
4141
<dependency>
4242
<groupId>com.lab5e</groupId>
4343
<artifactId>span-java-client</artifactId>
44-
<version>4.1.16</version>
44+
<version>4.1.17</version>
4545
<scope>compile</scope>
4646
</dependency>
4747
```
@@ -51,7 +51,7 @@ Add this dependency to your project's POM:
5151
Add this dependency to your project's build file:
5252

5353
```groovy
54-
compile "com.lab5e:span-java-client:4.1.16"
54+
compile "com.lab5e:span-java-client:4.1.17"
5555
```
5656

5757
### Others
@@ -64,7 +64,7 @@ mvn clean package
6464

6565
Then manually install the following JARs:
6666

67-
* `target/span-java-client-4.1.16.jar`
67+
* `target/span-java-client-4.1.17.jar`
6868
* `target/lib/*.jar`
6969

7070
## Getting Started

api/openapi.yaml

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ info:
66
url: https://lab5e.com/span
77
description: API for device, collection, output and firmware management
88
title: The Span API
9-
version: 4.1.16 spooky-devante
9+
version: 4.1.17 enhanced-allie
1010
servers:
1111
- url: https://api.lab5e.com/span
1212
security:
@@ -2229,6 +2229,7 @@ components:
22292229
simOperator:
22302230
country: country
22312231
mnc: 6
2232+
countryCode: countryCode
22322233
mcc: 0
22332234
network: network
22342235
imei: imei
@@ -2287,6 +2288,7 @@ components:
22872288
simOperator:
22882289
country: country
22892290
mnc: 6
2291+
countryCode: countryCode
22902292
mcc: 0
22912293
network: network
22922294
properties:
@@ -2475,6 +2477,7 @@ components:
24752477
simOperator:
24762478
country: country
24772479
mnc: 6
2480+
countryCode: countryCode
24782481
mcc: 0
24792482
network: network
24802483
imei: imei
@@ -2511,6 +2514,7 @@ components:
25112514
simOperator:
25122515
country: country
25132516
mnc: 6
2517+
countryCode: countryCode
25142518
mcc: 0
25152519
network: network
25162520
imei: imei
@@ -2549,6 +2553,7 @@ components:
25492553
simOperator:
25502554
country: country
25512555
mnc: 6
2556+
countryCode: countryCode
25522557
mcc: 0
25532558
network: network
25542559
imei: imei
@@ -2574,6 +2579,7 @@ components:
25742579
simOperator:
25752580
country: country
25762581
mnc: 6
2582+
countryCode: countryCode
25772583
mcc: 0
25782584
network: network
25792585
imei: imei
@@ -2641,15 +2647,18 @@ components:
26412647
basicAuthPass: basicAuthPass
26422648
customHeaderValue: customHeaderValue
26432649
customHeaderName: customHeaderName
2650+
payloadFormat: payloadFormat
26442651
url: url
26452652
endpoint: endpoint
26462653
password: password
26472654
disableCertCheck: true
26482655
port: 0
26492656
asIsPayload: true
2657+
topicTemplate: topicTemplate
26502658
host: host
26512659
eventName: eventName
26522660
topicName: topicName
2661+
payloadTemplate: payloadTemplate
26532662
key: key
26542663
username: username
26552664
enabled: true
@@ -2663,15 +2672,18 @@ components:
26632672
basicAuthPass: basicAuthPass
26642673
customHeaderValue: customHeaderValue
26652674
customHeaderName: customHeaderName
2675+
payloadFormat: payloadFormat
26662676
url: url
26672677
endpoint: endpoint
26682678
password: password
26692679
disableCertCheck: true
26702680
port: 0
26712681
asIsPayload: true
2682+
topicTemplate: topicTemplate
26722683
host: host
26732684
eventName: eventName
26742685
topicName: topicName
2686+
payloadTemplate: payloadTemplate
26752687
key: key
26762688
username: username
26772689
enabled: true
@@ -2751,6 +2763,7 @@ components:
27512763
example:
27522764
country: country
27532765
mnc: 6
2766+
countryCode: countryCode
27542767
mcc: 0
27552768
network: network
27562769
properties:
@@ -2768,8 +2781,16 @@ components:
27682781
network:
27692782
title: The name of the mobile network
27702783
type: string
2784+
countryCode:
2785+
title: ISO country code
2786+
type: string
27712787
type: object
27722788
Output:
2789+
description: |-
2790+
Output resource. The configuration depends on the kind of output type. There
2791+
are five outputs: Webhooks, UDP forwarding, IFTTT events, MQTT client and
2792+
MQTT broker. The MQTT broker output is just used to configure the built-in
2793+
MQTT broker in Span.
27732794
example:
27742795
outputId: outputId
27752796
collectionId: collectionId
@@ -2779,15 +2800,18 @@ components:
27792800
basicAuthPass: basicAuthPass
27802801
customHeaderValue: customHeaderValue
27812802
customHeaderName: customHeaderName
2803+
payloadFormat: payloadFormat
27822804
url: url
27832805
endpoint: endpoint
27842806
password: password
27852807
disableCertCheck: true
27862808
port: 0
27872809
asIsPayload: true
2810+
topicTemplate: topicTemplate
27882811
host: host
27892812
eventName: eventName
27902813
topicName: topicName
2814+
payloadTemplate: payloadTemplate
27912815
key: key
27922816
username: username
27932817
enabled: true
@@ -2808,7 +2832,6 @@ components:
28082832
additionalProperties:
28092833
type: string
28102834
type: object
2811-
title: Output resource. Configuration
28122835
type: object
28132836
OutputConfig:
28142837
description: Output configuration.
@@ -2818,15 +2841,18 @@ components:
28182841
basicAuthPass: basicAuthPass
28192842
customHeaderValue: customHeaderValue
28202843
customHeaderName: customHeaderName
2844+
payloadFormat: payloadFormat
28212845
url: url
28222846
endpoint: endpoint
28232847
password: password
28242848
disableCertCheck: true
28252849
port: 0
28262850
asIsPayload: true
2851+
topicTemplate: topicTemplate
28272852
host: host
28282853
eventName: eventName
28292854
topicName: topicName
2855+
payloadTemplate: payloadTemplate
28302856
key: key
28312857
username: username
28322858
properties:
@@ -2882,6 +2908,19 @@ components:
28822908
topicName:
28832909
title: 'MQTT configuration: Topic name'
28842910
type: string
2911+
topicTemplate:
2912+
format: byte
2913+
pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
2914+
title: 'MQTT broker configuration: Topic template'
2915+
type: string
2916+
payloadFormat:
2917+
title: 'MQTT broker configuration: Payload format (json|binary)'
2918+
type: string
2919+
payloadTemplate:
2920+
format: byte
2921+
pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$
2922+
title: 'MQTT broker configuration: Payload template'
2923+
type: string
28852924
type: object
28862925
OutputDataMessage:
28872926
description: |-
@@ -2900,6 +2939,7 @@ components:
29002939
simOperator:
29012940
country: country
29022941
mnc: 6
2942+
countryCode: countryCode
29032943
mcc: 0
29042944
network: network
29052945
imei: imei
@@ -3022,6 +3062,7 @@ components:
30223062
- udp
30233063
- mqtt
30243064
- ifttt
3065+
- mqttbroker
30253066
title: '- undefined: The undefined output type is an invalid type'
30263067
type: string
30273068
SendMessageRequest:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apply plugin: 'eclipse'
33
apply plugin: 'java'
44

55
group = 'com.lab5e'
6-
version = '4.1.16'
6+
version = '4.1.17'
77

88
buildscript {
99
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.lab5e",
44
name := "span-java-client",
5-
version := "4.1.16",
5+
version := "4.1.17",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/NetworkOperator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**mnc** | **Integer** | | [optional]
1313
**country** | **String** | | [optional]
1414
**network** | **String** | | [optional]
15+
**countryCode** | **String** | | [optional]
1516

1617

1718

docs/Output.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
# Output
44

5+
Output resource. The configuration depends on the kind of output type. There are five outputs: Webhooks, UDP forwarding, IFTTT events, MQTT client and MQTT broker. The MQTT broker output is just used to configure the built-in MQTT broker in Span.
56

67
## Properties
78

docs/OutputConfig.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ Name | Type | Description | Notes
2424
**password** | **String** | | [optional]
2525
**clientId** | **String** | | [optional]
2626
**topicName** | **String** | | [optional]
27+
**topicTemplate** | **byte[]** | | [optional]
28+
**payloadFormat** | **String** | | [optional]
29+
**payloadTemplate** | **byte[]** | | [optional]
2730

2831

2932

docs/OutputType.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@
1515

1616
* `IFTTT` (value: `"ifttt"`)
1717

18+
* `MQTTBROKER` (value: `"mqttbroker"`)
19+
1820

1921

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>span-java-client</artifactId>
66
<packaging>jar</packaging>
77
<name>span-java-client</name>
8-
<version>4.1.16</version>
8+
<version>4.1.17</version>
99
<url>https://github.com/lab5e/java-spanapi</url>
1010
<description>Span API Client</description>
1111
<scm>

src/main/java/com/lab5e/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* The Span API
33
* API for device, collection, output and firmware management
44
*
5-
* The version of the OpenAPI document: 4.1.16 spooky-devante
5+
* The version of the OpenAPI document: 4.1.17 enhanced-allie
66
* Contact: dev@lab5e.com
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)