java-middle-tier/src/main/java/com/marklogic/pipes/ui/customStep/CustomStepController.java
/**
   * @return a String representing a json containing an array with all custom steps found in the DHF project
   * @throws IOException gets thrown if the path is not correct (check mlDhfRoot in application.properties)
   */
@return a String representing a json containing an array with all custom steps found in the DHF project
@throws IOException gets thrown if the path is not correct (check mlDhfRoot in application.properties)
@return a String representing a json containing an array with all custom steps found in the DHF project @throws IOException gets thrown if the path is not correct ( check mlDhfRoot in application . properties )
@RequestMapping(value = "/customSteps", method = RequestMethod.GET)
  public String listOfCustomStepNames() throws IOException {
    ObjectMapper objectMapper = new ObjectMapper();
    objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
    String customStepResponseString = objectMapper.writeValueAsString(customStepService.accessDhfRootAndGetCustomStepsJson());
    return customStepResponseString;
  }
@ RequestMapping ( value = "/customSteps" , method = RequestMethod . GET ) public String listOfCustomStepNames ( ) throws IOException { ObjectMapper objectMapper = new ObjectMapper ( ) ; objectMapper . configure ( DeserializationFeature . FAIL_ON_UNKNOWN_PROPERTIES , false ) ; String customStepResponseString = objectMapper . writeValueAsString ( customStepService . accessDhfRootAndGetCustomStepsJson ( ) ) ; return customStepResponseString ; }
@return a String representing a json containing an array with all custom steps found in the DHF project
 @throws IOException gets thrown if the path is not correct (check mlDhfRoot in application.properties)
@return a String representing a json containing an array with all custom steps found in the DHF project @throws IOException gets thrown if the path is not correct ( check mlDhfRoot in application . properties )