Skip to content

mashup-fm/play-jobs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Play! Jobs
Web Interface to manage and trigger jobs running on a Play! Framework application. A JAX-RS/RESTFul JSON API is available through Play!’s RESTEasy Module.

by Felipe Oliveira
http://mashup.fm
http://geeks.aretotally.in
http://twitter.com/_felipera

Live Demo
http://playjobs.mashup.fm

Install Locally
- Install Module
- git clone play-jobs into a local directory separate from your play app
-
type “play build-module” to build the module. Enter “1.2” or so for required version
- look for instructions on how to set up references to local modules, such as
-
- http://stackoverflow.com/questions/5859037/how-to-reference-local-modules-using-dependency-yml
- Add module routes to the application that’s installing the jobs module
— see instructions in play-jobs/conf/routes
- Start your play application
- In your browser, go to http://localhost:9000/@jobs

You should see all the jobs defined on your application, basically your classes that extend play.jobs.Job.

RESTful API
Using Play!‘s RESTEasy’s module. All the business logic is encapsulated on service class JobsService which contains
the annotations necessary to expose the service and bind it as a JSON interface.
This JSON interface is useful if you need to hook your Play! application into a monitoring solution like Nagios.

About

Web UI to manage and trigger jobs running on a Play! Framework application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published