Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

[Suggestion] Logging / Events for a better integration #31

Open
@xcesaralejandro

Description

@xcesaralejandro

To develop great things related to canvas data updating the data needs to be automated, of course I appreciate your script, however, it lacks events that can allow to control states within another application created in different languages.
There are always alternatives, but it would be interesting if the current script could keep a record and different update states in a database (Postgresql - Mysql) and then simply take care of keeping the script running at all times with something like "supervisor".

DB table:
ID - Table name - start_at - finished_at - status (finished - failed - in_progress)
1 // account_dim // 30-03-2021 15:00 // NULL // In progress

It could also be complemented with a general update table, which is updated only when all the tables were updated.

DB table:
ID - start_at - finished_at - status (finished - in_progress - failed)

Finally, complement with a parameter the maximum number of download retries per table in the command.

canvasDataCli sync -c path/to/config.js --max_attempts=3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions