Service - Supply Location Standard

From Izara Wiki
Jump to navigation Jump to search

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