Sparkybeard / EcarSDIS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ECar

Electric Car service

Distributed Systems 2018-2019, 1st semester project prototype

Getting Started

The overall system is composed of multiple services and clients. The main service is ECar. There are also multiple car parks spread across the city.

See the project statement for a full description of the domain and the system.

Code identification

In all the source files (including POMs), please replace CXX with your Campus: A (Alameda) or T (Tagus); and your group number with two digits.

This is important for code dependency management i.e. making sure that your code runs using the correct components and not someone else's.

Prerequisites

Java Developer Kit 8 is required running on Linux, Windows or Mac. Maven 3 is also required.

To confirm that you have them installed, open a terminal and type:

javac -version

mvn -version

Installing

To compile and install all modules:

mvn clean install -DskipTests

The tests are skipped because they require each server to be running.

After installing, start the servers (use separate consoles for each server):

UDDI naming server:

cd juddi-3.3.5_tomcat-7.0.82_9090
cd bin
startup

Park servers:

cd park-ws
mvn exec:java 
mvn -Dws.i=2 exec:java
mvn -Dws-i=3 exec:java

ECar server:

cd ecar-ws
mvn exec:java

To run the integration tests:

cd ecar-ws-cli
mvn verify

In the end, the expected output should include the test summary line as follows:

Tests run: 29, Failures: 0, Errors: 0, Skipped: 0

Built With

  • Maven - Build Tool and Dependency Management
  • JAX-WS - SOAP Web Services implementation for Java

Versioning

We use SemVer for versioning.

Authors

See also the list of contributors who participated in this project.

Acknowledgments

  • Members of the Distributed Systems teaching staff

About


Languages

Language:Java 100.0%