Service - Addresses

From Izara Wiki
Revision as of 13:21, 18 October 2021 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = Addresses linking to LocationIds, including optional address templates. = Repository = https://bitbucket.org/izara-core-locations/izara-core-addresses-addresse...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

Addresses linking to LocationIds, including optional address templates.

Repository

https://bitbucket.org/izara-core-locations/izara-core-addresses-addresses/src/master/

DynamoDB tables

Standard Config Table Per Service

Configuration tags

{
	configKey: "LocationsGraphServiceName"
	configTag: "LocationsGraphServiceName"
	configValue: xxx // eg: "Locations"
}
{
	configKey: "TranslationGraphServiceName"
	configTag: "TranslationGraphServiceName"
	configValue: xxx // eg: "TranslationGraph"
}

Graph database

Service - Locations Graph

Nodes

{
	nodeLabel: "{AddressesSharedLib.ADDRESSTEMPLATE_GRAPH_NODE_LABEL}",
	schema: {
		identifier: true,
		restrictProperties: true,
		restrictRelationships: true,
		properties: {
			mediaLinkId: {
				identifier: true, // create unique id from request details
			},
			mediaId: {
				immutable: true,
			},
			mediaHandlerServiceNameTag: {
				immutable: true,
			},
		},
	}
}

Relationships

{
	relationshipType: "{MediaSharedLib.IS_MEDIA_GRAPH_REL_TYPE}",
}

Working documents

Media Link