Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CLAMP is composed of a main pom.xml and several sub modules.is structured in only one maven module, there is no sub-modules. It's composed of a back-end written in java, and a Designer UI frontend writtent in HTML/javascript (with angularJS).

The backend code is stored in the standard java locations "/src/main/java", "src/main/resources". And all the backend tests are located in "src/test/java", "src/test/resources".

The frontend code is stored in a sub folder of the backend code in "src/main/resources/META-INF/resources/designer".

Unit test

The unit tests are composed of 2 different types:

  1. The standard unit tests, testing obviously the class and methods
  2. The integration tests that really starts Clamp (using @SpringBootTest) and that can make use of everything in the code, like the database, the http connection, etc ...

The code coverage is done by Jacoco and the reports are configured to provide unit tests and integration coverage.

Location details

PathContent
Docs
/docsThe documentation in .rst files
Docker
/extra/docker/clampThe docker compose file to start clamp and the Mariadb
/extra/docker/mariadbThe mariadb conf files used by docker compose
/extra/sqlThe SQL file containing the Clamp schema, Clamp Strored procedures and Camunda schema
/src/main/dockerThe Docker file + the scripts to start clamp that are used to build the image
Code
/src/main/javaThe back-end and front-end code + resources
/src/main/testThe unit tests to validate clamp


Building CLAMP


Testing CLAMP

...