Skip to content

Commit 45e8043

Browse files
authored
Merge pull request #83 from bosch-io/fix/migration_to_hawkbit_changes_ddi
Migrate to changes in the DDI Rest Java API
2 parents 0e87463 + 38de011 commit 45e8043

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hawkbit-device-simulator/src/main/java/org/eclipse/hawkbit/simulator/DDISimulatedDevice.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ private Optional<Entry<Long, DdiDeploymentBase>> getActionWithDeployment(final L
145145
final long actionId = getActionId(deploymentBaseLink);
146146
if (currentActionId == null || currentActionId == actionId) {
147147
final ResponseEntity<DdiDeploymentBase> action = controllerResource
148-
.getControllerBasedeploymentAction(getTenant(), getId(), actionId, -1, null);
148+
.getControllerDeploymentBaseAction(getTenant(), getId(), actionId, -1, null);
149149

150150
if (HttpStatus.OK != action.getStatusCode()) {
151151
return Optional.empty();
@@ -215,7 +215,7 @@ private void startDdiUpdate(final long actionId, final HandlingType updateType,
215215
private UpdaterCallback sendFeedback(final long actionId) {
216216
return device -> {
217217
final DdiActionFeedback feedback = calculateFeedback(device);
218-
controllerResource.postBasedeploymentActionFeedback(feedback, getTenant(), getId(), actionId);
218+
controllerResource.postDeploymentBaseActionFeedback(feedback, getTenant(), getId(), actionId);
219219
currentActionId = null;
220220
};
221221
}

0 commit comments

Comments
 (0)