nikos / oadr2-ven

OpenADR2 Open VEN Implementation for Java

Home Page:http://open.enernoc.com/code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EnerNOC OpenADR 2.0 Reference Implementation

This is part of EnerNOC's open source reference implementation for the OpenADR 2.0 spec.

See: http://openadr.org/

This project provides the building blocks for implementing a VEN client. In particular, it aims to provide protocol bindings. It does not actually implement any service functionality (at least not yet.) But it should provide enough at least for someone to start implementing OpenADR 2.0 services.

Modules

oadr2-model Simple JAXB Bindings

oadr2-xmpp XMPP client implmentation

oadr2-http HTTP client implementation (TODO)

oadr2-vtn This is a separate project: https://github.com/EnerNOC/oadr2-vtn

Development, Build, Testing

Use Maven: http://maven.apache.org

Build by running maven compile from this directory. Dependencies will be downloaded automatically.

To run XMPP unit tests with your Google Talk account, do the following:

mvn test -Dxmpp-username="my_username@gmail.com" -Dxmpp-pass="blah"

To see debug output from the XMPP stream, add the following flag: -Dsmack.debugEnabled=true

Note: Some folks have reported trouble with JAXB generation under Java 6. If you experience issues, please try building with a Java 7 SDK.

License

This code is released under the Apache 2.0 software license except where otherwise noted.
Please take it and use the code in your (commercial or open source) product. Contributions back to this project are also welcome!

Note that PullUnmarshaller.java is not copyright EnerNOC, it was adapted from Sun/ java.net code and is licensed under either GPL v2 + classpath exception or the CDDL.

About

OpenADR2 Open VEN Implementation for Java

http://open.enernoc.com/code

License:Other


Languages

Language:Java 100.0%