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 3128A200BEB for ; Tue, 13 Dec 2016 23:53:25 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2FB95160B32; Tue, 13 Dec 2016 22:53:25 +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 76C7D160B07 for ; Tue, 13 Dec 2016 23:53:24 +0100 (CET) Received: (qmail 89347 invoked by uid 500); 13 Dec 2016 22:52:57 -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 85220 invoked by uid 99); 13 Dec 2016 22:52:54 -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; Tue, 13 Dec 2016 22:52:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 71128E95B8; Tue, 13 Dec 2016 22:52:54 +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: Tue, 13 Dec 2016 22:53:47 -0000 Message-Id: In-Reply-To: <71077c7e0e0c4f0fbe045a40e7cb538b@git.apache.org> References: <71077c7e0e0c4f0fbe045a40e7cb538b@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [55/74] [abbrv] hadoop git commit: YARN-5775. Convert enums in swagger definition to uppercase. Contributed by Gour Saha archived-at: Tue, 13 Dec 2016 22:53:25 -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/23963b57 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/23963b57 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/23963b57 Branch: refs/heads/yarn-native-services Commit: 23963b57d0f5c358510cfd4412f2043d6be31be3 Parents: 53e885d Author: Billie Rinaldi Authored: Tue Oct 25 11:25:51 2016 -0700 Committer: Jian He Committed: Tue Dec 13 14:46:44 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/23963b57/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