Date
1 - 1 of 1
Read Remote-Obejcts.yaml from springboot application
"d...@gmail.com" <dip...@...>
Hi,
I'm trying to connect to a remote inmemory janusgraph server.
I'm trying to connect to a remote inmemory janusgraph server.
This is my .properties file :
gremlin.remote.remoteConnectionClass=org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection
# cluster file has the remote server configuration
gremlin.remote.driver.clusterFile=./remote-objects.yaml
# source name is the global graph traversal source defined on the server
gremlin.remote.driver.sourceName=g
gremlin.remote.remoteConnectionClass=org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection
# cluster file has the remote server configuration
gremlin.remote.driver.clusterFile=./remote-objects.yaml
# source name is the global graph traversal source defined on the server
gremlin.remote.driver.sourceName=g
I've both the .properties files and the remote-objects.yaml in the resources directory of the application.
However, when I try to access the remote-objects.yaml file from the .properties file. It's giving me an error. Anyone know how do I mention the path of the yaml file in the .properties file for a spring boot application?
Thanks!
However, when I try to access the remote-objects.yaml file from the .properties file. It's giving me an error. Anyone know how do I mention the path of the yaml file in the .properties file for a spring boot application?
Thanks!