gsfellis / aura

:warning: work-in-progress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚠️ work-in-progress

Description of the project.

CircleCI Maintainability License: MIT contributions welcome

Gauge Badge

All notable changes to this project are documented in CHANGELOG.md. The format is based on Keep a Changelog and adheres to Semantic Versioning.

πŸ“– Documentation πŸš€ Getting started πŸ‘‹ Contributions ✨ Changelog πŸ“œ License

πŸ’₯ Standout Features

  • TODO

πŸš€ Getting started

  • TODO

βš’οΈ Building Project

Structure

gauge-requests/
β”œβ”€β”€ .cirlceci/ # CI Build scripts for project.
β”œβ”€β”€ build/
β”‚   β”œβ”€β”€ update_versions.sh # Updates project/dependency versions.
β”‚   β”œβ”€β”€ set_stub_mappings.sh
β”‚   β”œβ”€β”€ local.yml # docker-compose file for build full project.
β”‚   └── stub.yml # docker-compose file for stub api.
β”œβ”€β”€ docs/
β”œβ”€β”€ quickstart/ # A maven archetype project.
β”œβ”€β”€ reference/ # An examples project using requests module.
β”œβ”€β”€ requests/ # Main gauge-requests module.
β”œβ”€β”€ stub/ # A wiremock stubbed api for testing.
β”‚   └── mappings/ # contains all the stubbed mappings.
β”œβ”€β”€ checkstyle.xml
└── pom.xml # parent pom to build the modules.

Stub API

The project uses a stub api for testing the specifications. Bring up the container using docker-compose:

docker-compose -f build/stub.yml up -d

The stub api will then be accessible at http://127.0.0.1:8080

Running the Tests

The project can be built using any of the standard Maven life-cycles. Jar files can be found in the target directory of the module.

mvn clean # cleans your current environment.
mvn compile # compiles all modules.
mvn test # compiles all source, runs unit tests for all modules.
mvn verify # same as `mvn test` but will also run integration tests from quickstart module.

To test a specific module of the project:

cd requests # change into the module's directory
mvn clean test

The recommended option to build the complete project is using docker containers:

docker-compose -f build/local.yml up # brings up the stub and gauge containers to build the project.

πŸ“– Documentation

The docs are written using Hugo and deployed to Github pages from the docs directory. Run the following to bring up the docs server using docker:

docker-compose -f build/docs.yml up -d

The docs should then be available at http://127.0.0.1:1313.

πŸ‘‹ Issues & Contributions

Please open an issue here on GitHub if you have a problem, suggestion, or other comments.

Pull requests are welcome and encouraged! Any contributions should include new or updated unit/integration tests as necessary to maintain thorough test coverage.

Read CONTRIBUTING.md for contribution guidelines.

🏒 Code of Conduct

This project follows the Contributor Covenant Code of Conduct.

πŸ“œ License

This work is licensed under a MIT License.

About

:warning: work-in-progress

License:MIT License


Languages

Language:Java 77.6%Language:Shell 17.7%Language:Dockerfile 4.7%