aboutsummaryrefslogtreecommitdiffstats
path: root/cmso-topology/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'cmso-topology/src/main')
-rw-r--r--cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/HealthCheckImpl.java2
-rw-r--r--cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/TopologyInterfaceImpl.java8
2 files changed, 6 insertions, 4 deletions
diff --git a/cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/HealthCheckImpl.java b/cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/HealthCheckImpl.java
index a1bacb9..4fae359 100644
--- a/cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/HealthCheckImpl.java
+++ b/cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/HealthCheckImpl.java
@@ -71,6 +71,7 @@ public class HealthCheckImpl implements HealthCheck {
return response;
}
+ @SuppressWarnings("unused")
private void addToHealthCheckMessage(HealthCheckMessage hc, HealthCheckComponent hcc) {
if (!hcc.getHealthy()) {
hc.setHealthy(false);
@@ -85,6 +86,7 @@ public class HealthCheckImpl implements HealthCheck {
*
* @return the health check component
*/
+ @SuppressWarnings("unused")
private HealthCheckComponent healthCheckDb() {
HealthCheckComponent hcc = new HealthCheckComponent();
hcc.setName("Database");
diff --git a/cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/TopologyInterfaceImpl.java b/cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/TopologyInterfaceImpl.java
index c824d20..b9ab733 100644
--- a/cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/TopologyInterfaceImpl.java
+++ b/cmso-topology/src/main/java/org/onap/optf/cmso/topology/service/rs/TopologyInterfaceImpl.java
@@ -48,6 +48,7 @@ import org.springframework.transaction.interceptor.TransactionAspectSupport;
@Controller
public class TopologyInterfaceImpl implements TopologyInterface {
+ @SuppressWarnings("unused")
private static EELFLogger debug = EELFManager.getInstance().getDebugLogger();
@Autowired
@@ -73,13 +74,12 @@ public class TopologyInterfaceImpl implements TopologyInterface {
atr.setStatus(TopologyRequestStatus.COMPLETED);
List<ElementCriteria> elements = topologyRequest.getElements();
// At a minimum, return the requested elements
- for (ElementCriteria criteria : elements)
- {
+ for (ElementCriteria criteria : elements) {
ElementInfo element = new ElementInfo();
element.setElementId(criteria.getElementId());
ElementLocation loc = new ElementLocation();
- loc.setLat(new Float(-0.00));
- loc.setLon(new Float(0.00));
+ loc.setLat(new Float(-74.024));
+ loc.setLon(new Float(40.177));
element.setElementLocation(loc);
atr.getElements().add(element);
}