YARN-8772. Annotation javax.annotation.Generated has moved
Signed-off-by: Akira Ajisaka <aajisaka@apache.org>
This commit is contained in:
parent
ef5c776a42
commit
568ebecdf4
|
@ -38,7 +38,6 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "Artifact of an service component")
|
@ApiModel(description = "Artifact of an service component")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
public class Artifact implements Serializable {
|
public class Artifact implements Serializable {
|
||||||
private static final long serialVersionUID = 3608929500111099035L;
|
private static final long serialVersionUID = 3608929500111099035L;
|
||||||
|
|
|
@ -49,7 +49,6 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "One or more components of the service. If the service is HBase say, then the component can be a simple role like master or regionserver. If the service is a complex business webapp then a component can be other services say Kafka or Storm. Thereby it opens up the support for complex and nested services.")
|
@ApiModel(description = "One or more components of the service. If the service is HBase say, then the component can be a simple role like master or regionserver. If the service is a complex business webapp then a component can be other services say Kafka or Storm. Thereby it opens up the support for complex and nested services.")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
@XmlRootElement
|
@XmlRootElement
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
|
|
|
@ -42,7 +42,6 @@ import java.util.Objects;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "A config file that needs to be created and made available as a volume in an service component container.")
|
@ApiModel(description = "A config file that needs to be created and made available as a volume in an service component container.")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
@XmlRootElement
|
@XmlRootElement
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
public class ConfigFile implements Serializable {
|
public class ConfigFile implements Serializable {
|
||||||
|
|
|
@ -42,7 +42,6 @@ import java.util.Objects;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "Set of configuration properties that can be injected into the service components via envs, files and custom pluggable helper docker containers. Files of several standard formats like xml, properties, json, yaml and templates will be supported.")
|
@ApiModel(description = "Set of configuration properties that can be injected into the service components via envs, files and custom pluggable helper docker containers. Files of several standard formats like xml, properties, json, yaml and templates will be supported.")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
public class Configuration implements Serializable {
|
public class Configuration implements Serializable {
|
||||||
private static final long serialVersionUID = -4330788704981074466L;
|
private static final long serialVersionUID = -4330788704981074466L;
|
||||||
|
|
|
@ -37,7 +37,6 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "An instance of a running service container")
|
@ApiModel(description = "An instance of a running service container")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
@XmlRootElement
|
@XmlRootElement
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
public class Container extends BaseResource {
|
public class Container extends BaseResource {
|
||||||
|
|
|
@ -27,7 +27,6 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
|
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
public class Error {
|
public class Error {
|
||||||
|
|
||||||
private Integer code = null;
|
private Integer code = null;
|
||||||
|
|
|
@ -34,8 +34,6 @@ import java.util.Objects;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "The kerberos principal of the service.")
|
@ApiModel(description = "The kerberos principal of the service.")
|
||||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages" +
|
|
||||||
".JavaClientCodegen", date = "2017-11-20T11:29:11.785-08:00")
|
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
public class KerberosPrincipal implements Serializable {
|
public class KerberosPrincipal implements Serializable {
|
||||||
private static final long serialVersionUID = -6431667195287650037L;
|
private static final long serialVersionUID = -6431667195287650037L;
|
||||||
|
|
|
@ -40,9 +40,6 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "Placement constraint details.")
|
@ApiModel(description = "Placement constraint details.")
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "class io.swagger.codegen.languages.JavaClientCodegen",
|
|
||||||
date = "2018-02-16T10:20:12.927-07:00")
|
|
||||||
public class PlacementConstraint implements Serializable {
|
public class PlacementConstraint implements Serializable {
|
||||||
private static final long serialVersionUID = 1518017165676511762L;
|
private static final long serialVersionUID = 1518017165676511762L;
|
||||||
|
|
||||||
|
|
|
@ -37,9 +37,6 @@ import io.swagger.annotations.ApiModelProperty;
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "Advanced placement policy of the components of a "
|
@ApiModel(description = "Advanced placement policy of the components of a "
|
||||||
+ "service.")
|
+ "service.")
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "class io.swagger.codegen.languages.JavaClientCodegen",
|
|
||||||
date = "2018-02-16T10:20:12.927-07:00")
|
|
||||||
public class PlacementPolicy implements Serializable {
|
public class PlacementPolicy implements Serializable {
|
||||||
private static final long serialVersionUID = 4341110649551172231L;
|
private static final long serialVersionUID = 4341110649551172231L;
|
||||||
|
|
||||||
|
|
|
@ -32,9 +32,6 @@ import io.swagger.annotations.ApiModel;
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "The scope of placement for the containers of a "
|
@ApiModel(description = "The scope of placement for the containers of a "
|
||||||
+ "component.")
|
+ "component.")
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "class io.swagger.codegen.languages.JavaClientCodegen",
|
|
||||||
date = "2018-02-16T10:20:12.927-07:00")
|
|
||||||
public enum PlacementScope {
|
public enum PlacementScope {
|
||||||
NODE(PlacementConstraints.NODE), RACK(PlacementConstraints.RACK);
|
NODE(PlacementConstraints.NODE), RACK(PlacementConstraints.RACK);
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,6 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
@ApiModel(description = "The type of placement - affinity/anti-affinity/"
|
@ApiModel(description = "The type of placement - affinity/anti-affinity/"
|
||||||
+ "affinity-with-cardinality with containers of another component or "
|
+ "affinity-with-cardinality with containers of another component or "
|
||||||
+ "containers of the same component (self).")
|
+ "containers of the same component (self).")
|
||||||
@javax.annotation.Generated(
|
|
||||||
value = "class io.swagger.codegen.languages.JavaClientCodegen",
|
|
||||||
date = "2018-02-16T10:20:12.927-07:00")
|
|
||||||
public enum PlacementType {
|
public enum PlacementType {
|
||||||
AFFINITY, ANTI_AFFINITY, AFFINITY_WITH_CARDINALITY;
|
AFFINITY, ANTI_AFFINITY, AFFINITY_WITH_CARDINALITY;
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,7 +47,6 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "A custom command or a pluggable helper container to determine the readiness of a container of a component. Readiness for every service is different. Hence the need for a simple interface, with scope to support advanced usecases.")
|
@ApiModel(description = "A custom command or a pluggable helper container to determine the readiness of a container of a component. Readiness for every service is different. Hence the need for a simple interface, with scope to support advanced usecases.")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
@XmlRootElement
|
@XmlRootElement
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
|
|
|
@ -40,7 +40,6 @@ import java.util.Objects;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "Resource determines the amount of resources (vcores, memory, network, etc.) usable by a container. This field determines the resource to be applied for all the containers of a component or service. The resource specified at the service (or global) level can be overriden at the component level. Only one of profile OR cpu & memory are expected. It raises a validation exception otherwise.")
|
@ApiModel(description = "Resource determines the amount of resources (vcores, memory, network, etc.) usable by a container. This field determines the resource to be applied for all the containers of a component or service. The resource specified at the service (or global) level can be overriden at the component level. Only one of profile OR cpu & memory are expected. It raises a validation exception otherwise.")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
public class Resource extends BaseResource implements Cloneable {
|
public class Resource extends BaseResource implements Cloneable {
|
||||||
private static final long serialVersionUID = -6431667797380250037L;
|
private static final long serialVersionUID = -6431667797380250037L;
|
||||||
|
|
||||||
|
|
|
@ -28,8 +28,6 @@ import java.util.Objects;
|
||||||
* ResourceInformation determines unit/name/value of resource types in addition to memory and vcores. It will be part of Resource object
|
* ResourceInformation determines unit/name/value of resource types in addition to memory and vcores. It will be part of Resource object
|
||||||
*/
|
*/
|
||||||
@ApiModel(description = "ResourceInformation determines unit/value of resource types in addition to memory and vcores. It will be part of Resource object")
|
@ApiModel(description = "ResourceInformation determines unit/value of resource types in addition to memory and vcores. It will be part of Resource object")
|
||||||
@javax.annotation.Generated(value = "io.swagger.codegen.languages.JavaClientCodegen",
|
|
||||||
date = "2017-11-22T15:15:49.495-08:00")
|
|
||||||
public class ResourceInformation {
|
public class ResourceInformation {
|
||||||
@SerializedName("value")
|
@SerializedName("value")
|
||||||
private Long value = null;
|
private Long value = null;
|
||||||
|
|
|
@ -43,7 +43,6 @@ import java.util.Objects;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "An Service resource has the following attributes.")
|
@ApiModel(description = "An Service resource has the following attributes.")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
@XmlRootElement
|
@XmlRootElement
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
|
|
|
@ -27,7 +27,6 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "The current state of an service.")
|
@ApiModel(description = "The current state of an service.")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
public enum ServiceState {
|
public enum ServiceState {
|
||||||
ACCEPTED, STARTED, STABLE, STOPPED, FAILED, FLEX, UPGRADING,
|
ACCEPTED, STARTED, STABLE, STOPPED, FAILED, FLEX, UPGRADING,
|
||||||
UPGRADING_AUTO_FINALIZE, EXPRESS_UPGRADING, SUCCEEDED;
|
UPGRADING_AUTO_FINALIZE, EXPRESS_UPGRADING, SUCCEEDED;
|
||||||
|
|
|
@ -36,7 +36,6 @@ import org.apache.hadoop.classification.InterfaceStability;
|
||||||
@InterfaceAudience.Public
|
@InterfaceAudience.Public
|
||||||
@InterfaceStability.Unstable
|
@InterfaceStability.Unstable
|
||||||
@ApiModel(description = "The current status of a submitted service, returned as a response to the GET API.")
|
@ApiModel(description = "The current status of a submitted service, returned as a response to the GET API.")
|
||||||
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaClientCodegen", date = "2016-06-02T08:15:05.615-07:00")
|
|
||||||
@XmlRootElement
|
@XmlRootElement
|
||||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||||
public class ServiceStatus extends BaseResource {
|
public class ServiceStatus extends BaseResource {
|
||||||
|
|
Loading…
Reference in New Issue