Service - Services Template: Difference between revisions
Jump to navigation
Jump to search
(Created page with "= Overview = Same as Service - Inventory Template but for services. = Repository = ... = Object Schemas = ; Additional Information: Per Service Schemas == servicesTemplate == <syntaxhighlight lang="JavaScript"> { objectType: "servicesTemplate", canDelete: false, belongTo: { serviceTag: "user", objectType: "user" }, addOnDataStructure: [ { type: "attributeTree", attributeTreeTag: "servicesTemplateDefault" }, { type: "attributeT...") |
No edit summary |
||
| Line 17: | Line 17: | ||
canDelete: false, | canDelete: false, | ||
belongTo: { | belongTo: { | ||
serviceTag: " | serviceTag: "Business", | ||
objectType: " | objectType: "business" | ||
}, | }, | ||
addOnDataStructure: [ | addOnDataStructure: [ | ||
Revision as of 01:17, 5 January 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"
},
],
storageResources: {
myGraph: {
storageType: "graph",
graphServerTag: "GraphHandler"
}
},
fieldNames: {
servicesTemplateId: {
type: "string",
randomOnCreate: true,
storageResourceTags: ['myGraph']
},
servicesTemplateName: {
type: "string",
requiredOnCreate: true,
canUpdate: true,
userCanUpdate:true,
storageResourceTags: ['myGraph']
},
},
identifiers: [
{
type: "identifier",
fieldName: "servicesTemplateId"
}
]
}
Relationships
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"
}
}
]
}
}