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
c4a7adc2
Commit
c4a7adc2
authored
Apr 12, 2021
by
j.hoerdt
Browse files
implement Owners property validly
parent
2d236977
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/sensor2graph/Sensor.java
View file @
c4a7adc2
...
@@ -74,9 +74,14 @@ class Sensor {
...
@@ -74,9 +74,14 @@ class Sensor {
"21.T11148/709a23220f2c3d64d1e1"
,
"21.T11148/709a23220f2c3d64d1e1"
,
rec
.
get
(
"sensor_type"
).
asString
()
rec
.
get
(
"sensor_type"
).
asString
()
);
);
add_attribute
(
body
,
"21.T11148/9a15a4735d4bda329d80"
,
add_attribute
(
body
,
"21.T11148/9a15a4735d4bda329d80"
,
"https://sensor.community"
"https://sensor.community"
);
);
add_attribute
(
body
,
"21.T11148/4eaec4bc0f1df68ab2a7"
,
"{\"Owners\":[{\"Owner\":{\"ownerName\":\"SensorCommunity\",\"ownerContact\":\"contact@open-forecast.eu\"}}]}"
);
Main
.
glogger
.
fine
(
"sent body: "
+
body
);
Main
.
glogger
.
fine
(
"sent body: "
+
body
);
HttpRequest
request
=
HttpRequest
.
newBuilder
(
URI
.
create
(
Main
.
pid_registry_uri
+
target_uri
))
HttpRequest
request
=
HttpRequest
.
newBuilder
(
URI
.
create
(
Main
.
pid_registry_uri
+
target_uri
))
...
...
j.hoerdt
@j.hoerdt
mentioned in commit
39f47f7d
·
Apr 16, 2021
mentioned in commit
39f47f7d
mentioned in commit 39f47f7d9a2d979391cab06879786cbea4291858
Toggle commit list
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