Bugfix
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / clients / A1Client.java
index 0b18104..f94c2c1 100644 (file)
@@ -27,10 +27,19 @@ import org.oransc.policyagent.repository.Policy;
 import reactor.core.publisher.Flux;
 import reactor.core.publisher.Mono;
 
+/**
+ * Common interface for 'A1' Policy access. Implementations of this interface
+ * adapts to the different southbound REST APIs supported.
+ */
 public interface A1Client {
 
-    public static enum A1ProtocolType {
-        UNKNOWN, STD_V1, OSC_V1, SDNC_OSC, SDNR_ONAP
+    public enum A1ProtocolType {
+        UNKNOWN, //
+        STD_V1_1, // STD A1 version 1.1
+        OSC_V1, // OSC 'A1'
+        SDNC_OSC_STD_V1_1, // SDNC_OSC with STD A1 version 1.1 southbound
+        SDNC_OSC_OSC_V1, // SDNC_OSC with OSC 'A1' southbound
+        SDNC_ONAP
     }
 
     public Mono<A1ProtocolType> getProtocolVersion();
@@ -48,5 +57,4 @@ public interface A1Client {
     public Flux<String> deleteAllPolicies();
 
     public Mono<String> getPolicyStatus(Policy policy);
-
 }