Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
j.hoerdt
sensor2graph
Commits
fbf3c724
Commit
fbf3c724
authored
Dec 20, 2021
by
neop
Browse files
remove obsolete neo4j server certificate config option
parent
21a759be
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
config/devel_sensor2graph.properties
View file @
fbf3c724
...
...
@@ -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
src/main/java/sensor2graph/Main.java
View file @
fbf3c724
...
...
@@ -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/"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment