entity-manager: handleCurrentConfigurationJson

Extract handleCurrentConfigurationJson from main function.

This helps to avoid mixing abstraction layers. The main function handles
the overall control flow and the helper function handles loading the
stored configuration.

Tested: Code was not changed, only extracted the function.

Change-Id: I6b82048e98acc29ac7971c6b7226aa2ebee5ffe4
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/src/entity_manager/entity_manager.hpp b/src/entity_manager/entity_manager.hpp
index 97ef441..8490d1c 100644
--- a/src/entity_manager/entity_manager.hpp
+++ b/src/entity_manager/entity_manager.hpp
@@ -52,6 +52,8 @@
                             const nlohmann::json& device);
 
     void initFilters(const std::set<std::string>& probeInterfaces);
+
+    void handleCurrentConfigurationJson();
 };
 
 inline void logDeviceAdded(const nlohmann::json& record)