Recovery handling
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / repository / Policies.java
index 2a4eb5a..58c91b3 100644 (file)
@@ -75,6 +75,10 @@ public class Policies {
         return policiesId.containsKey(id);
     }
 
+    public synchronized Policy get(String id) {
+        return policiesId.get(id);
+    }
+
     public synchronized Policy getPolicy(String id) throws ServiceException {
         Policy p = policiesId.get(id);
         if (p == null) {