Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 81B80C083 for ; Wed, 7 Jan 2015 17:10:34 +0000 (UTC) Received: (qmail 62695 invoked by uid 500); 7 Jan 2015 17:10:35 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 62668 invoked by uid 500); 7 Jan 2015 17:10:35 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 62525 invoked by uid 99); 7 Jan 2015 17:10:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jan 2015 17:10:35 +0000 Date: Wed, 7 Jan 2015 17:10:35 +0000 (UTC) From: "John Speidel (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-9029) Update UI to use new stack artifact kerberos descriptor api endpoints MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 John Speidel created AMBARI-9029: ------------------------------------ Summary: Update UI to use new stack artifact kerberos descriptor api endpoints Key: AMBARI-9029 URL: https://issues.apache.org/jira/browse/AMBARI-9029 Project: Ambari Issue Type: Task Components: ambari-web Affects Versions: 2.0.0 Reporter: John Speidel Fix For: 2.0.0 The Ambari UI should now use the new api endpoints for obtaining the kerberos descriptor for stacks and stack services. Currently the UI uses temporary fields in the stack version and stack service endpoints. Old api call to get stack descriptor: {code} api/v1/stacks/HDP/versions/2.2?fields=Versions/kerberos_descriptor {code} Old api call to get service descriptor: {code} api/v1/stacks/HDP/versions/2.2/services/HDFS?fields=StackServices/kerberos_descriptor {code} Usages of the above api should be replaced with the new stack artifact endpoints: New way to get stack descriptor: {code} api/v1/stacks/HDP/versions/2.2/artifacts/kerberos_descriptor {code} New way to get service descriptor: {code} api/v1/stacks/HDP/versions/2.2/services/HDFS/artifacts/kerberos_descriptor {code} These new calls will return the requested kerberos_descriptor resource which has the format: {code} { "href" : ".../api/v1/stacks/HDP/versions/2.2/services/HDFS/artifacts/kerberos_descriptor", "Artifacts" : { "artifact_name" : "kerberos_descriptor", "service_name" : "HDFS", "stack_name" : "HDP", "stack_version" : "2.2" }, "artifact_data" : { ... } } {code} The descriptor information is contained in the "artifact_data" field. This task is dependent on the work done for: https://issues.apache.org/jira/browse/AMBARI-9028 -- This message was sent by Atlassian JIRA (v6.3.4#6332)