Commit db8f508b authored by Daniel Seybold's avatar Daniel Seybold

updated client, removed management component for single node

parent 059c8138
......@@ -6,7 +6,6 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | [**TypeEnum**](#TypeEnum) | database name, needs to map an existing database application description | [optional]
**databaseSeedComponent** | [**DatabaseSeedComponent**](DatabaseSeedComponent.md) | | [optional]
**databaseManagementComponent** | [**java.util.List<DatabaseManagementComponent>**](DatabaseManagementComponent.md) | | [optional]
<a name="TypeEnum"></a>
......
......@@ -16,7 +16,7 @@ package de.uulm.omi.cloudiator.catalogue.client;
import java.util.Map;
import java.util.List;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class ApiException extends Exception {
private int code = 0;
private Map<String, List<String>> responseHeaders = null;
......
......@@ -13,7 +13,7 @@
package de.uulm.omi.cloudiator.catalogue.client;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Configuration {
private static ApiClient defaultApiClient = new ApiClient();
......
......@@ -13,7 +13,7 @@
package de.uulm.omi.cloudiator.catalogue.client;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Pair {
private String name = "";
private String value = "";
......
......@@ -13,7 +13,7 @@
package de.uulm.omi.cloudiator.catalogue.client;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
......
......@@ -18,7 +18,7 @@ import de.uulm.omi.cloudiator.catalogue.client.Pair;
import java.util.Map;
import java.util.List;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
......
......@@ -18,7 +18,7 @@ import de.uulm.omi.cloudiator.catalogue.client.Pair;
import java.util.Map;
import java.util.List;
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class OAuth implements Authentication {
private String accessToken;
......
......@@ -28,7 +28,7 @@ import java.io.IOException;
/**
* Cluster
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Cluster {
@SerializedName("sparkMasterComponent")
private SparkMasterComponent sparkMasterComponent = null;
......
......@@ -28,7 +28,7 @@ import java.io.IOException;
/**
* Component
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Component {
@SerializedName("instances")
private Integer instances = null;
......
......@@ -26,7 +26,7 @@ import java.io.IOException;
/**
* CrossClusterConfiguration
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class CrossClusterConfiguration {
@SerializedName("crossClusterPort")
private Integer crossClusterPort = null;
......
......@@ -31,7 +31,7 @@ import java.io.IOException;
* A data component of a cross-DDBMS, requires existing seed and CrossDatabaseSeedComponents
*/
@ApiModel(description = "A data component of a cross-DDBMS, requires existing seed and CrossDatabaseSeedComponents")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class CrossDatabaseDataComponent {
@SerializedName("instances")
private Integer instances = null;
......
......@@ -33,7 +33,7 @@ import java.io.IOException;
* A seed component of a cross-DDBMS, provides the cluster entrypoint for DatabaseDataComponents and CrossDatabaseDataComponent
*/
@ApiModel(description = "A seed component of a cross-DDBMS, provides the cluster entrypoint for DatabaseDataComponents and CrossDatabaseDataComponent")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class CrossDatabaseSeedComponent {
@SerializedName("instances")
private Integer instances = null;
......
......@@ -21,7 +21,7 @@ import io.swagger.annotations.ApiModel;
* a set of custom configuration items, the LCA scripts need to be aware of
*/
@ApiModel(description = "a set of custom configuration items, the LCA scripts need to be aware of")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class CustomConfiguration extends java.util.ArrayList<CustomConfigurationItem> {
@Override
......
......@@ -26,7 +26,7 @@ import java.io.IOException;
/**
* CustomConfigurationItem
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class CustomConfigurationItem {
@SerializedName("envName")
private String envName = null;
......
......@@ -27,7 +27,7 @@ import java.math.BigDecimal;
/**
* DataMemory
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class DataMemory {
/**
* environment variable name
......
......@@ -30,7 +30,7 @@ import java.io.IOException;
* todo
*/
@ApiModel(description = "todo")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class DatabaseCluster {
/**
* database name, needs to map an existing database application description
......
......@@ -32,7 +32,7 @@ import java.io.IOException;
* todo
*/
@ApiModel(description = "todo")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class DatabaseCrossCluster {
/**
* database name, needs to map an existing database application description
......
......@@ -31,7 +31,7 @@ import java.io.IOException;
* A data component of a DDBMS, requires existing seed components
*/
@ApiModel(description = "A data component of a DDBMS, requires existing seed components")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class DatabaseDataComponent {
@SerializedName("instances")
private Integer instances = null;
......
......@@ -30,7 +30,7 @@ import java.io.IOException;
* A management component of a DDBMS
*/
@ApiModel(description = "A management component of a DDBMS")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class DatabaseManagementComponent {
@SerializedName("instances")
private Integer instances = null;
......
......@@ -32,7 +32,7 @@ import java.io.IOException;
* A seed component of a DDBMS, provides the cluster entrypoint for DatabaseDataComponents
*/
@ApiModel(description = "A seed component of a DDBMS, provides the cluster entrypoint for DatabaseDataComponents")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class DatabaseSeedComponent {
@SerializedName("instances")
private Integer instances = null;
......
......@@ -19,7 +19,6 @@ import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import de.uulm.omi.cloudiator.dbms.evaluator.model.DatabaseManagementComponent;
import de.uulm.omi.cloudiator.dbms.evaluator.model.DatabaseSeedComponent;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
......@@ -29,7 +28,7 @@ import java.io.IOException;
* todo
*/
@ApiModel(description = "todo")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class DatabaseSingle {
/**
* database name, needs to map an existing database application description
......@@ -98,9 +97,6 @@ public class DatabaseSingle {
@SerializedName("databaseSeedComponent")
private DatabaseSeedComponent databaseSeedComponent = null;
@SerializedName("databaseManagementComponent")
private java.util.List<DatabaseManagementComponent> databaseManagementComponent = null;
public DatabaseSingle type(TypeEnum type) {
this.type = type;
return this;
......@@ -137,32 +133,6 @@ public class DatabaseSingle {
this.databaseSeedComponent = databaseSeedComponent;
}
public DatabaseSingle databaseManagementComponent(java.util.List<DatabaseManagementComponent> databaseManagementComponent) {
this.databaseManagementComponent = databaseManagementComponent;
return this;
}
public DatabaseSingle addDatabaseManagementComponentItem(DatabaseManagementComponent databaseManagementComponentItem) {
if (this.databaseManagementComponent == null) {
this.databaseManagementComponent = new java.util.ArrayList<>();
}
this.databaseManagementComponent.add(databaseManagementComponentItem);
return this;
}
/**
* Get databaseManagementComponent
* @return databaseManagementComponent
**/
@ApiModelProperty(value = "")
public java.util.List<DatabaseManagementComponent> getDatabaseManagementComponent() {
return databaseManagementComponent;
}
public void setDatabaseManagementComponent(java.util.List<DatabaseManagementComponent> databaseManagementComponent) {
this.databaseManagementComponent = databaseManagementComponent;
}
@Override
public boolean equals(java.lang.Object o) {
......@@ -174,13 +144,12 @@ public class DatabaseSingle {
}
DatabaseSingle databaseSingle = (DatabaseSingle) o;
return Objects.equals(this.type, databaseSingle.type) &&
Objects.equals(this.databaseSeedComponent, databaseSingle.databaseSeedComponent) &&
Objects.equals(this.databaseManagementComponent, databaseSingle.databaseManagementComponent);
Objects.equals(this.databaseSeedComponent, databaseSingle.databaseSeedComponent);
}
@Override
public int hashCode() {
return Objects.hash(type, databaseSeedComponent, databaseManagementComponent);
return Objects.hash(type, databaseSeedComponent);
}
......@@ -191,7 +160,6 @@ public class DatabaseSingle {
sb.append(" type: ").append(toIndentedString(type)).append("\n");
sb.append(" databaseSeedComponent: ").append(toIndentedString(databaseSeedComponent)).append("\n");
sb.append(" databaseManagementComponent: ").append(toIndentedString(databaseManagementComponent)).append("\n");
sb.append("}");
return sb.toString();
}
......
......@@ -27,7 +27,7 @@ import java.io.IOException;
* the Cloudiator applicationInstanceId for further interactions with the application instance, e.g. getting application components details, scale application components
*/
@ApiModel(description = "the Cloudiator applicationInstanceId for further interactions with the application instance, e.g. getting application components details, scale application components")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Deployment {
@SerializedName("applicationInstanceId")
private Long applicationInstanceId = null;
......
......@@ -26,7 +26,7 @@ import java.io.IOException;
/**
* Error
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Error {
@SerializedName("code")
private Integer code = null;
......
......@@ -27,7 +27,7 @@ import java.math.BigDecimal;
/**
* IndexMemory
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class IndexMemory {
/**
* environment variable name
......
......@@ -28,7 +28,7 @@ import java.io.IOException;
* An existing node resource
*/
@ApiModel(description = "An existing node resource")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Node extends Resource {
@SerializedName("endpoint")
private Integer endpoint = null;
......
......@@ -29,7 +29,7 @@ import java.io.IOException;
* configuration settings on node level
*/
@ApiModel(description = "configuration settings on node level")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class NodeConfiguration {
@SerializedName("dataMemory")
private DataMemory dataMemory = null;
......
......@@ -27,7 +27,7 @@ import java.math.BigDecimal;
/**
* ReplicationFactor
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class ReplicationFactor {
/**
* environment variable name
......
......@@ -28,7 +28,7 @@ import java.io.IOException;
* A requirement set Colosseum will solves an provision the resources
*/
@ApiModel(description = "A requirement set Colosseum will solves an provision the resources")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Requirement extends Resource {
@SerializedName("item")
private Integer item = null;
......
......@@ -26,7 +26,7 @@ import java.io.IOException;
/**
* Resource
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class Resource {
/**
......
......@@ -26,7 +26,7 @@ import java.io.IOException;
/**
* SparkJob
*/
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class SparkJob {
@SerializedName("name")
private String name = null;
......
......@@ -30,7 +30,7 @@ import java.io.IOException;
* the Spark Master
*/
@ApiModel(description = "the Spark Master")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class SparkMasterComponent {
@SerializedName("instances")
private Integer instances = null;
......
......@@ -30,7 +30,7 @@ import java.io.IOException;
* the Spark Master
*/
@ApiModel(description = "the Spark Master")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class SparkWorkerComponent {
@SerializedName("instances")
private Integer instances = null;
......
......@@ -28,7 +28,7 @@ import java.io.IOException;
* A VM resource, which will be created by Colosseum
*/
@ApiModel(description = "A VM resource, which will be created by Colosseum")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2018-12-17T10:36:05.349Z")
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen", date = "2019-02-22T13:01:31.778Z")
public class VM extends Resource {
@SerializedName("idCloud")
private Integer idCloud = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment