Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Web UI to manage and trigger jobs running on a Play! Framework application
Java Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
conf
dist
documentation/manual
lib
public-play-jobs
src
.gitignore
README.textile
build.xml
commands.py

README.textile

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.

Something went wrong with that request. Please try again.