X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=policy-agent%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fpolicyagent%2Fcontrollers%2FServiceStatus.java;h=42be5744a99e520ac98dbc80685a07fafcfb6c90;hb=290048d657c9e161133a84b043e33a6c6219b6b0;hp=c30cce15817beb375e9f62f6c9dd5340ba18df16;hpb=7dc42f177188d1e56da95d366d94a65d37b0cec6;p=nonrtric.git diff --git a/policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceStatus.java b/policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceStatus.java index c30cce15..42be5744 100644 --- a/policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceStatus.java +++ b/policy-agent/src/main/java/org/oransc/policyagent/controllers/ServiceStatus.java @@ -30,18 +30,22 @@ import org.immutables.gson.Gson; public class ServiceStatus { @ApiModelProperty(value = "identity of the service") - public final String name; + public final String serviceName; @ApiModelProperty(value = "policy keep alive timeout") public final long keepAliveIntervalSeconds; @ApiModelProperty(value = "time since last invocation by the service") - public final long timeSincePingSeconds; + public final long timeSinceLastActivitySeconds; - ServiceStatus(String name, long keepAliveIntervalSeconds, long timeSincePingSeconds) { - this.name = name; + @ApiModelProperty(value = "callback for notifying of RIC synchronization") + public String callbackUrl; + + ServiceStatus(String name, long keepAliveIntervalSeconds, long timeSincePingSeconds, String callbackUrl) { + this.serviceName = name; this.keepAliveIntervalSeconds = keepAliveIntervalSeconds; - this.timeSincePingSeconds = timeSincePingSeconds; + this.timeSinceLastActivitySeconds = timeSincePingSeconds; + this.callbackUrl = callbackUrl; } }