Service - Currency Table Manager: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
Created page with "= Overview = Tables receive to/from currencyId and return the rate between them. = Repository = .... = Object Schemas = ; Additional Information: Per Service Schemas == objType == === currencyTable === <syntaxhighlight lang="JavaScript"> { objectType: "currencyTable", canDelete: false, addOnDataStructure: [], storageResources: { dynamoDB: { storageType: "dynamoDB", tableName: "currencyTable", } }, fieldNames: { currencyTableId: { typ..."
 
Jammy (talk | contribs)
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
= Repository =
= Repository =


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


= Object Schemas =
= Object Schemas =
Line 18: Line 18:
objectType: "currencyTable",
objectType: "currencyTable",
canDelete: false,
canDelete: false,
addOnDataStructure: [],
"addOnDataStructure": [
{
"type": "translation" // name of the currencyTable
},
],
storageResources: {
storageResources: {
dynamoDB: {
dynamoDB: {
storageType: "dynamoDB",
storageType: "dynamoDB",
tableName: "currencyTable",
tableName: "currencyTable",
},
graph: {
storageType: "graph",
graphServerTag: "GraphHandler",
}
}
     },
     },
Line 29: Line 37:
type: "string",
type: "string",
randomOnCreate: true,
randomOnCreate: true,
storageResourceTags: ['dynamoDB']
storageResourceTags: ['dynamoDB','graph']
},
},
     },
     },
     identifiers: [
     identifiers: [
{
{
type: "identifier",
type: "partitionKey",
fieldName: "currencyTableId"
fieldName: "currencyTableId"
}
}

Latest revision as of 07:20, 25 May 2026

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