Skip to content

Commit c9a11e9

Browse files
authored
Merge pull request #22 from Tools4ever-NIM/retryOverride
Retry override
2 parents 2bb9612 + f346a13 commit c9a11e9

File tree

1 file changed

+62
-1
lines changed

1 file changed

+62
-1
lines changed

Google.json

Lines changed: 62 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3554,8 +3554,69 @@
35543554
"call_handling": "google",
35553555
"test_connection": {
35563556
"url": "www.googleapis.com/admin/directory/v1/users?customer=my_customer&maxResults=1"
3557+
},
3558+
"retry": [
3559+
{
3560+
"type": "connectionError",
3561+
"retry": {
3562+
"type": "exponential",
3563+
"maxCount": 1,
3564+
"ceiling": 10,
3565+
"timeSlice": 5
3566+
}
3567+
}, {
3568+
"type": "statusCode",
3569+
"statusCode": 500,
3570+
"retry": {
3571+
"type": "exponential",
3572+
"maxCount": 1,
3573+
"ceiling": 10,
3574+
"timeSlice": 5
3575+
}
3576+
}, {
3577+
"type": "statusCode",
3578+
"statusCode": 503,
3579+
"retry": {
3580+
"type": "exponential",
3581+
"maxCount": 1,
3582+
"ceiling": 10,
3583+
"timeSlice": 5
3584+
}
3585+
}, {
3586+
"type": "statusCode",
3587+
"statusCode": 403,
3588+
"retry": {
3589+
"type": "exponential",
3590+
"maxCount": 10,
3591+
"ceiling": 60,
3592+
"timeSlice": 60000
3593+
},
3594+
"filterPath": "_reason",
3595+
"filterValues": ["quotaExceeded", "rateLimitExceeded"]
3596+
}, {
3597+
"type": "statusCode",
3598+
"statusCode": 429,
3599+
"retry": {
3600+
"type": "exponential",
3601+
"maxCount": 10,
3602+
"ceiling": 10,
3603+
"timeSlice": 5
3604+
}
3605+
}, {
3606+
"type": "statusCode",
3607+
"statusCode": 412,
3608+
"retry": {
3609+
"type": "exponential",
3610+
"maxCount": 10,
3611+
"ceiling": 10,
3612+
"timeSlice": 5
3613+
},
3614+
"filterPath": "_reason",
3615+
"filterValues": ["conditionNotMet"]
35573616
}
3617+
]
35583618
},
3619+
35593620
"authOptions": {
35603621
"scopes": [
35613622
"https://www.googleapis.com/auth/admin.directory.user"
@@ -3612,4 +3673,4 @@
36123673
}
36133674
]
36143675
}
3615-
}
3676+
}

0 commit comments

Comments
 (0)