AutoIDM / tap-clickup

tap-clickup , singer compliant tap for pulling clickup data
MIT License
12 stars 19 forks source link

Test data exists for each stream during integration test #114

Open visch opened 2 years ago

visch commented 2 years ago

https://github.com/AutoIDM/tap-clickup/pull/113 should not happen

Example Dataset

{
    "data": [
        {
            "id": "2859994400527229584",
            "task": {
                "id": "1d20c7t",
                "name": "Understanding ClickUp Hierarchy",
                "status": {
                    "status": "to do",
                    "color": "#d3d3d3",
                    "type": "open",
                    "orderindex": 0
                },
                "custom_type": null
            },
            "wid": "18011725",
            "user": {
                "id": 30025034,
                "username": "Derek Visch",
                "email": "dvisch@autoidm.com",
                "color": "#d60800",
                "initials": "DV",
                "profilePicture": null
            },
            "billable": false,
            "start": "1646265089931",
            "end": "1646265104129",
            "duration": "14198",
            "description": "",
            "tags": [],
            "source": "clickup",
            "at": "1646265104129",
            "task_location": {
                "list_id": "126232272",
                "folder_id": "72109417",
                "space_id": "30029929"
            },
            "task_url": "https://app.clickup.com/t/1d20c7t"
        },
        {
            "id": "2859994506945110673",
            "task": {
                "id": "1d20c7t",
                "name": "Understanding ClickUp Hierarchy",
                "status": {
                    "status": "to do",
                    "color": "#d3d3d3",
                    "type": "open",
                    "orderindex": 0
                },
                "custom_type": null
            },
            "wid": "18011725",
            "user": {
                "id": 30025034,
                "username": "Derek Visch",
                "email": "dvisch@autoidm.com",
                "color": "#d60800",
                "initials": "DV",
                "profilePicture": null
            },
            "billable": false,
            "start": "1646263896253",
            "end": "1646265096253",
            "duration": "1200000",
            "description": "",
            "tags": [],
            "source": "clickup",
            "at": "1646265096305",
            "task_location": {
                "list_id": "126232272",
                "folder_id": "72109417",
                "space_id": "30029929"
            },
            "task_url": "https://app.clickup.com/t/1d20c7t"
        }
    ]
}

Output should be 2 time entries