Code Review
/
nonrtric.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Removed support for the non used A1 1.0 standard
[nonrtric.git]
/
policy-agent
/
src
/
main
/
java
/
org
/
oransc
/
policyagent
/
tasks
/
RicSupervision.java
diff --git
a/policy-agent/src/main/java/org/oransc/policyagent/tasks/RicSupervision.java
b/policy-agent/src/main/java/org/oransc/policyagent/tasks/RicSupervision.java
index
d6013de
..
d368fc4
100644
(file)
--- a/
policy-agent/src/main/java/org/oransc/policyagent/tasks/RicSupervision.java
+++ b/
policy-agent/src/main/java/org/oransc/policyagent/tasks/RicSupervision.java
@@
-47,6
+47,7
@@
import reactor.core.publisher.Mono;
*/
@Component
@EnableScheduling
*/
@Component
@EnableScheduling
+@SuppressWarnings("squid:S2629") // Invoke method(s) only conditionally
public class RicSupervision {
private static final Logger logger = LoggerFactory.getLogger(RicSupervision.class);
public class RicSupervision {
private static final Logger logger = LoggerFactory.getLogger(RicSupervision.class);
@@
-72,9
+73,11
@@
public class RicSupervision {
@Scheduled(fixedRate = 1000 * 60)
public void checkAllRics() {
logger.debug("Checking Rics starting");
@Scheduled(fixedRate = 1000 * 60)
public void checkAllRics() {
logger.debug("Checking Rics starting");
- createTask().subscribe(ric -> logger.debug("Ric: {} checked", ric.ric.name()), //
+ createTask().subscribe( //
+ ric -> logger.debug("Ric: {} checked", ric.ric.name()), //
null, //
null, //
- () -> logger.debug("Checking Rics completed"));
+ () -> logger.debug("Checking Rics completed") //
+ );
}
private Flux<RicData> createTask() {
}
private Flux<RicData> createTask() {