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 controller adaption
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
controllers
/
ServiceStatus.java
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
fc80834
..
42be574
100644
(file)
--- 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 keepAliveIntervalSeconds;
@ApiModelProperty(value = "time since last invocation by the service")
- public final long timeSince
Ping
Seconds;
+ public final long timeSince
LastActivity
Seconds;
- ServiceStatus(String name, long keepAliveIntervalSeconds, long timeSincePingSeconds) {
+ @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.serviceName = name;
this.keepAliveIntervalSeconds = keepAliveIntervalSeconds;
- this.timeSincePingSeconds = timeSincePingSeconds;
+ this.timeSinceLastActivitySeconds = timeSincePingSeconds;
+ this.callbackUrl = callbackUrl;
}
}
}
}