Commit fbf3c724 authored by neop's avatar neop
Browse files

remove obsolete neo4j server certificate config option

parent 21a759be
......@@ -2,8 +2,8 @@ neo4j_uri=bolt://sensordata.open-forecast.eu:7687
database_name=neo4j
already_uploaded_days_file = all_days.txt
failed_to_upload_sensors_file = test_sensor.txt
pid_reg_server_cert = /home/neop/Documents/Uni/bachelor/ba/sensordata-ansible/roles/sensor2graph/files/sensor2graph/handle_auth/pid_reg_server_cert.pem
pid_reg_keystore = /home/neop/Documents/Uni/bachelor/ba/sensordata-ansible/roles/sensor2graph/files/sensor2graph/handle_auth/pid_reg_keystore.p12
neo4j_server_certificate_file = /home/neop/Documents/Uni/bachelor/ba/sensordata-ansible/roles/nginx-reverse-proxy/files/nginx-reverse-proxy/sensordata_cert.pem
pid_reg_server_cert = pid_reg_server_cert.pem
pid_reg_keystore = pid_reg_keystore.p12
neo4j_server_certificate_file = sensordata_cert.pem
sensor_type_info = config/sensor_type_info.json
influxdb_uri = http://localhost:8086
\ No newline at end of file
......@@ -36,7 +36,6 @@ public class Main {
private static String neo4j_uri;
private static String influxdb_uri;
private static String influxdb_database_name;
private static File neo4j_server_certificate_file;
private static String archive_uri;
private static String sensor_type_info;
public static String pid_registry_uri;
......@@ -69,7 +68,6 @@ public class Main {
//.withLeakedSessionsLogging()
.withMaxConnectionPoolSize(concurrency)
.withEncryption()
// .withTrustStrategy(TrustStrategy.trustCustomCertificateSignedBy(neo4j_server_certificate_file))
.build()
);
}
......@@ -230,7 +228,6 @@ public class Main {
concurrency = Integer.parseInt(config.getProperty("concurrency" ));
http_agent = config.getProperty("http_agent" );
neo4j_uri = config.getProperty("neo4j_uri" );
neo4j_server_certificate_file = new File(config.getProperty("neo4j_server_certificate_file"));
archive_uri = config.getProperty("archive_uri" );
sensor_type_info = config.getProperty("sensor_type_info" );
pid_registry_uri = config.getProperty("pid_registry_uri" );
......@@ -260,7 +257,6 @@ public class Main {
defaults.setProperty("concurrency", "10" );
defaults.setProperty("http_agent", "Please/0.5" );
defaults.setProperty("neo4j_uri", "bolt://localhost:7687" );
defaults.setProperty("neo4j_server_certificate_file", "graphdb.gwdg.de.pem" );
defaults.setProperty("archive_uri", "https://archive.sensor.community/" );
defaults.setProperty("sensor_type_info", "sensor_type_info.json" );
defaults.setProperty("pid_registry_uri", "https://vm13.pid.gwdg.de:8000/api/handles/");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment