diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2024-06-21 11:12:45 +0100 |
---|---|---|
committer | Daniel Hanrahan <daniel.hanrahan@est.tech> | 2024-06-25 12:38:47 +0000 |
commit | 7915e994ac4eb403461b3a93165a2e3c72871ab6 (patch) | |
tree | 789a2d6e89333327e7ae044073d917e7b5cf542f /cps-events/src/main/resources/schemas | |
parent | 37d82d5d54ede4c05862fe648911c383d253cec3 (diff) |
Fix incorrect use of getAnchors(dataspace, schemasets)
There is an issue in a method deleteDataNodes(dataspace, anchors)
where it doesn't send data update events. This is because it fetches
anchors using a method getAnchors(dataspace, schemaSetNames), when it
needs to fetch anchors by name: getAnchors(dataspace, anchorNames)
Changes:
- Rename getAnchors method using schemasets to getAnchorsBySchemaSetNames
- Add a method getAnchors(dataspace, anchorNames)
- Update test of deleteDataNodes method using getAnchors so it checks
that data update events are sent
Issue-ID: CPS-2254
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I55fe853f0a9278a66a5724bf4cf2723b0e2fbc8b
Diffstat (limited to 'cps-events/src/main/resources/schemas')
0 files changed, 0 insertions, 0 deletions