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=8f4daac16d263a173de51b5387ab6e984f853754;hb=5408c157fc8aca52731fcc2cc035ed9dbfcff219;hp=fc80834c7a5063d94a6324cae07da9eeb4d38d70;hpb=86b589317c67eb2350870c9c57c35eac3e9056f6;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 fc80834c..8f4daac1 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 @@ -36,12 +36,16 @@ public class ServiceStatus { 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) { + @ApiModelProperty(value = "callback for notifying of RIC recovery") + 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; } }