Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
.settings
configuration
src/osgi/enroute/examples/rest/application
static/osgi.enroute.examples.rest
test
web
.classpath
.gitignore
.project
bnd.bnd
debug.bndrun
osgi.enroute.examples.rest.bndrun
readme.md

readme.md

OSGi enRoute REST Examples

This project demonstrates the use of the OSGi enRoute REST API. This API allows you to write POJO code that is mapped to REST with JSON as payload. The project shows in the RestApplication class a number of examples that manipulate a history. All the examples are turned into a web page that allows you to execute them easily with a mouse click.

How To Start

Check out this repository and load all projects in bndtools. (Do the Quickstart Tutorial for using enRoute workspaces.) Then in the osgi.enroute.examples.rest.application, select the debug.bndrun by double clicking it. After resolving it, click on the Debug button. This will start a web server on http://localhost:8080. Select the link. This shows a page with an entry for each example. You can click on the example, the result will then be displayed just below it.

Feedback

You can discuss any issues on the forum page, submit changes to Github or raise issues, or submit a PR on the REST API page. (There is a discussion list at the end of the description.)