Skip to content

Commit

Permalink
Merge pull request #20 from omkar-g/updateCronField
Browse files Browse the repository at this point in the history
Update cron field
  • Loading branch information
omkar-g authored Apr 21, 2021
2 parents eb98b6e + d3eadac commit 4ebe455
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 27 deletions.
15 changes: 6 additions & 9 deletions configurations/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
"type": "connectorType",
"displayName": "Tenable"
},
"frequency": {
"default": "15m",
"type": "dropdown",
"options": ["5m", "10m", "15m", "30m", "1h","2h","4h","6h","12h", "daily"]
},
"time": {
"default": "09:00",
"type": "time"
"schedule": {
"default": "*/15 * * * *",
"type": "cron",
"previous": ["frequency", "time"],
"options": ["*/5 * * * *", "*/10 * * * *", "*/15 * * * *", "*/30 * * * *", "0 */1 * * *","0 */2 * * *","0 */4 * * *", "0 */6 * * *", "0 */12 * * *", "mm HH * * *"]
},
"help": {
"default": "https://www.ibm.com/support/knowledgecenter/SSTDPP_1.6.0/platform/docs/scp-core/data-sources-car-tenable.html",
"default": "data-sources-car-tenable.html",
"type": "link"
},
"image": {
Expand Down
38 changes: 20 additions & 18 deletions configurations/lang_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,27 @@
"label": "Connector Description",
"description": "Assign a description to indicate the purpose of the connection"
},
"frequency": {
"label": "Frequency",
"optionLabels": {
"5m" : "5 minutes",
"10m" : "10 minutes",
"15m" : "15 minutes",
"30m" : "30 minutes",
"1h" : "1 hour",
"2h" : "2 hour",
"4h" : "4 hour",
"6h" : "6 hour",
"12h" : "12 hour",
"daily" : "Daily"
"schedule": {
"frequency": {
"label": "Frequency",
"description": "Select how frequently this connection will pull data from the asset",
"optionLabels": {
"5m" : "5 minutes",
"10m" : "10 minutes",
"15m" : "15 minutes",
"30m" : "30 minutes",
"1h" : "1 hour",
"2h" : "2 hours",
"4h" : "4 hours",
"6h" : "6 hours",
"12h" : "12 hours",
"daily" : "Daily"
}
},
"description": "Set how frequently the connectors will pull data from the data source"
},
"time": {
"label": "Time",
"description": "Set the time to run connector to pull data from data source"
"time": {
"label": "Time (UTC)",
"description": "Set the UTC time to run connector to pull data from data source"
}
},
"batch-size": {
"label": "Batch Size",
Expand Down

0 comments on commit 4ebe455

Please sign in to comment.