Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Queries which use toDataMap:

Query/ServiceClassNotesResponse nowResponse After
Notification ServiceCpsDataUpdatedEventFactory,javaNotification Service response should be the same as CPS Core for consistency. CPS Temporal

cpsDataUpdatedEvent Object content.data.additionalProperties.toString():

[[bookstore-name:Chapters]]


cpsDataUpdatedEvent Object content.data.additionalProperties.toString():

[bookstore:[bookstore-name:Chapters]]

Query data nodesQueryRestController.java

Query DataNodes will produce a datanode within an array with the container ID

and then the relevant data:

http://localhost:8883/cps/api/v1/dataspaces/test/anchors/bookstore-anchor-test2/nodes/query?cps-path=/bookstore/categories[@code='01']&include-descendants=true


http://localhost:8883/cps/api/v1/dataspaces/test/anchors/bookstore-anchor-test2/nodes/query?cps-path=/bookstore/categories&include-descendants=true check

Do with node instead of list

[

     {

        "code": "01",
        "name": "SciFi",
        "books": [
            ...
        ]
    }
]

[

     "categories": {

        "code": "01",
        "name": "SciFi",
        "books": [
            ...
        ]
    }
]

get Node by CMHandle and Xpath (NCMP)DataRestController.javaget Node should follow the get Node which CPS Core produces for consistency

...