-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathconnector.json
More file actions
120 lines (120 loc) · 3.67 KB
/
connector.json
File metadata and controls
120 lines (120 loc) · 3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"meta": {
"label": "Search GitHub Pull Requests",
"description": "Allows to search Pull Requests",
"icon": "icon-github-sign"
},
"readable": true,
"writable": false,
"params": [
{
"name": "personal_access_token_credentials_preset",
"label": "Github Personal Access Token",
"description": "For more information on how to create your token: https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token",
"type": "PRESET",
"parameterSetId": "personal-access-token"
},
{
"name": "owner",
"label": "Git owner",
"description": "Owner to fetch Pull Requests from (as in the full name {owner}/{repo}).",
"type": "STRING"
},
{
"name": "github_team_handles",
"type": "STRINGS",
"label": "Github team usernames",
"description": "Entered value can also be a single variable containing a list of user names (${var_name})",
"mandatory": true,
"canSelectForeign": false,
"markCreatedAsBuilt": false,
"allowDuplicates": true,
"getChoicesFromPython": false,
"triggerParameters": [],
"disableAutoReload": false,
"canCreateDataset": false
},
{
"name": "link_to_users",
"label": "Select the link to the users",
"type": "SELECT",
"selectChoices": [
{
"value": "open_by",
"label": "Open by"
},
{
"value": "reviewed_by",
"label": "Reviewed by"
},
{
"value": "all",
"label": "All"
}
],
"defaultValue": "open_by"
},
{
"name": "state",
"label": "State of fetched Pull Requests",
"type": "SELECT",
"selectChoices": [
{
"value": "open",
"label": "Open"
},
{
"value": "closed",
"label": "Closed"
},
{
"value": "all",
"label": "All"
}
],
"defaultValue": "open"
},
{
"name": "since_date",
"label": "Pull Requests created after",
"type": "STRING",
"defaultValue": "YYYY-MM-DD",
"description": "Keep Pull Requests created after the selected date (YYYY-MM-DD). You can also enter a variable such as ${var_name}."
},
{
"name": "closed_before_date",
"label": "Pull Requests closed before",
"type": "STRING",
"defaultValue": "",
"description": "Optional. When state is Closed, keep only Pull Requests closed before the selected date (YYYY-MM-DD). Leave empty to keep all closed Pull Requests regardless of closing date. You can also enter a variable such as ${var_name}.",
"visibilityCondition": "model.state == 'closed'"
},
{
"name": "time_consuming_operations",
"label": "Time consuming operations (Makes downloading much slower)",
"type": "SEPARATOR"
},
{
"name": "fetch_additional_costly_fields",
"label": "Fetch additional fields",
"description": "Add merged status, requested_reviewers and count of comments.",
"type": "BOOLEAN",
"defaultValue": false
},
{
"name": "enable_auto_retry",
"label": "Enable auto retry mechanism",
"description": "When enabled, will fetch again data after a failure due to hitting the rate limit.",
"type": "BOOLEAN",
"defaultValue": true
},
{
"name": "number_of_fetch_retry",
"label": "Number of retries:",
"description": "Allow to retry after hitting the rate limit. -1 for no retry limit, 0 to disable.",
"type": "INT",
"defaultValue": -1,
"visibilityCondition": "model.enable_auto_retry"
}
]
}