Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Renamed things to fit with namechange of RicSynchronizationTask
[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
c30cce1
..
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
@@
-30,18
+30,22
@@
import org.immutables.gson.Gson;
public class ServiceStatus {
@ApiModelProperty(value = "identity of the service")
public class ServiceStatus {
@ApiModelProperty(value = "identity of the service")
- public final String
n
ame;
+ public final String
serviceN
ame;
@ApiModelProperty(value = "policy keep alive timeout")
public final long keepAliveIntervalSeconds;
@ApiModelProperty(value = "time since last invocation by the service")
@ApiModelProperty(value = "policy keep alive timeout")
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) {
- 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.keepAliveIntervalSeconds = keepAliveIntervalSeconds;
- this.timeSincePingSeconds = timeSincePingSeconds;
+ this.timeSinceLastActivitySeconds = timeSincePingSeconds;
+ this.callbackUrl = callbackUrl;
}
}
}
}