Kura management by Management service #5726
-
Hello, I want to register and remove assets, wire graphs but by using put/configurations, it just merges with the original, therefore, just add or modification but not removal. in this case, how can I do ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello, Have you tried to use the WIRE-V1 request handler? In particular the PUT/graph/snapshot request. That one should allow to apply a wire graph snapshot like the ones downladed from the web ui, replacing the current one. It also handles Asset configuration updates by removing and recreating the component (so without the usual merge semantics). Another request that probably can be useful is the CONF-V2 DEL/factoryComponents/byPid, which allows to delete any factory component. |
Beta Was this translation helpful? Give feedback.
Hello,
Have you tried to use the WIRE-V1 request handler? In particular the PUT/graph/snapshot request. That one should allow to apply a wire graph snapshot like the ones downladed from the web ui, replacing the current one. It also handles Asset configuration updates by removing and recreating the component (so without the usual merge semantics).
Another request that probably can be useful is the CONF-V2 DEL/factoryComponents/byPid, which allows to delete any factory component.