Skip to content

Issue with subscriptions q #1756

@pierre-josselin

Description

@pierre-josselin

Orion-LD 1.8.0

POST /ngsi-ld/v1/subscriptions

{
    "type": "Subscription",
    "entities": [
        {
            "type": "Robot"
        }
    ],
    "watchedAttributes": [
        "status"
    ],
    "q": "status==%22busy%22",
    "notification": {
        "attributes": [
            "motor1Angle",
            "motor2Angle",
            "motor3Angle",
            "motor4Angle"
        ],
        "format": "keyValues",
        "endpoint": {
            "uri": "http://localhost:8081/notify/robot-move"
        }
    }
}

PATCH /ngsi-ld/v1/entities/urn:ngsi-ld:Robot:robot-1

{
    "status": {
        "type": "Property",
        "value": "busy"
    }
}
orion-ld-1  | time=Thursday 27 Feb 11:11:26 2025.084Z | lvl=ERROR | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=dateTime.cpp[479]:dateTimeFromString | msg=Error parsing ISO8601 timestamp '%22busy%22': error in position 0 of DATE part '%22busy%22' of DateTime '%22busy%22': not a digit
orion-ld-1 exited with code 0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions