Skip to content

Commit

Permalink
Merge pull request #83 from bosch-io/fix/migration_to_hawkbit_changes…
Browse files Browse the repository at this point in the history
…_ddi

Migrate to changes in the DDI Rest Java API
  • Loading branch information
avgustinmm committed Feb 9, 2024
2 parents 0e87463 + 38de011 commit 45e8043
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private Optional<Entry<Long, DdiDeploymentBase>> getActionWithDeployment(final L
final long actionId = getActionId(deploymentBaseLink);
if (currentActionId == null || currentActionId == actionId) {
final ResponseEntity<DdiDeploymentBase> action = controllerResource
.getControllerBasedeploymentAction(getTenant(), getId(), actionId, -1, null);
.getControllerDeploymentBaseAction(getTenant(), getId(), actionId, -1, null);

if (HttpStatus.OK != action.getStatusCode()) {
return Optional.empty();
Expand Down Expand Up @@ -215,7 +215,7 @@ private void startDdiUpdate(final long actionId, final HandlingType updateType,
private UpdaterCallback sendFeedback(final long actionId) {
return device -> {
final DdiActionFeedback feedback = calculateFeedback(device);
controllerResource.postBasedeploymentActionFeedback(feedback, getTenant(), getId(), actionId);
controllerResource.postDeploymentBaseActionFeedback(feedback, getTenant(), getId(), actionId);
currentActionId = null;
};
}
Expand Down

0 comments on commit 45e8043

Please sign in to comment.