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;
}
}