Skip to content

gkmiyata/OpenESPI-Common-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenESPI-Common

Common run-time and test code shared between OpenESPI-DataCustodian and OpenESPI-ThirdParty.

An operational sandbox with these services operating may be found at: services.greenbuttondata.org

Setup

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

IDE Setup

Eclipse Setup

Open Eclipse and import a Maven project (File > Import... > Maven > Existing Maven Projects).

Spring Tool Suite Setup

Open Spring Tool Suite and import a Maven project (File > Import... > Maven > Existing Maven Projects).

IntelliJ Setup

Open IntelliJ and open the project (File > Open...).

Testing

Unit Tests

To run all Unit tests:

mvn test

Run a single test class:

mvn -Dtest=<TestClassName> test
mvn -Dtest=HomeControllerTests test

Run a single test in a single class:

mvn -Dtest=<TestClassName>#<testMethodName> test
mvn -Dtest=HomeControllerTests#index_shouldDisplayHomePage test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.3%
  • Shell 0.7%