A Service to check the equity between directories in Staging and Production/Asia
| Functionality | Deployment | |
|---|---|---|
| Backend APIs | done | done |
| Frontend | WIP | pending |
POST /check
Lost of optimisations on space complexity.
Modeling, queries and connection to DB.
Test (unit test and to production).
Creating the request: POST /check
Processing: /check/list taskId: 89.
Logs
Job Finished: Files checked 1171
{
"Id": 89,
"Created": "2021-12-13T07:39:09.367Z",
"Completed": "2021-12-13T07:40:42.327Z",
"SourceDirectory": "/787043/30/storage/0/3ae2d6d2-57e7-4e57-a8ba-e3973d6c9204",
"TargetDirectory": "/542609/roulette/live/30/0/v0",
"Status": 200,
"Result": "{\"countFiles\":1171,\"ok\":1171,\"different\":0,\"notFound\":0,\"error\":0}"
}Status
100: Processing.
200: All files in staging are equal to the ones in production.
404: There is at least one file that was not found in production.
500: There was an error performing this tasks.
300: There were multiple errors: Some not found, some errored.
409: There were at least one file different.
Database
ComparisonTasks
ComparisonTasksFiles
Database
Ex. Tasks status (Master)
Ex. Tasks status (Detail)
Concept.
Comparison view
A Service to check the equity between directories in Staging and Production