summaryrefslogtreecommitdiffstats
path: root/components/model-catalog/blueprint-model/uat-blueprints/echo/Definitions/echo-test.json
blob: 3105484ce668de788648a8b1dea68bcf05ec1911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
  "tosca_definitions_version" : "controller_blueprint_1_0_0",
  "metadata" : {
    "template_author" : "Rodrigo Ottero",
    "author-email" : "rodrigo.ottero@est.tech",
    "user-groups" : "ADMIN, OPERATION",
    "template_name" : "echo_test",
    "template_version" : "1.0.0",
    "template_tags" : "echo_test, echo, test, testing"
  },
  "imports" : [ {
    "file" : "Definitions/data_types.json"
  }, {
    "file" : "Definitions/relationship_types.json"
  }, {
    "file" : "Definitions/artifact_types.json"
  }, {
    "file" : "Definitions/node_types.json"
  }, {
    "file" : "Definitions/policy_types.json"
  } ],
  "topology_template" : {
    "workflows" : {
      "echo" : {
        "steps" : {
          "activate-process" : {
            "description" : "Echo a message",
            "target" : "echo-process",
            "activities" : [ {
              "call_operation" : ""
            } ]
          }
        },
        "inputs" : {
          "echo-properties" : {
            "description" : "Dynamic PropertyDefinition for workflow(echo).",
            "required" : true,
            "type" : "dt-echo-properties"
          }
        }
      }
    },
    "node_templates" : {
      "echo-process" : {
        "type" : "dg-generic",
        "properties" : {
          "content" : {
            "get_artifact" : [ "SELF", "dg-echo-process" ]
          },
          "dependency-node-templates" : [ "echo" ]
        },
        "artifacts" : {
          "dg-config-assign-process" : {
            "type" : "artifact-directed-graph",
            "file" : "Plans/TEST_echo.xml"
          }
        }
      },
      "echo" : {
        "type" : "component-resource-resolution",
        "interfaces" : {
          "ResourceResolutionComponent" : {
            "operations" : {
              "process" : {
                "inputs" : {
                  "artifact-prefix-names" : [ "echo" ]
                },
                "outputs" : {
                  "resource-assignment-params" : {
                    "get_attribute" : [ "SELF", "assignment-params" ]
                  },
                  "status" : "success"
                }
              }
            }
          }
        },
        "artifacts" : {
          "echo-template" : {
            "type" : "artifact-template-velocity",
            "file" : "Templates/echo-template.vtl"
          },
          "echo-mapping" : {
            "type" : "artifact-mapping-resource",
            "file" : "Definitions/echo-mapping.json"
          }
        }
      }
    }
  }
}