Stacker - is an application that helps users to create custom IT solutions based on dockerized open source apps and user's custom applications docker containers. Users can build their own project of applications, and deploy the final result to their favorite clouds using TryDirect API.
Application development will include:
- Web UI (Application Stack builder)
- Command line interface
- Back-end RESTful API, includes:
- Security module.
- User Authorization
- Restful API client Application Management
- Application Key Management
- Cloud Provider Key Management
- docker-compose.yml generator
- TryDirect API Client
- Rating module
- Security module.
Authentication through TryDirect OAuth /api/auth checks client's creds, api token, api secret /apiclient (Create/Manage user's api clients) example: BeerMaster (email, callback) /rating
Authentication made through TryDirect OAuth, here we have only client Database (Read only) Logging/Tracing (Files) / Quickwit for future /project (WebUI, as a result we have a JSON) /project/deploy -> sends deploy command to TryDirect Install service /project/deploy/status - get installation progress (rabbitmq client),
Find out how to get user's token for queue Limit Requests Frequency (Related to user's settings/role/group etc) Callback event, example: subscribe on get_report (internally from rabbitmq client),
main client (AllMasters) -> client (Beermaster)
sqlx migrate run
sqlx migrate revert
curl -vX POST 'http://localhost:8000/rating' -d '{"obj_id": 1, "category": "application", "comment":"some comment", "rate": 10}' --header 'Content-Type: application/json'
curl -X POST -H "Content-Type: application/json" -d @custom-stack-payload-2.json http://127.0.0.1:8000/project
curl -X POST http://localhost:8000/client --header 'Content-Type: application/json' -H "Authorization: Bearer $TD_BEARER"
test client deploy http://localhost:8000/test/deploy
Test casbin rule
cargo r --bin console --features=explain debug casbin --path /client --action POST --subject admin_petru