Skip to content

Commit

Permalink
FIX address FIXME PR marks
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan committed Feb 26, 2025
1 parent 5aefb49 commit dc8ed82
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ accumulatorStart --pretty-print

--SHELL--

# FIXME PR: previousValue field in subs is probably irrelevant. Remove it at the end.
# FIXME PR: alterationType can be simplified to just entityUpdate

#
# 01. Create testing entity
# 02. Create sub
Expand Down Expand Up @@ -76,9 +73,7 @@ payload='{
"TimeInstant"
],
"alterationTypes": [
"entityCreate",
"entityUpdate",
"entityDelete"
"entityUpdate"
],
"notifyOnMetadataChange": true
}
Expand Down Expand Up @@ -106,10 +101,6 @@ payload='{
}
}
},
"metadata": [
"previousValue",
"*"
],
"covered": false
}
}'
Expand Down Expand Up @@ -172,7 +163,7 @@ Fiware-Correlator: REGEX([0-9a-f\-]{36})
====================
POST http://127.0.0.1:REGEX(\d+)/notify
Fiware-Servicepath: /
Content-Length: 442
Content-Length: 328
User-Agent: orion/REGEX(\d+\.\d+\.\d+.*)
Ngsiv2-Attrsformat: normalized
Host: 127.0.0.1:REGEX(\d+)
Expand All @@ -184,12 +175,7 @@ Fiware-Correlator: REGEX([0-9a-f\-]{36}); cbnotif=1
"data": [
{
"TimeInstant": {
"metadata": {
"previousValue": {
"type": "DateTime",
"value": "2025-02-10T16:41:00.000Z"
}
},
"metadata": {},
"type": "DateTime",
"value": "2025-02-10T16:41:00.000Z"
},
Expand All @@ -206,12 +192,7 @@ Fiware-Correlator: REGEX([0-9a-f\-]{36}); cbnotif=1
"value": 0
},
"waterConsumption": {
"metadata": {
"previousValue": {
"type": "Number",
"value": 20
}
},
"metadata": {},
"type": "Number",
"value": 20
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ accumulatorStart --pretty-print

--SHELL--

# FIXME PR: this test is aligned with the wrong behaviour. It would "break" when we fix the issue
# FIXME PR: previousValue field in subs is probably irrelevant. Remove it at the end.
# FIXME PR: alterationType can be simplified to just entityUpdate

#
# 01. Create testing entity
# 02. Create sub
Expand Down Expand Up @@ -77,9 +73,7 @@ payload='{
"TimeInstant"
],
"alterationTypes": [
"entityCreate",
"entityUpdate",
"entityDelete"
"entityUpdate"
],
"notifyOnMetadataChange": true
}
Expand Down Expand Up @@ -107,10 +101,6 @@ payload='{
}
}
},
"metadata": [
"previousValue",
"*"
],
"covered": false
}
}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ accumulatorStart --pretty-print

--SHELL--

# FIXME PR: this test is aligned with the wrong behaviour. It would "break" when we fix the issue
# FIXME PR: previousValue field in subs is probably irrelevant. Remove it at the end.
# FIXME PR: alterationType can be simplified to just entityUpdate

#
# 01. Create testing entity
# 02. Create sub
Expand Down Expand Up @@ -77,9 +73,7 @@ payload='{
"TimeInstant"
],
"alterationTypes": [
"entityCreate",
"entityUpdate",
"entityDelete"
"entityUpdate"
],
"notifyOnMetadataChange": true
}
Expand Down Expand Up @@ -107,10 +101,6 @@ payload='{
}
}
},
"metadata": [
"previousValue",
"*"
],
"covered": false
}
}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ accumulatorStart --pretty-print

--SHELL--

# FIXME PR: this test is aligned with the wrong behaviour. It would "break" when we fix the issue
# FIXME PR: previousValue field in subs is probably irrelevant. Remove it at the end.
# FIXME PR: alterationType can be simplified to just entityUpdate

#
# 01. Create testing entity
# 02. Create sub
Expand Down Expand Up @@ -77,9 +73,7 @@ payload='{
"TimeInstant"
],
"alterationTypes": [
"entityCreate",
"entityUpdate",
"entityDelete"
"entityUpdate"
],
"notifyOnMetadataChange": true
}
Expand Down Expand Up @@ -107,10 +101,6 @@ payload='{
}
}
},
"metadata": [
"previousValue",
"*"
],
"covered": false
}
}'
Expand Down

0 comments on commit dc8ed82

Please sign in to comment.