Service - Graph Handler: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
Line 19: Line 19:
=== Configuration tags ===
=== Configuration tags ===


<syntaxhighlight lang="JavaScript">
...
{
configTag: "VertexTag"
configKey: "User"
configValue: xxx // eg: "user"
}
</syntaxhighlight>
 
<syntaxhighlight lang="JavaScript">
{
configTag: "EdgeLabel"
configKey: "CreatedBy"
configValue: xxx // eg: "createdBy"
}
</syntaxhighlight>


= Query language =
= Query language =

Revision as of 02:26, 6 March 2021

Overview

Service that manages a graph database, intended to be deployed any number of times, each instance managing one graph within a project. Most relationships will be stored here, other services can duplicate relationship data if they choose or can use this graph as their source.

As the project grows relationship data can be extended to allow for analysis of relationships, weighting same type connections etc..

Repository

https://bitbucket.org/stb_working/graph-handler/src/master/

Neptune graph

deploys one Neptune graph, using the property graph structure.

DynamoDB tables

Standard Config Table Per Service

Configuration tags

...

Query language

Focus on using Apache TinkerPop Gremlin for queries as it is the standard used by AWS Neptune for Property Graphs.

References

https://dkuppitz.github.io/gremlin-cheat-sheet/101.html

Querying data in graph database

Planning all Put/Update/Delete queries to pass through an API/Lambda, however Read/Get queries are able to query the graph directly.

Working documents

Working_documents - Graph Handler