Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


    ${PROJECT_HOME}/logs/misc/run_dataSnapshot.log.$(date +\%Y-\%m-\%d) 2>&1


ls -ltr /opt/app/aai-graphadmin/logs/data/dataSnapshots/

Gremlin API


The following API should only be used by admins and should not be exposed to clients as it exposes the appilcation

PUT /aai/v14/dbquery?format=console

Code Block
languagejava
{
  "gremlin": "g.V().count()"
}

Returns the number of vertexes in the graph


PUT /aai/v14/dbquery?format=console

Code Block
languagejava
{
  "gremlin": "g.V().has('aai-node-type', 'pserver')"
}

Returns all the pserver vertexes with their ids since the format chosen is console