josehernandezfintecheandomx commented on code in PR #2577:
URL: https://github.com/apache/fineract/pull/2577#discussion_r970722438
##########
fineract-provider/src/main/java/org/apache/fineract/cob/api/ConfigureBusinessStepResource.java:
##########
@@ -69,6 +71,20 @@ public class ConfigureBusinessStepResource {
private final ConfigJobParameterService configJobParameterService;
private final PortfolioCommandSourceWritePlatformService
commandWritePlatformService;
+ @GET
+ @Path("/names")
+ @Produces({ MediaType.APPLICATION_JSON })
+ @Operation(summary = "List Business Jobs", description = "Returns the
configured Business Jobs")
+ @ApiResponses({
+ @ApiResponse(responseCode = "200", description = "OK", content =
@Content(array = @ArraySchema(schema = @Schema(implementation =
ConfigureBusinessStepResourceSwagger.GetBusinessJobConfigResponse.class)))) })
+ public String retrieveAllConfiguredBusinessJobs(@Context final UriInfo
uriInfo) {
+
+ List<String> businessJobNames =
configJobParameterService.getAllJobNames();
+ final Gson gson = new Gson();
Review Comment:
This is just a String array, with the configured job names, Do I need to add
the serializer?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]