Change to JUnit5 and clean up pom
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / repository / Ric.java
index 7580bf8..df612dc 100644 (file)
@@ -23,8 +23,8 @@ package org.oransc.policyagent.repository;
 import java.util.Collections;
 import java.util.List;
 import java.util.Vector;
+
 import org.oransc.policyagent.configuration.RicConfig;
-import org.oransc.policyagent.repository.Ric.RicState;
 
 /**
  * Represents the dynamic information about a NearRealtime-RIC.
@@ -55,6 +55,10 @@ public class Ric {
         state = newState;
     }
 
+    public RicConfig getConfig() {
+        return this.ricConfig;
+    }
+
     /**
      * Gets the nodes managed by this Ric.
      *
@@ -139,7 +143,7 @@ public class Ric {
      *
      * @param type the type to check if it is supported.
      *
-     * @return  true if the given type issupported by this Ric, false otherwise.
+     * @return true if the given type issupported by this Ric, false otherwise.
      */
     public boolean isSupportingType(PolicyType type) {
         return supportedPolicyTypes.contains(type);