YARN-5775. Convert enums in swagger definition to uppercase. Contributed by Gour Saha
This commit is contained in:
parent
6bdfce3ac7
commit
773c565ac5
@ -241,10 +241,10 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
description: Artifact type, like docker, tarball, etc. (optional).
|
description: Artifact type, like docker, tarball, etc. (optional).
|
||||||
enum:
|
enum:
|
||||||
- docker
|
- DOCKER
|
||||||
- tarball
|
- TARBALL
|
||||||
- application
|
- APPLICATION
|
||||||
default: docker
|
default: DOCKER
|
||||||
uri:
|
uri:
|
||||||
type: string
|
type: string
|
||||||
description: Artifact location to support multiple artifact stores (optional).
|
description: Artifact location to support multiple artifact stores (optional).
|
||||||
@ -303,7 +303,7 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
description: E.g. HTTP (YARN will perform a simple REST call at a regular interval and expect a 204 No content).
|
description: E.g. HTTP (YARN will perform a simple REST call at a regular interval and expect a 204 No content).
|
||||||
enum:
|
enum:
|
||||||
- http
|
- HTTP
|
||||||
uri:
|
uri:
|
||||||
type: string
|
type: string
|
||||||
description: Fully qualified REST uri endpoint.
|
description: Fully qualified REST uri endpoint.
|
||||||
@ -335,13 +335,13 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
description: Config file in the standard format like xml, properties, json, yaml, template.
|
description: Config file in the standard format like xml, properties, json, yaml, template.
|
||||||
enum:
|
enum:
|
||||||
- xml
|
- XML
|
||||||
- properties
|
- PROPERTIES
|
||||||
- json
|
- JSON
|
||||||
- yaml
|
- YAML
|
||||||
- template
|
- TEMPLATE
|
||||||
- env
|
- ENV
|
||||||
- hadoop_xml
|
- HADOOP_XML
|
||||||
dest_file:
|
dest_file:
|
||||||
type: string
|
type: string
|
||||||
description: The absolute path that this configuration file should be mounted as, in the application container.
|
description: The absolute path that this configuration file should be mounted as, in the application container.
|
||||||
@ -386,11 +386,11 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
description: enum of the state of the application
|
description: enum of the state of the application
|
||||||
enum:
|
enum:
|
||||||
- accepted
|
- ACCEPTED
|
||||||
- started
|
- STARTED
|
||||||
- ready
|
- READY
|
||||||
- stopped
|
- STOPPED
|
||||||
- failed
|
- FAILED
|
||||||
ContainerState:
|
ContainerState:
|
||||||
description: The current state of the container of an application.
|
description: The current state of the container of an application.
|
||||||
properties:
|
properties:
|
||||||
@ -398,8 +398,8 @@ definitions:
|
|||||||
type: string
|
type: string
|
||||||
description: enum of the state of the container
|
description: enum of the state of the container
|
||||||
enum:
|
enum:
|
||||||
- init
|
- INIT
|
||||||
- ready
|
- READY
|
||||||
ApplicationStatus:
|
ApplicationStatus:
|
||||||
description: The current status of a submitted application, returned as a response to the GET API.
|
description: The current status of a submitted application, returned as a response to the GET API.
|
||||||
properties:
|
properties:
|
||||||
|
Loading…
Reference in New Issue
Block a user