Husky is handling everything related to notifications & news (informing the user about anything, via direct notifications, via news, via pings, etc.)
These are the crucial/critical operations you will need when developing Husky
:
- If you need to generate a new Authorization Token & UserID for testing locally:
- run
make print-token-XXX
, whereXXX
is the role you want for the user.
- run
- If you need to seed your local database, or even a remote one:
- run
make start-seeding
- it requires an .env entry:
MASTER_DB_INSTANCE_ADDRESS=admin:pass@127.0.0.1:3301
- run
make run-husky
- This runs the actual read service.
- It will feed off of the properties in
./application.yaml
- By default, https://localhost:4443/notifications/r runs the Open API (Swagger) entrypoint.
make run-husky-pack
- This runs the actual write service.
- It will feed off of the properties in
./application.yaml
- By default, https://localhost:5443/notifications/w runs the Open API (Swagger) entrypoint.
make start-test-environment
- This bootstraps a local test environment with Husky's dependencies using your
docker
anddocker-compose
daemons. - It is a blocking operation, SIGTERM or SIGINT will kill it.
- It will feed off of the properties in
./application.yaml
- MessageBroker GUIs
- DB GUIs
- https://github.com/tarantool/awesome-tarantool#gui-clients
- (CLI)
docker exec -t -i mytarantool console
wheremytarantool
is the container name
- This bootstraps a local test environment with Husky's dependencies using your
make all
- This runs the CI pipeline, locally -- the same pipeline that PR checks run.
- Run it before you commit to save time & not wait for PR check to fail remotely.
make local
- This runs the CI pipeline, in a descriptive/debug mode. Run it before you run the "real" one.
make lint
- This runs the linters. It is a part of the other pipelines, so you can run this separately to fix lint issues.
make test
- This runs all tests.
make benchmark
- This runs all benchmarks.