Git Product home page Git Product logo

myerp's Introduction

Projet P9

SonarCloud Coverage Sonarcloud Status Build Status

Environnement de développement

Les composants nécessaires lors du développement sont disponibles via des conteneurs docker. L'environnement de développement est assemblé grâce à docker-compose (cf docker/dev/docker-compose.yml).

Il comporte :

  • une base de données PostgreSQL contenant un jeu de données de démo (postgresql://127.0.0.1:9032/db_myerp)

Lancement

cd docker/dev
docker-compose up

Arrêt

cd docker/dev
docker-compose stop

Remise à zero

cd docker/dev
docker-compose stop
docker-compose rm -v
docker-compose up

Test

Maven profiles

  • sonar - lancement de tous tests unitaires et IT (profil par défaut)
  • unitTest - lancement de tous tests unitaires
  • test-business - lancement des tests d'intégrations de module business
  • test-consumer - lancement des tests d'intégrations de module consumer

Lancement de Test

En utilisant Maven command test avec balise -P pour spécifier le profil. mvn test -P sonar

Lancement d'analyse SonarCloud

mvn verify sonar:sonar

Correctifs

  • com.dummy.myerp.model.bean.comptabilit.EcritureComptable
    • correction de la méthode getTotalCredit() qui accédait à la méthode getDebit() au lieu de getCredit()
    • correction de la méthode isEquilibree() qui retournait le résultat d'une égalité à l'aide de equals() au lieu de faire une comparaison avec `compareTo()
  • com.dummy.myerp.business.impl.manager.ComptabiliteManagerImpl
    • correction de la méthode updateEcritureComptable(). Ajouter la ligne this.checkEcritureComptable(pEcritureComptable); afin de vérifier que la référence de l'écriture comptable respecte les règles de comptabilité 5 et 6
  • sqlContext.xml, correction la propriété SQLinsertListLigneEcritureComptable, où manquait une virgule dans le INSERT entre les colonnes debit et credit dfdfsf

myerp's People

Contributors

asediab avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.