441 lines
15 KiB
JSON
441 lines
15 KiB
JSON
{
|
|
"jobs": [
|
|
{
|
|
"JobId": 1,
|
|
"RequestingApplication": "Test.RequestingApplication.1",
|
|
"name": "JobName",
|
|
"description": "description",
|
|
"createdBy": "Joshua Annear",
|
|
"NextRunTime": null,
|
|
"SoftDeleteDate": null,
|
|
"JobStatus": 1,
|
|
"WorkItems": [
|
|
{
|
|
"WorkItemId": 1,
|
|
"JobId": 1,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 1,
|
|
"SerializedPayload": "{TEST1: null}",
|
|
"Url": "Test.Application.1.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
},
|
|
{
|
|
"WorkItemId": 2,
|
|
"JobId": 1,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 2,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.2.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
}
|
|
],
|
|
"JobTags": [
|
|
{
|
|
"JobTagId": 1,
|
|
"JobId": 1,
|
|
"TagId": 1
|
|
}
|
|
]
|
|
|
|
},
|
|
{
|
|
"JobId": 2,
|
|
"RequestingApplication": "Test.RequestingApplication.1",
|
|
"name": "JobName",
|
|
"description": "description",
|
|
"createdBy": "Joshua Annear",
|
|
"ReceivedTimestamp": "11/30/2020",
|
|
"NextRunTime": null,
|
|
"JobStatus": 1,
|
|
"WorkItems": [
|
|
{
|
|
"WorkItemId": 3,
|
|
"JobId": 2,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 1,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.1.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
},
|
|
{
|
|
"WorkItemId": 4,
|
|
"JobId": 2,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 2,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.2.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"JobId": 3,
|
|
"RequestingApplication": "Test.RequestingApplication.1",
|
|
"name": "JobName",
|
|
"description": "description",
|
|
"createdBy": "Joshua Annear",
|
|
"NextRunTime": "8/19/2025",
|
|
"SoftDeleteDate": null,
|
|
"JobStatus": 1,
|
|
"WorkItems": [
|
|
{
|
|
"WorkItemId": 5,
|
|
"JobId": 1,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 1,
|
|
"SerializedPayload": "{TEST1: null}",
|
|
"Url": "Test.Application.1.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
},
|
|
{
|
|
"WorkItemId": 6,
|
|
"JobId": 1,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 2,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.2.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
}
|
|
],
|
|
"JobTags": [
|
|
{
|
|
"JobTagId": 3,
|
|
"JobId": 3,
|
|
"TagId": 1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"JobId": 4,
|
|
"RequestingApplication": "Test.RequestingApplication.1",
|
|
"name": "JobName",
|
|
"description": "description",
|
|
"createdBy": "Joshua Annear",
|
|
"NextRunTime": "08/19/2025",
|
|
"SoftDeleteDate": null,
|
|
"JobStatus": 1,
|
|
"WorkItems": [
|
|
{
|
|
"WorkItemId": 7,
|
|
"JobId": 1,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 1,
|
|
"SerializedPayload": "{TEST1: null}",
|
|
"Url": "Test.Application.1.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
},
|
|
{
|
|
"WorkItemId": 8,
|
|
"JobId": 1,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 2,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.2.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
}
|
|
],
|
|
"JobTags": [
|
|
{
|
|
"JobTagId": 4,
|
|
"JobId": 4,
|
|
"TagId": 1
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"jobId": 1085,
|
|
"requestingApplication": "Dispatcher Manager",
|
|
"name": "test FAIL",
|
|
"description": "test",
|
|
"createdBy": "Joshua Annear",
|
|
"createdAt": "2021-06-09T08:33:21.393",
|
|
"modifiedBy": "Joshua Annear",
|
|
"modifiedDate": "2022-01-13T11:05:28.993",
|
|
"cronSchedule": null,
|
|
"nextRunTime": "2022-01-13T11:05:56.237",
|
|
"jobErrorRecipients": [
|
|
{
|
|
"jobErrorRecipientId": 4,
|
|
"jobId": 1085,
|
|
"recipient": "[email protected]"
|
|
}
|
|
],
|
|
"workItems": [
|
|
{
|
|
"workItemId": 1297,
|
|
"jobId": 1085,
|
|
"name": "test",
|
|
"description": "test",
|
|
"order": 0,
|
|
"serializedPayload": "{\"SourceDirectory\":\"test\",\"DirectoryName\":\"test\",\"ZipPath\":\"test\",\"ZipFileName\":\"test\",\"FileNameSetting\":{\"DateFormatSettings\":[],\"RegexSettings\":[],\"DaysFromToday\":0},\"DynamicDirectoryName\":\"test\",\"FormattedSourceDirectory\":\"test\\\\\",\"ZipDestination\":\"test\\\\test.zip\",\"ResponseItems\":[{\"ReturnQueueConsumerConfig\":{\"QueueName\":\"LCU.Queue.Dispatcher.Completion\",\"ExchangeName\":\"LCU.Dispatcher.Direct\",\"Subject\":\"LCU.Queue.Dispatcher.Completion\"},\"ReturnQueueConnectionConfig\":{\"Url\":\"localhost\",\"Port\":5672,\"Username\":\"guest\",\"Password\":\"guest\"},\"ResponsePayload\":\"{\\\"WorkItemId\\\":1297}\"}]}",
|
|
"url": "https://localhost:44326/api/FileOperations/ZipDirectory",
|
|
"httpMethod": 1,
|
|
"actionType": 6,
|
|
"workItemExecutions": [
|
|
{
|
|
"workItemExecutionId": 1545,
|
|
"workItemId": 1297,
|
|
"status": 1,
|
|
"startedTimestamp": "2021-06-09T08:34:02.6",
|
|
"completedTimestamp": "2022-01-13T11:05:56.207",
|
|
"systemMessage": null,
|
|
"attemptsToExecute": null
|
|
},
|
|
{
|
|
"workItemExecutionId": 1608,
|
|
"workItemId": 1297,
|
|
"status": 3,
|
|
"startedTimestamp": "2022-01-13T11:06:04.627",
|
|
"completedTimestamp": null,
|
|
"systemMessage": "",
|
|
"attemptsToExecute": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"jobId": 68,
|
|
"requestingApplication": "Dispatcher Manager",
|
|
"name": "Rename and Move File",
|
|
"description": "Rename and Move File",
|
|
"createdBy": "Joshua Annear",
|
|
"createdAt": "2021-02-15T14:47:05.93",
|
|
"modifiedBy": "Joshua Annear",
|
|
"modifiedDate": "2022-01-13T11:04:39.633",
|
|
"cronSchedule": "55 * * * *",
|
|
"nextRunTime": "2022-01-13T11:55:00",
|
|
"jobErrorRecipients": [],
|
|
"workItems": [
|
|
{
|
|
"workItemId": 278,
|
|
"jobId": 68,
|
|
"name": "RenameFile",
|
|
"description": null,
|
|
"order": 0,
|
|
"serializedPayload": "{\"SourcePath\":\"\\\\\\\\zeus\\\\DataIntegrationsQA\\\\Test_FileOperationsApi_Folder_1\",\"SourceFile\":\"Test_New.txt\",\"NewFilename\":\"Test2.txt\",\"SourceNameSetting\":{\"DateFormatSettings\":[],\"RegexSettings\":null,\"DaysFromToday\":0},\"NewNameSetting\":{\"DateFormatSettings\":[],\"RegexSettings\":null,\"DaysFromToday\":0},\"SucceedOnError\":true,\"FinalSourceFile\":\"Test_New.txt\",\"Source\":\"\\\\\\\\zeus\\\\DataIntegrationsQA\\\\Test_FileOperationsApi_Folder_1\\\\Test_New.txt\",\"FinalNewFileName\":\"Test2.txt\",\"NewFilenamePath\":\"\\\\\\\\zeus\\\\DataIntegrationsQA\\\\Test_FileOperationsApi_Folder_1\\\\Test2.txt\",\"ResponseItems\":[{\"ReturnQueueConsumerConfig\":{\"QueueName\":\"LCU.Queue.Dispatcher.Completion\",\"ExchangeName\":\"LCU.Dispatcher.Direct\",\"Subject\":\"LCU.Queue.Dispatcher.Completion\"},\"ReturnQueueConnectionConfig\":{\"Url\":\"localhost\",\"Port\":5672,\"Username\":\"guest\",\"Password\":\"guest\"},\"ResponsePayload\":\"{\\\"WorkItemId\\\":278}\"}]}",
|
|
"url": "https://localhost:44326/api/FileOperations/RenameFile",
|
|
"httpMethod": 1,
|
|
"actionType": 2,
|
|
"workItemExecutions": [
|
|
{
|
|
"workItemExecutionId": 1607,
|
|
"workItemId": 278,
|
|
"status": 3,
|
|
"startedTimestamp": "2021-11-23T13:17:03.343",
|
|
"completedTimestamp": "2021-11-23T13:21:43.68",
|
|
"systemMessage": "Request is invalid. Response: File does not exists at path \\\\zeus\\DataIntegrationsQA\\Test_FileOperationsApi_Folder_1\\Test_New.txt \n",
|
|
"attemptsToExecute": null
|
|
},
|
|
{
|
|
"workItemExecutionId": 1609,
|
|
"workItemId": 278,
|
|
"status": 3,
|
|
"startedTimestamp": "2022-01-13T13:42:06.3",
|
|
"completedTimestamp": null,
|
|
"systemMessage": "",
|
|
"attemptsToExecute": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"workItemId": 1307,
|
|
"jobId": 68,
|
|
"name": "test3",
|
|
"description": null,
|
|
"order": 1,
|
|
"serializedPayload": "{\"SourcePath\":\"\\\\\\\\zeus\\\\DataIntegrationsQA\\\\Test_FileOperationsApi_Folder_1\",\"SourceFile\":\"Test2.txt\",\"DestinationPath\":\"\\\\\\\\zeus\\\\DataIntegrationsQA\\\\Test_FileOperationsApi_Folder_2\",\"DestinationName\":\"test3.txt\",\"Overwrite\":false,\"SucceedOnError\":false,\"FileNameSetting\":{\"DateFormatSettings\":[],\"RegexSettings\":[],\"DaysFromToday\":0},\"FinalSourceFile\":\"Test2.txt\",\"FinalDestinationName\":\"test3.txt\",\"Source\":\"\\\\\\\\zeus\\\\DataIntegrationsQA\\\\Test_FileOperationsApi_Folder_1\\\\Test2.txt\",\"Destination\":\"\\\\\\\\zeus\\\\DataIntegrationsQA\\\\Test_FileOperationsApi_Folder_2\\\\test3.txt\",\"ResponseItems\":[{\"ReturnQueueConsumerConfig\":{\"QueueName\":\"LCU.Queue.Dispatcher.Completion\",\"ExchangeName\":\"LCU.Dispatcher.Direct\",\"Subject\":\"LCU.Queue.Dispatcher.Completion\"},\"ReturnQueueConnectionConfig\":{\"Url\":\"localhost\",\"Port\":5672,\"Username\":\"guest\",\"Password\":\"guest\"},\"ResponsePayload\":\"{\\\"WorkItemId\\\":1307}\"}]}",
|
|
"url": "https://localhost:44326/api/FileOperations/MoveFile",
|
|
"httpMethod": 1,
|
|
"actionType": 0,
|
|
"workItemExecutions": [
|
|
{
|
|
"workItemExecutionId": 1601,
|
|
"workItemId": 1307,
|
|
"status": 2,
|
|
"startedTimestamp": "2021-11-23T12:30:26.777",
|
|
"completedTimestamp": "2021-11-23T13:13:10.357",
|
|
"systemMessage": "",
|
|
"attemptsToExecute": null
|
|
},
|
|
{
|
|
"workItemExecutionId": 1604,
|
|
"workItemId": 1307,
|
|
"status": 2,
|
|
"startedTimestamp": "2021-11-23T13:14:20.7",
|
|
"completedTimestamp": "2021-11-23T13:14:37.663",
|
|
"systemMessage": null,
|
|
"attemptsToExecute": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"JobId": 11,
|
|
"RequestingApplication": "Test.RequestingApplication.1",
|
|
"name": "JobName",
|
|
"description": "test",
|
|
"createdBy": "Joshua Annear",
|
|
"NextRunTime": "1/1/2023",
|
|
"WorkItems": [
|
|
{
|
|
"WorkItemId": 111,
|
|
"JobId": 11,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 1,
|
|
"SerializedPayload": "{TEST1: null}",
|
|
"Url": "Test.Application.1.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
},
|
|
{
|
|
"WorkItemId": 211,
|
|
"JobId": 11,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 0,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.2.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
}
|
|
],
|
|
"JobTags": [
|
|
{
|
|
"JobTagId": 111,
|
|
"JobId": 11,
|
|
"TagId": 1
|
|
}
|
|
]
|
|
|
|
},
|
|
{
|
|
"JobId": 21,
|
|
"RequestingApplication": "Test.RequestingApplication.1",
|
|
"name": "JobName",
|
|
"description": "test",
|
|
"createdBy": "Joshua Annear",
|
|
"ReceivedTimestamp": "11/30/2020",
|
|
"NextRunTime": "1/1/2023",
|
|
"WorkItems": [
|
|
{
|
|
"WorkItemId": 321,
|
|
"JobId": 21,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 1,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.1.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
},
|
|
{
|
|
"WorkItemId": 421,
|
|
"JobId": 21,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 2,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.2.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"JobId": 23,
|
|
"RequestingApplication": "Test.RequestingApplication.1",
|
|
"name": "JobName",
|
|
"description": "test",
|
|
"createdBy": "Joshua Annear",
|
|
"ReceivedTimestamp": "11/30/2020",
|
|
"SoftDeleteDate": "2023-03-06",
|
|
"NextRunTime": null,
|
|
"WorkItems": [
|
|
{
|
|
"WorkItemId": 456,
|
|
"JobId": 21,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 1,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.1.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
},
|
|
{
|
|
"WorkItemId": 567,
|
|
"JobId": 21,
|
|
"name": "test",
|
|
"Status": "Pending",
|
|
"StartedTimestamp": "11/30/2020",
|
|
"CompletedTimestamp": null,
|
|
"Order": 2,
|
|
"SerializedPayload": "{TEST:null}",
|
|
"Url": "Test.Application.2.com/test",
|
|
"HttpMethod": "Post",
|
|
"AttemptsToExcute": 0,
|
|
"ActionType": "MoveFile"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|