Service - Currency Table Manager

From Izara Wiki
Jump to navigation Jump to search

Overview

Tables receive to/from currencyId and return the rate between them.

Repository

http://git.izara.io/IzaraCurrency-CurrencyTables/IzaraCurrency-CurrencyTables-CurrencyTableManager

Object Schemas

Additional Information
Per Service Schemas

objType

currencyTable

{
	objectType: "currencyTable",
	canDelete: false,
	"addOnDataStructure": [
		{
			"type": "translation" // name of the currencyTable
		},
	],
	storageResources: {
		dynamoDB: {
			storageType: "dynamoDB",
			tableName: "currencyTable",
		},
		graph: {
			storageType: "graph",
			graphServerTag: "GraphHandler",
		}
    },
    fieldNames: {
		currencyTableId: {
			type: "string",
			randomOnCreate: true,
			storageResourceTags: ['dynamoDB','graph']
		},
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldName: "currencyTableId"
		}
    ]
}

Working documents

Currency Table Manager