Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Removed support for the non used A1 1.0 standard
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
controllers
/
RicInfo.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/controllers/RicInfo.java
b/policy-agent/src/main/java/org/oransc/policyagent/controllers/RicInfo.java
index
1139151
..
5a63571
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/controllers/RicInfo.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/controllers/RicInfo.java
@@
-17,19
+17,31
@@
* limitations under the License.
* ========================LICENSE_END===================================
*/
* limitations under the License.
* ========================LICENSE_END===================================
*/
+
package org.oransc.policyagent.controllers;
package org.oransc.policyagent.controllers;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
-import java.util.
Vector
;
+import java.util.
Collection
;
import org.immutables.gson.Gson;
import org.immutables.gson.Gson;
-import org.immutables.value.Value;
-@Value.Immutable
@Gson.TypeAdapters
@Gson.TypeAdapters
-interface RicInfo {
+@ApiModel(value = "RicInfo")
+class RicInfo {
+ @ApiModelProperty(value = "identity of the ric")
+ public final String ricName;
+
+ @ApiModelProperty(value = "O1 identities for managed entities")
+ public final Collection<String> managedElementIds;
- public String name();
+ @ApiModelProperty(value = "supported policy types")
+ public final Collection<String> policyTypes;
- public Vector<String> nodeNames();
+ RicInfo(String name, Collection<String> managedElementIds, Collection<String> policyTypes) {
+ this.ricName = name;
+ this.managedElementIds = managedElementIds;
+ this.policyTypes = policyTypes;
+ }
}
}