An open API service indexing awesome lists of open source software.

https://github.com/mpromonet/spring-onvif

ONVIF services with spring
https://github.com/mpromonet/spring-onvif

camel cxf onvif

Last synced: about 1 month ago
JSON representation

ONVIF services with spring

Awesome Lists containing this project

README

          

[![Build status](https://travis-ci.org/mpromonet/spring-onvif.svg)](https://travis-ci.org/mpromonet/spring-onvif)
[![Heroku](https://heroku-badge.herokuapp.com/?app=spring-onvif)](https://spring-onvif.herokuapp.com/)

Spring-ONVIF
========
The aim is to try to implement ONVIF services in a flexible way and to learn a bit more about what could do Apache Camel.
This should probably never run inside a camera, but it could be use to test ONVIF client.

The application is based on Spring Framework and use :
- Apache CXF to manage WS endpoints
- Apache Camel to route the SOAP request
- Groovy to process SOAP request and produce SOAP response

The application instantiate an ONVIF Device Service and publish it using the WS-Discovery of Apache CXF.
Apache Camel is used to dispatch each ONVIF method to a groovy script located in groovy//.groovy.
Then adding support for a new method just need to add a new script. Modifying behaviour of a method could be done modifying the script without restart the application.

Container is a war, but it should be possible to use a jar assembly or an osgi bundle.

Build
--------
- `mvn package` build the web application.
- `mvn` build and run the web application in embedded tomcat.