Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AAB75200BD8 for ; Wed, 7 Dec 2016 22:10:27 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A96F2160B2F; Wed, 7 Dec 2016 21:10:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F116A160B0C for ; Wed, 7 Dec 2016 22:10:26 +0100 (CET) Received: (qmail 41953 invoked by uid 500); 7 Dec 2016 21:10:05 -0000 Mailing-List: contact common-commits-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-commits@hadoop.apache.org Received: (qmail 37847 invoked by uid 99); 7 Dec 2016 21:10:02 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2016 21:10:02 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 9946DF2132; Wed, 7 Dec 2016 21:10:02 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jianhe@apache.org To: common-commits@hadoop.apache.org Date: Wed, 07 Dec 2016 21:10:49 -0000 Message-Id: <107cf046383c4873b82b0d62e8367cfe@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [49/76] [abbrv] hadoop git commit: YARN-5775. Convert enums in swagger definition to uppercase. Contributed by Gour Saha archived-at: Wed, 07 Dec 2016 21:10:27 -0000 YARN-5775. Convert enums in swagger definition to uppercase. Contributed by Gour Saha Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e7ce6b55 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e7ce6b55 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e7ce6b55 Branch: refs/heads/yarn-native-services Commit: e7ce6b550b76cb0574036f371f5684dd9079c90d Parents: 9c4a2d6 Author: Billie Rinaldi Authored: Tue Oct 25 11:25:51 2016 -0700 Committer: Jian He Committed: Wed Dec 7 13:00:06 2016 -0800 ---------------------------------------------------------------------- ...RN-Simplified-V1-API-Layer-For-Services.yaml | 38 ++++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e7ce6b55/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Simplified-V1-API-Layer-For-Services.yaml ---------------------------------------------------------------------- diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Simplified-V1-API-Layer-For-Services.yaml b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Simplified-V1-API-Layer-For-Services.yaml index 6169fcd..7eb3196 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Simplified-V1-API-Layer-For-Services.yaml +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services-api/src/main/resources/definition/YARN-Simplified-V1-API-Layer-For-Services.yaml @@ -241,10 +241,10 @@ definitions: type: string description: Artifact type, like docker, tarball, etc. (optional). enum: - - docker - - tarball - - application - default: docker + - DOCKER + - TARBALL + - APPLICATION + default: DOCKER uri: type: string description: Artifact location to support multiple artifact stores (optional). @@ -303,7 +303,7 @@ definitions: type: string description: E.g. HTTP (YARN will perform a simple REST call at a regular interval and expect a 204 No content). enum: - - http + - HTTP uri: type: string description: Fully qualified REST uri endpoint. @@ -335,13 +335,13 @@ definitions: type: string description: Config file in the standard format like xml, properties, json, yaml, template. enum: - - xml - - properties - - json - - yaml - - template - - env - - hadoop_xml + - XML + - PROPERTIES + - JSON + - YAML + - TEMPLATE + - ENV + - HADOOP_XML dest_file: type: string description: The absolute path that this configuration file should be mounted as, in the application container. @@ -386,11 +386,11 @@ definitions: type: string description: enum of the state of the application enum: - - accepted - - started - - ready - - stopped - - failed + - ACCEPTED + - STARTED + - READY + - STOPPED + - FAILED ContainerState: description: The current state of the container of an application. properties: @@ -398,8 +398,8 @@ definitions: type: string description: enum of the state of the container enum: - - init - - ready + - INIT + - READY ApplicationStatus: description: The current status of a submitted application, returned as a response to the GET API. properties: --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-commits-help@hadoop.apache.org