View Source

{tip} ~This page has been generated by [maven-confluence-plugin|https://github.com/bsorrentino/maven-confluence-plugin/]~ {tip}
----
\\



h1.Configuration Manager



h2.Use JanusGraph / Cassandra

To read / write configuration informations from / to Cassandra through a Graph Data Representation we use [JanusGraph|http://janusgraph.org/|] based upon [Apache Tinkerpop framework|http://tinkerpop.apache.org/|].
To access it we can use two different modality: *Remote*, *Local*


h3.Remote Access (Gremlin Server)

Remote access assumes that there is a *particular µService* named [Gremlin Server|http://bsorrentino.github.io/maven-confluence-plugin/markdown_guide.html|] up and running. (i) Such µService has provided *out-of-box* by *Tinkerpop* itself (i).
In the *Fig.1* hase been described the architecture of *Configuration Manager* solution using a Gremlin Server.
||Fig.1 - Architecture using a Gremlin Server ||
|!cfgm-remote.png|alt="Configuration Manager - JanusGraph Reference^cfgm-remote.png"! |
Once we have instances of Gremlin Server up and running we can access to GraphDB using the [Configuration manager library|https://oneit.wba.com/versioncontrol/scm/rxrstpxcut/configurationmanagerlibrary.git|] that provides the technical enablers.


h4.Getting Started to [Remote access|Configuration Manager - JanusGraph Reference - Remote access] >>



h3.Local Access ( JanusGraph Embedded)

Local Access means that we *embed* JanusGraph framework inside the µService, so we will communicate locally (ie. in the same memory space) with it. This approach has less impact on the overall architecture and we could consider JanusGraph as an *Enhanced Cassandra Driver*
In the *Fig.2* has been described the architecture of *Configuration Manager* solution embedding the JanusGraph framework.
||Fig.2 - Architecture using JanusGraph embedded ||
|!cfgm-local.png|alt="Configuration Manager - JanusGraph Reference^cfgm-local.png"! |


h4.Getting Started to [Local access|Configuration Manager - JanusGraph Reference - Local access] >>