Merge "Changed in config will add and recover Rics"
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / repository / Services.java
index 789ea2e..2e1d8da 100644 (file)
@@ -20,7 +20,6 @@
 
 package org.oransc.policyagent.repository;
 
-import java.util.Collection;
 import java.util.HashMap;
 import java.util.Map;
 
@@ -49,10 +48,11 @@ public class Services {
     }
 
     public synchronized void put(Service service) {
+        logger.debug("Put service: " + service.getName());
         services.put(service.getName(), service);
     }
 
-    public synchronized Collection<Service> getAll() {
+    public synchronized Iterable<Service> getAll() {
         return services.values();
     }