Skip to content

Commit 0b95a41

Browse files
author
Lab5e Release Bot
committed
Span release 4.7.0
1 parent 287127d commit 0b95a41

File tree

198 files changed

+296
-288
lines changed

Some content is hidden

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

198 files changed

+296
-288
lines changed

api/openapi.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ info:
66
url: https://lab5e.com
77
description: "API for device, collection, output and firmware management"
88
title: The Span API
9-
version: 4.6.1 squirming-codi
9+
version: 4.7.0 actionable-aryanna
1010
servers:
1111
- url: https://api.lab5e.com/
1212
security:
@@ -3172,6 +3172,10 @@ paths:
31723172
configuration blocks are deleted. If the configuration block contains a
31733173
gateway ID it will be updated with the new values. All values must be
31743174
submitted in the request.
3175+
If a device is moved out of the collection and it references a gateway in
3176+
the configuration the operation will fail. Devices that are moved from one
3177+
collection to another and references gateway configurations must be updated
3178+
before they are moved.
31753179
operationId: UpdateDevice
31763180
parameters:
31773181
- in: path
@@ -3325,7 +3329,11 @@ paths:
33253329
x-accepts: application/json
33263330
/span/collections/{existingCollectionId}/gateways/{gatewayId}:
33273331
patch:
3328-
description: Update a gateway in Span
3332+
description: |-
3333+
Update configuration for a gateway. If you want to remove or move a gateway
3334+
from the collection the devices in the collection must not have any gateway
3335+
configuration. The certificates for the gateway are unchanged when the
3336+
gateway is moved.
33293337
operationId: UpdateGateway
33303338
parameters:
33313339
- in: path

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.lab5e'
7-
version = '4.6.1'
7+
version = '4.7.0'
88

99
buildscript {
1010
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.6.1",
5+
version := "4.7.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/DevicesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ public class Example {
896896
897897
Update device
898898

899-
The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request.
899+
The device can be moved from one collection to another by setting the collection ID field to the new collection. You must have administrative access to both collections. A note on gateway configurations: Empty gateway configuration blocks are deleted. If the configuration block contains a gateway ID it will be updated with the new values. All values must be submitted in the request. If a device is moved out of the collection and it references a gateway in the configuration the operation will fail. Devices that are moved from one collection to another and references gateway configurations must be updated before they are moved.
900900

901901
### Example
902902
```java

docs/GatewaysApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ public class Example {
483483
484484
Update gateway
485485

486-
Update a gateway in Span
486+
Update configuration for a gateway. If you want to remove or move a gateway from the collection the devices in the collection must not have any gateway configuration. The certificates for the gateway are unchanged when the gateway is moved.
487487

488488
### Example
489489
```java

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.6.1</version>
8+
<version>4.7.0</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.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/lab5e/ApiClient.java

Lines changed: 2 additions & 2 deletions
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.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -140,7 +140,7 @@ private void init() {
140140
json = new JSON();
141141

142142
// Set default User-Agent.
143-
setUserAgent("OpenAPI-Generator/4.6.1/java");
143+
setUserAgent("OpenAPI-Generator/4.7.0/java");
144144

145145
authentications = new HashMap<String, Authentication>();
146146
}

src/main/java/com/lab5e/ApiException.java

Lines changed: 2 additions & 2 deletions
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.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -22,7 +22,7 @@
2222
* <p>ApiException class.</p>
2323
*/
2424
@SuppressWarnings("serial")
25-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-06-16T10:54:11.293559Z[Etc/UTC]")
25+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2023-10-11T10:44:29.931093Z[Etc/UTC]")
2626
public class ApiException extends Exception {
2727
private int code = 0;
2828
private Map<String, List<String>> responseHeaders = null;

src/main/java/com/lab5e/ApiResponse.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.6.1 squirming-codi
5+
* The version of the OpenAPI document: 4.7.0 actionable-aryanna
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)