strongdm 14.17.0 → 14.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.git/ORIG_HEAD +1 -1
- data/.git/index +0 -0
- data/.git/logs/HEAD +3 -3
- data/.git/logs/refs/heads/master +2 -2
- data/.git/logs/refs/remotes/origin/HEAD +1 -1
- data/.git/objects/pack/{pack-24c4cf0c75507a393cb1fe13b2f8e821195f436b.idx → pack-e79838b039f8257b6befd96e2532f43ee2ac3191.idx} +0 -0
- data/.git/objects/pack/{pack-24c4cf0c75507a393cb1fe13b2f8e821195f436b.pack → pack-e79838b039f8257b6befd96e2532f43ee2ac3191.pack} +0 -0
- data/.git/packed-refs +4 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +2 -0
- data/lib/grpc/organization_history_pb.rb +25 -0
- data/lib/grpc/plumbing.rb +6 -0
- data/lib/grpc/queries_pb.rb +1 -0
- data/lib/grpc/spec_pb.rb +6 -0
- data/lib/models/porcelain.rb +13 -0
- data/lib/strongdm.rb +52 -28
- data/lib/svc.rb +386 -385
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
data/lib/svc.rb
CHANGED
@@ -20,6 +20,7 @@ lib_dir = File.join(this_dir, "grpc")
|
|
20
20
|
$LOAD_PATH.unshift(lib_dir) unless $LOAD_PATH.include?(lib_dir)
|
21
21
|
require "grpc"
|
22
22
|
require "enumerator"
|
23
|
+
require "time"
|
23
24
|
Dir[File.join(__dir__, "grpc", "*.rb")].each { |file| require file }
|
24
25
|
Dir[File.join(__dir__, "models", "*.rb")].each { |file| require file }
|
25
26
|
|
@@ -47,7 +48,7 @@ module SDM #:nodoc:
|
|
47
48
|
)
|
48
49
|
req = V1::AccessRequestListRequest.new()
|
49
50
|
req.meta = V1::ListRequestMetadata.new()
|
50
|
-
if @parent.page_limit
|
51
|
+
if not @parent.page_limit.nil?
|
51
52
|
req.meta.limit = @parent.page_limit
|
52
53
|
end
|
53
54
|
if not @parent.snapshot_time.nil?
|
@@ -61,8 +62,8 @@ module SDM #:nodoc:
|
|
61
62
|
begin
|
62
63
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccessRequests.List", req), deadline: deadline)
|
63
64
|
rescue => exception
|
64
|
-
if (@parent.shouldRetry(tries, exception))
|
65
|
-
tries +
|
65
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
66
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
66
67
|
next
|
67
68
|
end
|
68
69
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -125,7 +126,7 @@ module SDM #:nodoc:
|
|
125
126
|
)
|
126
127
|
req = V1::AccessRequestEventHistoryListRequest.new()
|
127
128
|
req.meta = V1::ListRequestMetadata.new()
|
128
|
-
if @parent.page_limit
|
129
|
+
if not @parent.page_limit.nil?
|
129
130
|
req.meta.limit = @parent.page_limit
|
130
131
|
end
|
131
132
|
if not @parent.snapshot_time.nil?
|
@@ -139,8 +140,8 @@ module SDM #:nodoc:
|
|
139
140
|
begin
|
140
141
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccessRequestEventsHistory.List", req), deadline: deadline)
|
141
142
|
rescue => exception
|
142
|
-
if (@parent.shouldRetry(tries, exception))
|
143
|
-
tries +
|
143
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
144
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
144
145
|
next
|
145
146
|
end
|
146
147
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -180,7 +181,7 @@ module SDM #:nodoc:
|
|
180
181
|
)
|
181
182
|
req = V1::AccessRequestHistoryListRequest.new()
|
182
183
|
req.meta = V1::ListRequestMetadata.new()
|
183
|
-
if @parent.page_limit
|
184
|
+
if not @parent.page_limit.nil?
|
184
185
|
req.meta.limit = @parent.page_limit
|
185
186
|
end
|
186
187
|
if not @parent.snapshot_time.nil?
|
@@ -194,8 +195,8 @@ module SDM #:nodoc:
|
|
194
195
|
begin
|
195
196
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccessRequestsHistory.List", req), deadline: deadline)
|
196
197
|
rescue => exception
|
197
|
-
if (@parent.shouldRetry(tries, exception))
|
198
|
-
tries +
|
198
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
199
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
199
200
|
next
|
200
201
|
end
|
201
202
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -241,8 +242,8 @@ module SDM #:nodoc:
|
|
241
242
|
begin
|
242
243
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("AccountAttachments.Create", req), deadline: deadline)
|
243
244
|
rescue => exception
|
244
|
-
if (@parent.shouldRetry(tries, exception))
|
245
|
-
tries +
|
245
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
246
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
246
247
|
next
|
247
248
|
end
|
248
249
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -275,8 +276,8 @@ module SDM #:nodoc:
|
|
275
276
|
begin
|
276
277
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("AccountAttachments.Get", req), deadline: deadline)
|
277
278
|
rescue => exception
|
278
|
-
if (@parent.shouldRetry(tries, exception))
|
279
|
-
tries +
|
279
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
280
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
280
281
|
next
|
281
282
|
end
|
282
283
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -305,8 +306,8 @@ module SDM #:nodoc:
|
|
305
306
|
begin
|
306
307
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("AccountAttachments.Delete", req), deadline: deadline)
|
307
308
|
rescue => exception
|
308
|
-
if (@parent.shouldRetry(tries, exception))
|
309
|
-
tries +
|
309
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
310
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
310
311
|
next
|
311
312
|
end
|
312
313
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -328,7 +329,7 @@ module SDM #:nodoc:
|
|
328
329
|
)
|
329
330
|
req = V1::AccountAttachmentListRequest.new()
|
330
331
|
req.meta = V1::ListRequestMetadata.new()
|
331
|
-
if @parent.page_limit
|
332
|
+
if not @parent.page_limit.nil?
|
332
333
|
req.meta.limit = @parent.page_limit
|
333
334
|
end
|
334
335
|
if not @parent.snapshot_time.nil?
|
@@ -342,8 +343,8 @@ module SDM #:nodoc:
|
|
342
343
|
begin
|
343
344
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccountAttachments.List", req), deadline: deadline)
|
344
345
|
rescue => exception
|
345
|
-
if (@parent.shouldRetry(tries, exception))
|
346
|
-
tries +
|
346
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
347
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
347
348
|
next
|
348
349
|
end
|
349
350
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -417,7 +418,7 @@ module SDM #:nodoc:
|
|
417
418
|
)
|
418
419
|
req = V1::AccountAttachmentHistoryListRequest.new()
|
419
420
|
req.meta = V1::ListRequestMetadata.new()
|
420
|
-
if @parent.page_limit
|
421
|
+
if not @parent.page_limit.nil?
|
421
422
|
req.meta.limit = @parent.page_limit
|
422
423
|
end
|
423
424
|
if not @parent.snapshot_time.nil?
|
@@ -431,8 +432,8 @@ module SDM #:nodoc:
|
|
431
432
|
begin
|
432
433
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccountAttachmentsHistory.List", req), deadline: deadline)
|
433
434
|
rescue => exception
|
434
|
-
if (@parent.shouldRetry(tries, exception))
|
435
|
-
tries +
|
435
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
436
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
436
437
|
next
|
437
438
|
end
|
438
439
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -478,8 +479,8 @@ module SDM #:nodoc:
|
|
478
479
|
begin
|
479
480
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("AccountGrants.Create", req), deadline: deadline)
|
480
481
|
rescue => exception
|
481
|
-
if (@parent.shouldRetry(tries, exception))
|
482
|
-
tries +
|
482
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
483
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
483
484
|
next
|
484
485
|
end
|
485
486
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -512,8 +513,8 @@ module SDM #:nodoc:
|
|
512
513
|
begin
|
513
514
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("AccountGrants.Get", req), deadline: deadline)
|
514
515
|
rescue => exception
|
515
|
-
if (@parent.shouldRetry(tries, exception))
|
516
|
-
tries +
|
516
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
517
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
517
518
|
next
|
518
519
|
end
|
519
520
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -542,8 +543,8 @@ module SDM #:nodoc:
|
|
542
543
|
begin
|
543
544
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("AccountGrants.Delete", req), deadline: deadline)
|
544
545
|
rescue => exception
|
545
|
-
if (@parent.shouldRetry(tries, exception))
|
546
|
-
tries +
|
546
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
547
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
547
548
|
next
|
548
549
|
end
|
549
550
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -565,7 +566,7 @@ module SDM #:nodoc:
|
|
565
566
|
)
|
566
567
|
req = V1::AccountGrantListRequest.new()
|
567
568
|
req.meta = V1::ListRequestMetadata.new()
|
568
|
-
if @parent.page_limit
|
569
|
+
if not @parent.page_limit.nil?
|
569
570
|
req.meta.limit = @parent.page_limit
|
570
571
|
end
|
571
572
|
if not @parent.snapshot_time.nil?
|
@@ -579,8 +580,8 @@ module SDM #:nodoc:
|
|
579
580
|
begin
|
580
581
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccountGrants.List", req), deadline: deadline)
|
581
582
|
rescue => exception
|
582
|
-
if (@parent.shouldRetry(tries, exception))
|
583
|
-
tries +
|
583
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
584
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
584
585
|
next
|
585
586
|
end
|
586
587
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -654,7 +655,7 @@ module SDM #:nodoc:
|
|
654
655
|
)
|
655
656
|
req = V1::AccountGrantHistoryListRequest.new()
|
656
657
|
req.meta = V1::ListRequestMetadata.new()
|
657
|
-
if @parent.page_limit
|
658
|
+
if not @parent.page_limit.nil?
|
658
659
|
req.meta.limit = @parent.page_limit
|
659
660
|
end
|
660
661
|
if not @parent.snapshot_time.nil?
|
@@ -668,8 +669,8 @@ module SDM #:nodoc:
|
|
668
669
|
begin
|
669
670
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccountGrantsHistory.List", req), deadline: deadline)
|
670
671
|
rescue => exception
|
671
|
-
if (@parent.shouldRetry(tries, exception))
|
672
|
-
tries +
|
672
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
673
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
673
674
|
next
|
674
675
|
end
|
675
676
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -710,7 +711,7 @@ module SDM #:nodoc:
|
|
710
711
|
)
|
711
712
|
req = V1::AccountPermissionListRequest.new()
|
712
713
|
req.meta = V1::ListRequestMetadata.new()
|
713
|
-
if @parent.page_limit
|
714
|
+
if not @parent.page_limit.nil?
|
714
715
|
req.meta.limit = @parent.page_limit
|
715
716
|
end
|
716
717
|
if not @parent.snapshot_time.nil?
|
@@ -724,8 +725,8 @@ module SDM #:nodoc:
|
|
724
725
|
begin
|
725
726
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccountPermissions.List", req), deadline: deadline)
|
726
727
|
rescue => exception
|
727
|
-
if (@parent.shouldRetry(tries, exception))
|
728
|
-
tries +
|
728
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
729
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
729
730
|
next
|
730
731
|
end
|
731
732
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -789,7 +790,7 @@ module SDM #:nodoc:
|
|
789
790
|
)
|
790
791
|
req = V1::AccountResourceListRequest.new()
|
791
792
|
req.meta = V1::ListRequestMetadata.new()
|
792
|
-
if @parent.page_limit
|
793
|
+
if not @parent.page_limit.nil?
|
793
794
|
req.meta.limit = @parent.page_limit
|
794
795
|
end
|
795
796
|
if not @parent.snapshot_time.nil?
|
@@ -803,8 +804,8 @@ module SDM #:nodoc:
|
|
803
804
|
begin
|
804
805
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccountResources.List", req), deadline: deadline)
|
805
806
|
rescue => exception
|
806
|
-
if (@parent.shouldRetry(tries, exception))
|
807
|
-
tries +
|
807
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
808
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
808
809
|
next
|
809
810
|
end
|
810
811
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -867,7 +868,7 @@ module SDM #:nodoc:
|
|
867
868
|
)
|
868
869
|
req = V1::AccountResourceHistoryListRequest.new()
|
869
870
|
req.meta = V1::ListRequestMetadata.new()
|
870
|
-
if @parent.page_limit
|
871
|
+
if not @parent.page_limit.nil?
|
871
872
|
req.meta.limit = @parent.page_limit
|
872
873
|
end
|
873
874
|
if not @parent.snapshot_time.nil?
|
@@ -881,8 +882,8 @@ module SDM #:nodoc:
|
|
881
882
|
begin
|
882
883
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccountResourcesHistory.List", req), deadline: deadline)
|
883
884
|
rescue => exception
|
884
|
-
if (@parent.shouldRetry(tries, exception))
|
885
|
-
tries +
|
885
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
886
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
886
887
|
next
|
887
888
|
end
|
888
889
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -934,8 +935,8 @@ module SDM #:nodoc:
|
|
934
935
|
begin
|
935
936
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("Accounts.Create", req), deadline: deadline)
|
936
937
|
rescue => exception
|
937
|
-
if (@parent.shouldRetry(tries, exception))
|
938
|
-
tries +
|
938
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
939
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
939
940
|
next
|
940
941
|
end
|
941
942
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -971,8 +972,8 @@ module SDM #:nodoc:
|
|
971
972
|
begin
|
972
973
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("Accounts.Get", req), deadline: deadline)
|
973
974
|
rescue => exception
|
974
|
-
if (@parent.shouldRetry(tries, exception))
|
975
|
-
tries +
|
975
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
976
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
976
977
|
next
|
977
978
|
end
|
978
979
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1001,8 +1002,8 @@ module SDM #:nodoc:
|
|
1001
1002
|
begin
|
1002
1003
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("Accounts.Update", req), deadline: deadline)
|
1003
1004
|
rescue => exception
|
1004
|
-
if (@parent.shouldRetry(tries, exception))
|
1005
|
-
tries +
|
1005
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1006
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1006
1007
|
next
|
1007
1008
|
end
|
1008
1009
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1031,8 +1032,8 @@ module SDM #:nodoc:
|
|
1031
1032
|
begin
|
1032
1033
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("Accounts.Delete", req), deadline: deadline)
|
1033
1034
|
rescue => exception
|
1034
|
-
if (@parent.shouldRetry(tries, exception))
|
1035
|
-
tries +
|
1035
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1036
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1036
1037
|
next
|
1037
1038
|
end
|
1038
1039
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1054,7 +1055,7 @@ module SDM #:nodoc:
|
|
1054
1055
|
)
|
1055
1056
|
req = V1::AccountListRequest.new()
|
1056
1057
|
req.meta = V1::ListRequestMetadata.new()
|
1057
|
-
if @parent.page_limit
|
1058
|
+
if not @parent.page_limit.nil?
|
1058
1059
|
req.meta.limit = @parent.page_limit
|
1059
1060
|
end
|
1060
1061
|
if not @parent.snapshot_time.nil?
|
@@ -1068,8 +1069,8 @@ module SDM #:nodoc:
|
|
1068
1069
|
begin
|
1069
1070
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Accounts.List", req), deadline: deadline)
|
1070
1071
|
rescue => exception
|
1071
|
-
if (@parent.shouldRetry(tries, exception))
|
1072
|
-
tries +
|
1072
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1073
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1073
1074
|
next
|
1074
1075
|
end
|
1075
1076
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1143,7 +1144,7 @@ module SDM #:nodoc:
|
|
1143
1144
|
)
|
1144
1145
|
req = V1::AccountHistoryListRequest.new()
|
1145
1146
|
req.meta = V1::ListRequestMetadata.new()
|
1146
|
-
if @parent.page_limit
|
1147
|
+
if not @parent.page_limit.nil?
|
1147
1148
|
req.meta.limit = @parent.page_limit
|
1148
1149
|
end
|
1149
1150
|
if not @parent.snapshot_time.nil?
|
@@ -1157,8 +1158,8 @@ module SDM #:nodoc:
|
|
1157
1158
|
begin
|
1158
1159
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("AccountsHistory.List", req), deadline: deadline)
|
1159
1160
|
rescue => exception
|
1160
|
-
if (@parent.shouldRetry(tries, exception))
|
1161
|
-
tries +
|
1161
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1162
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1162
1163
|
next
|
1163
1164
|
end
|
1164
1165
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1210,8 +1211,8 @@ module SDM #:nodoc:
|
|
1210
1211
|
begin
|
1211
1212
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("Activities.Get", req), deadline: deadline)
|
1212
1213
|
rescue => exception
|
1213
|
-
if (@parent.shouldRetry(tries, exception))
|
1214
|
-
tries +
|
1214
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1215
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1215
1216
|
next
|
1216
1217
|
end
|
1217
1218
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1237,7 +1238,7 @@ module SDM #:nodoc:
|
|
1237
1238
|
)
|
1238
1239
|
req = V1::ActivityListRequest.new()
|
1239
1240
|
req.meta = V1::ListRequestMetadata.new()
|
1240
|
-
if @parent.page_limit
|
1241
|
+
if not @parent.page_limit.nil?
|
1241
1242
|
req.meta.limit = @parent.page_limit
|
1242
1243
|
end
|
1243
1244
|
if not @parent.snapshot_time.nil?
|
@@ -1251,8 +1252,8 @@ module SDM #:nodoc:
|
|
1251
1252
|
begin
|
1252
1253
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Activities.List", req), deadline: deadline)
|
1253
1254
|
rescue => exception
|
1254
|
-
if (@parent.shouldRetry(tries, exception))
|
1255
|
-
tries +
|
1255
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1256
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1256
1257
|
next
|
1257
1258
|
end
|
1258
1259
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1298,8 +1299,8 @@ module SDM #:nodoc:
|
|
1298
1299
|
begin
|
1299
1300
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("ApprovalWorkflowApprovers.Create", req), deadline: deadline)
|
1300
1301
|
rescue => exception
|
1301
|
-
if (@parent.shouldRetry(tries, exception))
|
1302
|
-
tries +
|
1302
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1303
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1303
1304
|
next
|
1304
1305
|
end
|
1305
1306
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1331,8 +1332,8 @@ module SDM #:nodoc:
|
|
1331
1332
|
begin
|
1332
1333
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("ApprovalWorkflowApprovers.Get", req), deadline: deadline)
|
1333
1334
|
rescue => exception
|
1334
|
-
if (@parent.shouldRetry(tries, exception))
|
1335
|
-
tries +
|
1335
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1336
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1336
1337
|
next
|
1337
1338
|
end
|
1338
1339
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1361,8 +1362,8 @@ module SDM #:nodoc:
|
|
1361
1362
|
begin
|
1362
1363
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("ApprovalWorkflowApprovers.Delete", req), deadline: deadline)
|
1363
1364
|
rescue => exception
|
1364
|
-
if (@parent.shouldRetry(tries, exception))
|
1365
|
-
tries +
|
1365
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1366
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1366
1367
|
next
|
1367
1368
|
end
|
1368
1369
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1384,7 +1385,7 @@ module SDM #:nodoc:
|
|
1384
1385
|
)
|
1385
1386
|
req = V1::ApprovalWorkflowApproverListRequest.new()
|
1386
1387
|
req.meta = V1::ListRequestMetadata.new()
|
1387
|
-
if @parent.page_limit
|
1388
|
+
if not @parent.page_limit.nil?
|
1388
1389
|
req.meta.limit = @parent.page_limit
|
1389
1390
|
end
|
1390
1391
|
if not @parent.snapshot_time.nil?
|
@@ -1398,8 +1399,8 @@ module SDM #:nodoc:
|
|
1398
1399
|
begin
|
1399
1400
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ApprovalWorkflowApprovers.List", req), deadline: deadline)
|
1400
1401
|
rescue => exception
|
1401
|
-
if (@parent.shouldRetry(tries, exception))
|
1402
|
-
tries +
|
1402
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1403
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1403
1404
|
next
|
1404
1405
|
end
|
1405
1406
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1473,7 +1474,7 @@ module SDM #:nodoc:
|
|
1473
1474
|
)
|
1474
1475
|
req = V1::ApprovalWorkflowApproverHistoryListRequest.new()
|
1475
1476
|
req.meta = V1::ListRequestMetadata.new()
|
1476
|
-
if @parent.page_limit
|
1477
|
+
if not @parent.page_limit.nil?
|
1477
1478
|
req.meta.limit = @parent.page_limit
|
1478
1479
|
end
|
1479
1480
|
if not @parent.snapshot_time.nil?
|
@@ -1487,8 +1488,8 @@ module SDM #:nodoc:
|
|
1487
1488
|
begin
|
1488
1489
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ApprovalWorkflowApproversHistory.List", req), deadline: deadline)
|
1489
1490
|
rescue => exception
|
1490
|
-
if (@parent.shouldRetry(tries, exception))
|
1491
|
-
tries +
|
1491
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1492
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1492
1493
|
next
|
1493
1494
|
end
|
1494
1495
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1534,8 +1535,8 @@ module SDM #:nodoc:
|
|
1534
1535
|
begin
|
1535
1536
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("ApprovalWorkflowSteps.Create", req), deadline: deadline)
|
1536
1537
|
rescue => exception
|
1537
|
-
if (@parent.shouldRetry(tries, exception))
|
1538
|
-
tries +
|
1538
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1539
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1539
1540
|
next
|
1540
1541
|
end
|
1541
1542
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1567,8 +1568,8 @@ module SDM #:nodoc:
|
|
1567
1568
|
begin
|
1568
1569
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("ApprovalWorkflowSteps.Get", req), deadline: deadline)
|
1569
1570
|
rescue => exception
|
1570
|
-
if (@parent.shouldRetry(tries, exception))
|
1571
|
-
tries +
|
1571
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1572
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1572
1573
|
next
|
1573
1574
|
end
|
1574
1575
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1597,8 +1598,8 @@ module SDM #:nodoc:
|
|
1597
1598
|
begin
|
1598
1599
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("ApprovalWorkflowSteps.Delete", req), deadline: deadline)
|
1599
1600
|
rescue => exception
|
1600
|
-
if (@parent.shouldRetry(tries, exception))
|
1601
|
-
tries +
|
1601
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1602
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1602
1603
|
next
|
1603
1604
|
end
|
1604
1605
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1620,7 +1621,7 @@ module SDM #:nodoc:
|
|
1620
1621
|
)
|
1621
1622
|
req = V1::ApprovalWorkflowStepListRequest.new()
|
1622
1623
|
req.meta = V1::ListRequestMetadata.new()
|
1623
|
-
if @parent.page_limit
|
1624
|
+
if not @parent.page_limit.nil?
|
1624
1625
|
req.meta.limit = @parent.page_limit
|
1625
1626
|
end
|
1626
1627
|
if not @parent.snapshot_time.nil?
|
@@ -1634,8 +1635,8 @@ module SDM #:nodoc:
|
|
1634
1635
|
begin
|
1635
1636
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ApprovalWorkflowSteps.List", req), deadline: deadline)
|
1636
1637
|
rescue => exception
|
1637
|
-
if (@parent.shouldRetry(tries, exception))
|
1638
|
-
tries +
|
1638
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1639
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1639
1640
|
next
|
1640
1641
|
end
|
1641
1642
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1709,7 +1710,7 @@ module SDM #:nodoc:
|
|
1709
1710
|
)
|
1710
1711
|
req = V1::ApprovalWorkflowStepHistoryListRequest.new()
|
1711
1712
|
req.meta = V1::ListRequestMetadata.new()
|
1712
|
-
if @parent.page_limit
|
1713
|
+
if not @parent.page_limit.nil?
|
1713
1714
|
req.meta.limit = @parent.page_limit
|
1714
1715
|
end
|
1715
1716
|
if not @parent.snapshot_time.nil?
|
@@ -1723,8 +1724,8 @@ module SDM #:nodoc:
|
|
1723
1724
|
begin
|
1724
1725
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ApprovalWorkflowStepsHistory.List", req), deadline: deadline)
|
1725
1726
|
rescue => exception
|
1726
|
-
if (@parent.shouldRetry(tries, exception))
|
1727
|
-
tries +
|
1727
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1728
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1728
1729
|
next
|
1729
1730
|
end
|
1730
1731
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1771,8 +1772,8 @@ module SDM #:nodoc:
|
|
1771
1772
|
begin
|
1772
1773
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("ApprovalWorkflows.Create", req), deadline: deadline)
|
1773
1774
|
rescue => exception
|
1774
|
-
if (@parent.shouldRetry(tries, exception))
|
1775
|
-
tries +
|
1775
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1776
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1776
1777
|
next
|
1777
1778
|
end
|
1778
1779
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1804,8 +1805,8 @@ module SDM #:nodoc:
|
|
1804
1805
|
begin
|
1805
1806
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("ApprovalWorkflows.Get", req), deadline: deadline)
|
1806
1807
|
rescue => exception
|
1807
|
-
if (@parent.shouldRetry(tries, exception))
|
1808
|
-
tries +
|
1808
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1809
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1809
1810
|
next
|
1810
1811
|
end
|
1811
1812
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1834,8 +1835,8 @@ module SDM #:nodoc:
|
|
1834
1835
|
begin
|
1835
1836
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("ApprovalWorkflows.Delete", req), deadline: deadline)
|
1836
1837
|
rescue => exception
|
1837
|
-
if (@parent.shouldRetry(tries, exception))
|
1838
|
-
tries +
|
1838
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1839
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1839
1840
|
next
|
1840
1841
|
end
|
1841
1842
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1863,8 +1864,8 @@ module SDM #:nodoc:
|
|
1863
1864
|
begin
|
1864
1865
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("ApprovalWorkflows.Update", req), deadline: deadline)
|
1865
1866
|
rescue => exception
|
1866
|
-
if (@parent.shouldRetry(tries, exception))
|
1867
|
-
tries +
|
1867
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1868
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1868
1869
|
next
|
1869
1870
|
end
|
1870
1871
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1886,7 +1887,7 @@ module SDM #:nodoc:
|
|
1886
1887
|
)
|
1887
1888
|
req = V1::ApprovalWorkflowListRequest.new()
|
1888
1889
|
req.meta = V1::ListRequestMetadata.new()
|
1889
|
-
if @parent.page_limit
|
1890
|
+
if not @parent.page_limit.nil?
|
1890
1891
|
req.meta.limit = @parent.page_limit
|
1891
1892
|
end
|
1892
1893
|
if not @parent.snapshot_time.nil?
|
@@ -1900,8 +1901,8 @@ module SDM #:nodoc:
|
|
1900
1901
|
begin
|
1901
1902
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ApprovalWorkflows.List", req), deadline: deadline)
|
1902
1903
|
rescue => exception
|
1903
|
-
if (@parent.shouldRetry(tries, exception))
|
1904
|
-
tries +
|
1904
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1905
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1905
1906
|
next
|
1906
1907
|
end
|
1907
1908
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -1975,7 +1976,7 @@ module SDM #:nodoc:
|
|
1975
1976
|
)
|
1976
1977
|
req = V1::ApprovalWorkflowHistoryListRequest.new()
|
1977
1978
|
req.meta = V1::ListRequestMetadata.new()
|
1978
|
-
if @parent.page_limit
|
1979
|
+
if not @parent.page_limit.nil?
|
1979
1980
|
req.meta.limit = @parent.page_limit
|
1980
1981
|
end
|
1981
1982
|
if not @parent.snapshot_time.nil?
|
@@ -1989,8 +1990,8 @@ module SDM #:nodoc:
|
|
1989
1990
|
begin
|
1990
1991
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ApprovalWorkflowsHistory.List", req), deadline: deadline)
|
1991
1992
|
rescue => exception
|
1992
|
-
if (@parent.shouldRetry(tries, exception))
|
1993
|
-
tries +
|
1993
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
1994
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
1994
1995
|
next
|
1995
1996
|
end
|
1996
1997
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2032,8 +2033,8 @@ module SDM #:nodoc:
|
|
2032
2033
|
begin
|
2033
2034
|
plumbing_response = @stub.get_sshca_public_key(req, metadata: @parent.get_metadata("ControlPanel.GetSSHCAPublicKey", req), deadline: deadline)
|
2034
2035
|
rescue => exception
|
2035
|
-
if (@parent.shouldRetry(tries, exception))
|
2036
|
-
tries +
|
2036
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2037
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2037
2038
|
next
|
2038
2039
|
end
|
2039
2040
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2060,8 +2061,8 @@ module SDM #:nodoc:
|
|
2060
2061
|
begin
|
2061
2062
|
plumbing_response = @stub.get_rdpca_public_key(req, metadata: @parent.get_metadata("ControlPanel.GetRDPCAPublicKey", req), deadline: deadline)
|
2062
2063
|
rescue => exception
|
2063
|
-
if (@parent.shouldRetry(tries, exception))
|
2064
|
-
tries +
|
2064
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2065
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2065
2066
|
next
|
2066
2067
|
end
|
2067
2068
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2090,8 +2091,8 @@ module SDM #:nodoc:
|
|
2090
2091
|
begin
|
2091
2092
|
plumbing_response = @stub.verify_jwt(req, metadata: @parent.get_metadata("ControlPanel.VerifyJWT", req), deadline: deadline)
|
2092
2093
|
rescue => exception
|
2093
|
-
if (@parent.shouldRetry(tries, exception))
|
2094
|
-
tries +
|
2094
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2095
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2095
2096
|
next
|
2096
2097
|
end
|
2097
2098
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2131,7 +2132,7 @@ module SDM #:nodoc:
|
|
2131
2132
|
)
|
2132
2133
|
req = V1::HealthcheckListRequest.new()
|
2133
2134
|
req.meta = V1::ListRequestMetadata.new()
|
2134
|
-
if @parent.page_limit
|
2135
|
+
if not @parent.page_limit.nil?
|
2135
2136
|
req.meta.limit = @parent.page_limit
|
2136
2137
|
end
|
2137
2138
|
if not @parent.snapshot_time.nil?
|
@@ -2145,8 +2146,8 @@ module SDM #:nodoc:
|
|
2145
2146
|
begin
|
2146
2147
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("HealthChecks.List", req), deadline: deadline)
|
2147
2148
|
rescue => exception
|
2148
|
-
if (@parent.shouldRetry(tries, exception))
|
2149
|
-
tries +
|
2149
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2150
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2150
2151
|
next
|
2151
2152
|
end
|
2152
2153
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2193,8 +2194,8 @@ module SDM #:nodoc:
|
|
2193
2194
|
begin
|
2194
2195
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("IdentityAliases.Create", req), deadline: deadline)
|
2195
2196
|
rescue => exception
|
2196
|
-
if (@parent.shouldRetry(tries, exception))
|
2197
|
-
tries +
|
2197
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2198
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2198
2199
|
next
|
2199
2200
|
end
|
2200
2201
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2227,8 +2228,8 @@ module SDM #:nodoc:
|
|
2227
2228
|
begin
|
2228
2229
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("IdentityAliases.Get", req), deadline: deadline)
|
2229
2230
|
rescue => exception
|
2230
|
-
if (@parent.shouldRetry(tries, exception))
|
2231
|
-
tries +
|
2231
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2232
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2232
2233
|
next
|
2233
2234
|
end
|
2234
2235
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2257,8 +2258,8 @@ module SDM #:nodoc:
|
|
2257
2258
|
begin
|
2258
2259
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("IdentityAliases.Update", req), deadline: deadline)
|
2259
2260
|
rescue => exception
|
2260
|
-
if (@parent.shouldRetry(tries, exception))
|
2261
|
-
tries +
|
2261
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2262
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2262
2263
|
next
|
2263
2264
|
end
|
2264
2265
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2287,8 +2288,8 @@ module SDM #:nodoc:
|
|
2287
2288
|
begin
|
2288
2289
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("IdentityAliases.Delete", req), deadline: deadline)
|
2289
2290
|
rescue => exception
|
2290
|
-
if (@parent.shouldRetry(tries, exception))
|
2291
|
-
tries +
|
2291
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2292
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2292
2293
|
next
|
2293
2294
|
end
|
2294
2295
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2310,7 +2311,7 @@ module SDM #:nodoc:
|
|
2310
2311
|
)
|
2311
2312
|
req = V1::IdentityAliasListRequest.new()
|
2312
2313
|
req.meta = V1::ListRequestMetadata.new()
|
2313
|
-
if @parent.page_limit
|
2314
|
+
if not @parent.page_limit.nil?
|
2314
2315
|
req.meta.limit = @parent.page_limit
|
2315
2316
|
end
|
2316
2317
|
if not @parent.snapshot_time.nil?
|
@@ -2324,8 +2325,8 @@ module SDM #:nodoc:
|
|
2324
2325
|
begin
|
2325
2326
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("IdentityAliases.List", req), deadline: deadline)
|
2326
2327
|
rescue => exception
|
2327
|
-
if (@parent.shouldRetry(tries, exception))
|
2328
|
-
tries +
|
2328
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2329
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2329
2330
|
next
|
2330
2331
|
end
|
2331
2332
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2399,7 +2400,7 @@ module SDM #:nodoc:
|
|
2399
2400
|
)
|
2400
2401
|
req = V1::IdentityAliasHistoryListRequest.new()
|
2401
2402
|
req.meta = V1::ListRequestMetadata.new()
|
2402
|
-
if @parent.page_limit
|
2403
|
+
if not @parent.page_limit.nil?
|
2403
2404
|
req.meta.limit = @parent.page_limit
|
2404
2405
|
end
|
2405
2406
|
if not @parent.snapshot_time.nil?
|
@@ -2413,8 +2414,8 @@ module SDM #:nodoc:
|
|
2413
2414
|
begin
|
2414
2415
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("IdentityAliasesHistory.List", req), deadline: deadline)
|
2415
2416
|
rescue => exception
|
2416
|
-
if (@parent.shouldRetry(tries, exception))
|
2417
|
-
tries +
|
2417
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2418
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2418
2419
|
next
|
2419
2420
|
end
|
2420
2421
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2461,8 +2462,8 @@ module SDM #:nodoc:
|
|
2461
2462
|
begin
|
2462
2463
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("IdentitySets.Create", req), deadline: deadline)
|
2463
2464
|
rescue => exception
|
2464
|
-
if (@parent.shouldRetry(tries, exception))
|
2465
|
-
tries +
|
2465
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2466
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2466
2467
|
next
|
2467
2468
|
end
|
2468
2469
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2495,8 +2496,8 @@ module SDM #:nodoc:
|
|
2495
2496
|
begin
|
2496
2497
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("IdentitySets.Get", req), deadline: deadline)
|
2497
2498
|
rescue => exception
|
2498
|
-
if (@parent.shouldRetry(tries, exception))
|
2499
|
-
tries +
|
2499
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2500
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2500
2501
|
next
|
2501
2502
|
end
|
2502
2503
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2525,8 +2526,8 @@ module SDM #:nodoc:
|
|
2525
2526
|
begin
|
2526
2527
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("IdentitySets.Update", req), deadline: deadline)
|
2527
2528
|
rescue => exception
|
2528
|
-
if (@parent.shouldRetry(tries, exception))
|
2529
|
-
tries +
|
2529
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2530
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2530
2531
|
next
|
2531
2532
|
end
|
2532
2533
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2555,8 +2556,8 @@ module SDM #:nodoc:
|
|
2555
2556
|
begin
|
2556
2557
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("IdentitySets.Delete", req), deadline: deadline)
|
2557
2558
|
rescue => exception
|
2558
|
-
if (@parent.shouldRetry(tries, exception))
|
2559
|
-
tries +
|
2559
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2560
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2560
2561
|
next
|
2561
2562
|
end
|
2562
2563
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2578,7 +2579,7 @@ module SDM #:nodoc:
|
|
2578
2579
|
)
|
2579
2580
|
req = V1::IdentitySetListRequest.new()
|
2580
2581
|
req.meta = V1::ListRequestMetadata.new()
|
2581
|
-
if @parent.page_limit
|
2582
|
+
if not @parent.page_limit.nil?
|
2582
2583
|
req.meta.limit = @parent.page_limit
|
2583
2584
|
end
|
2584
2585
|
if not @parent.snapshot_time.nil?
|
@@ -2592,8 +2593,8 @@ module SDM #:nodoc:
|
|
2592
2593
|
begin
|
2593
2594
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("IdentitySets.List", req), deadline: deadline)
|
2594
2595
|
rescue => exception
|
2595
|
-
if (@parent.shouldRetry(tries, exception))
|
2596
|
-
tries +
|
2596
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2597
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2597
2598
|
next
|
2598
2599
|
end
|
2599
2600
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2667,7 +2668,7 @@ module SDM #:nodoc:
|
|
2667
2668
|
)
|
2668
2669
|
req = V1::IdentitySetHistoryListRequest.new()
|
2669
2670
|
req.meta = V1::ListRequestMetadata.new()
|
2670
|
-
if @parent.page_limit
|
2671
|
+
if not @parent.page_limit.nil?
|
2671
2672
|
req.meta.limit = @parent.page_limit
|
2672
2673
|
end
|
2673
2674
|
if not @parent.snapshot_time.nil?
|
@@ -2681,8 +2682,8 @@ module SDM #:nodoc:
|
|
2681
2682
|
begin
|
2682
2683
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("IdentitySetsHistory.List", req), deadline: deadline)
|
2683
2684
|
rescue => exception
|
2684
|
-
if (@parent.shouldRetry(tries, exception))
|
2685
|
-
tries +
|
2685
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2686
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2686
2687
|
next
|
2687
2688
|
end
|
2688
2689
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2724,7 +2725,7 @@ module SDM #:nodoc:
|
|
2724
2725
|
)
|
2725
2726
|
req = V1::ManagedSecretListRequest.new()
|
2726
2727
|
req.meta = V1::ListRequestMetadata.new()
|
2727
|
-
if @parent.page_limit
|
2728
|
+
if not @parent.page_limit.nil?
|
2728
2729
|
req.meta.limit = @parent.page_limit
|
2729
2730
|
end
|
2730
2731
|
if not @parent.snapshot_time.nil?
|
@@ -2738,8 +2739,8 @@ module SDM #:nodoc:
|
|
2738
2739
|
begin
|
2739
2740
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ManagedSecrets.List", req), deadline: deadline)
|
2740
2741
|
rescue => exception
|
2741
|
-
if (@parent.shouldRetry(tries, exception))
|
2742
|
-
tries +
|
2742
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2743
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2743
2744
|
next
|
2744
2745
|
end
|
2745
2746
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2763,7 +2764,7 @@ module SDM #:nodoc:
|
|
2763
2764
|
)
|
2764
2765
|
req = V1::ManagedSecretListRequest.new()
|
2765
2766
|
req.meta = V1::ListRequestMetadata.new()
|
2766
|
-
if @parent.page_limit
|
2767
|
+
if not @parent.page_limit.nil?
|
2767
2768
|
req.meta.limit = @parent.page_limit
|
2768
2769
|
end
|
2769
2770
|
if not @parent.snapshot_time.nil?
|
@@ -2777,8 +2778,8 @@ module SDM #:nodoc:
|
|
2777
2778
|
begin
|
2778
2779
|
plumbing_response = @stub.list_by_actor(req, metadata: @parent.get_metadata("ManagedSecrets.ListByActor", req), deadline: deadline)
|
2779
2780
|
rescue => exception
|
2780
|
-
if (@parent.shouldRetry(tries, exception))
|
2781
|
-
tries +
|
2781
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2782
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2782
2783
|
next
|
2783
2784
|
end
|
2784
2785
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2808,8 +2809,8 @@ module SDM #:nodoc:
|
|
2808
2809
|
begin
|
2809
2810
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("ManagedSecrets.Create", req), deadline: deadline)
|
2810
2811
|
rescue => exception
|
2811
|
-
if (@parent.shouldRetry(tries, exception))
|
2812
|
-
tries +
|
2812
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2813
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2813
2814
|
next
|
2814
2815
|
end
|
2815
2816
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2838,8 +2839,8 @@ module SDM #:nodoc:
|
|
2838
2839
|
begin
|
2839
2840
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("ManagedSecrets.Update", req), deadline: deadline)
|
2840
2841
|
rescue => exception
|
2841
|
-
if (@parent.shouldRetry(tries, exception))
|
2842
|
-
tries +
|
2842
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2843
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2843
2844
|
next
|
2844
2845
|
end
|
2845
2846
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2868,8 +2869,8 @@ module SDM #:nodoc:
|
|
2868
2869
|
begin
|
2869
2870
|
plumbing_response = @stub.rotate(req, metadata: @parent.get_metadata("ManagedSecrets.Rotate", req), deadline: deadline)
|
2870
2871
|
rescue => exception
|
2871
|
-
if (@parent.shouldRetry(tries, exception))
|
2872
|
-
tries +
|
2872
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2873
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2873
2874
|
next
|
2874
2875
|
end
|
2875
2876
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2897,8 +2898,8 @@ module SDM #:nodoc:
|
|
2897
2898
|
begin
|
2898
2899
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("ManagedSecrets.Delete", req), deadline: deadline)
|
2899
2900
|
rescue => exception
|
2900
|
-
if (@parent.shouldRetry(tries, exception))
|
2901
|
-
tries +
|
2901
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2902
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2902
2903
|
next
|
2903
2904
|
end
|
2904
2905
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2929,8 +2930,8 @@ module SDM #:nodoc:
|
|
2929
2930
|
begin
|
2930
2931
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("ManagedSecrets.Get", req), deadline: deadline)
|
2931
2932
|
rescue => exception
|
2932
|
-
if (@parent.shouldRetry(tries, exception))
|
2933
|
-
tries +
|
2933
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2934
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2934
2935
|
next
|
2935
2936
|
end
|
2936
2937
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2961,8 +2962,8 @@ module SDM #:nodoc:
|
|
2961
2962
|
begin
|
2962
2963
|
plumbing_response = @stub.retrieve(req, metadata: @parent.get_metadata("ManagedSecrets.Retrieve", req), deadline: deadline)
|
2963
2964
|
rescue => exception
|
2964
|
-
if (@parent.shouldRetry(tries, exception))
|
2965
|
-
tries +
|
2965
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2966
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2966
2967
|
next
|
2967
2968
|
end
|
2968
2969
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -2992,8 +2993,8 @@ module SDM #:nodoc:
|
|
2992
2993
|
begin
|
2993
2994
|
plumbing_response = @stub.validate(req, metadata: @parent.get_metadata("ManagedSecrets.Validate", req), deadline: deadline)
|
2994
2995
|
rescue => exception
|
2995
|
-
if (@parent.shouldRetry(tries, exception))
|
2996
|
-
tries +
|
2996
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
2997
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
2997
2998
|
next
|
2998
2999
|
end
|
2999
3000
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3018,7 +3019,7 @@ module SDM #:nodoc:
|
|
3018
3019
|
)
|
3019
3020
|
req = V1::ManagedSecretLogsRequest.new()
|
3020
3021
|
req.meta = V1::ListRequestMetadata.new()
|
3021
|
-
if @parent.page_limit
|
3022
|
+
if not @parent.page_limit.nil?
|
3022
3023
|
req.meta.limit = @parent.page_limit
|
3023
3024
|
end
|
3024
3025
|
if not @parent.snapshot_time.nil?
|
@@ -3032,8 +3033,8 @@ module SDM #:nodoc:
|
|
3032
3033
|
begin
|
3033
3034
|
plumbing_response = @stub.logs(req, metadata: @parent.get_metadata("ManagedSecrets.Logs", req), deadline: deadline)
|
3034
3035
|
rescue => exception
|
3035
|
-
if (@parent.shouldRetry(tries, exception))
|
3036
|
-
tries +
|
3036
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3037
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3037
3038
|
next
|
3038
3039
|
end
|
3039
3040
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3084,8 +3085,8 @@ module SDM #:nodoc:
|
|
3084
3085
|
begin
|
3085
3086
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("Nodes.Create", req), deadline: deadline)
|
3086
3087
|
rescue => exception
|
3087
|
-
if (@parent.shouldRetry(tries, exception))
|
3088
|
-
tries +
|
3088
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3089
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3089
3090
|
next
|
3090
3091
|
end
|
3091
3092
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3119,8 +3120,8 @@ module SDM #:nodoc:
|
|
3119
3120
|
begin
|
3120
3121
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("Nodes.Get", req), deadline: deadline)
|
3121
3122
|
rescue => exception
|
3122
|
-
if (@parent.shouldRetry(tries, exception))
|
3123
|
-
tries +
|
3123
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3124
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3124
3125
|
next
|
3125
3126
|
end
|
3126
3127
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3149,8 +3150,8 @@ module SDM #:nodoc:
|
|
3149
3150
|
begin
|
3150
3151
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("Nodes.Update", req), deadline: deadline)
|
3151
3152
|
rescue => exception
|
3152
|
-
if (@parent.shouldRetry(tries, exception))
|
3153
|
-
tries +
|
3153
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3154
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3154
3155
|
next
|
3155
3156
|
end
|
3156
3157
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3179,8 +3180,8 @@ module SDM #:nodoc:
|
|
3179
3180
|
begin
|
3180
3181
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("Nodes.Delete", req), deadline: deadline)
|
3181
3182
|
rescue => exception
|
3182
|
-
if (@parent.shouldRetry(tries, exception))
|
3183
|
-
tries +
|
3183
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3184
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3184
3185
|
next
|
3185
3186
|
end
|
3186
3187
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3202,7 +3203,7 @@ module SDM #:nodoc:
|
|
3202
3203
|
)
|
3203
3204
|
req = V1::NodeListRequest.new()
|
3204
3205
|
req.meta = V1::ListRequestMetadata.new()
|
3205
|
-
if @parent.page_limit
|
3206
|
+
if not @parent.page_limit.nil?
|
3206
3207
|
req.meta.limit = @parent.page_limit
|
3207
3208
|
end
|
3208
3209
|
if not @parent.snapshot_time.nil?
|
@@ -3216,8 +3217,8 @@ module SDM #:nodoc:
|
|
3216
3217
|
begin
|
3217
3218
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Nodes.List", req), deadline: deadline)
|
3218
3219
|
rescue => exception
|
3219
|
-
if (@parent.shouldRetry(tries, exception))
|
3220
|
-
tries +
|
3220
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3221
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3221
3222
|
next
|
3222
3223
|
end
|
3223
3224
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3291,7 +3292,7 @@ module SDM #:nodoc:
|
|
3291
3292
|
)
|
3292
3293
|
req = V1::NodeHistoryListRequest.new()
|
3293
3294
|
req.meta = V1::ListRequestMetadata.new()
|
3294
|
-
if @parent.page_limit
|
3295
|
+
if not @parent.page_limit.nil?
|
3295
3296
|
req.meta.limit = @parent.page_limit
|
3296
3297
|
end
|
3297
3298
|
if not @parent.snapshot_time.nil?
|
@@ -3305,8 +3306,8 @@ module SDM #:nodoc:
|
|
3305
3306
|
begin
|
3306
3307
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("NodesHistory.List", req), deadline: deadline)
|
3307
3308
|
rescue => exception
|
3308
|
-
if (@parent.shouldRetry(tries, exception))
|
3309
|
-
tries +
|
3309
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3310
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3310
3311
|
next
|
3311
3312
|
end
|
3312
3313
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3346,7 +3347,7 @@ module SDM #:nodoc:
|
|
3346
3347
|
)
|
3347
3348
|
req = V1::OrganizationHistoryListRequest.new()
|
3348
3349
|
req.meta = V1::ListRequestMetadata.new()
|
3349
|
-
if @parent.page_limit
|
3350
|
+
if not @parent.page_limit.nil?
|
3350
3351
|
req.meta.limit = @parent.page_limit
|
3351
3352
|
end
|
3352
3353
|
if not @parent.snapshot_time.nil?
|
@@ -3360,8 +3361,8 @@ module SDM #:nodoc:
|
|
3360
3361
|
begin
|
3361
3362
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("OrganizationHistory.List", req), deadline: deadline)
|
3362
3363
|
rescue => exception
|
3363
|
-
if (@parent.shouldRetry(tries, exception))
|
3364
|
-
tries +
|
3364
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3365
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3365
3366
|
next
|
3366
3367
|
end
|
3367
3368
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3407,8 +3408,8 @@ module SDM #:nodoc:
|
|
3407
3408
|
begin
|
3408
3409
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("PeeringGroupNodes.Create", req), deadline: deadline)
|
3409
3410
|
rescue => exception
|
3410
|
-
if (@parent.shouldRetry(tries, exception))
|
3411
|
-
tries +
|
3411
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3412
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3412
3413
|
next
|
3413
3414
|
end
|
3414
3415
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3437,8 +3438,8 @@ module SDM #:nodoc:
|
|
3437
3438
|
begin
|
3438
3439
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("PeeringGroupNodes.Delete", req), deadline: deadline)
|
3439
3440
|
rescue => exception
|
3440
|
-
if (@parent.shouldRetry(tries, exception))
|
3441
|
-
tries +
|
3441
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3442
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3442
3443
|
next
|
3443
3444
|
end
|
3444
3445
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3470,8 +3471,8 @@ module SDM #:nodoc:
|
|
3470
3471
|
begin
|
3471
3472
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("PeeringGroupNodes.Get", req), deadline: deadline)
|
3472
3473
|
rescue => exception
|
3473
|
-
if (@parent.shouldRetry(tries, exception))
|
3474
|
-
tries +
|
3474
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3475
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3475
3476
|
next
|
3476
3477
|
end
|
3477
3478
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3494,7 +3495,7 @@ module SDM #:nodoc:
|
|
3494
3495
|
)
|
3495
3496
|
req = V1::PeeringGroupNodeListRequest.new()
|
3496
3497
|
req.meta = V1::ListRequestMetadata.new()
|
3497
|
-
if @parent.page_limit
|
3498
|
+
if not @parent.page_limit.nil?
|
3498
3499
|
req.meta.limit = @parent.page_limit
|
3499
3500
|
end
|
3500
3501
|
if not @parent.snapshot_time.nil?
|
@@ -3508,8 +3509,8 @@ module SDM #:nodoc:
|
|
3508
3509
|
begin
|
3509
3510
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("PeeringGroupNodes.List", req), deadline: deadline)
|
3510
3511
|
rescue => exception
|
3511
|
-
if (@parent.shouldRetry(tries, exception))
|
3512
|
-
tries +
|
3512
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3513
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3513
3514
|
next
|
3514
3515
|
end
|
3515
3516
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3555,8 +3556,8 @@ module SDM #:nodoc:
|
|
3555
3556
|
begin
|
3556
3557
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("PeeringGroupPeers.Create", req), deadline: deadline)
|
3557
3558
|
rescue => exception
|
3558
|
-
if (@parent.shouldRetry(tries, exception))
|
3559
|
-
tries +
|
3559
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3560
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3560
3561
|
next
|
3561
3562
|
end
|
3562
3563
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3585,8 +3586,8 @@ module SDM #:nodoc:
|
|
3585
3586
|
begin
|
3586
3587
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("PeeringGroupPeers.Delete", req), deadline: deadline)
|
3587
3588
|
rescue => exception
|
3588
|
-
if (@parent.shouldRetry(tries, exception))
|
3589
|
-
tries +
|
3589
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3590
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3590
3591
|
next
|
3591
3592
|
end
|
3592
3593
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3618,8 +3619,8 @@ module SDM #:nodoc:
|
|
3618
3619
|
begin
|
3619
3620
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("PeeringGroupPeers.Get", req), deadline: deadline)
|
3620
3621
|
rescue => exception
|
3621
|
-
if (@parent.shouldRetry(tries, exception))
|
3622
|
-
tries +
|
3622
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3623
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3623
3624
|
next
|
3624
3625
|
end
|
3625
3626
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3642,7 +3643,7 @@ module SDM #:nodoc:
|
|
3642
3643
|
)
|
3643
3644
|
req = V1::PeeringGroupPeerListRequest.new()
|
3644
3645
|
req.meta = V1::ListRequestMetadata.new()
|
3645
|
-
if @parent.page_limit
|
3646
|
+
if not @parent.page_limit.nil?
|
3646
3647
|
req.meta.limit = @parent.page_limit
|
3647
3648
|
end
|
3648
3649
|
if not @parent.snapshot_time.nil?
|
@@ -3656,8 +3657,8 @@ module SDM #:nodoc:
|
|
3656
3657
|
begin
|
3657
3658
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("PeeringGroupPeers.List", req), deadline: deadline)
|
3658
3659
|
rescue => exception
|
3659
|
-
if (@parent.shouldRetry(tries, exception))
|
3660
|
-
tries +
|
3660
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3661
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3661
3662
|
next
|
3662
3663
|
end
|
3663
3664
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3703,8 +3704,8 @@ module SDM #:nodoc:
|
|
3703
3704
|
begin
|
3704
3705
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("PeeringGroupResources.Create", req), deadline: deadline)
|
3705
3706
|
rescue => exception
|
3706
|
-
if (@parent.shouldRetry(tries, exception))
|
3707
|
-
tries +
|
3707
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3708
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3708
3709
|
next
|
3709
3710
|
end
|
3710
3711
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3733,8 +3734,8 @@ module SDM #:nodoc:
|
|
3733
3734
|
begin
|
3734
3735
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("PeeringGroupResources.Delete", req), deadline: deadline)
|
3735
3736
|
rescue => exception
|
3736
|
-
if (@parent.shouldRetry(tries, exception))
|
3737
|
-
tries +
|
3737
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3738
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3738
3739
|
next
|
3739
3740
|
end
|
3740
3741
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3766,8 +3767,8 @@ module SDM #:nodoc:
|
|
3766
3767
|
begin
|
3767
3768
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("PeeringGroupResources.Get", req), deadline: deadline)
|
3768
3769
|
rescue => exception
|
3769
|
-
if (@parent.shouldRetry(tries, exception))
|
3770
|
-
tries +
|
3770
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3771
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3771
3772
|
next
|
3772
3773
|
end
|
3773
3774
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3790,7 +3791,7 @@ module SDM #:nodoc:
|
|
3790
3791
|
)
|
3791
3792
|
req = V1::PeeringGroupResourceListRequest.new()
|
3792
3793
|
req.meta = V1::ListRequestMetadata.new()
|
3793
|
-
if @parent.page_limit
|
3794
|
+
if not @parent.page_limit.nil?
|
3794
3795
|
req.meta.limit = @parent.page_limit
|
3795
3796
|
end
|
3796
3797
|
if not @parent.snapshot_time.nil?
|
@@ -3804,8 +3805,8 @@ module SDM #:nodoc:
|
|
3804
3805
|
begin
|
3805
3806
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("PeeringGroupResources.List", req), deadline: deadline)
|
3806
3807
|
rescue => exception
|
3807
|
-
if (@parent.shouldRetry(tries, exception))
|
3808
|
-
tries +
|
3808
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3809
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3809
3810
|
next
|
3810
3811
|
end
|
3811
3812
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3851,8 +3852,8 @@ module SDM #:nodoc:
|
|
3851
3852
|
begin
|
3852
3853
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("PeeringGroups.Create", req), deadline: deadline)
|
3853
3854
|
rescue => exception
|
3854
|
-
if (@parent.shouldRetry(tries, exception))
|
3855
|
-
tries +
|
3855
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3856
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3856
3857
|
next
|
3857
3858
|
end
|
3858
3859
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3881,8 +3882,8 @@ module SDM #:nodoc:
|
|
3881
3882
|
begin
|
3882
3883
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("PeeringGroups.Delete", req), deadline: deadline)
|
3883
3884
|
rescue => exception
|
3884
|
-
if (@parent.shouldRetry(tries, exception))
|
3885
|
-
tries +
|
3885
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3886
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3886
3887
|
next
|
3887
3888
|
end
|
3888
3889
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3914,8 +3915,8 @@ module SDM #:nodoc:
|
|
3914
3915
|
begin
|
3915
3916
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("PeeringGroups.Get", req), deadline: deadline)
|
3916
3917
|
rescue => exception
|
3917
|
-
if (@parent.shouldRetry(tries, exception))
|
3918
|
-
tries +
|
3918
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3919
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3919
3920
|
next
|
3920
3921
|
end
|
3921
3922
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -3938,7 +3939,7 @@ module SDM #:nodoc:
|
|
3938
3939
|
)
|
3939
3940
|
req = V1::PeeringGroupListRequest.new()
|
3940
3941
|
req.meta = V1::ListRequestMetadata.new()
|
3941
|
-
if @parent.page_limit
|
3942
|
+
if not @parent.page_limit.nil?
|
3942
3943
|
req.meta.limit = @parent.page_limit
|
3943
3944
|
end
|
3944
3945
|
if not @parent.snapshot_time.nil?
|
@@ -3952,8 +3953,8 @@ module SDM #:nodoc:
|
|
3952
3953
|
begin
|
3953
3954
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("PeeringGroups.List", req), deadline: deadline)
|
3954
3955
|
rescue => exception
|
3955
|
-
if (@parent.shouldRetry(tries, exception))
|
3956
|
-
tries +
|
3956
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
3957
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
3957
3958
|
next
|
3958
3959
|
end
|
3959
3960
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4000,8 +4001,8 @@ module SDM #:nodoc:
|
|
4000
4001
|
begin
|
4001
4002
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("Policies.Create", req), deadline: deadline)
|
4002
4003
|
rescue => exception
|
4003
|
-
if (@parent.shouldRetry(tries, exception))
|
4004
|
-
tries +
|
4004
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4005
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4005
4006
|
next
|
4006
4007
|
end
|
4007
4008
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4029,8 +4030,8 @@ module SDM #:nodoc:
|
|
4029
4030
|
begin
|
4030
4031
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("Policies.Delete", req), deadline: deadline)
|
4031
4032
|
rescue => exception
|
4032
|
-
if (@parent.shouldRetry(tries, exception))
|
4033
|
-
tries +
|
4033
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4034
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4034
4035
|
next
|
4035
4036
|
end
|
4036
4037
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4057,8 +4058,8 @@ module SDM #:nodoc:
|
|
4057
4058
|
begin
|
4058
4059
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("Policies.Update", req), deadline: deadline)
|
4059
4060
|
rescue => exception
|
4060
|
-
if (@parent.shouldRetry(tries, exception))
|
4061
|
-
tries +
|
4061
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4062
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4062
4063
|
next
|
4063
4064
|
end
|
4064
4065
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4090,8 +4091,8 @@ module SDM #:nodoc:
|
|
4090
4091
|
begin
|
4091
4092
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("Policies.Get", req), deadline: deadline)
|
4092
4093
|
rescue => exception
|
4093
|
-
if (@parent.shouldRetry(tries, exception))
|
4094
|
-
tries +
|
4094
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4095
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4095
4096
|
next
|
4096
4097
|
end
|
4097
4098
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4114,7 +4115,7 @@ module SDM #:nodoc:
|
|
4114
4115
|
)
|
4115
4116
|
req = V1::PolicyListRequest.new()
|
4116
4117
|
req.meta = V1::ListRequestMetadata.new()
|
4117
|
-
if @parent.page_limit
|
4118
|
+
if not @parent.page_limit.nil?
|
4118
4119
|
req.meta.limit = @parent.page_limit
|
4119
4120
|
end
|
4120
4121
|
if not @parent.snapshot_time.nil?
|
@@ -4128,8 +4129,8 @@ module SDM #:nodoc:
|
|
4128
4129
|
begin
|
4129
4130
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Policies.List", req), deadline: deadline)
|
4130
4131
|
rescue => exception
|
4131
|
-
if (@parent.shouldRetry(tries, exception))
|
4132
|
-
tries +
|
4132
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4133
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4133
4134
|
next
|
4134
4135
|
end
|
4135
4136
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4203,7 +4204,7 @@ module SDM #:nodoc:
|
|
4203
4204
|
)
|
4204
4205
|
req = V1::PoliciesHistoryListRequest.new()
|
4205
4206
|
req.meta = V1::ListRequestMetadata.new()
|
4206
|
-
if @parent.page_limit
|
4207
|
+
if not @parent.page_limit.nil?
|
4207
4208
|
req.meta.limit = @parent.page_limit
|
4208
4209
|
end
|
4209
4210
|
if not @parent.snapshot_time.nil?
|
@@ -4217,8 +4218,8 @@ module SDM #:nodoc:
|
|
4217
4218
|
begin
|
4218
4219
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("PoliciesHistory.List", req), deadline: deadline)
|
4219
4220
|
rescue => exception
|
4220
|
-
if (@parent.shouldRetry(tries, exception))
|
4221
|
-
tries +
|
4221
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4222
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4222
4223
|
next
|
4223
4224
|
end
|
4224
4225
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4266,8 +4267,8 @@ module SDM #:nodoc:
|
|
4266
4267
|
begin
|
4267
4268
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("ProxyClusterKeys.Create", req), deadline: deadline)
|
4268
4269
|
rescue => exception
|
4269
|
-
if (@parent.shouldRetry(tries, exception))
|
4270
|
-
tries +
|
4270
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4271
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4271
4272
|
next
|
4272
4273
|
end
|
4273
4274
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4301,8 +4302,8 @@ module SDM #:nodoc:
|
|
4301
4302
|
begin
|
4302
4303
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("ProxyClusterKeys.Get", req), deadline: deadline)
|
4303
4304
|
rescue => exception
|
4304
|
-
if (@parent.shouldRetry(tries, exception))
|
4305
|
-
tries +
|
4305
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4306
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4306
4307
|
next
|
4307
4308
|
end
|
4308
4309
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4331,8 +4332,8 @@ module SDM #:nodoc:
|
|
4331
4332
|
begin
|
4332
4333
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("ProxyClusterKeys.Delete", req), deadline: deadline)
|
4333
4334
|
rescue => exception
|
4334
|
-
if (@parent.shouldRetry(tries, exception))
|
4335
|
-
tries +
|
4335
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4336
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4336
4337
|
next
|
4337
4338
|
end
|
4338
4339
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4354,7 +4355,7 @@ module SDM #:nodoc:
|
|
4354
4355
|
)
|
4355
4356
|
req = V1::ProxyClusterKeyListRequest.new()
|
4356
4357
|
req.meta = V1::ListRequestMetadata.new()
|
4357
|
-
if @parent.page_limit
|
4358
|
+
if not @parent.page_limit.nil?
|
4358
4359
|
req.meta.limit = @parent.page_limit
|
4359
4360
|
end
|
4360
4361
|
if not @parent.snapshot_time.nil?
|
@@ -4368,8 +4369,8 @@ module SDM #:nodoc:
|
|
4368
4369
|
begin
|
4369
4370
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ProxyClusterKeys.List", req), deadline: deadline)
|
4370
4371
|
rescue => exception
|
4371
|
-
if (@parent.shouldRetry(tries, exception))
|
4372
|
-
tries +
|
4372
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4373
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4373
4374
|
next
|
4374
4375
|
end
|
4375
4376
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4445,7 +4446,7 @@ module SDM #:nodoc:
|
|
4445
4446
|
)
|
4446
4447
|
req = V1::QueryListRequest.new()
|
4447
4448
|
req.meta = V1::ListRequestMetadata.new()
|
4448
|
-
if @parent.page_limit
|
4449
|
+
if not @parent.page_limit.nil?
|
4449
4450
|
req.meta.limit = @parent.page_limit
|
4450
4451
|
end
|
4451
4452
|
if not @parent.snapshot_time.nil?
|
@@ -4459,8 +4460,8 @@ module SDM #:nodoc:
|
|
4459
4460
|
begin
|
4460
4461
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Queries.List", req), deadline: deadline)
|
4461
4462
|
rescue => exception
|
4462
|
-
if (@parent.shouldRetry(tries, exception))
|
4463
|
-
tries +
|
4463
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4464
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4464
4465
|
next
|
4465
4466
|
end
|
4466
4467
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4506,8 +4507,8 @@ module SDM #:nodoc:
|
|
4506
4507
|
begin
|
4507
4508
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("RemoteIdentities.Create", req), deadline: deadline)
|
4508
4509
|
rescue => exception
|
4509
|
-
if (@parent.shouldRetry(tries, exception))
|
4510
|
-
tries +
|
4510
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4511
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4511
4512
|
next
|
4512
4513
|
end
|
4513
4514
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4540,8 +4541,8 @@ module SDM #:nodoc:
|
|
4540
4541
|
begin
|
4541
4542
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("RemoteIdentities.Get", req), deadline: deadline)
|
4542
4543
|
rescue => exception
|
4543
|
-
if (@parent.shouldRetry(tries, exception))
|
4544
|
-
tries +
|
4544
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4545
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4545
4546
|
next
|
4546
4547
|
end
|
4547
4548
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4570,8 +4571,8 @@ module SDM #:nodoc:
|
|
4570
4571
|
begin
|
4571
4572
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("RemoteIdentities.Update", req), deadline: deadline)
|
4572
4573
|
rescue => exception
|
4573
|
-
if (@parent.shouldRetry(tries, exception))
|
4574
|
-
tries +
|
4574
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4575
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4575
4576
|
next
|
4576
4577
|
end
|
4577
4578
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4600,8 +4601,8 @@ module SDM #:nodoc:
|
|
4600
4601
|
begin
|
4601
4602
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("RemoteIdentities.Delete", req), deadline: deadline)
|
4602
4603
|
rescue => exception
|
4603
|
-
if (@parent.shouldRetry(tries, exception))
|
4604
|
-
tries +
|
4604
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4605
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4605
4606
|
next
|
4606
4607
|
end
|
4607
4608
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4623,7 +4624,7 @@ module SDM #:nodoc:
|
|
4623
4624
|
)
|
4624
4625
|
req = V1::RemoteIdentityListRequest.new()
|
4625
4626
|
req.meta = V1::ListRequestMetadata.new()
|
4626
|
-
if @parent.page_limit
|
4627
|
+
if not @parent.page_limit.nil?
|
4627
4628
|
req.meta.limit = @parent.page_limit
|
4628
4629
|
end
|
4629
4630
|
if not @parent.snapshot_time.nil?
|
@@ -4637,8 +4638,8 @@ module SDM #:nodoc:
|
|
4637
4638
|
begin
|
4638
4639
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("RemoteIdentities.List", req), deadline: deadline)
|
4639
4640
|
rescue => exception
|
4640
|
-
if (@parent.shouldRetry(tries, exception))
|
4641
|
-
tries +
|
4641
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4642
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4642
4643
|
next
|
4643
4644
|
end
|
4644
4645
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4712,7 +4713,7 @@ module SDM #:nodoc:
|
|
4712
4713
|
)
|
4713
4714
|
req = V1::RemoteIdentityHistoryListRequest.new()
|
4714
4715
|
req.meta = V1::ListRequestMetadata.new()
|
4715
|
-
if @parent.page_limit
|
4716
|
+
if not @parent.page_limit.nil?
|
4716
4717
|
req.meta.limit = @parent.page_limit
|
4717
4718
|
end
|
4718
4719
|
if not @parent.snapshot_time.nil?
|
@@ -4726,8 +4727,8 @@ module SDM #:nodoc:
|
|
4726
4727
|
begin
|
4727
4728
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("RemoteIdentitiesHistory.List", req), deadline: deadline)
|
4728
4729
|
rescue => exception
|
4729
|
-
if (@parent.shouldRetry(tries, exception))
|
4730
|
-
tries +
|
4730
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4731
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4731
4732
|
next
|
4732
4733
|
end
|
4733
4734
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4778,8 +4779,8 @@ module SDM #:nodoc:
|
|
4778
4779
|
begin
|
4779
4780
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("RemoteIdentityGroups.Get", req), deadline: deadline)
|
4780
4781
|
rescue => exception
|
4781
|
-
if (@parent.shouldRetry(tries, exception))
|
4782
|
-
tries +
|
4782
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4783
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4783
4784
|
next
|
4784
4785
|
end
|
4785
4786
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4802,7 +4803,7 @@ module SDM #:nodoc:
|
|
4802
4803
|
)
|
4803
4804
|
req = V1::RemoteIdentityGroupListRequest.new()
|
4804
4805
|
req.meta = V1::ListRequestMetadata.new()
|
4805
|
-
if @parent.page_limit
|
4806
|
+
if not @parent.page_limit.nil?
|
4806
4807
|
req.meta.limit = @parent.page_limit
|
4807
4808
|
end
|
4808
4809
|
if not @parent.snapshot_time.nil?
|
@@ -4816,8 +4817,8 @@ module SDM #:nodoc:
|
|
4816
4817
|
begin
|
4817
4818
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("RemoteIdentityGroups.List", req), deadline: deadline)
|
4818
4819
|
rescue => exception
|
4819
|
-
if (@parent.shouldRetry(tries, exception))
|
4820
|
-
tries +
|
4820
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4821
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4821
4822
|
next
|
4822
4823
|
end
|
4823
4824
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4891,7 +4892,7 @@ module SDM #:nodoc:
|
|
4891
4892
|
)
|
4892
4893
|
req = V1::RemoteIdentityGroupHistoryListRequest.new()
|
4893
4894
|
req.meta = V1::ListRequestMetadata.new()
|
4894
|
-
if @parent.page_limit
|
4895
|
+
if not @parent.page_limit.nil?
|
4895
4896
|
req.meta.limit = @parent.page_limit
|
4896
4897
|
end
|
4897
4898
|
if not @parent.snapshot_time.nil?
|
@@ -4905,8 +4906,8 @@ module SDM #:nodoc:
|
|
4905
4906
|
begin
|
4906
4907
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("RemoteIdentityGroupsHistory.List", req), deadline: deadline)
|
4907
4908
|
rescue => exception
|
4908
|
-
if (@parent.shouldRetry(tries, exception))
|
4909
|
-
tries +
|
4909
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4910
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4910
4911
|
next
|
4911
4912
|
end
|
4912
4913
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -4947,7 +4948,7 @@ module SDM #:nodoc:
|
|
4947
4948
|
)
|
4948
4949
|
req = V1::ReplayListRequest.new()
|
4949
4950
|
req.meta = V1::ListRequestMetadata.new()
|
4950
|
-
if @parent.page_limit
|
4951
|
+
if not @parent.page_limit.nil?
|
4951
4952
|
req.meta.limit = @parent.page_limit
|
4952
4953
|
end
|
4953
4954
|
if not @parent.snapshot_time.nil?
|
@@ -4961,8 +4962,8 @@ module SDM #:nodoc:
|
|
4961
4962
|
begin
|
4962
4963
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Replays.List", req), deadline: deadline)
|
4963
4964
|
rescue => exception
|
4964
|
-
if (@parent.shouldRetry(tries, exception))
|
4965
|
-
tries +
|
4965
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
4966
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
4966
4967
|
next
|
4967
4968
|
end
|
4968
4969
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5109,7 +5110,7 @@ module SDM #:nodoc:
|
|
5109
5110
|
)
|
5110
5111
|
req = V1::EnumerateTagsRequest.new()
|
5111
5112
|
req.meta = V1::ListRequestMetadata.new()
|
5112
|
-
if @parent.page_limit
|
5113
|
+
if not @parent.page_limit.nil?
|
5113
5114
|
req.meta.limit = @parent.page_limit
|
5114
5115
|
end
|
5115
5116
|
if not @parent.snapshot_time.nil?
|
@@ -5123,8 +5124,8 @@ module SDM #:nodoc:
|
|
5123
5124
|
begin
|
5124
5125
|
plumbing_response = @stub.enumerate_tags(req, metadata: @parent.get_metadata("Resources.EnumerateTags", req), deadline: deadline)
|
5125
5126
|
rescue => exception
|
5126
|
-
if (@parent.shouldRetry(tries, exception))
|
5127
|
-
tries +
|
5127
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5128
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5128
5129
|
next
|
5129
5130
|
end
|
5130
5131
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5154,8 +5155,8 @@ module SDM #:nodoc:
|
|
5154
5155
|
begin
|
5155
5156
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("Resources.Create", req), deadline: deadline)
|
5156
5157
|
rescue => exception
|
5157
|
-
if (@parent.shouldRetry(tries, exception))
|
5158
|
-
tries +
|
5158
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5159
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5159
5160
|
next
|
5160
5161
|
end
|
5161
5162
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5188,8 +5189,8 @@ module SDM #:nodoc:
|
|
5188
5189
|
begin
|
5189
5190
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("Resources.Get", req), deadline: deadline)
|
5190
5191
|
rescue => exception
|
5191
|
-
if (@parent.shouldRetry(tries, exception))
|
5192
|
-
tries +
|
5192
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5193
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5193
5194
|
next
|
5194
5195
|
end
|
5195
5196
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5218,8 +5219,8 @@ module SDM #:nodoc:
|
|
5218
5219
|
begin
|
5219
5220
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("Resources.Update", req), deadline: deadline)
|
5220
5221
|
rescue => exception
|
5221
|
-
if (@parent.shouldRetry(tries, exception))
|
5222
|
-
tries +
|
5222
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5223
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5223
5224
|
next
|
5224
5225
|
end
|
5225
5226
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5248,8 +5249,8 @@ module SDM #:nodoc:
|
|
5248
5249
|
begin
|
5249
5250
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("Resources.Delete", req), deadline: deadline)
|
5250
5251
|
rescue => exception
|
5251
|
-
if (@parent.shouldRetry(tries, exception))
|
5252
|
-
tries +
|
5252
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5253
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5253
5254
|
next
|
5254
5255
|
end
|
5255
5256
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5271,7 +5272,7 @@ module SDM #:nodoc:
|
|
5271
5272
|
)
|
5272
5273
|
req = V1::ResourceListRequest.new()
|
5273
5274
|
req.meta = V1::ListRequestMetadata.new()
|
5274
|
-
if @parent.page_limit
|
5275
|
+
if not @parent.page_limit.nil?
|
5275
5276
|
req.meta.limit = @parent.page_limit
|
5276
5277
|
end
|
5277
5278
|
if not @parent.snapshot_time.nil?
|
@@ -5285,8 +5286,8 @@ module SDM #:nodoc:
|
|
5285
5286
|
begin
|
5286
5287
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Resources.List", req), deadline: deadline)
|
5287
5288
|
rescue => exception
|
5288
|
-
if (@parent.shouldRetry(tries, exception))
|
5289
|
-
tries +
|
5289
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5290
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5290
5291
|
next
|
5291
5292
|
end
|
5292
5293
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5318,8 +5319,8 @@ module SDM #:nodoc:
|
|
5318
5319
|
begin
|
5319
5320
|
plumbing_response = @stub.healthcheck(req, metadata: @parent.get_metadata("Resources.Healthcheck", req), deadline: deadline)
|
5320
5321
|
rescue => exception
|
5321
|
-
if (@parent.shouldRetry(tries, exception))
|
5322
|
-
tries +
|
5322
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5323
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5323
5324
|
next
|
5324
5325
|
end
|
5325
5326
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5391,7 +5392,7 @@ module SDM #:nodoc:
|
|
5391
5392
|
)
|
5392
5393
|
req = V1::ResourceHistoryListRequest.new()
|
5393
5394
|
req.meta = V1::ListRequestMetadata.new()
|
5394
|
-
if @parent.page_limit
|
5395
|
+
if not @parent.page_limit.nil?
|
5395
5396
|
req.meta.limit = @parent.page_limit
|
5396
5397
|
end
|
5397
5398
|
if not @parent.snapshot_time.nil?
|
@@ -5405,8 +5406,8 @@ module SDM #:nodoc:
|
|
5405
5406
|
begin
|
5406
5407
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("ResourcesHistory.List", req), deadline: deadline)
|
5407
5408
|
rescue => exception
|
5408
|
-
if (@parent.shouldRetry(tries, exception))
|
5409
|
-
tries +
|
5409
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5410
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5410
5411
|
next
|
5411
5412
|
end
|
5412
5413
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5447,7 +5448,7 @@ module SDM #:nodoc:
|
|
5447
5448
|
)
|
5448
5449
|
req = V1::RoleResourceListRequest.new()
|
5449
5450
|
req.meta = V1::ListRequestMetadata.new()
|
5450
|
-
if @parent.page_limit
|
5451
|
+
if not @parent.page_limit.nil?
|
5451
5452
|
req.meta.limit = @parent.page_limit
|
5452
5453
|
end
|
5453
5454
|
if not @parent.snapshot_time.nil?
|
@@ -5461,8 +5462,8 @@ module SDM #:nodoc:
|
|
5461
5462
|
begin
|
5462
5463
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("RoleResources.List", req), deadline: deadline)
|
5463
5464
|
rescue => exception
|
5464
|
-
if (@parent.shouldRetry(tries, exception))
|
5465
|
-
tries +
|
5465
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5466
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5466
5467
|
next
|
5467
5468
|
end
|
5468
5469
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5525,7 +5526,7 @@ module SDM #:nodoc:
|
|
5525
5526
|
)
|
5526
5527
|
req = V1::RoleResourceHistoryListRequest.new()
|
5527
5528
|
req.meta = V1::ListRequestMetadata.new()
|
5528
|
-
if @parent.page_limit
|
5529
|
+
if not @parent.page_limit.nil?
|
5529
5530
|
req.meta.limit = @parent.page_limit
|
5530
5531
|
end
|
5531
5532
|
if not @parent.snapshot_time.nil?
|
@@ -5539,8 +5540,8 @@ module SDM #:nodoc:
|
|
5539
5540
|
begin
|
5540
5541
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("RoleResourcesHistory.List", req), deadline: deadline)
|
5541
5542
|
rescue => exception
|
5542
|
-
if (@parent.shouldRetry(tries, exception))
|
5543
|
-
tries +
|
5543
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5544
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5544
5545
|
next
|
5545
5546
|
end
|
5546
5547
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5588,8 +5589,8 @@ module SDM #:nodoc:
|
|
5588
5589
|
begin
|
5589
5590
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("Roles.Create", req), deadline: deadline)
|
5590
5591
|
rescue => exception
|
5591
|
-
if (@parent.shouldRetry(tries, exception))
|
5592
|
-
tries +
|
5592
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5593
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5593
5594
|
next
|
5594
5595
|
end
|
5595
5596
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5622,8 +5623,8 @@ module SDM #:nodoc:
|
|
5622
5623
|
begin
|
5623
5624
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("Roles.Get", req), deadline: deadline)
|
5624
5625
|
rescue => exception
|
5625
|
-
if (@parent.shouldRetry(tries, exception))
|
5626
|
-
tries +
|
5626
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5627
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5627
5628
|
next
|
5628
5629
|
end
|
5629
5630
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5652,8 +5653,8 @@ module SDM #:nodoc:
|
|
5652
5653
|
begin
|
5653
5654
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("Roles.Update", req), deadline: deadline)
|
5654
5655
|
rescue => exception
|
5655
|
-
if (@parent.shouldRetry(tries, exception))
|
5656
|
-
tries +
|
5656
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5657
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5657
5658
|
next
|
5658
5659
|
end
|
5659
5660
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5682,8 +5683,8 @@ module SDM #:nodoc:
|
|
5682
5683
|
begin
|
5683
5684
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("Roles.Delete", req), deadline: deadline)
|
5684
5685
|
rescue => exception
|
5685
|
-
if (@parent.shouldRetry(tries, exception))
|
5686
|
-
tries +
|
5686
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5687
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5687
5688
|
next
|
5688
5689
|
end
|
5689
5690
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5705,7 +5706,7 @@ module SDM #:nodoc:
|
|
5705
5706
|
)
|
5706
5707
|
req = V1::RoleListRequest.new()
|
5707
5708
|
req.meta = V1::ListRequestMetadata.new()
|
5708
|
-
if @parent.page_limit
|
5709
|
+
if not @parent.page_limit.nil?
|
5709
5710
|
req.meta.limit = @parent.page_limit
|
5710
5711
|
end
|
5711
5712
|
if not @parent.snapshot_time.nil?
|
@@ -5719,8 +5720,8 @@ module SDM #:nodoc:
|
|
5719
5720
|
begin
|
5720
5721
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Roles.List", req), deadline: deadline)
|
5721
5722
|
rescue => exception
|
5722
|
-
if (@parent.shouldRetry(tries, exception))
|
5723
|
-
tries +
|
5723
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5724
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5724
5725
|
next
|
5725
5726
|
end
|
5726
5727
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5794,7 +5795,7 @@ module SDM #:nodoc:
|
|
5794
5795
|
)
|
5795
5796
|
req = V1::RoleHistoryListRequest.new()
|
5796
5797
|
req.meta = V1::ListRequestMetadata.new()
|
5797
|
-
if @parent.page_limit
|
5798
|
+
if not @parent.page_limit.nil?
|
5798
5799
|
req.meta.limit = @parent.page_limit
|
5799
5800
|
end
|
5800
5801
|
if not @parent.snapshot_time.nil?
|
@@ -5808,8 +5809,8 @@ module SDM #:nodoc:
|
|
5808
5809
|
begin
|
5809
5810
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("RolesHistory.List", req), deadline: deadline)
|
5810
5811
|
rescue => exception
|
5811
|
-
if (@parent.shouldRetry(tries, exception))
|
5812
|
-
tries +
|
5812
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5813
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5813
5814
|
next
|
5814
5815
|
end
|
5815
5816
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5877,8 +5878,8 @@ module SDM #:nodoc:
|
|
5877
5878
|
begin
|
5878
5879
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("SecretStores.Create", req), deadline: deadline)
|
5879
5880
|
rescue => exception
|
5880
|
-
if (@parent.shouldRetry(tries, exception))
|
5881
|
-
tries +
|
5881
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5882
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5882
5883
|
next
|
5883
5884
|
end
|
5884
5885
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5911,8 +5912,8 @@ module SDM #:nodoc:
|
|
5911
5912
|
begin
|
5912
5913
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("SecretStores.Get", req), deadline: deadline)
|
5913
5914
|
rescue => exception
|
5914
|
-
if (@parent.shouldRetry(tries, exception))
|
5915
|
-
tries +
|
5915
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5916
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5916
5917
|
next
|
5917
5918
|
end
|
5918
5919
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5941,8 +5942,8 @@ module SDM #:nodoc:
|
|
5941
5942
|
begin
|
5942
5943
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("SecretStores.Update", req), deadline: deadline)
|
5943
5944
|
rescue => exception
|
5944
|
-
if (@parent.shouldRetry(tries, exception))
|
5945
|
-
tries +
|
5945
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5946
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5946
5947
|
next
|
5947
5948
|
end
|
5948
5949
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5971,8 +5972,8 @@ module SDM #:nodoc:
|
|
5971
5972
|
begin
|
5972
5973
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("SecretStores.Delete", req), deadline: deadline)
|
5973
5974
|
rescue => exception
|
5974
|
-
if (@parent.shouldRetry(tries, exception))
|
5975
|
-
tries +
|
5975
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
5976
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
5976
5977
|
next
|
5977
5978
|
end
|
5978
5979
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -5994,7 +5995,7 @@ module SDM #:nodoc:
|
|
5994
5995
|
)
|
5995
5996
|
req = V1::SecretStoreListRequest.new()
|
5996
5997
|
req.meta = V1::ListRequestMetadata.new()
|
5997
|
-
if @parent.page_limit
|
5998
|
+
if not @parent.page_limit.nil?
|
5998
5999
|
req.meta.limit = @parent.page_limit
|
5999
6000
|
end
|
6000
6001
|
if not @parent.snapshot_time.nil?
|
@@ -6008,8 +6009,8 @@ module SDM #:nodoc:
|
|
6008
6009
|
begin
|
6009
6010
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("SecretStores.List", req), deadline: deadline)
|
6010
6011
|
rescue => exception
|
6011
|
-
if (@parent.shouldRetry(tries, exception))
|
6012
|
-
tries +
|
6012
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6013
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6013
6014
|
next
|
6014
6015
|
end
|
6015
6016
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6084,7 +6085,7 @@ module SDM #:nodoc:
|
|
6084
6085
|
)
|
6085
6086
|
req = V1::SecretEngineListRequest.new()
|
6086
6087
|
req.meta = V1::ListRequestMetadata.new()
|
6087
|
-
if @parent.page_limit
|
6088
|
+
if not @parent.page_limit.nil?
|
6088
6089
|
req.meta.limit = @parent.page_limit
|
6089
6090
|
end
|
6090
6091
|
if not @parent.snapshot_time.nil?
|
@@ -6098,8 +6099,8 @@ module SDM #:nodoc:
|
|
6098
6099
|
begin
|
6099
6100
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("SecretEngines.List", req), deadline: deadline)
|
6100
6101
|
rescue => exception
|
6101
|
-
if (@parent.shouldRetry(tries, exception))
|
6102
|
-
tries +
|
6102
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6103
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6103
6104
|
next
|
6104
6105
|
end
|
6105
6106
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6133,8 +6134,8 @@ module SDM #:nodoc:
|
|
6133
6134
|
begin
|
6134
6135
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("SecretEngines.Get", req), deadline: deadline)
|
6135
6136
|
rescue => exception
|
6136
|
-
if (@parent.shouldRetry(tries, exception))
|
6137
|
-
tries +
|
6137
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6138
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6138
6139
|
next
|
6139
6140
|
end
|
6140
6141
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6163,8 +6164,8 @@ module SDM #:nodoc:
|
|
6163
6164
|
begin
|
6164
6165
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("SecretEngines.Create", req), deadline: deadline)
|
6165
6166
|
rescue => exception
|
6166
|
-
if (@parent.shouldRetry(tries, exception))
|
6167
|
-
tries +
|
6167
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6168
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6168
6169
|
next
|
6169
6170
|
end
|
6170
6171
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6193,8 +6194,8 @@ module SDM #:nodoc:
|
|
6193
6194
|
begin
|
6194
6195
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("SecretEngines.Update", req), deadline: deadline)
|
6195
6196
|
rescue => exception
|
6196
|
-
if (@parent.shouldRetry(tries, exception))
|
6197
|
-
tries +
|
6197
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6198
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6198
6199
|
next
|
6199
6200
|
end
|
6200
6201
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6223,8 +6224,8 @@ module SDM #:nodoc:
|
|
6223
6224
|
begin
|
6224
6225
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("SecretEngines.Delete", req), deadline: deadline)
|
6225
6226
|
rescue => exception
|
6226
|
-
if (@parent.shouldRetry(tries, exception))
|
6227
|
-
tries +
|
6227
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6228
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6228
6229
|
next
|
6229
6230
|
end
|
6230
6231
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6246,7 +6247,7 @@ module SDM #:nodoc:
|
|
6246
6247
|
)
|
6247
6248
|
req = V1::SecretStoreListRequest.new()
|
6248
6249
|
req.meta = V1::ListRequestMetadata.new()
|
6249
|
-
if @parent.page_limit
|
6250
|
+
if not @parent.page_limit.nil?
|
6250
6251
|
req.meta.limit = @parent.page_limit
|
6251
6252
|
end
|
6252
6253
|
if not @parent.snapshot_time.nil?
|
@@ -6260,8 +6261,8 @@ module SDM #:nodoc:
|
|
6260
6261
|
begin
|
6261
6262
|
plumbing_response = @stub.list_secret_stores(req, metadata: @parent.get_metadata("SecretEngines.ListSecretStores", req), deadline: deadline)
|
6262
6263
|
rescue => exception
|
6263
|
-
if (@parent.shouldRetry(tries, exception))
|
6264
|
-
tries +
|
6264
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6265
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6265
6266
|
next
|
6266
6267
|
end
|
6267
6268
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6291,8 +6292,8 @@ module SDM #:nodoc:
|
|
6291
6292
|
begin
|
6292
6293
|
plumbing_response = @stub.generate_keys(req, metadata: @parent.get_metadata("SecretEngines.GenerateKeys", req), deadline: deadline)
|
6293
6294
|
rescue => exception
|
6294
|
-
if (@parent.shouldRetry(tries, exception))
|
6295
|
-
tries +
|
6295
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6296
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6296
6297
|
next
|
6297
6298
|
end
|
6298
6299
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6319,8 +6320,8 @@ module SDM #:nodoc:
|
|
6319
6320
|
begin
|
6320
6321
|
plumbing_response = @stub.healthcheck(req, metadata: @parent.get_metadata("SecretEngines.Healthcheck", req), deadline: deadline)
|
6321
6322
|
rescue => exception
|
6322
|
-
if (@parent.shouldRetry(tries, exception))
|
6323
|
-
tries +
|
6323
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6324
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6324
6325
|
next
|
6325
6326
|
end
|
6326
6327
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6350,8 +6351,8 @@ module SDM #:nodoc:
|
|
6350
6351
|
begin
|
6351
6352
|
plumbing_response = @stub.rotate(req, metadata: @parent.get_metadata("SecretEngines.Rotate", req), deadline: deadline)
|
6352
6353
|
rescue => exception
|
6353
|
-
if (@parent.shouldRetry(tries, exception))
|
6354
|
-
tries +
|
6354
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6355
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6355
6356
|
next
|
6356
6357
|
end
|
6357
6358
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6388,7 +6389,7 @@ module SDM #:nodoc:
|
|
6388
6389
|
)
|
6389
6390
|
req = V1::SecretStoreHealthListRequest.new()
|
6390
6391
|
req.meta = V1::ListRequestMetadata.new()
|
6391
|
-
if @parent.page_limit
|
6392
|
+
if not @parent.page_limit.nil?
|
6392
6393
|
req.meta.limit = @parent.page_limit
|
6393
6394
|
end
|
6394
6395
|
if not @parent.snapshot_time.nil?
|
@@ -6402,8 +6403,8 @@ module SDM #:nodoc:
|
|
6402
6403
|
begin
|
6403
6404
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("SecretStoreHealths.List", req), deadline: deadline)
|
6404
6405
|
rescue => exception
|
6405
|
-
if (@parent.shouldRetry(tries, exception))
|
6406
|
-
tries +
|
6406
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6407
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6407
6408
|
next
|
6408
6409
|
end
|
6409
6410
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6435,8 +6436,8 @@ module SDM #:nodoc:
|
|
6435
6436
|
begin
|
6436
6437
|
plumbing_response = @stub.healthcheck(req, metadata: @parent.get_metadata("SecretStoreHealths.Healthcheck", req), deadline: deadline)
|
6437
6438
|
rescue => exception
|
6438
|
-
if (@parent.shouldRetry(tries, exception))
|
6439
|
-
tries +
|
6439
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6440
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6440
6441
|
next
|
6441
6442
|
end
|
6442
6443
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6473,7 +6474,7 @@ module SDM #:nodoc:
|
|
6473
6474
|
)
|
6474
6475
|
req = V1::SecretStoreHistoryListRequest.new()
|
6475
6476
|
req.meta = V1::ListRequestMetadata.new()
|
6476
|
-
if @parent.page_limit
|
6477
|
+
if not @parent.page_limit.nil?
|
6477
6478
|
req.meta.limit = @parent.page_limit
|
6478
6479
|
end
|
6479
6480
|
if not @parent.snapshot_time.nil?
|
@@ -6487,8 +6488,8 @@ module SDM #:nodoc:
|
|
6487
6488
|
begin
|
6488
6489
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("SecretStoresHistory.List", req), deadline: deadline)
|
6489
6490
|
rescue => exception
|
6490
|
-
if (@parent.shouldRetry(tries, exception))
|
6491
|
-
tries +
|
6491
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6492
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6492
6493
|
next
|
6493
6494
|
end
|
6494
6495
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6534,8 +6535,8 @@ module SDM #:nodoc:
|
|
6534
6535
|
begin
|
6535
6536
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("WorkflowApprovers.Create", req), deadline: deadline)
|
6536
6537
|
rescue => exception
|
6537
|
-
if (@parent.shouldRetry(tries, exception))
|
6538
|
-
tries +
|
6538
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6539
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6539
6540
|
next
|
6540
6541
|
end
|
6541
6542
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6567,8 +6568,8 @@ module SDM #:nodoc:
|
|
6567
6568
|
begin
|
6568
6569
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("WorkflowApprovers.Get", req), deadline: deadline)
|
6569
6570
|
rescue => exception
|
6570
|
-
if (@parent.shouldRetry(tries, exception))
|
6571
|
-
tries +
|
6571
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6572
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6572
6573
|
next
|
6573
6574
|
end
|
6574
6575
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6597,8 +6598,8 @@ module SDM #:nodoc:
|
|
6597
6598
|
begin
|
6598
6599
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("WorkflowApprovers.Delete", req), deadline: deadline)
|
6599
6600
|
rescue => exception
|
6600
|
-
if (@parent.shouldRetry(tries, exception))
|
6601
|
-
tries +
|
6601
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6602
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6602
6603
|
next
|
6603
6604
|
end
|
6604
6605
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6619,7 +6620,7 @@ module SDM #:nodoc:
|
|
6619
6620
|
)
|
6620
6621
|
req = V1::WorkflowApproversListRequest.new()
|
6621
6622
|
req.meta = V1::ListRequestMetadata.new()
|
6622
|
-
if @parent.page_limit
|
6623
|
+
if not @parent.page_limit.nil?
|
6623
6624
|
req.meta.limit = @parent.page_limit
|
6624
6625
|
end
|
6625
6626
|
if not @parent.snapshot_time.nil?
|
@@ -6633,8 +6634,8 @@ module SDM #:nodoc:
|
|
6633
6634
|
begin
|
6634
6635
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowApprovers.List", req), deadline: deadline)
|
6635
6636
|
rescue => exception
|
6636
|
-
if (@parent.shouldRetry(tries, exception))
|
6637
|
-
tries +
|
6637
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6638
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6638
6639
|
next
|
6639
6640
|
end
|
6640
6641
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6708,7 +6709,7 @@ module SDM #:nodoc:
|
|
6708
6709
|
)
|
6709
6710
|
req = V1::WorkflowApproversHistoryListRequest.new()
|
6710
6711
|
req.meta = V1::ListRequestMetadata.new()
|
6711
|
-
if @parent.page_limit
|
6712
|
+
if not @parent.page_limit.nil?
|
6712
6713
|
req.meta.limit = @parent.page_limit
|
6713
6714
|
end
|
6714
6715
|
if not @parent.snapshot_time.nil?
|
@@ -6722,8 +6723,8 @@ module SDM #:nodoc:
|
|
6722
6723
|
begin
|
6723
6724
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowApproversHistory.List", req), deadline: deadline)
|
6724
6725
|
rescue => exception
|
6725
|
-
if (@parent.shouldRetry(tries, exception))
|
6726
|
-
tries +
|
6726
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6727
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6727
6728
|
next
|
6728
6729
|
end
|
6729
6730
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6764,7 +6765,7 @@ module SDM #:nodoc:
|
|
6764
6765
|
)
|
6765
6766
|
req = V1::WorkflowAssignmentsListRequest.new()
|
6766
6767
|
req.meta = V1::ListRequestMetadata.new()
|
6767
|
-
if @parent.page_limit
|
6768
|
+
if not @parent.page_limit.nil?
|
6768
6769
|
req.meta.limit = @parent.page_limit
|
6769
6770
|
end
|
6770
6771
|
if not @parent.snapshot_time.nil?
|
@@ -6778,8 +6779,8 @@ module SDM #:nodoc:
|
|
6778
6779
|
begin
|
6779
6780
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowAssignments.List", req), deadline: deadline)
|
6780
6781
|
rescue => exception
|
6781
|
-
if (@parent.shouldRetry(tries, exception))
|
6782
|
-
tries +
|
6782
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6783
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6783
6784
|
next
|
6784
6785
|
end
|
6785
6786
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6842,7 +6843,7 @@ module SDM #:nodoc:
|
|
6842
6843
|
)
|
6843
6844
|
req = V1::WorkflowAssignmentsHistoryListRequest.new()
|
6844
6845
|
req.meta = V1::ListRequestMetadata.new()
|
6845
|
-
if @parent.page_limit
|
6846
|
+
if not @parent.page_limit.nil?
|
6846
6847
|
req.meta.limit = @parent.page_limit
|
6847
6848
|
end
|
6848
6849
|
if not @parent.snapshot_time.nil?
|
@@ -6856,8 +6857,8 @@ module SDM #:nodoc:
|
|
6856
6857
|
begin
|
6857
6858
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowAssignmentsHistory.List", req), deadline: deadline)
|
6858
6859
|
rescue => exception
|
6859
|
-
if (@parent.shouldRetry(tries, exception))
|
6860
|
-
tries +
|
6860
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6861
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6861
6862
|
next
|
6862
6863
|
end
|
6863
6864
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6904,8 +6905,8 @@ module SDM #:nodoc:
|
|
6904
6905
|
begin
|
6905
6906
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("WorkflowRoles.Create", req), deadline: deadline)
|
6906
6907
|
rescue => exception
|
6907
|
-
if (@parent.shouldRetry(tries, exception))
|
6908
|
-
tries +
|
6908
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6909
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6909
6910
|
next
|
6910
6911
|
end
|
6911
6912
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6937,8 +6938,8 @@ module SDM #:nodoc:
|
|
6937
6938
|
begin
|
6938
6939
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("WorkflowRoles.Get", req), deadline: deadline)
|
6939
6940
|
rescue => exception
|
6940
|
-
if (@parent.shouldRetry(tries, exception))
|
6941
|
-
tries +
|
6941
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6942
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6942
6943
|
next
|
6943
6944
|
end
|
6944
6945
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6967,8 +6968,8 @@ module SDM #:nodoc:
|
|
6967
6968
|
begin
|
6968
6969
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("WorkflowRoles.Delete", req), deadline: deadline)
|
6969
6970
|
rescue => exception
|
6970
|
-
if (@parent.shouldRetry(tries, exception))
|
6971
|
-
tries +
|
6971
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
6972
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
6972
6973
|
next
|
6973
6974
|
end
|
6974
6975
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -6989,7 +6990,7 @@ module SDM #:nodoc:
|
|
6989
6990
|
)
|
6990
6991
|
req = V1::WorkflowRolesListRequest.new()
|
6991
6992
|
req.meta = V1::ListRequestMetadata.new()
|
6992
|
-
if @parent.page_limit
|
6993
|
+
if not @parent.page_limit.nil?
|
6993
6994
|
req.meta.limit = @parent.page_limit
|
6994
6995
|
end
|
6995
6996
|
if not @parent.snapshot_time.nil?
|
@@ -7003,8 +7004,8 @@ module SDM #:nodoc:
|
|
7003
7004
|
begin
|
7004
7005
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowRoles.List", req), deadline: deadline)
|
7005
7006
|
rescue => exception
|
7006
|
-
if (@parent.shouldRetry(tries, exception))
|
7007
|
-
tries +
|
7007
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
7008
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
7008
7009
|
next
|
7009
7010
|
end
|
7010
7011
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -7078,7 +7079,7 @@ module SDM #:nodoc:
|
|
7078
7079
|
)
|
7079
7080
|
req = V1::WorkflowRolesHistoryListRequest.new()
|
7080
7081
|
req.meta = V1::ListRequestMetadata.new()
|
7081
|
-
if @parent.page_limit
|
7082
|
+
if not @parent.page_limit.nil?
|
7082
7083
|
req.meta.limit = @parent.page_limit
|
7083
7084
|
end
|
7084
7085
|
if not @parent.snapshot_time.nil?
|
@@ -7092,8 +7093,8 @@ module SDM #:nodoc:
|
|
7092
7093
|
begin
|
7093
7094
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowRolesHistory.List", req), deadline: deadline)
|
7094
7095
|
rescue => exception
|
7095
|
-
if (@parent.shouldRetry(tries, exception))
|
7096
|
-
tries +
|
7096
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
7097
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
7097
7098
|
next
|
7098
7099
|
end
|
7099
7100
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -7141,8 +7142,8 @@ module SDM #:nodoc:
|
|
7141
7142
|
begin
|
7142
7143
|
plumbing_response = @stub.create(req, metadata: @parent.get_metadata("Workflows.Create", req), deadline: deadline)
|
7143
7144
|
rescue => exception
|
7144
|
-
if (@parent.shouldRetry(tries, exception))
|
7145
|
-
tries +
|
7145
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
7146
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
7146
7147
|
next
|
7147
7148
|
end
|
7148
7149
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -7174,8 +7175,8 @@ module SDM #:nodoc:
|
|
7174
7175
|
begin
|
7175
7176
|
plumbing_response = @stub.get(req, metadata: @parent.get_metadata("Workflows.Get", req), deadline: deadline)
|
7176
7177
|
rescue => exception
|
7177
|
-
if (@parent.shouldRetry(tries, exception))
|
7178
|
-
tries +
|
7178
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
7179
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
7179
7180
|
next
|
7180
7181
|
end
|
7181
7182
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -7204,8 +7205,8 @@ module SDM #:nodoc:
|
|
7204
7205
|
begin
|
7205
7206
|
plumbing_response = @stub.delete(req, metadata: @parent.get_metadata("Workflows.Delete", req), deadline: deadline)
|
7206
7207
|
rescue => exception
|
7207
|
-
if (@parent.shouldRetry(tries, exception))
|
7208
|
-
tries +
|
7208
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
7209
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
7209
7210
|
next
|
7210
7211
|
end
|
7211
7212
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -7233,8 +7234,8 @@ module SDM #:nodoc:
|
|
7233
7234
|
begin
|
7234
7235
|
plumbing_response = @stub.update(req, metadata: @parent.get_metadata("Workflows.Update", req), deadline: deadline)
|
7235
7236
|
rescue => exception
|
7236
|
-
if (@parent.shouldRetry(tries, exception))
|
7237
|
-
tries +
|
7237
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
7238
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
7238
7239
|
next
|
7239
7240
|
end
|
7240
7241
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -7256,7 +7257,7 @@ module SDM #:nodoc:
|
|
7256
7257
|
)
|
7257
7258
|
req = V1::WorkflowListRequest.new()
|
7258
7259
|
req.meta = V1::ListRequestMetadata.new()
|
7259
|
-
if @parent.page_limit
|
7260
|
+
if not @parent.page_limit.nil?
|
7260
7261
|
req.meta.limit = @parent.page_limit
|
7261
7262
|
end
|
7262
7263
|
if not @parent.snapshot_time.nil?
|
@@ -7270,8 +7271,8 @@ module SDM #:nodoc:
|
|
7270
7271
|
begin
|
7271
7272
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("Workflows.List", req), deadline: deadline)
|
7272
7273
|
rescue => exception
|
7273
|
-
if (@parent.shouldRetry(tries, exception))
|
7274
|
-
tries +
|
7274
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
7275
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
7275
7276
|
next
|
7276
7277
|
end
|
7277
7278
|
raise Plumbing::convert_error_to_porcelain(exception)
|
@@ -7345,7 +7346,7 @@ module SDM #:nodoc:
|
|
7345
7346
|
)
|
7346
7347
|
req = V1::WorkflowHistoryListRequest.new()
|
7347
7348
|
req.meta = V1::ListRequestMetadata.new()
|
7348
|
-
if @parent.page_limit
|
7349
|
+
if not @parent.page_limit.nil?
|
7349
7350
|
req.meta.limit = @parent.page_limit
|
7350
7351
|
end
|
7351
7352
|
if not @parent.snapshot_time.nil?
|
@@ -7359,8 +7360,8 @@ module SDM #:nodoc:
|
|
7359
7360
|
begin
|
7360
7361
|
plumbing_response = @stub.list(req, metadata: @parent.get_metadata("WorkflowsHistory.List", req), deadline: deadline)
|
7361
7362
|
rescue => exception
|
7362
|
-
if (@parent.shouldRetry(tries, exception))
|
7363
|
-
tries +
|
7363
|
+
if (@parent.shouldRetry(tries, exception, deadline))
|
7364
|
+
tries + +sleep(@parent.exponentialBackoff(tries, deadline))
|
7364
7365
|
next
|
7365
7366
|
end
|
7366
7367
|
raise Plumbing::convert_error_to_porcelain(exception)
|