lib/scooter/httpdispatchers/orchestratordispatcher.rb in scooter-4.2.8 vs lib/scooter/httpdispatchers/orchestratordispatcher.rb in scooter-4.2.9

- old
+ new

@@ -81,8 +81,23 @@ # @return [Faraday::Response] response object from Faraday http client def create_dumpling(dumpling) post_dumpling(dumpling) end + + # @return [Faraday::Response] response object from Faraday http client + def create_scheduled_job(payload) + post_schedule_task(payload) + end + + # @return [Faraday::Response] response object from Faraday http client + def remove_scheduled_job(job_id) + delete_scheduled_job(job_id) + end + + # @return [Faraday::Response] response object from Faraday http client + def list_scheduled_jobs(limit=nil, offset=nil) + get_scheduled_jobs(limit, offset) + end end end end