Kingsousse / myschedule

Automatically exported from code.google.com/p/myschedule
0 stars 0 forks source link

trigger a job with customized parameter by http #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Zemian,

I am looking for solution for my project. Some use case are:
1. send a http request to trigger a configured job.
2. specify customized parameter in request, for example:"color=red"

I find myschedule has a MainServlet (but I can not find src) which can process 
request like "host:port/myschedule/main/job/run-job?jobName=xxx&jobGroup=xxx" 
which is good for case 1. But I don't know it will accept extra parameter. 

Can you give me some suggestion?

Regards,
Xiang

Original issue reported on code.google.com by liuxiang...@gmail.com on 21 Feb 2013 at 12:21

GoogleCodeExporter commented 9 years ago
Hi Zemian

Is it anyway to have the source code for myschedule-2.4.4?
It seems like Source repository is not the right one.
I can work on this issue. 
This enhancement is very import if my project decide to use myschedule.

Regards,
Xiang

Original comment by liuxiang...@gmail.com on 21 Feb 2013 at 7:39

GoogleCodeExporter commented 9 years ago
Hi Xiang,

It looks like I missed the release tag for 2.4.4. However, I have created a 
maintenance branch immediately after the release, so you can clone and switch 
to "myschedule-2.4.x" branch to add in your work. This is where the last 2.4.4 
release left off. You can make your changes there and send me pull request.

Thanks,
Zemian

Original comment by saltnlight5 on 21 Feb 2013 at 8:44

GoogleCodeExporter commented 9 years ago
This will not fit into the MySchedule3 UI. I will close the issue for now. 
Please try out the latest code and see there is anything you like to improve on.

Original comment by saltnlight5 on 8 Jun 2013 at 4:29