3 "author": "ks220y@att.com",
\r
4 "service-template-name": "VRR-baseconfiguration",
\r
5 "service-template-version": "1.0.0",
\r
6 "service-type": "AVPN",
\r
8 "action": "Base Configuration",
\r
9 "sub-action": "Generate Configuration"
\r
11 "topology_template": {
\r
17 "service-instance-id": {
\r
27 "base-config-template": {
\r
28 "type": "artifact-config-template",
\r
31 "resource-assignment-action"
\r
37 "content": "db://base-config-template"
\r
44 "name": "bundle-id",
\r
45 "input-param": true,
\r
50 "dictionary-name": "bundle-id",
\r
51 "dictionary-source": "mdsal"
\r
54 "name": "bundle-mac",
\r
55 "input-param": true,
\r
59 "dictionary-name": "bundle-mac",
\r
60 "dictionary-source": "db"
\r
67 "generate-configuration": {
\r
68 "type": "component-config-generator",
\r
70 "org-onap-ccsdk-features-generator-service-ConfigGeneratorNode": {
\r
74 "resource-type": "vnf-type",
\r
75 "request-id": "{ \"get_attribute\" : \"request-id\" }",
\r
76 "resource-id": "{ \"get_input\" : \"vnf-id\" }",
\r
77 "action-name": "{ \"get_attribute\" : \"action-name\" }",
\r
78 "template-name": "base-config-template"
\r
81 "generated-config": "",
\r
94 "config-generator-action": {
\r
95 "type": "dg-config-generator",
\r
99 "GenerateConfiguration": {
\r
111 "component-dependency": {
\r
112 "capability": "component-node",
\r
113 "node": "generate-configuration",
\r
114 "relationship": "tosca.relationships.DependsOn"
\r
121 "artifact-config-template": {
\r
122 "description": "This is Configuration Velocity Template",
\r
123 "version": "1.0.0",
\r
135 "type": "tosca.capabilities.Content",
\r
144 "type": "tosca.capabilities.Mapping",
\r
150 "type": "datatype-resource-assignment"
\r
156 "derived_from": "tosca.nodes.Artifact"
\r
158 "component-config-generator": {
\r
159 "description": "This is Generate Configuration Component API",
\r
160 "version": "1.0.0",
\r
162 "component-node": {
\r
163 "type": "tosca.capabilities.Node"
\r
167 "org-onap-ccsdk-features-generator-service-ConfigGeneratorNode": {
\r
172 "description": "Conditional : JSON string which is used to mash with template. Either template-data or ( resource-id and resource-type ) should be present",
\r
176 "template-content": {
\r
177 "description": "Conditional : Dynamic Template used to generate Configuration.",
\r
182 "description": "Conditional : resource-type used to pull the data content from the data base. Either template-data or ( resource-id and resource-type ) should be present",
\r
187 "description": "Request Id used to store the generated configuration, in the database along with the template-name",
\r
192 "description": "Conditional : Id used to pull the data content from the data base. Either template-data or ( resource-id and resource-type ) should be present",
\r
197 "description": "Conditional : Action Name to get from Database, Either (message & mask-info ) or ( resource-id & resource-type & action-name & template-name ) should be present. Message will be given higest priority",
\r
202 "description": "Conditional : Name of the Artifact Node Template, to get the template Content. If template-content is present, then content wont be reterived from the Artifact Node Template.",
\r
208 "generated-config": {
\r
209 "description": "Generated Configuration for the Template adn Resource Data",
\r
214 "description": "If template contains mask encription keys, then this mask-info field will be generated, This JSON Content alligns to the bean org.onap.ccsdk.features.model.data.custom.MaskInfo ",
\r
219 "description": "Status of the Component Execution ( success or failure )",
\r
228 "derived_from": "tosca.nodes.Component"
\r
230 "dg-config-generator": {
\r
231 "description": "This is Activate DG for Config Generator Directed Graph",
\r
232 "version": "1.0.0",
\r
242 "default": "LATEST"
\r
252 "type": "tosca.capabilities.Node"
\r
255 "type": "tosca.capabilities.Content",
\r
270 "component-dependency": {
\r
271 "capability": "component-node",
\r
272 "node": "component-config-generator",
\r
273 "relationship": "tosca.relationships.DependsOn"
\r
279 "GenerateConfiguration": {
\r
285 "type": "datatype-property"
\r
293 "derived_from": "tosca.nodes.DG"
\r
297 "datatype-resource-assignment": {
\r
298 "version": "1.0.0",
\r
299 "description": "This is Resource Assignment Data Type",
\r
303 "type": "datatype-property"
\r
309 "dictionary-name": {
\r
313 "dictionary-source": {
\r
325 "derived_from": "tosca.datatypes.Root"
\r
327 "datatype-property": {
\r
328 "version": "1.0.0",
\r
329 "description": "This is Entry point Input Data Type, which is dynamic datatype, The parameter names will be populated during the Design time for each inputs",
\r
352 "derived_from": "tosca.datatypes.Root"
\r