Service - Inventory Asset: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Overview = Handler service for standard asset inventory type. = Repository = ... = Schemas = ==ObjectSchemas== === inventoryAsset === <syntaxhighlight lang="JavaScript"> { "objectType": "inventoryAsset", "extendObjType": { "serviceTag": "InventoryManager", "objectType": "inventory" }, "storageResources": { "graph": { "storageType": "graph", "graphServerTag": "GraphHandler" } "dynamo": { "storageType": "dynamoDB",...")
 
No edit summary
Line 38: Line 38:
</syntaxhighlight>
</syntaxhighlight>


=== inventoryUnitAsset ===
<syntaxhighlight lang="JavaScript">
{
  "objectType": "inventoryUnitAsset",
  "extendObjType": {
    "serviceTag": "InventoryManager",
    "objectType": "inventoryUnit"
  },
  "storageResources": {
    "graph": {
      "storageType": "graph",
      "graphServerTag": "GraphHandler"
    }
    "dynamo": { // ? if has flows attached on a unit level
      "storageType": "dynamoDB",
      "tableName": "inventoryUnitAsset",
    }   
  },
  "addOnDataStructure": [],
  "fieldNames": {
    // from inventory objType
  },
  "generatedBy": "userGenerated"
}
</syntaxhighlight>


== RelationshipSchemas ==
== RelationshipSchemas ==

Revision as of 10:31, 2 January 2026

Overview

Handler service for standard asset inventory type.

Repository

...

Schemas

ObjectSchemas

inventoryAsset

{
  "objectType": "inventoryAsset",
  "extendObjType": {
    "serviceTag": "InventoryManager",
    "objectType": "inventory"
  },
  "storageResources": {
    "graph": {
      "storageType": "graph",
      "graphServerTag": "GraphHandler"
    }
    "dynamo": {
      "storageType": "dynamoDB",
      "tableName": "inventoryAsset",
    }    
  },
  "addOnDataStructure": [],
  "fieldNames": {
    // from inventory objType
  },
  "generatedBy": "userGenerated"
}

inventoryUnitAsset

{
  "objectType": "inventoryUnitAsset",
  "extendObjType": {
    "serviceTag": "InventoryManager",
    "objectType": "inventoryUnit"
  },
  "storageResources": {
    "graph": {
      "storageType": "graph",
      "graphServerTag": "GraphHandler"
    }
    "dynamo": { // ? if has flows attached on a unit level
      "storageType": "dynamoDB",
      "tableName": "inventoryUnitAsset",
    }    
  },
  "addOnDataStructure": [],
  "fieldNames": {
    // from inventory objType
  },
  "generatedBy": "userGenerated"
}

RelationshipSchemas

...

Working documents

Asset