Service-Hub
Service-Hub copied to clipboard
ServiceHub is a Self-service Portal, for creation and day 2 operations, leverages existing automation processes. SerivceHub is built for Platform Engineers.
task-executor-1 | File "/home/app/hub/services/procrastinate/tasks/application/health_check.py", line 27, in check_applications_health task-executor-1 | condition = await application_manager.get_application_health_condition(application) task-executor-1 | File "/home/app/hub/managers/applications.py", line 334, in get_application_health_condition task-executor-1 | problem_components[component] = component_health_status['details'] task-executor-1 | TypeError:...
``` task-executor-1 | Traceback (most recent call last): task-executor-1 | File "/home/app/hub/services/procrastinate/tasks/application/health_check.py", line 27, in check_applications_health task-executor-1 | condition = await application_manager.get_application_health_condition(application) task-executor-1 | File "/home/app/hub/managers/applications.py", line 294, in get_application_health_condition...
The health check and status should be refactored as per the discussion [here](https://github.com/JovianX/Service-Hub/pull/283#discussion_r1530769154).
if an application is deleted all of it's procrastinated tasks should be deleted as well as they become irrelevant when the application is deleted.
We have two setting for Procrastination tasks: `queueing_lock` - this blocks spam of tasks in queue. It allows only one task with status `todo`. This means that in DB at...
BE changes: 1. Application TTL in minutes in application installation endpoint(`POST /api/v1/application/install`). 2. Application TTL in minutes in separate endpoint to set application TTL(`POST /api/v1/application/{application_id}/ttl`).
Jinja
Consider replacement of current template engine(Pystache/Chevron) by Jinja. Requirements: - [x] `{{` `}}` - template variable markers. - [x] Getting list item by numeric index(need for case with IP in...