@itentialopensource/versa-create-new-service-template
Version:
Versa Create New Service Template
179 lines • 3.64 kB
JSON
{
"_id": "6046642031a93f032b8c2b3a",
"name": "Versa Create New Service Template formData1",
"description": "",
"incoming": [
{
"$id": "formData1",
"type": "object",
"properties": {
"composite_or_partial": {
"type": "string",
"examples": [
"partial"
]
},
"organizationName": {
"type": "string",
"examples": [
"Tenant1"
]
},
"categoryName": {
"type": "string",
"examples": [
"Stateful Firewall"
]
},
"templateName": {
"type": "string",
"examples": [
"tempName"
]
}
},
"required": []
}
],
"outgoing": [
{
"$id": "organizationName",
"type": "string",
"examples": [
"Tenant1"
]
},
{
"$id": "templateName",
"type": "string",
"examples": [
"tempName"
]
},
{
"$id": "categoryName",
"type": "string",
"examples": [
"Stateful Firewall"
]
}
],
"steps": [
{
"id": 1,
"type": "assign",
"from": {
"location": "incoming",
"name": "formData1",
"ptr": "/organizationName"
},
"to": {
"location": "outgoing",
"name": "organizationName",
"ptr": ""
}
},
{
"id": 3,
"type": "assign",
"from": {
"location": "incoming",
"name": "formData1",
"ptr": "/templateName"
},
"to": {
"location": "outgoing",
"name": "templateName",
"ptr": ""
}
},
{
"id": 5,
"type": "declaration",
"library": "Object",
"method": "new Object",
"args": [
"{ \"Stateful Firewall\": \"stateful-firewall\", \"NextGen Firewall\": \"nextgen-firewall\", \"QoS\": \"class-of-service\", \"General\": \"general\", \"Application Steering\": \"applications\", \"Service Chain\": \"uCPE\", \"Secure Access\": \"secure-access\" }"
],
"view": {
"row": 1,
"col": 1
}
},
{
"id": 6,
"type": "method",
"library": "Object",
"method": "getProperty",
"args": [
null,
null
],
"view": {
"row": 2,
"col": 1
}
},
{
"id": 7,
"type": "assign",
"from": {
"location": "declaration",
"name": 5,
"ptr": "/return"
},
"to": {
"location": "method",
"name": 6,
"ptr": "/args/0/value"
}
},
{
"id": 8,
"type": "assign",
"from": {
"location": "incoming",
"name": "formData1",
"ptr": "/categoryName"
},
"to": {
"location": "method",
"name": 6,
"ptr": "/args/1/value"
}
},
{
"id": 9,
"type": "assign",
"from": {
"location": "method",
"name": 6,
"ptr": "/return"
},
"to": {
"location": "outgoing",
"name": "categoryName",
"ptr": ""
}
}
],
"functions": [],
"comments": [],
"view": {
"col": 1,
"row": 5
},
"created": "2021-03-09T16:16:11.385Z",
"createdBy": {
"_id": "5fce5f28854473e9785d17da",
"provenance": "local_aaa",
"username": "admin@pronghorn"
},
"lastUpdated": "2021-03-09T16:16:11.385Z",
"lastUpdatedBy": {
"_id": "5fce5f28854473e9785d17da",
"provenance": "local_aaa",
"username": "admin@pronghorn"
},
"version": "3.13.0"
}