Remove swagger and minor feature extensions and bug fixes
- Various Bug fixes and improvements - Management API extended - Swagger removed - Guava Upgraded to 19
This commit is contained in:
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/amqp/api/AmqpSettings.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/amqp/api/AmqpSettings.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/amqp/api/EventTopic.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/amqp/api/EventTopic.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/amqp/api/MessageHeaderKey.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/amqp/api/MessageHeaderKey.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/amqp/api/MessageType.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/amqp/api/MessageType.java
Executable file → Normal file
2
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/ActionStatus.java
Executable file → Normal file
2
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/ActionStatus.java
Executable file → Normal file
@@ -22,6 +22,6 @@ import com.fasterxml.jackson.annotation.JsonInclude.Include;
|
||||
@JsonIgnoreProperties(ignoreUnknown = true)
|
||||
public enum ActionStatus {
|
||||
|
||||
DOWNLOAD, RETRIEVED, RUNNING, FINISHED, ERROR, WARNING;
|
||||
|
||||
DOWNLOAD, RETRIEVED, RUNNING, FINISHED, ERROR, WARNING, CANCELED, CANCEL_REJECTED;
|
||||
}
|
||||
|
||||
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/ActionUpdateStatus.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/ActionUpdateStatus.java
Executable file → Normal file
10
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/Artifact.java
Executable file → Normal file
10
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/Artifact.java
Executable file → Normal file
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
package org.eclipse.hawkbit.dmf.json.model;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.EnumMap;
|
||||
import java.util.Map;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||
@@ -18,7 +18,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/**
|
||||
* JSON representation of artifact.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
@@ -28,11 +28,9 @@ public class Artifact {
|
||||
|
||||
/**
|
||||
* Represented the supported protocols for artifact url's.
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
public static enum UrlProtocol {
|
||||
public enum UrlProtocol {
|
||||
COAP, HTTP, HTTPS
|
||||
}
|
||||
|
||||
@@ -46,7 +44,7 @@ public class Artifact {
|
||||
private Long size;
|
||||
|
||||
@JsonProperty
|
||||
private Map<UrlProtocol, String> urls = new HashMap<>();
|
||||
private Map<UrlProtocol, String> urls = new EnumMap<>(UrlProtocol.class);
|
||||
|
||||
public Map<UrlProtocol, String> getUrls() {
|
||||
return urls;
|
||||
|
||||
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/ArtifactHash.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/ArtifactHash.java
Executable file → Normal file
6
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/DownloadAndUpdateRequest.java
Executable file → Normal file
6
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/DownloadAndUpdateRequest.java
Executable file → Normal file
@@ -18,7 +18,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/**
|
||||
* JSON representation of download and update request.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
@@ -29,7 +29,7 @@ public class DownloadAndUpdateRequest {
|
||||
@JsonProperty
|
||||
private Long actionId;
|
||||
@JsonProperty
|
||||
private final List<SoftwareModule> softwareModules = new LinkedList<SoftwareModule>();
|
||||
private final List<SoftwareModule> softwareModules = new LinkedList<>();
|
||||
|
||||
public Long getActionId() {
|
||||
return actionId;
|
||||
@@ -45,7 +45,7 @@ public class DownloadAndUpdateRequest {
|
||||
|
||||
/**
|
||||
* Add a Software module.
|
||||
*
|
||||
*
|
||||
* @param createSoftwareModule
|
||||
* the module
|
||||
*/
|
||||
|
||||
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/DownloadResponse.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/DownloadResponse.java
Executable file → Normal file
4
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/SoftwareModule.java
Executable file → Normal file
4
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/SoftwareModule.java
Executable file → Normal file
@@ -19,7 +19,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
/**
|
||||
* JSON representation of a software module.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
@@ -35,7 +35,7 @@ public class SoftwareModule {
|
||||
@JsonProperty
|
||||
private String moduleVersion;
|
||||
@JsonProperty
|
||||
private List<Artifact> artifacts = new LinkedList<Artifact>();
|
||||
private List<Artifact> artifacts = new LinkedList<>();
|
||||
|
||||
public String getModuleType() {
|
||||
return moduleType;
|
||||
|
||||
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/TenantSecruityToken.java
Executable file → Normal file
0
hawkbit-dmf-api/src/main/java/org/eclipse/hawkbit/dmf/json/model/TenantSecruityToken.java
Executable file → Normal file
Reference in New Issue
Block a user