How to connect Riosuite with Neo4j


Configuration

Configuration R-IOSUITE:

For Distrib before 2021 October

  • Change in the file  /conf/generated/governance-container/conf/config.properties

Fir Distrib after 2021 October

  • Change in the file  /conf/unified_config.properties
neo4j-database-embedded = false
  • In the the file conf/neo4j_clustering.conf remplace config
dbms.mode=CORE
dbms.security.auth_enabled=false
dbms.default_advertised_address=localhost
dbms.connector.bolt.advertised_address=:7687
dbms.connector.http.advertised_address=:7474
dbms.default_listen_address=0.0.0.0
dbms.connector.bolt.listen_address=:7687
dbms.connector.http.listen_address=:7474
causal_clustering.discovery_type=LIST
causal_clustering.initial_discovery_members=localhost:7687
dbms.connector.bolt.enabled=true
dbms.connector.http.enabled=true

Configuration Neo4j server:

  • In the file neo4j/conf/neo4j.conf uncomment line
dbms.security.auth_enabled=false

Start

Start Neo4j server:

 Windows
  • Open terminal (GitBash or powershell...)
cd neo4/bin/

./neo4j.bat console
 Linux
  • Open terminal
cd neo4/bin/

./neo4j console

Start R-IOSUITE:

 Windows
  • double click to bin/startup.bat
 Linux
  • Open terminal
cd gind-r-io-standalone-xxxxx-v2021-02-01/bin/

./startup.sh
  • Load usecase 


Monitoring data neo4j

Monitoring with R-IOSUITE:

  • In R-IOGA use the tools Knownlege Graph


Monitoring with Neo4j Desktop:

  • Configure Remote Connection :
Connect URLbolt://localhost:7687
Userneo4j
Passwordneo4j


  • Click Connect and Open with Neo4j browser
  • Enter request: 
match (n1)-[r]-(n2), (n) return n1, n2, r, n


Result 

 




 Command Line


MATCH (n)
OPTIONAL MATCH (n)-[r]-()
DELETE n,r
 Restart Neo4j server
  • Stop Neo4j server

In the the folder neo4j server

rm -rf data/*
  • Start Neo4j server