Service - Supply Location Standard: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Overview = Handler service for configuring a standard supply location. = Repository = https://bitbucket.org/izara-supply-stages/izara-supply-... = objectSchemas = <syntaxhighlight lang="JavaScript"> { objectType: "supplyLocationStandard", extendObjType: { serviceTag: "supplyLocationManager", objectType: "supplyLocation", }, storageResources:{ "xxx":{ storageType: "graph", graphServerTag: "xx", } }, fieldNames: { // from stage objectType },...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
= Repository =
= Repository =


https://bitbucket.org/izara-supply-stages/izara-supply-...
https://bitbucket.org/izara-supply-supply-locations/izara-supply-supply-locations-supply-location-standard


= objectSchemas =  
= objectSchemas =  
Line 23: Line 23:
},
},
fieldNames: {
fieldNames: {
// from stage objectType
// from supplyLocation objectType
},
},
identifiers: [
identifiers: [
// from stage objectType
// from supplyLocation objectType
]
]
},
},
</syntaxhighlight>
= relationshipSchemas =
<syntaxhighlight lang="JavaScript">
[
  {
    "hasMonitor": {
      storageResources:{
"xxx":{
storageType: "graph",
graphServerTag: "xx",
}
      },
      links: [
        {
          storageResourceTags: ["xxx"],
          from: {
            objType: {
              serviceTag: "supplyLocationStandard",
              objectType: "supplyLocationStandard"
            },
            linkType: "one",
          },
          to: {
            objType: {
              serviceTag: "monitorManager",
              objectType: "monitor"
            },
            linkType: "many",
          }
        }
      ]
    }
  }
]
</syntaxhighlight>
</syntaxhighlight>



Latest revision as of 23:07, 20 July 2025

Overview

Handler service for configuring a standard supply location.

Repository

https://bitbucket.org/izara-supply-supply-locations/izara-supply-supply-locations-supply-location-standard

objectSchemas

{
	objectType: "supplyLocationStandard",
	extendObjType: {
		serviceTag: "supplyLocationManager",
		objectType: "supplyLocation",
	},
	storageResources:{
		"xxx":{
			storageType: "graph",
			graphServerTag: "xx",
		}
	},
	fieldNames: {
		// from supplyLocation objectType
	},
	identifiers: [
		// from supplyLocation objectType
	]
},

relationshipSchemas

[
  {
    "hasMonitor": {
      storageResources:{
		"xxx":{
			storageType: "graph",
			graphServerTag: "xx",
		}
      },
      links: [
        {
          storageResourceTags: ["xxx"],
          from: {
            objType: {
              serviceTag: "supplyLocationStandard",
              objectType: "supplyLocationStandard"
            },
            linkType: "one",
          },
          to: {
            objType: {
              serviceTag: "monitorManager",
              objectType: "monitor"
            },
            linkType: "many",
          }
        }
      ]
    }
  }
]

Working documents

Supply Location Standard