Service - Services Template: Difference between revisions
Jump to navigation
Jump to search
| Line 52: | Line 52: | ||
randomOnCreate: true, | randomOnCreate: true, | ||
storageResourceTags: ['myGraph'] | storageResourceTags: ['myGraph'] | ||
} | } | ||
}, | }, | ||
identifiers: [ | identifiers: [ | ||
Latest revision as of 02:25, 19 March 2026
Overview
Same as Service - Inventory Template but for services.
Repository
...
Object Schemas
- Additional Information
- Per Service Schemas
servicesTemplate
{
objectType: "servicesTemplate",
canDelete: false,
belongTo: {
serviceTag: "Business",
objectType: "business"
},
addOnDataStructure: [
{
type: "attributeTree",
attributeTreeTag: "servicesTemplateDefault"
},
{
type: "attributeTree",
attributeTreeTag: "servicesTemplateFixed"
},
{
type: "versionedData",
versionedDataLabel: "servicesTemplateName",
storageResourceTag: "myGraph",
fieldNames: {
servicesTemplateName: {
type: "string"
}
}
}
],
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
fieldNames: {
servicesTemplateId: {
type: "string",
randomOnCreate: true,
storageResourceTags: ['myGraph']
}
},
identifiers: [
{
type: "identifier",
fieldName: "servicesTemplateId"
}
]
}
RelationshipSchemas
hasServicesTemplate
{
hasServicesTemplate: {
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
links: [
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "servicesManager",
objectType: "services"
},
linkType: "many",
},
to: {
objType: {
serviceTag: "servicesTemplate",
objectType: "servicesTemplate"
},
linkType: "many"
}
},
{
storageResourceTags: ["myGraph"],
from: {
objType: {
serviceTag: "servicesTemplate",
objectType: "servicesTemplate"
},
linkType: "many",
},
to: {
objType: {
serviceTag: "servicesTemplate",
objectType: "servicesTemplate"
},
linkType: "many"
}
}
]
}
}