Skip to content
Snippets Groups Projects
Commit f7511d42 authored by erbel's avatar erbel
Browse files

Fix: Stop and undeploy before deletion of Sensor elements

parent 8093535f
No related branches found
No related tags found
No related merge requests found
Pipeline #97189 canceled
...@@ -91,7 +91,8 @@ public class DatagathererConnector extends monitoring.impl.DatagathererImpl ...@@ -91,7 +91,8 @@ public class DatagathererConnector extends monitoring.impl.DatagathererImpl
public void occiDelete() public void occiDelete()
{ {
LOGGER.debug("occiDelete() called on " + this); LOGGER.debug("occiDelete() called on " + this);
// TODO: Implement this callback or remove this method. this.stop();
this.undeploy();
} }
// End of user code // End of user code
......
...@@ -91,7 +91,8 @@ public class DataprocessorConnector extends monitoring.impl.DataprocessorImpl ...@@ -91,7 +91,8 @@ public class DataprocessorConnector extends monitoring.impl.DataprocessorImpl
public void occiDelete() public void occiDelete()
{ {
LOGGER.debug("occiDelete() called on " + this); LOGGER.debug("occiDelete() called on " + this);
// TODO: Implement this callback or remove this method. this.stop();
this.undeploy();
} }
// End of user code // End of user code
......
...@@ -116,6 +116,8 @@ public class ResultproviderConnector extends monitoring.impl.ResultproviderImpl ...@@ -116,6 +116,8 @@ public class ResultproviderConnector extends monitoring.impl.ResultproviderImpl
{ {
LOGGER.debug("occiDelete() called on " + this); LOGGER.debug("occiDelete() called on " + this);
// TODO: Implement this callback or remove this method. // TODO: Implement this callback or remove this method.
this.stop();
this.undeploy();
} }
// End of user code // End of user code
......
...@@ -101,6 +101,8 @@ public class SensorConnector extends monitoring.impl.SensorImpl ...@@ -101,6 +101,8 @@ public class SensorConnector extends monitoring.impl.SensorImpl
public void occiDelete() public void occiDelete()
{ {
LOGGER.debug("occiDelete() called on " + this); LOGGER.debug("occiDelete() called on " + this);
this.stop();
this.undeploy();
// TODO: Implement this callback or remove this method. // TODO: Implement this callback or remove this method.
} }
// End of user code // End of user code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment