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 91D6B10E41 for ; Mon, 3 Feb 2014 16:02:15 +0000 (UTC) Received: (qmail 64188 invoked by uid 500); 3 Feb 2014 16:02:14 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 64083 invoked by uid 500); 3 Feb 2014 16:02:12 -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 63974 invoked by uid 99); 3 Feb 2014 16:02:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 16:02:11 +0000 Date: Mon, 3 Feb 2014 16:02:11 +0000 (UTC) From: "John Speidel (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (AMBARI-4467) Create new /blueprints REST endpoint MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-4467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] John Speidel resolved AMBARI-4467. ---------------------------------- Resolution: Fixed Merged to trunk. > Create new /blueprints REST endpoint > ------------------------------------ > > Key: AMBARI-4467 > URL: https://issues.apache.org/jira/browse/AMBARI-4467 > Project: Ambari > Issue Type: New Feature > Reporter: John Speidel > Assignee: John Speidel > Labels: api-addition, blueprints > Fix For: 1.5.0 > > > Create a new /blueprints REST endpoint. This endpoint represents an 'abstract blueprint' or 'template' and doesn't contain cluster specific details such specific host information. > This initial jira will be limited to basic blueprint information and will not contain configuration elements. These additional elements will be added in subsequent patches. > Available operations are get, create and delete. Update is not supported because blueprints are immutable. > Example of a simple blueprint resource: > {code} > { > "href" : "http://172.18.193.10:8080/api/v1/blueprints/bp1", > "host_groups" : [ > { > "name" : "foo", > "components" : [ > { > "name" : "component2" > }, > { > "name" : "component1" > }, > { > "name" : "component4" > }, > { > "name" : "component3" > } > ], > "cardinality" : "2" > }, > { > "name" : "bar", > "components" : [ > { > "name" : "component5" > } > ], > "cardinality" : "1" > } > ], > "Blueprints" : { > "blueprint_name" : "bp1", > "stack_name" : "HDP", > "stack_version" : "1.3.3" > } > } > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)