1
0
-1

Hi,

I'm trying to understand that how the resource/service data is retrieved in SDC.Here SDC uses the TitanDb with Cassandra as the background storage space.My ONAP setup is made using ONAP on kubernetes.In this I have the following docker images in my cluster related to SDC,  sdc-be,  sdc-cs, sdc-es,  sdc-fe,  sdc-kb. Here I'm able to login the cassandra , but I'm unable to understand the resource/service data because all those data are stored as blobs, since Titan uses its own custom serialization representation.

So is there any way to retrieve the data,which gets stored during service creation,etc?. OR How can I use the gremlin support inorder to use the TitanDb?

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      The idea is to export the graph as graphMl and then to import it into Gephi.

       

      How to:

      1. Install gephi on your pc: https://gephi.org/users/download/
        Note: if you are using java 64 bit execute the application using the relevant execution file bin/gephi64.exe bin/gephi.exe
      2. Export your graph using the asdctool project. In eclipse create a new configuration:


       


      A: the name of the operation we want
      B: the location of the titan properties we want to use.
      C: the location in to which we want to export our graph.

      1. Open gephi go to file>open and choose the result of the graph export.
        gephi will import the graph and display it.


      this will allow you to damp the titan graph data and then view it as a graph in gaphi.


      the titan implantation we are using use titan api direct and not gremlin for querying.

      as far as i know it is possible to connect using gremlin to our db and query it but i did not try this.

      1. Aamir Rizwan

        How to export data in asdctool? How will it connect with the sdc Cassandra container?

      CommentAdd your comment...