How to execute a blueprint

Executing a blueprint means that you will initialize all service instances as described in the blueprint.

You can execute a blueprint in three ways:

Using the Telegram Chatbot

@todo

Using the Cockpit Portal

See the Getting started with blueprints section.

Using the Cockpit API

In order to use the Cockpit API you first need to obtain an JWT, as documented in the section about how to get a JWT.

Once you got the JWT, you can execute a blueprint:

curl -H "Authorization: bearer JWT"  /  
     https://BASE_URL/api/ays/repository/REPOSITORY-NAME/blueprint/BLUEPRINT-NAME

For instance in order to execute the blueprint discussed in the section How to create a blueprint:

curl -H "Authorization: bearer JWT"  /  
     https://BASE_URL/api/ays/repository/REPOSITORY-NAME/blueprint/user1.yaml

Note that once executed the user still is not created. One more step is required, that is executing the install action on the user1 service instance, as documented in the section How to install a service.

Also see the section about the API Console

At the CLI

@todo

results matching ""

    No results matching ""