Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Bugfix, GET policy types for OSC A1 Policy REST API
[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
8715e88
..
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
@@
-27,13
+27,18
@@
import org.oransc.policyagent.repository.Policy;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
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_1, // version 1.1
- 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
}