Versions Compared

Key

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

...

It is found that the current Patch operation in CPS core can only update value of one data tree at a time. So, if there are multiple data trees under an anchor and a Patch is performed on all the data trees using root node xPath "/" then only the first data tree gets updated and the remaining data trees remain as it is,

Based on the above outcome, another test to update individual data trees was preformed, and it was found that when a specific data tree is being updated using its specific xPath none of the data trees get updated and a 400 BAD REQUEST is received.

Issues & Decisions

...

:

As per discussion with the stakeholders (DT), the following decisions were made:

  • Support for update operation across data trees is not of high priority.
  • But the error code returned when trying to update. multiple data trees should be made specific.
  • Team decision is to be taken regarding the new/updated error response.
  • In-depth investigation is to be done regarding the bug where list nodes are not updated when xpath is set to root node xpath. Possibly create a ticket and separate documentation for the same.

JSON Data Stored in CPS DB using POST operation.

The following JSON data was first stored in CPS DB, then to test the GET operation:

...