[ 
https://issues.apache.org/jira/browse/AMBARI-5690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991087#comment-13991087
 ] 

John Speidel commented on AMBARI-5690:
--------------------------------------

Example with password property specified during cluster creation as a cluster 
scoped property:

{code}
{
  "blueprint" : "single-node-test",
  "configurations" : [
    {
      "core-site" : {
        "super.secret.property" : "password"
      }
    }
  ],
  "host_groups" :[
    {
      "name" : "host_group_1",       
      "hosts" : [         
        {
          "fqdn" : "test.novalocal"
        }
      ]
    }
  ]
}
{code}

> Validate required fields including passwords for blueprint cluster creation
> ---------------------------------------------------------------------------
>
>                 Key: AMBARI-5690
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5690
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: John Speidel
>            Assignee: John Speidel
>              Labels: api, blueprints
>             Fix For: 1.6.0
>
>
> For blueprint creation, validate all non-password required properties have 
> been  set in the blueprint.
> For cluster creation via a blueprint, validate that all required password 
> properties have been set in configuration or that a 'default_password' 
> property has been included in the request.  Password properties can be set in 
> the blueprint cluster or host group configurations or as part of the cluster 
> create call as either cluster or host group properties.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to