data.add(new MeasurementDataNumeric(point.getTimestamp(), scheduleId,point.getValue()));
} else {
return Response
.status(Status.FORBIDDEN)
.entity(
new RHQErrorWrapper("Metric name=" + point.getMetric() + " for resourceId=" + resourceId
+ " does not exist")).build();
}
}
dataManager.addNumericData(data);