Versions Compared

Key

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

...

  • find parent node by parent node xpath (throw not found exception if absent)
  • add all provided elements to parent node
  • persist (throw already exists exception on unique constraint violation)

Jira
serverONAP JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-360

Delete list-node content (all existing elements)

...

  • delete all by dataspace and anchor and xpath starts with provided xpath to list-node (this includes all children as well)

Jira
serverONAP JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-361

Replace list-node content

...

  • extract list-node xpath identifier from data nodes provided
  • find parent node by parent node xpath (throw not found exception if absent)
  • remove all children matching (starting with) list-node xpath identifier
  • add all provided elements to parent node
  • persist

Jira
serverONAP JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-362







Proposal