Microservice to expose main CapyFile services.
Document | URL |
---|---|
CLI documentation | CLI.md |
CICD | CICD.md |
CONTRIBUTING | CONTRIBUTING.md |
SOAP Java interfaces | Service.java |
SOAP service API definition | Specification |
Fetch submodules after cloning:
git clone https://github.com/hawks-atlanta/gateway-java
git submodule update --init
-
Have
jdk11
or newer installed. -
(Optional) Use the gradle wrapper script (
./gradlew
) for allgradle
commands. For example:./gradlew run
-
(Optional) Use the provided
nix-shell
to get into a shell with all required dependecies [install Nix].nix-shell
gradle run
gradle test # only run tests
gradle testCodeCoverageReport # run tests & generate coverage
# rerun tests
gradle cleanTest test
gradle cleanTest testCodeCoverageReport
See test results
app/build/reports/tests/test/index.html # general
app/build/reports/jacoco/testCodeCoverageReport/html/index.html # coverage
You need to have clang-format
installed.
./format.sh clang-check # check (doesn't write)
./format.sh clang-format # apply (writes)