Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

A simple iot system data manager for Advanced Programming Techniques @ unifi.

Notifications You must be signed in to change notification settings

fabian57fabian/iot-systems-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

iot-systems-manager

A simple iot system data manager for Advanced Programming Techniques @ unifi.

This code with be the official project for the exam involving:

  • Java project
  • Using Maven
  • Using TDD - Unit tests / Integration tests / e2e tests
  • Coveralls
  • Continous integration with Github Actions

Continous Integration workflow:

Java CI with Maven in Linux

Coveralls coverage percentage:

Coverage Status

SonarCloud Code quality states:

Quality gate

Quality Gate Status Maintainability Rating Reliability Rating
Security Rating Bugs Code Smells
Vulnerabilities Technical Debt Duplicated Lines (%)
Coverage Lines of Code

Requirements

  • Java 8
  • Maven
  • Docker

Usage

From [REPO_DIR]/iotsystem/ directory:

This app needs a mongoDb database. If you don't have an installed db, you can launch it with docker:

docker run -p 27017:27017 --rm mongo:4.4.3

Then, in a separate terminal, we can build a fatjar with following command:

mvn package

Now you can launch the builded jar inside target directory called iotsystem-[version]-jar-with-dependencies.jar :

java -jar target/iotsystem-0.2-SNAPSHOT-jar-with-dependencies.jar

Tests

Unit tests, Integration tests, E2E tests and Mutation testing with pit can be launched by following command:

mvn clean verify -Ppit

About

A simple iot system data manager for Advanced Programming Techniques @ unifi.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages