Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Added RIC state to RicInfo in the agent NBI
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
clients
/
A1Client.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/clients/A1Client.java
b/policy-agent/src/main/java/org/oransc/policyagent/clients/A1Client.java
index
ff9c8ff
..
f94c2c1
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/clients/A1Client.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/clients/A1Client.java
@@
-21,18
+21,24
@@
package org.oransc.policyagent.clients;
import java.util.List;
package org.oransc.policyagent.clients;
import java.util.List;
+
import org.oransc.policyagent.repository.Policy;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
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 enum A1ProtocolType {
UNKNOWN, //
public interface A1Client {
public enum A1ProtocolType {
UNKNOWN, //
- STD_V1, //
- OSC_V1, //
- SDNC_OSC, //
+ 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
}
SDNC_ONAP
}