Added queryparam 'ric' for get_types REST API
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / repository / Policies.java
index 9895ff1..7b7b17c 100644 (file)
@@ -70,7 +70,7 @@ public class Policies {
         return map.values();
     }
 
-    public synchronized Policy get(String id) throws ServiceException {
+    public synchronized Policy getPolicy(String id) throws ServiceException {
         Policy p = policiesId.get(id);
         if (p == null) {
             throw new ServiceException("Could not find policy: " + id);