Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-4467

Create new /blueprints REST endpoint

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None

      Description

      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:

      {
        "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"
        }
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jspeidel John Speidel
                Reporter:
                jspeidel John Speidel
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: