Skip to content

Commit

Permalink
Fixed code formatting
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
  • Loading branch information
Claudio Mezzasalma committed Jun 24, 2019
1 parent 35c7b15 commit 61be265
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.google.common.base.MoreObjects;
import org.apache.camel.Exchange;
import org.apache.camel.spi.UriEndpoint;

import org.eclipse.kapua.KapuaException;
import org.eclipse.kapua.broker.core.message.CamelKapuaMessage;
import org.eclipse.kapua.commons.metric.MetricServiceFactory;
Expand All @@ -24,6 +25,7 @@
import org.eclipse.kapua.service.device.management.message.notification.KapuaNotifyMessage;
import org.eclipse.kapua.service.device.management.message.notification.KapuaNotifyPayload;
import org.eclipse.kapua.service.device.management.registry.manager.DeviceManagementRegistryManagerService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down Expand Up @@ -69,13 +71,13 @@ public void processMessage(CamelKapuaMessage<?> message) throws KapuaException {
KapuaNotifyPayload notifyPayload = notifyMessage.getPayload();

try {
DEVICE_MANAGEMENT_REGISTRY_MANAGER_SERVICE.processOperationNotification(
notifyMessage.getScopeId(),
notifyPayload.getOperationId(),
MoreObjects.firstNonNull(notifyMessage.getSentOn(), notifyMessage.getReceivedOn()),
notifyPayload.getResource(),
notifyPayload.getStatus(),
notifyPayload.getProgress());
DEVICE_MANAGEMENT_REGISTRY_MANAGER_SERVICE.processOperationNotification(
notifyMessage.getScopeId(),
notifyPayload.getOperationId(),
MoreObjects.firstNonNull(notifyMessage.getSentOn(), notifyMessage.getReceivedOn()),
notifyPayload.getResource(),
notifyPayload.getStatus(),
notifyPayload.getProgress());

JOB_DEVICE_MANAGEMENT_OPERATION_MANAGER_SERVICE.processJobTargetOnNotification(
notifyMessage.getScopeId(),
Expand Down

0 comments on commit 61be265

Please sign in to comment.