diff options
author | Wojciech Sliwka <wojciech.sliwka@nokia.com> | 2019-06-25 11:42:46 +0200 |
---|---|---|
committer | Wojciech Sliwka <wojciech.sliwka@nokia.com> | 2019-07-01 09:24:34 +0200 |
commit | 4751c29632d2f32abba85dd91296fb91672a2f59 (patch) | |
tree | 970fcde9591168089bda86ee2a5453c5eb693f03 /vid-app-common/src/main/java/org/onap/vid/scheduler/SchedulerServiceImpl.java | |
parent | 72b3fb69e548cf665204ec025d2778dcf3ce0216 (diff) |
Extend probe mechanism
Fixes from latest review.
Introduce probe interface.
ResponseWithRequestInfo is not used - it belongs to aai package and requires javax.ws.rs.core.Response.
Fallback in aai client will be removed as soon as sdc provides https support (hopefully in El Alto).
Change-Id: I4527d447a273328d38ff2ef7f9d2a93453cec9f2
Issue-ID: VID-490
Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
Diffstat (limited to 'vid-app-common/src/main/java/org/onap/vid/scheduler/SchedulerServiceImpl.java')
-rw-r--r-- | vid-app-common/src/main/java/org/onap/vid/scheduler/SchedulerServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vid-app-common/src/main/java/org/onap/vid/scheduler/SchedulerServiceImpl.java b/vid-app-common/src/main/java/org/onap/vid/scheduler/SchedulerServiceImpl.java index d4f136a01..5513cf4a6 100644 --- a/vid-app-common/src/main/java/org/onap/vid/scheduler/SchedulerServiceImpl.java +++ b/vid-app-common/src/main/java/org/onap/vid/scheduler/SchedulerServiceImpl.java @@ -40,7 +40,7 @@ public class SchedulerServiceImpl implements SchedulerService{ } @Override - public ExternalComponentStatus probeGetSchedulerChangeManagements() { + public ExternalComponentStatus probeComponent() { long startTime = System.currentTimeMillis(); try { RestObjectWithRequestInfo response = this.changeManagementService.getSchedulerChangeManagementsWithRequestInfo(); |