Webhookee is the webhook broker to forward the application's notification (for example: bitbucket , docker hub) to your IMs.
What's' in the README ?
- How to get the API Doc Online ?
- How to build the project ?
- How to test the project ?
- How to debug the project in IDE ?
- How to build the docker image ?
- How to start the project in the way of docker-compose ?
Generally, there are 3 ENV need to cover for the project:
- development
- test
- production
We use Spring Profile to differentiate the environment , more detail please refer to
Appendix - Spring Profile
Please follow the instructions to start the API doc server.
cd apidoc
gradle clean bootRun
Then open the browser and enter the following URL.
gradle clean build -x test
or
gradlew clean build -x test
remember pass
-x test
if you only want verify the source code compilation.
The webhookee broker depends on outside server before it gets started.
- Mongodb
- RabbitMQ
- ...
So please remember start the required db before test.
docker-compose -f docker-compose.dev.yml up
Finally start the test.
gradle clean test
or
gradlew clean test
The webhookee broker depends on outside server before it gets started.
- Mongodb
- RabbitMQ
- ...
So please remember start the required db before debug.
docker-compose -f docker-compose.dev.yml up
Add new Gradle configuration in IDE , and run it in debug mode.
The configuration should match the following CMDs.
cd broker
gradle clean bootRun -PjvmArgs="-Dspring.profiles.active=dev"
or
cd broker
../gradlew clean bootRun -PjvmArgs="-Dspring.profiles.active=dev"