Version and configuration info
Overview
Aerospike Graph Service (AGS) provides a mechanism for retrieving version and configuration information about existing graph databases.
Version information
To view the AGS and Aerospike Database version information for an existing graph database, use
the aerospike.graph.admin.metadata.version Gremlin command.
g.call("aerospike.graph.admin.metadata.version").next()The aerospike.graph.admin.metadata.version step returns a Map with the following elements:
| Element | Description |
|---|---|
Aerospike version | Aerospike version string in the format of “NODE_1:VERSION_1,…,NODE_n:VERSION_n” for n total Aerospike nodes. |
Aerospike Graph Service version | AGS version. |
Configuration information
To view the configuration setup for an existing graph database, use
the aerospike.graph.admin.metadata.config Gremlin command.
g.call("aerospike.graph.admin.metadata.config").next()Optional parameters
| Parameter | Type | Values | Description |
|---|---|---|---|
mode | string | full, delta | full returns all configuration options, including defaults. delta returns only options set by the user. If mode is omitted, the response includes all configuration options. |
Examples
// Default (all configuration options)g.call("aerospike.graph.admin.metadata.config").next()
// All options, including defaultsg.call("aerospike.graph.admin.metadata.config") .with("mode","full") .next()
// Only options explicitly set by the userg.call("aerospike.graph.admin.metadata.config") .with("mode","delta") .next()Response format
The aerospike.graph.admin.metadata.config step returns a Map with the following elements:
| Element | Description |
|---|---|
Gremlin Server Configuration | YAML file used to initialize the Gremlin server. |
Graph Properties | Properties file used to initialize AGS. |