Service - Unit Manager

From Izara Wiki
Revision as of 06:54, 6 August 2023 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = Each unit is handled by a Service - Unit (handlers) service. The Unit Manager service handles shared orchestration of the Unit Handler services. = Repository = https://bitbucket.org/izara-market-products/izara-market-products-unit-manager = DynamoDB tables = == Standard Config Table Per Service == === Configuration tags === <syntaxhighlight lang="JavaScript"> { configKey: "SupplyGraphServiceName" configTag: "SupplyGraphServiceName" configV...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Each unit is handled by a Service - Unit (handlers) service.

The Unit Manager service handles shared orchestration of the Unit Handler services.

Repository

https://bitbucket.org/izara-market-products/izara-market-products-unit-manager

DynamoDB tables

Standard Config Table Per Service

Configuration tags

{
	configKey: "SupplyGraphServiceName"
	configTag: "SupplyGraphServiceName"
	configValue: xxx // eg: "SupplyGraph"
}
{
	configKey: "UnitHandlerService"
	configTag: xxx // unitHandlerServiceNameTag, eg: "UnitStandard"|"UnitPacking", this is what is saved in each record
	configValue: {
		serviceName: xxx // eg: "UnitStandard", this is the actual deployed service name}
	}
}

UnitRecord

Records which Handler manages each unit

{
	unitId
	unitHandlerServiceNameTag
}
  • partition key: unitId
  • sort key: (none)

Working documents

Unit Manager