chemikadze commented on a change in pull request #480: For task GRIFFIN-229, 
trigger the job right now
URL: https://github.com/apache/griffin/pull/480#discussion_r261299954
 
 

 ##########
 File path: service/src/main/java/org/apache/griffin/core/job/JobController.java
 ##########
 @@ -113,4 +113,10 @@ public JobHealth getHealthInfo() {
                 .contentType(MediaType.APPLICATION_OCTET_STREAM)
                 .body(resource);
     }
+
+    @RequestMapping(value = "/jobs/trigger/{id}", method = RequestMethod.GET)
+    @ResponseStatus(HttpStatus.NO_CONTENT)
 
 Review comment:
   I think it makes sense to see how we can return jobinstance information from 
this method, so it would be possible to wait for job's status via api.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to