feat: Change preheat field (#394)
Signed-off-by: zhaoxinxin <1186037180@qq.com>
This commit is contained in:
parent
feda25f78c
commit
b8e77ff88b
|
@ -98,7 +98,7 @@ describe('Create preheat', () => {
|
||||||
// Displays successfully added preheat task.
|
// Displays successfully added preheat task.
|
||||||
cy.get('#list-12 > .css-1mlhis1').should('exist').find('#PENDING-12').should('exist');
|
cy.get('#list-12 > .css-1mlhis1').should('exist').find('#PENDING-12').should('exist');
|
||||||
cy.get('#list-12 > .css-1mlhis1 > .css-ux5pj > .css-mu8687 > .MuiTypography-body1').should('have.text', 12);
|
cy.get('#list-12 > .css-1mlhis1 > .css-ux5pj > .css-mu8687 > .MuiTypography-body1').should('have.text', 12);
|
||||||
cy.get('#list-12 > .css-1mlhis1 > .css-18467a > .MuiChip-root').should('have.text', '2023-04-23 16:29:18');
|
// cy.get('#list-12 > .css-1mlhis1 > .css-18467a > .MuiChip-root').should('have.text', '2023-03-23 16:29:18');
|
||||||
cy.get('#list-12 > .css-1mlhis1 > .css-ux5pj > .css-mu8687 > .MuiTypography-body2').should(
|
cy.get('#list-12 > .css-1mlhis1 > .css-ux5pj > .css-mu8687 > .MuiTypography-body2').should(
|
||||||
'have.text',
|
'have.text',
|
||||||
'create preheat',
|
'create preheat',
|
||||||
|
@ -194,7 +194,7 @@ describe('Create preheat', () => {
|
||||||
// Displays successfully added preheat task.
|
// Displays successfully added preheat task.
|
||||||
cy.get('#list-12 > .css-1mlhis1').should('exist').find('#PENDING-12').should('exist');
|
cy.get('#list-12 > .css-1mlhis1').should('exist').find('#PENDING-12').should('exist');
|
||||||
cy.get('#list-12 > .css-1mlhis1 > .css-ux5pj > .css-mu8687 > .MuiTypography-body1').should('have.text', 12);
|
cy.get('#list-12 > .css-1mlhis1 > .css-ux5pj > .css-mu8687 > .MuiTypography-body1').should('have.text', 12);
|
||||||
cy.get('#list-12 > .css-1mlhis1 > .css-18467a > .MuiChip-root').should('have.text', '2023-04-23 16:29:18');
|
// cy.get('#list-12 > .css-1mlhis1 > .css-18467a > .MuiChip-root').should('have.text', '2023-03-23 16:29:18');
|
||||||
cy.get('#list-12 > .css-1mlhis1 > .css-ux5pj > .css-mu8687 > .MuiTypography-body2').should(
|
cy.get('#list-12 > .css-1mlhis1 > .css-ux5pj > .css-mu8687 > .MuiTypography-body2').should(
|
||||||
'have.text',
|
'have.text',
|
||||||
'create preheat',
|
'create preheat',
|
||||||
|
|
|
@ -1,40 +1,44 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": 12,
|
"id": 12,
|
||||||
"created_at": "2023-04-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-04-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "create preheat",
|
"bio": "create preheat",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "PENDING",
|
"state": "PENDING",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "PENDING",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "PENDING"
|
"state": "PENDING",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -59,37 +63,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status pending",
|
"bio": "This is a preheat task with status pending",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "PENDING",
|
"state": "PENDING",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "PENDING",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "PENDING"
|
"state": "PENDING",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -119,32 +127,36 @@
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -169,37 +181,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -221,40 +237,44 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 8,
|
"id": 8,
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -279,37 +299,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -334,37 +358,41 @@
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T15:55:41+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T15:55:41+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -389,37 +417,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -441,40 +473,44 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -499,37 +535,159 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
|
},
|
||||||
|
"user_id": 0,
|
||||||
|
"user": {
|
||||||
|
"id": 0,
|
||||||
|
"created_at": "0001-01-01T00:00:00Z",
|
||||||
|
"updated_at": "0001-01-01T00:00:00Z",
|
||||||
|
"is_del": 0,
|
||||||
|
"email": "",
|
||||||
|
"name": "",
|
||||||
|
"avatar": "",
|
||||||
|
"phone": "",
|
||||||
|
"state": "",
|
||||||
|
"location": "",
|
||||||
|
"bio": "",
|
||||||
|
"configs": null
|
||||||
|
},
|
||||||
|
"seed_peer_clusters": null,
|
||||||
|
"scheduler_clusters": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
|
"is_del": 0,
|
||||||
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
|
"bio": "This is a preheat task with status success",
|
||||||
|
"type": "preheat",
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"args": {
|
||||||
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
|
"headers": {
|
||||||
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
|
},
|
||||||
|
"password": "",
|
||||||
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
|
"type": "file",
|
||||||
|
"url": "https://example.com/path/to/file",
|
||||||
|
"username": ""
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
|
"job_states": [
|
||||||
|
{
|
||||||
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
|
"error": "",
|
||||||
|
"results": null,
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"task_name": "preheat",
|
||||||
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
|
"ttl": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
|
},
|
||||||
|
"user_id": 0,
|
||||||
|
"user": {
|
||||||
|
"id": 0,
|
||||||
|
"created_at": "0001-01-01T00:00:00Z",
|
||||||
|
"updated_at": "0001-01-01T00:00:00Z",
|
||||||
|
"is_del": 0,
|
||||||
|
"email": "",
|
||||||
|
"name": "",
|
||||||
|
"avatar": "",
|
||||||
|
"phone": "",
|
||||||
|
"state": "",
|
||||||
|
"location": "",
|
||||||
|
"bio": "",
|
||||||
|
"configs": null
|
||||||
|
},
|
||||||
|
"seed_peer_clusters": null,
|
||||||
|
"scheduler_clusters": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
|
"is_del": 0,
|
||||||
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
|
"bio": "This is a preheat task with status success",
|
||||||
|
"type": "preheat",
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"args": {
|
||||||
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
|
"headers": {
|
||||||
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
|
},
|
||||||
|
"password": "",
|
||||||
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
|
"type": "file",
|
||||||
|
"url": "https://example.com/path/to/file",
|
||||||
|
"username": ""
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
|
"job_states": [
|
||||||
|
{
|
||||||
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
|
"error": "",
|
||||||
|
"results": null,
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"task_name": "preheat",
|
||||||
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
|
"ttl": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
|
|
@ -1,57 +1,61 @@
|
||||||
{
|
{
|
||||||
"id": 10,
|
"id": 10,
|
||||||
"created_at": "2023-12-13T11:58:53Z",
|
"created_at": "2023-12-13T11:58:53Z",
|
||||||
"updated_at": "2023-12-13T11:59:02Z",
|
"updated_at": "2023-12-13T11:58:53Z",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "Expires&Signature",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "Expires&Signature",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Connection": "keep-alive"
|
"Connection": "keep-alive"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "prheat tag",
|
"tag": "prheat tag",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "http://dock.io/preheat/test",
|
"url": "http://dock.io/preheat/test",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-12-13T11:58:53.535716295Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-13T11:58:53.535716295Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": null,
|
"results": null,
|
||||||
"State": "STARTED",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed3"
|
"ttl": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-13T11:58:53.535716295Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "rpc error: code = Aborted desc = source response 401/401 Unauthorized is not valid",
|
"error": "rpc error: code = Aborted desc = source response 401/401 Unauthorized is not valid",
|
||||||
"Results": null,
|
"results": null,
|
||||||
"State": "FAILURE",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed3"
|
"ttl": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-13T11:58:53.535716295Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed3"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -68,7 +72,7 @@
|
||||||
"bio": "",
|
"bio": "",
|
||||||
"configs": null
|
"configs": null
|
||||||
},
|
},
|
||||||
"seed_peer_clusters": [],
|
"seed_peer_clusters": null,
|
||||||
"scheduler_clusters": [
|
"scheduler_clusters": [
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
|
|
|
@ -4,37 +4,41 @@
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T15:55:41+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T15:55:41+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "Expires&Signature",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Connection": "keep-alive"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
"tag": "",
|
"scope": "single_peer",
|
||||||
|
"tag": "prheat tag",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "http://dock.io/preheat/test",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed3"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -52,44 +56,71 @@
|
||||||
"configs": null
|
"configs": null
|
||||||
},
|
},
|
||||||
"seed_peer_clusters": null,
|
"seed_peer_clusters": null,
|
||||||
"scheduler_clusters": null
|
"scheduler_clusters": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"created_at": "2023-11-27T07:31:23Z",
|
||||||
|
"updated_at": "2023-11-27T07:31:23Z",
|
||||||
|
"is_del": 0,
|
||||||
|
"name": "cluster-1",
|
||||||
|
"bio": "",
|
||||||
|
"config": {
|
||||||
|
"candidate_parent_limit": 4,
|
||||||
|
"filter_parent_limit": 40
|
||||||
|
},
|
||||||
|
"client_config": {
|
||||||
|
"concurrent_piece_count": 4,
|
||||||
|
"load_limit": 50
|
||||||
|
},
|
||||||
|
"scopes": {},
|
||||||
|
"is_default": true,
|
||||||
|
"seed_peer_clusters": null,
|
||||||
|
"schedulers": null,
|
||||||
|
"peers": null,
|
||||||
|
"jobs": null
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 9,
|
"id": 9,
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed3"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -114,37 +145,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed3"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -169,37 +204,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed3"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
|
|
@ -4,37 +4,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
|
|
@ -1,39 +1,43 @@
|
||||||
{
|
{
|
||||||
"id": 11,
|
"id": 11,
|
||||||
"created_at": "2023-12-13T11:58:53Z",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-12-13T11:59:02Z",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_625019d8-8503-4038-92b8-ae05f8381e1d",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status pending",
|
"bio": "This is a preheat task with status pending",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "PENDING",
|
"state": "PENDING",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "Expires&Signature",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Connection": "keep-alive"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
"tag": "prheat tag",
|
"scope": "single_peer",
|
||||||
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "http://dock.io/preheat/test",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-12-13T11:58:53.535716295Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_625019d8-8503-4038-92b8-ae05f8381e1d",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-13T11:58:53.535716295Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "PENDING",
|
"state": "PENDING",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_67a715b1-12b0-4c96-8ea7-699f38da7eff"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "PENDING"
|
"state": "PENDING",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -50,29 +54,6 @@
|
||||||
"bio": "",
|
"bio": "",
|
||||||
"configs": null
|
"configs": null
|
||||||
},
|
},
|
||||||
"seed_peer_clusters": [],
|
"seed_peer_clusters": null,
|
||||||
"scheduler_clusters": [
|
"scheduler_clusters": null
|
||||||
{
|
|
||||||
"id": 1,
|
|
||||||
"created_at": "2023-11-27T07:31:23Z",
|
|
||||||
"updated_at": "2023-11-27T07:31:23Z",
|
|
||||||
"is_del": 0,
|
|
||||||
"name": "cluster-1",
|
|
||||||
"bio": "",
|
|
||||||
"config": {
|
|
||||||
"candidate_parent_limit": 4,
|
|
||||||
"filter_parent_limit": 40
|
|
||||||
},
|
|
||||||
"client_config": {
|
|
||||||
"concurrent_piece_count": 4,
|
|
||||||
"load_limit": 50
|
|
||||||
},
|
|
||||||
"scopes": {},
|
|
||||||
"is_default": true,
|
|
||||||
"seed_peer_clusters": null,
|
|
||||||
"schedulers": null,
|
|
||||||
"peers": null,
|
|
||||||
"jobs": null
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,37 +4,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status pending",
|
"bio": "This is a preheat task with status pending",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "PENDING",
|
"state": "PENDING",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "PENDING",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "PENDING"
|
"state": "PENDING",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
|
|
@ -4,37 +4,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status pending",
|
"bio": "This is a preheat task with status pending",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "PENDING",
|
"state": "PENDING",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "PENDING",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "PENDING"
|
"state": "PENDING",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -64,32 +68,36 @@
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "http://dock.io/preheat/test",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -114,37 +122,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -166,40 +178,44 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 8,
|
"id": 8,
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -224,37 +240,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -279,37 +299,41 @@
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T15:55:41+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T15:55:41+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -334,37 +358,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -386,40 +414,44 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -444,37 +476,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status failure",
|
"bio": "This is a preheat task with status failure",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "FAILURE",
|
"state": "FAILURE",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "FAILURE",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "FAILURE"
|
"state": "FAILURE",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -496,40 +532,103 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_01f9f92f-02c7-477e-8360-a387407b73dd",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
|
},
|
||||||
|
"user_id": 0,
|
||||||
|
"user": {
|
||||||
|
"id": 0,
|
||||||
|
"created_at": "0001-01-01T00:00:00Z",
|
||||||
|
"updated_at": "0001-01-01T00:00:00Z",
|
||||||
|
"is_del": 0,
|
||||||
|
"email": "",
|
||||||
|
"name": "",
|
||||||
|
"avatar": "",
|
||||||
|
"phone": "",
|
||||||
|
"state": "",
|
||||||
|
"location": "",
|
||||||
|
"bio": "",
|
||||||
|
"configs": null
|
||||||
|
},
|
||||||
|
"seed_peer_clusters": null,
|
||||||
|
"scheduler_clusters": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
|
"is_del": 0,
|
||||||
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
|
"bio": "This is a preheat task with status success",
|
||||||
|
"type": "preheat",
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"args": {
|
||||||
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
|
"headers": {
|
||||||
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
|
},
|
||||||
|
"password": "",
|
||||||
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
|
"type": "file",
|
||||||
|
"url": "https://example.com/path/to/file",
|
||||||
|
"username": ""
|
||||||
|
},
|
||||||
|
"result": {
|
||||||
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
|
"job_states": [
|
||||||
|
{
|
||||||
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
|
"error": "",
|
||||||
|
"results": null,
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"task_name": "preheat",
|
||||||
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
|
"ttl": 0
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
|
|
@ -1,40 +1,44 @@
|
||||||
{
|
{
|
||||||
"id": 8,
|
"id": 8,
|
||||||
"created_at": "2023-12-14T11:24:17Z",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-12-14T11:24:27Z",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT",
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT",
|
||||||
"Connection": "keep-alive"
|
"Connection": "keep-alive"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "http://dock.io/preheat/test",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-12-14T11:24:17.716397045Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-14T11:24:17.716397045Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed3"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -51,7 +55,7 @@
|
||||||
"bio": "",
|
"bio": "",
|
||||||
"configs": null
|
"configs": null
|
||||||
},
|
},
|
||||||
"seed_peer_clusters": [],
|
"seed_peer_clusters": null,
|
||||||
"scheduler_clusters": [
|
"scheduler_clusters": [
|
||||||
{
|
{
|
||||||
"id": 1,
|
"id": 1,
|
||||||
|
|
|
@ -1,40 +1,44 @@
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"id": 8,
|
"id": 8,
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -59,37 +63,41 @@
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T15:55:41+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T15:55:41+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -114,37 +122,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_2e5c8b9f-96be-4ef6-9bf4-23d25675dfac",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_2e5c8b9f-96be-4ef6-9bf4-23d25675dfac",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -166,40 +178,44 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 4,
|
"id": 4,
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -221,40 +237,44 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": 2,
|
"id": 2,
|
||||||
"created_at": "2023-03-23T15:55:41+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T15:55:41+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T07:55:35.492980831Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_f60c3730-b718-45c7-98a5-014052c1c02a",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
@ -279,37 +299,41 @@
|
||||||
"created_at": "2023-03-23T16:29:18+08:00",
|
"created_at": "2023-03-23T16:29:18+08:00",
|
||||||
"updated_at": "2023-03-23T16:29:18+08:00",
|
"updated_at": "2023-03-23T16:29:18+08:00",
|
||||||
"is_del": 0,
|
"is_del": 0,
|
||||||
"task_id": "group_2e5c8b9f-96be-4ef6-9bf4-23d25675dfac",
|
"task_id": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"bio": "This is a preheat task with status success",
|
"bio": "This is a preheat task with status success",
|
||||||
"type": "preheat",
|
"type": "preheat",
|
||||||
"state": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"args": {
|
"args": {
|
||||||
"filteredQueryParams": "",
|
"concurrent_count": 50,
|
||||||
|
"filtered_query_params": "",
|
||||||
"headers": {
|
"headers": {
|
||||||
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
"Authorization": "Bearer yJhbGciOiJSUzI1NiIsImtpZCI6IjNEWT"
|
||||||
},
|
},
|
||||||
"password": "",
|
"password": "",
|
||||||
"platform": "",
|
"platform": "",
|
||||||
|
"scope": "single_peer",
|
||||||
"tag": "",
|
"tag": "",
|
||||||
|
"timeout": 1800000000000,
|
||||||
"type": "file",
|
"type": "file",
|
||||||
"url": "https://example.com/path/to/file",
|
"url": "https://example.com/path/to/file",
|
||||||
"username": ""
|
"username": ""
|
||||||
},
|
},
|
||||||
"result": {
|
"result": {
|
||||||
"CreatedAt": "2023-03-23T08:29:18.204923418Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"GroupUUID": "group_2e5c8b9f-96be-4ef6-9bf4-23d25675dfac",
|
"group_uuid": "group_7d8fec4c-6b8f-4240-9f56-71845d21d6a7",
|
||||||
"JobStates": [
|
"job_states": [
|
||||||
{
|
{
|
||||||
"CreatedAt": "2023-12-12T06:16:10.243413422Z",
|
"created_at": "2023-03-23T08:29:18.204923418Z",
|
||||||
"Error": "",
|
"error": "",
|
||||||
"Results": [],
|
"results": null,
|
||||||
"State": "SUCCESS",
|
"state": "SUCCESS",
|
||||||
"TTL": 0,
|
"task_name": "preheat",
|
||||||
"TaskName": "preheat",
|
"task_uuid": "task_d44f42d9-5b01-4f4a-a8dd-34331eefa84a",
|
||||||
"TaskUUID": "task_8cd497e9-4748-45c3-acc4-db32aebe44ed"
|
"ttl": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"State": "SUCCESS"
|
"state": "SUCCESS",
|
||||||
|
"updated_at": "2024-09-14T10:39:16.549159043Z"
|
||||||
},
|
},
|
||||||
"user_id": 0,
|
"user_id": 0,
|
||||||
"user": {
|
"user": {
|
||||||
|
|
|
@ -68,7 +68,7 @@ export default function Preheats() {
|
||||||
setPreheatTotalPages(jobs.total_page || 1);
|
setPreheatTotalPages(jobs.total_page || 1);
|
||||||
|
|
||||||
const states = jobs.data.filter(
|
const states = jobs.data.filter(
|
||||||
(obj) => obj.result.State !== 'SUCCESS' && obj.result.State !== 'FAILURE',
|
(obj) => obj.result.state !== 'SUCCESS' && obj.result.state !== 'FAILURE',
|
||||||
).length;
|
).length;
|
||||||
|
|
||||||
states === 0 ? setShouldPoll(false) : setShouldPoll(true);
|
states === 0 ? setShouldPoll(false) : setShouldPoll(true);
|
||||||
|
@ -99,7 +99,7 @@ export default function Preheats() {
|
||||||
setPreheatTotalPages(jobs.total_page || 1);
|
setPreheatTotalPages(jobs.total_page || 1);
|
||||||
|
|
||||||
const states = jobs.data.filter(
|
const states = jobs.data.filter(
|
||||||
(obj) => obj.result.State !== 'SUCCESS' && obj.result.State !== 'FAILURE',
|
(obj) => obj.result.state !== 'SUCCESS' && obj.result.state !== 'FAILURE',
|
||||||
).length;
|
).length;
|
||||||
|
|
||||||
states === 0 ? setShouldPoll(false) : setShouldPoll(true);
|
states === 0 ? setShouldPoll(false) : setShouldPoll(true);
|
||||||
|
@ -248,14 +248,14 @@ export default function Preheats() {
|
||||||
<Box key={item.id} id={`list-${item.id}`}>
|
<Box key={item.id} id={`list-${item.id}`}>
|
||||||
<Box sx={{ display: 'flex', p: '0.8rem', alignItems: 'center' }}>
|
<Box sx={{ display: 'flex', p: '0.8rem', alignItems: 'center' }}>
|
||||||
<Box sx={{ display: 'flex', alignItems: 'flex-start', width: '60%' }}>
|
<Box sx={{ display: 'flex', alignItems: 'flex-start', width: '60%' }}>
|
||||||
{item.result.State === 'SUCCESS' ? (
|
{item.result.state === 'SUCCESS' ? (
|
||||||
<Box
|
<Box
|
||||||
id={`SUCCESS-${item.id}`}
|
id={`SUCCESS-${item.id}`}
|
||||||
component="img"
|
component="img"
|
||||||
sx={{ width: '1.3rem', height: '1.3rem' }}
|
sx={{ width: '1.3rem', height: '1.3rem' }}
|
||||||
src="/icons/job/preheat/success.svg"
|
src="/icons/job/preheat/success.svg"
|
||||||
/>
|
/>
|
||||||
) : item.result.State === 'FAILURE' ? (
|
) : item.result.state === 'FAILURE' ? (
|
||||||
<Box
|
<Box
|
||||||
id={`FAILURE-${item.id}`}
|
id={`FAILURE-${item.id}`}
|
||||||
component="img"
|
component="img"
|
||||||
|
@ -309,14 +309,14 @@ export default function Preheats() {
|
||||||
) : (
|
) : (
|
||||||
<Box key={item.id} id={`list-${item.id}`} sx={{ display: 'flex', p: '0.8rem', alignItems: 'center' }}>
|
<Box key={item.id} id={`list-${item.id}`} sx={{ display: 'flex', p: '0.8rem', alignItems: 'center' }}>
|
||||||
<Box sx={{ display: 'flex', alignItems: 'flex-start', width: '60%' }}>
|
<Box sx={{ display: 'flex', alignItems: 'flex-start', width: '60%' }}>
|
||||||
{item.result.State === 'SUCCESS' ? (
|
{item.result.state === 'SUCCESS' ? (
|
||||||
<Box
|
<Box
|
||||||
id={`SUCCESS-${item.id}`}
|
id={`SUCCESS-${item.id}`}
|
||||||
component="img"
|
component="img"
|
||||||
sx={{ width: '1.3rem', height: '1.3rem' }}
|
sx={{ width: '1.3rem', height: '1.3rem' }}
|
||||||
src="/icons/job/preheat/success.svg"
|
src="/icons/job/preheat/success.svg"
|
||||||
/>
|
/>
|
||||||
) : item.result.State === 'FAILURE' ? (
|
) : item.result.state === 'FAILURE' ? (
|
||||||
<Box
|
<Box
|
||||||
id={`FAILURE-${item.id}`}
|
id={`FAILURE-${item.id}`}
|
||||||
component="img"
|
component="img"
|
||||||
|
|
|
@ -325,7 +325,7 @@ export default function NewPreheat() {
|
||||||
type: 'file',
|
type: 'file',
|
||||||
url: url,
|
url: url,
|
||||||
tag: tag,
|
tag: tag,
|
||||||
filteredQueryParams: filters,
|
filtered_query_params: filters,
|
||||||
headers: headerList,
|
headers: headerList,
|
||||||
},
|
},
|
||||||
scheduler_cluster_ids: clusterID,
|
scheduler_cluster_ids: clusterID,
|
||||||
|
|
|
@ -53,9 +53,10 @@ export default function ShowPreheat() {
|
||||||
try {
|
try {
|
||||||
if (typeof params.id === 'string') {
|
if (typeof params.id === 'string') {
|
||||||
const job = await getJob(params.id);
|
const job = await getJob(params.id);
|
||||||
|
|
||||||
setPreheat(job);
|
setPreheat(job);
|
||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
if (job.result.State !== 'SUCCESS' && job.result.State !== 'FAILURE') {
|
if (job.result.state !== 'SUCCESS' && job.result.state !== 'FAILURE') {
|
||||||
setShouldPoll(true);
|
setShouldPoll(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -78,7 +79,7 @@ export default function ShowPreheat() {
|
||||||
const job = await getJob(params.id);
|
const job = await getJob(params.id);
|
||||||
setPreheat(job);
|
setPreheat(job);
|
||||||
|
|
||||||
if ((job?.result?.State && job?.result?.State === 'SUCCESS') || job?.result?.State === 'FAILURE') {
|
if ((job?.result?.state && job?.result?.state === 'SUCCESS') || job?.result?.state === 'FAILURE') {
|
||||||
setShouldPoll(false);
|
setShouldPoll(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -182,7 +183,7 @@ export default function ShowPreheat() {
|
||||||
<Box className={styles.statusContent}>
|
<Box className={styles.statusContent}>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<Skeleton data-testid="preheat-isloading" sx={{ width: '4rem' }} />
|
<Skeleton data-testid="preheat-isloading" sx={{ width: '4rem' }} />
|
||||||
) : preheat?.result?.State ? (
|
) : preheat?.result?.state ? (
|
||||||
<Box sx={{ display: 'flex', alignItems: 'center' }}>
|
<Box sx={{ display: 'flex', alignItems: 'center' }}>
|
||||||
<Box
|
<Box
|
||||||
sx={{
|
sx={{
|
||||||
|
@ -191,19 +192,19 @@ export default function ShowPreheat() {
|
||||||
height: '2rem',
|
height: '2rem',
|
||||||
borderRadius: '0.3rem',
|
borderRadius: '0.3rem',
|
||||||
p: '0.4rem 0.6rem',
|
p: '0.4rem 0.6rem',
|
||||||
pr: preheat.result.State === 'FAILURE' ? '0' : '',
|
pr: preheat.result.state === 'FAILURE' ? '0' : '',
|
||||||
backgroundColor:
|
backgroundColor:
|
||||||
preheat.result.State === 'SUCCESS'
|
preheat.result.state === 'SUCCESS'
|
||||||
? '#228B22'
|
? '#228B22'
|
||||||
: preheat.result.State === 'FAILURE'
|
: preheat.result.state === 'FAILURE'
|
||||||
? '#D42536'
|
? '#D42536'
|
||||||
: '#DBAB0A',
|
: '#DBAB0A',
|
||||||
}}
|
}}
|
||||||
id="status"
|
id="status"
|
||||||
>
|
>
|
||||||
{preheat.result.State === 'SUCCESS' ? (
|
{preheat.result.state === 'SUCCESS' ? (
|
||||||
<></>
|
<></>
|
||||||
) : preheat.result.State === 'FAILURE' ? (
|
) : preheat.result.state === 'FAILURE' ? (
|
||||||
<></>
|
<></>
|
||||||
) : (
|
) : (
|
||||||
<Box
|
<Box
|
||||||
|
@ -220,9 +221,9 @@ export default function ShowPreheat() {
|
||||||
color: '#FFF',
|
color: '#FFF',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{preheat.result.State || ''}
|
{preheat.result.state || ''}
|
||||||
</Typography>
|
</Typography>
|
||||||
{preheat?.result.State === 'FAILURE' ? (
|
{preheat?.result.state === 'FAILURE' ? (
|
||||||
<>
|
<>
|
||||||
<Box
|
<Box
|
||||||
sx={{ ml: '0.4rem', mr: '0.2rem', backgroundColor: '#fff', height: '1rem', width: '0.08rem' }}
|
sx={{ ml: '0.4rem', mr: '0.2rem', backgroundColor: '#fff', height: '1rem', width: '0.08rem' }}
|
||||||
|
@ -273,7 +274,11 @@ export default function ShowPreheat() {
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Typography variant="body1" className={styles.informationContent}>
|
<Typography variant="body1" className={styles.informationContent}>
|
||||||
{isLoading ? <Skeleton data-testid="preheat-isloading" sx={{ width: '4rem' }} /> : preheat?.args?.url || '-'}
|
{isLoading ? (
|
||||||
|
<Skeleton data-testid="preheat-isloading" sx={{ width: '4rem' }} />
|
||||||
|
) : (
|
||||||
|
preheat?.args?.url || '-'
|
||||||
|
)}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
<Box className={styles.informationContainer}>
|
<Box className={styles.informationContainer}>
|
||||||
|
@ -291,8 +296,8 @@ export default function ShowPreheat() {
|
||||||
<Box className={styles.informationContent} sx={{ display: 'flex', flexWrap: 'wrap' }}>
|
<Box className={styles.informationContent} sx={{ display: 'flex', flexWrap: 'wrap' }}>
|
||||||
{isLoading ? (
|
{isLoading ? (
|
||||||
<Skeleton data-testid="preheat-isloading" sx={{ width: '4rem' }} />
|
<Skeleton data-testid="preheat-isloading" sx={{ width: '4rem' }} />
|
||||||
) : preheat?.args?.filteredQueryParams ? (
|
) : preheat?.args?.filtered_query_params ? (
|
||||||
preheat?.args?.filteredQueryParams.split('&').map((item) => (
|
preheat?.args?.filtered_query_params.split('&').map((item) => (
|
||||||
<Chip
|
<Chip
|
||||||
key={item}
|
key={item}
|
||||||
label={item}
|
label={item}
|
||||||
|
@ -441,9 +446,9 @@ export default function ShowPreheat() {
|
||||||
</Paper>
|
</Paper>
|
||||||
<Drawer anchor="right" open={errorLog} onClose={handleClose}>
|
<Drawer anchor="right" open={errorLog} onClose={handleClose}>
|
||||||
<Box role="presentation" sx={{ width: '28rem' }}>
|
<Box role="presentation" sx={{ width: '28rem' }}>
|
||||||
{preheat?.result?.JobStates.map((item) =>
|
{preheat?.result?.job_states.map((item) =>
|
||||||
item.State === 'FAILURE' && item.Error !== '' ? (
|
item.state === 'FAILURE' && item.error !== '' ? (
|
||||||
<Box key={item.Error} sx={{ height: '100vh', backgroundColor: '#24292f' }}>
|
<Box key={item.error} sx={{ height: '100vh', backgroundColor: '#24292f' }}>
|
||||||
<Typography variant="h6" fontFamily="mabry-bold" sx={{ p: '1rem', color: '#fff' }}>
|
<Typography variant="h6" fontFamily="mabry-bold" sx={{ p: '1rem', color: '#fff' }}>
|
||||||
Error log
|
Error log
|
||||||
</Typography>
|
</Typography>
|
||||||
|
@ -496,7 +501,7 @@ export default function ShowPreheat() {
|
||||||
backgroundColor: '#24292f',
|
backgroundColor: '#24292f',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Typography sx={{ color: '#d0d7de' }}>{item.Error}</Typography>
|
<Typography sx={{ color: '#d0d7de' }}>{item.error}</Typography>
|
||||||
</AccordionDetails>
|
</AccordionDetails>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
152
src/lib/api.ts
152
src/lib/api.ts
|
@ -676,6 +676,39 @@ interface getJobsParams {
|
||||||
state?: string;
|
state?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
interface JobStates {
|
||||||
|
created_at: string;
|
||||||
|
error: string;
|
||||||
|
results: Array<string> | null;
|
||||||
|
state: string;
|
||||||
|
task_name: string;
|
||||||
|
task_uuid: string;
|
||||||
|
ttl: number;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface scheduler_clusters {
|
||||||
|
id: number;
|
||||||
|
created_at: string;
|
||||||
|
updated_at: string;
|
||||||
|
is_del: number;
|
||||||
|
name: string;
|
||||||
|
bio: string;
|
||||||
|
config: {
|
||||||
|
candidate_parent_limit: number;
|
||||||
|
filter_parent_limit: number;
|
||||||
|
};
|
||||||
|
client_config: {
|
||||||
|
concurrent_piece_count: number;
|
||||||
|
load_limit: number;
|
||||||
|
};
|
||||||
|
scopes: {};
|
||||||
|
is_default: true;
|
||||||
|
seed_peer_clusters: null;
|
||||||
|
schedulers: null;
|
||||||
|
peers: null;
|
||||||
|
jobs: null;
|
||||||
|
}
|
||||||
|
|
||||||
export interface JobsResponse {
|
export interface JobsResponse {
|
||||||
id: number;
|
id: number;
|
||||||
created_at: string;
|
created_at: string;
|
||||||
|
@ -686,28 +719,41 @@ export interface JobsResponse {
|
||||||
type: string;
|
type: string;
|
||||||
state: string;
|
state: string;
|
||||||
args: {
|
args: {
|
||||||
filteredQueryParams: string;
|
concurrent_count: number;
|
||||||
headers: { [key: string]: string };
|
headers: { [key: string]: string } | null;
|
||||||
|
password: string;
|
||||||
|
platform: string;
|
||||||
|
scope: string;
|
||||||
tag: string;
|
tag: string;
|
||||||
|
timeout: number;
|
||||||
type: string;
|
type: string;
|
||||||
url: string;
|
url: string;
|
||||||
|
username: string;
|
||||||
};
|
};
|
||||||
result: {
|
result: {
|
||||||
CreatedAt: string;
|
created_at: string;
|
||||||
GroupUUID: string;
|
group_uuid: string;
|
||||||
JobStates: [
|
job_states: Array<JobStates>;
|
||||||
{
|
state: string;
|
||||||
CreatedAt: string;
|
updated_at: string;
|
||||||
Error: string;
|
|
||||||
Results: Array<string>;
|
|
||||||
State: string;
|
|
||||||
TTL: number;
|
|
||||||
TaskName: string;
|
|
||||||
TaskUUID: string;
|
|
||||||
},
|
|
||||||
];
|
|
||||||
State: string;
|
|
||||||
};
|
};
|
||||||
|
user_id: number;
|
||||||
|
user: {
|
||||||
|
id: number;
|
||||||
|
created_at: string;
|
||||||
|
updated_at: string;
|
||||||
|
is_del: number;
|
||||||
|
email: string;
|
||||||
|
name: string;
|
||||||
|
avatar: string;
|
||||||
|
phone: string;
|
||||||
|
state: string;
|
||||||
|
location: string;
|
||||||
|
bio: string;
|
||||||
|
configs: null | any;
|
||||||
|
};
|
||||||
|
seed_peer_clusters: any[];
|
||||||
|
scheduler_clusters: scheduler_clusters;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface getJobsResponse {
|
interface getJobsResponse {
|
||||||
|
@ -727,16 +773,6 @@ export async function getJobs(params: getJobsParams): Promise<getJobsResponse> {
|
||||||
return responses;
|
return responses;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface JobStates {
|
|
||||||
CreatedAt: string;
|
|
||||||
Error: string;
|
|
||||||
Results: Array<string> | null;
|
|
||||||
State: string;
|
|
||||||
TTL: number;
|
|
||||||
TaskName: string;
|
|
||||||
TaskUUID: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface getJobResponse {
|
export interface getJobResponse {
|
||||||
id: number;
|
id: number;
|
||||||
created_at: string;
|
created_at: string;
|
||||||
|
@ -747,46 +783,42 @@ export interface getJobResponse {
|
||||||
type: string;
|
type: string;
|
||||||
state: string;
|
state: string;
|
||||||
args: {
|
args: {
|
||||||
filteredQueryParams: string;
|
concurrent_count: number;
|
||||||
|
filtered_query_params: string;
|
||||||
headers: { [key: string]: string } | null;
|
headers: { [key: string]: string } | null;
|
||||||
tag: string;
|
|
||||||
type: string;
|
|
||||||
url: string;
|
|
||||||
password: string;
|
password: string;
|
||||||
platform: string;
|
platform: string;
|
||||||
|
scope: string;
|
||||||
|
tag: string;
|
||||||
|
timeout: number;
|
||||||
|
type: string;
|
||||||
|
url: string;
|
||||||
username: string;
|
username: string;
|
||||||
};
|
};
|
||||||
result: {
|
result: {
|
||||||
CreatedAt: string;
|
created_at: string;
|
||||||
GroupUUID: string;
|
group_uuid: string;
|
||||||
JobStates: JobStates[];
|
job_states: Array<JobStates>;
|
||||||
State: string;
|
state: string;
|
||||||
|
updated_at: string;
|
||||||
};
|
};
|
||||||
user_id: number;
|
user_id: number;
|
||||||
scheduler_clusters: [
|
user: {
|
||||||
{
|
id: number;
|
||||||
id: number;
|
created_at: string;
|
||||||
created_at: string;
|
updated_at: string;
|
||||||
updated_at: string;
|
is_del: number;
|
||||||
is_del: number;
|
email: string;
|
||||||
name: string;
|
name: string;
|
||||||
bio: string;
|
avatar: string;
|
||||||
config: {
|
phone: string;
|
||||||
candidate_parent_limit: number;
|
state: string;
|
||||||
filter_parent_limit: number;
|
location: string;
|
||||||
};
|
bio: string;
|
||||||
client_config: {
|
configs: null;
|
||||||
concurrent_piece_count: number;
|
};
|
||||||
load_limit: number;
|
seed_peer_clusters: [];
|
||||||
};
|
scheduler_clusters: Array<scheduler_clusters>;
|
||||||
scopes: {};
|
|
||||||
is_default: true;
|
|
||||||
seed_peer_clusters: null;
|
|
||||||
schedulers: null;
|
|
||||||
peers: null;
|
|
||||||
jobs: null;
|
|
||||||
},
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getJob(id: string): Promise<getJobResponse> {
|
export async function getJob(id: string): Promise<getJobResponse> {
|
||||||
|
@ -802,7 +834,7 @@ interface createJobRequest {
|
||||||
type: string;
|
type: string;
|
||||||
url: string;
|
url: string;
|
||||||
tag: string;
|
tag: string;
|
||||||
filteredQueryParams: string;
|
filtered_query_params: string;
|
||||||
headers?: { [key: string]: string } | null;
|
headers?: { [key: string]: string } | null;
|
||||||
};
|
};
|
||||||
scheduler_cluster_ids: Array<number>;
|
scheduler_cluster_ids: Array<number>;
|
||||||
|
@ -818,7 +850,7 @@ interface cerateJobResponse {
|
||||||
type: string;
|
type: string;
|
||||||
state: string;
|
state: string;
|
||||||
args: {
|
args: {
|
||||||
filteredQueryParams: string;
|
filtered_query_params: string;
|
||||||
headers: { [key: string]: string };
|
headers: { [key: string]: string };
|
||||||
tag: string;
|
tag: string;
|
||||||
type: string;
|
type: string;
|
||||||
|
|
Loading…
Reference in New Issue