Fork: delicious menus for Executives
Distributed Systems 2018-2019, 2nd semester project
GRADE: 17,50
Name | IST Number | Github Username |
---|---|---|
João Miguel P. Campos | 75785 | @mikibakaiki |
Gonçalo Santos | 77915 | @71514311215 |
Alexandre Caldeira | 85254 | @AlexCaldeira |
For each module, the README file must identify the lead developer and the contributors. The leads should be evenly divided among the group members.
run mvn clean install -DskipTests
from root directory
then, on a client of your choosing, run mvn verify
To see results, go to <client-choosen>/target/site/jacoco/index.html
-
Install all dependencies with the command
mvn clean install -DskipTests
-
Then, we need to launch the servers, each one on a different terminal
cd hub-ws; mvn compile exec:java
cd pts-ws; mvn compile exec:java
cd rst-ws; mvn compile exec:java
cd-rst-ws; mvn compile exec:java -Dws.i=2
- Go to each /xxx-ws-cli and execute
mvn verify
- Go to the source folder of the project and run
mvn verify
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.
The overall system is composed of multiple services and clients. The main service is the hub service that is aided by the pts service. There are also multiple rst services, one for each participating restaurant.
See the project statement for a full description of the domain and the system.
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
To compile and install all modules:
mvn clean install -DskipTests
The tests are skipped because they require each server to be running.
We use SemVer for versioning.