code: @RequestMapping(value = DEPLOY_ALL_TARGETS_URL, method = RequestMethod.POST)
      public ResponseEntity<Result> deployAllTargets(@RequestBody(required = false) Map<String, Object> params) throws DeployerException {
          if (params == null) {
              params = new HashMap<>();
          }
  
          boolean waitTillDone = false;
          if (MapUtils.isNotEmpty(params)) {
             waitTillDone = BooleanUtils.toBoolean(params.remove(WAIT_TILL_DONE_PARAM_NAME));
          }
  
          deploymentService.deployAllTargets(waitTillDone, params);
  
          return ResponseEntity.status(HttpStatus.ACCEPTED).body(Result.OK);
      }
docs: Deploys all current {@link Target}s.
  
  @param params    any additional parameters that can be used by the {@link org.craftercms.deployer.api.DeploymentProcessor}s, for
  example {@code reprocess_all_files}
  
  @return the response entity with a 200 OK status
  
  @throws DeployerException if an error occurred