diff --git a/observer/messages/config_manager.go b/observer/messages/config_manager.go index 82641b5..009f664 100644 --- a/observer/messages/config_manager.go +++ b/observer/messages/config_manager.go @@ -1,7 +1,15 @@ package messages const ( - CONFIGMANAGER_LOADED = "CONFIGMANAGER_LOADED" - ADD_SENSOR_1 = "ADD_SENSOR_1" - REMOVE_SENSOR_1 = "REMOVE_SENSOR_1" + //CONFIGMANAGER_LOADED = "CONFIGMANAGER_LOADED" + //ADD_SENSOR_1 = "ADD_SENSOR_1" + //REMOVE_SENSOR_1 = "REMOVE_SENSOR_1" + + CFG_LOADED = "CONFIG_LOADED" + + SCF_READY = "SENSOR_CONFIG_READY" + SCF_STOPPED = "SENSOR_CONFIG_STOPPED" + SCF_SENSOR_ADD_DONE = "SENSOR_CONFIG_SENSOR_ADD_DONE" + + SCF_SENSOR_UPDATE_DONE = "SENSOR_CONFIG_SENSOR_UPDATE_DONE" ) \ No newline at end of file diff --git a/observer/messages/crawler_manager.go b/observer/messages/crawler_manager.go index d88bd51..05f8aa7 100644 --- a/observer/messages/crawler_manager.go +++ b/observer/messages/crawler_manager.go @@ -2,11 +2,11 @@ package messages const ( - CRAWLER_READY = "CRAWLER_READY" - CRAWLER_STOPPED = "CRAWLER_STOPPED" - CRAWLER_SENSOR_ADD_DONE = "CRAWLER_SENSOR_ADD_DONE" - CRAWLER_SENSOR_REMOVE_DONE = "CRAWLER_SENSOR_REMOVE_DONE" - CRAWLER_SENSOR_UPDATE_DONE = "CRAWLER_SENSOR_UPDATE_DONE" - CRAWLER_UPDATE_DONE = "CRAWLER_UPDATE_DONE" + CRM_READY = "CRAWLER_READY" + CRM_STOPPED = "CRAWLER_STOPPED" + CRM_SENSOR_ADD_DONE = "CRAWLER_SENSOR_ADD_DONE" + CRM_SENSOR_REMOVE_DONE = "CRAWLER_SENSOR_REMOVE_DONE" + CRM_SENSOR_UPDATE_DONE = "CRAWLER_SENSOR_UPDATE_DONE" + CRM_UPDATE_DONE = "CRAWLER_UPDATE_DONE" ) \ No newline at end of file