This is the Common module of the OpenESPI Green Button Data Custodian and Third Party implementation. It is a Spring application written in java and built on top of jpa for database access.
This Common run-time and test code is shared between stand-alone Data Custodian and Third Party applications. OpenESPI-DataCustodian and OpenESPI-ThirdParty.
An operational sandbox with these services operating may be found at: services.greenbuttondata.org
First clone the project from github:
git clone https://github.com/energyos/OpenESPI-Common-java.git
cd OpenESPI-Common
Then install the OpenESPI-Common JAR in your local repository:
mvn clean install
# or for a specific profile
mvn -P <profile name> -Dmaven.test.skip=true clean install
Open Eclipse and import a Maven project (File > Import... > Maven > Existing Maven Projects).
Open Spring Tool Suite and import a Maven project (File > Import... > Maven > Existing Maven Projects).
Open IntelliJ and open the project (File > Open...).
All testing of OpenESPI is performed using the Test Harness project. See the README file for instructions.