/availability

Primary LanguageJavaGNU General Public License v3.0GPL-3.0

Availability

Build Status Dependency Status

Availability shows availability for a given person or room. It indicates current availability, availability at a specific date/time, and shows a calendar view.

Building from Source

Availability uses a Maven build system.

Prerequisites

Git, JDK 8, and Maven.

Be sure that your JAVA_HOME environment variable points to the jdk1.8.0 folder extracted from the JDK download.

Check out sources

git clone git@github.com:candrews/availability.git

Compile and test

mvn package

Run the project

export EXCHANGE_CREDENTIALS_PASSWORD=<PASSWORD>
export EXCHANGE_CREDENTIALS_USERNAME=<USERNAME>
export EXCHANGE_URI=<URI> # usually ends in /ews/Exchange.asmx
mvn spring-boot:run -Dspring.profiles.active=development`

Use your browser to hit http://localhost:8080/ Some interesting URLs include:

Import into IDE

This project uses Lombok so special instructions have to be followed when using most IDE. Make sure that the environment variables EXCHANGE_CREDENTIALS_PASSWORD, EXCHANGE_CREDENTIALS_USERNAME, and EXCHANGE_URI are set appropriately and the JVM argument spring.profiles.active=development is provided when launching the spring-boot:run goal.