FE allow User to Filter Scheduled Tasks through SQL queries endpoint
Description
PRDE - Story default text according to the team DoR (Definition of Ready)
03 - GOAL (DESCRIBE THE PROPOSED SOLUTION):
- Provide an endpoint to allow FE to query scheduled tasks.
06 - ACCEPTANCE CRITERIA:
- Endpoint on FE side allowing to filter Scheduled Tasks (
/admin/query/sqlfilter
). - Tenand ID should be provided within the query to be perfomed by (
/admin/query/sqlfilter
). - It only allows filter tasks by pre-defined fields:
- taskType: it receives a list of task types.
- Data Model: it receives one or more data model and allow to filter tasks related to this data model. It work for all tasks related to data models.
- Carol App: it allow to filter by a pre-defined list of Carol Apps. It allows more than one carol app on the same filter.
- Pipeline Name: it allow to filter SQL Processing tasks by pipeline name, using the operator LIKE.
Activity
Show:
This issue was automatically transitioned to REGRESSION, as its PR was just merged into qa branch in Github.
This issue was automatically transitioned to REGRESSION, as its PR was just merged into qa branch in Github.
This issue was automatically transitioned to REGRESSION, as its PR was just merged into qa branch in Github.
@MARCOS STUMPF ,
@Pedro Buzzi , @Ingo Wagner , @Carlos Affonso Wagner , @Douglas Coimbra Lopes , @Moises Jose Soares Filho , @Pedro Buzzi
This issue was planned to be delivered until 2024-03-25. You can check that by consulting the issue in the Due Date field.
Dates already planned for this issue: 2024-02-12, 2024-03-01, 2024-03-25
If External Issue Link field is filled, customer was also informed on JIRA TOTVS.
Github user felabs01 has just commited and issue was sent back to the REVIEW column.
This issue was automatically transitioned to TESTED & MERGED, as its PR was just merged into develop branch in Github. PR Approved by carlosafw,carlosafw,douglascoimbra.
Github user douglascoimbra has just approved a PR (added as Shard Assignee in this Jira issue).
refactor: https://totvslabs.atlassian.net/browse/CAPL-5315#icft=CAPL-5315 fe allow user to filter scheduled tasks and tasks through sql queries endpoint
Github user carlosafw has just approved a PR (added as Shard Assignee in this Jira issue).
refactor: https://totvslabs.atlassian.net/browse/CAPL-5315#icft=CAPL-5315 fe allow user to filter scheduled tasks and tasks through sql queries endpoint
This card has been validated by the QA team.
@Ingo Wagner I’ve followed your instructions to perform the tests. follow the results
We can see the schedules task from the SQL query endpoint using the FE /carol-ui-api branches described. However, from the pipeline menu, we cannot See/Pause any Schedule task using UI.
CAPL-5315 branch
We can see a console error when the FE tris to read the schedule task queries
Pipeline Page
Schedule task page
Check below the FE qa branch as a reference in another sandbox
@Douglas Coimbra Lopes
Did you follow these instructions?
@Ingo Wagner We are receiving console errors when we try to get the History/ Schedule tasks request
https://totvspeacemaker.qarol.ai/douglasdevtenant/carol-ui/tasks/activity
CURL:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This issue was automatically transitioned to QA REVIEW, as its PR was just approved in Github.
@MARCOS STUMPF ,
@Gabriel DAmore Marciano , @Ingo Wagner , @Pedro Buzzi
This issue was planned to be delivered until 2024-03-04. You can check that by consulting the issue in the Due Date field.
Dates already planned for this issue: 2024-02-12, 2024-03-04
If External Issue Link field is filled, customer was also informed on JIRA TOTVS.
Github user felabs01 has just commited and issue was sent back to the REVIEW column.
This issue was automatically transitioned to QA REVIEW, as its PR was just approved in Github.
This issue was automatically transitioned to REVIEW, as its PR (not DRAFT and not WIP) was just created in Github.
feat: https://totvslabs.atlassian.net/browse/CAPL-5315#icft=CAPL-5315 endpoints to get tasks and scheduled tasks.
This issue was automatically transitioned to IN PROGRESS, as its branch was just created in Github.
CAPL-5315-fe-allow-user-to-filter-scheduled-tasks-through-sql-queries-endpoint
@MARCOS STUMPF ,
@Jonathan Willian Moraes ,
@Geny Isam Hamud Herrera ,
This issue was planned to be delivered until 2024-02-12. You can check that by consulting the issue in the Due Date field.
Dates already planned for this issue: 2024-02-12
If External Issue Link field is filled, customer was also informed on JIRA TOTVS.