strongdm 1.0.26 → 1.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.git/FETCH_HEAD +2 -0
- data/.git/HEAD +1 -0
- data/.git/ORIG_HEAD +1 -0
- data/.git/config +14 -0
- data/.git/description +1 -0
- data/.git/hooks/applypatch-msg.sample +15 -0
- data/.git/hooks/commit-msg.sample +24 -0
- data/.git/hooks/fsmonitor-watchman.sample +114 -0
- data/.git/hooks/post-update.sample +8 -0
- data/.git/hooks/pre-applypatch.sample +14 -0
- data/.git/hooks/pre-commit.sample +49 -0
- data/.git/hooks/pre-push.sample +53 -0
- data/.git/hooks/pre-rebase.sample +169 -0
- data/.git/hooks/pre-receive.sample +24 -0
- data/.git/hooks/prepare-commit-msg.sample +42 -0
- data/.git/hooks/update.sample +128 -0
- data/.git/index +0 -0
- data/.git/info/exclude +6 -0
- data/.git/logs/HEAD +4 -0
- data/.git/logs/refs/heads/development +1 -0
- data/.git/logs/refs/heads/master +2 -0
- data/.git/logs/refs/remotes/origin/HEAD +1 -0
- data/.git/objects/pack/pack-e59f6bedc3261325378736e7cec548f841834e55.idx +0 -0
- data/.git/objects/pack/pack-e59f6bedc3261325378736e7cec548f841834e55.pack +0 -0
- data/.git/packed-refs +27 -0
- data/.git/refs/heads/development +1 -0
- data/.git/refs/heads/master +1 -0
- data/.git/refs/remotes/origin/HEAD +1 -0
- data/doc/Object.html +10 -0
- data/doc/SDM/Client.html +11 -6
- data/doc/V1.html +0 -200
- data/doc/created.rid +38 -49
- data/doc/index.html +0 -16
- data/doc/js/navigation.js.gz +0 -0
- data/doc/js/search_index.js +1 -1
- data/doc/js/search_index.js.gz +0 -0
- data/doc/js/searcher.js.gz +0 -0
- data/doc/lib/version.html +1 -1
- data/doc/strongdm_gemspec.html +1 -1
- data/doc/table_of_contents.html +0 -40
- data/lib/strongdm.rb +8 -1
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- data/strongdm.gemspec +1 -1
- metadata +274 -269
- data/doc/Google/Protobuf.html +0 -95
- data/doc/Google.html +0 -95
- data/doc/SDM/AccessRuleCreateResponse.html +0 -267
- data/doc/SDM/AccessRuleDeleteResponse.html +0 -249
- data/doc/SDM/AccessRuleUpdateResponse.html +0 -267
- data/doc/SDM/AccountAttachmentCreateOptions.html +0 -231
- data/doc/SDM/AmazonMQRabbitMQAMQP091.html +0 -427
- data/doc/SDM/SecretStore.html +0 -303
- data/doc/V1/AccessRules/Service.html +0 -116
- data/doc/V1/AccessRules.html +0 -110
- data/doc/V1/Audits/Service.html +0 -119
- data/doc/V1/Audits.html +0 -113
- data/doc/V1/BuildsPrivate/Service.html +0 -116
- data/doc/V1/BuildsPrivate.html +0 -110
- data/doc/V1/DemoProvisioningRequests/Service.html +0 -116
- data/doc/V1/DemoProvisioningRequests.html +0 -110
- data/doc/V1/Permissions/Service.html +0 -119
- data/doc/V1/SecretStoreHealths/Service.html +0 -116
- data/doc/V1/SecretStoreHealths.html +0 -110
- data/doc/examples/Gemfile_lock.html +0 -122
- data/doc/examples/README_md.html +0 -105
- data/doc/examples/okta-sync/Gemfile.html +0 -105
- data/doc/examples/okta-sync/Gemfile_lock.html +0 -146
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# An example hook script to make use of push options.
|
4
|
+
# The example simply echoes all push options that start with 'echoback='
|
5
|
+
# and rejects all pushes when the "reject" push option is used.
|
6
|
+
#
|
7
|
+
# To enable this hook, rename this file to "pre-receive".
|
8
|
+
|
9
|
+
if test -n "$GIT_PUSH_OPTION_COUNT"
|
10
|
+
then
|
11
|
+
i=0
|
12
|
+
while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"
|
13
|
+
do
|
14
|
+
eval "value=\$GIT_PUSH_OPTION_$i"
|
15
|
+
case "$value" in
|
16
|
+
echoback=*)
|
17
|
+
echo "echo from the pre-receive-hook: ${value#*=}" >&2
|
18
|
+
;;
|
19
|
+
reject)
|
20
|
+
exit 1
|
21
|
+
esac
|
22
|
+
i=$((i + 1))
|
23
|
+
done
|
24
|
+
fi
|
@@ -0,0 +1,42 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# An example hook script to prepare the commit log message.
|
4
|
+
# Called by "git commit" with the name of the file that has the
|
5
|
+
# commit message, followed by the description of the commit
|
6
|
+
# message's source. The hook's purpose is to edit the commit
|
7
|
+
# message file. If the hook fails with a non-zero status,
|
8
|
+
# the commit is aborted.
|
9
|
+
#
|
10
|
+
# To enable this hook, rename this file to "prepare-commit-msg".
|
11
|
+
|
12
|
+
# This hook includes three examples. The first one removes the
|
13
|
+
# "# Please enter the commit message..." help message.
|
14
|
+
#
|
15
|
+
# The second includes the output of "git diff --name-status -r"
|
16
|
+
# into the message, just before the "git status" output. It is
|
17
|
+
# commented because it doesn't cope with --amend or with squashed
|
18
|
+
# commits.
|
19
|
+
#
|
20
|
+
# The third example adds a Signed-off-by line to the message, that can
|
21
|
+
# still be edited. This is rarely a good idea.
|
22
|
+
|
23
|
+
COMMIT_MSG_FILE=$1
|
24
|
+
COMMIT_SOURCE=$2
|
25
|
+
SHA1=$3
|
26
|
+
|
27
|
+
/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE"
|
28
|
+
|
29
|
+
# case "$COMMIT_SOURCE,$SHA1" in
|
30
|
+
# ,|template,)
|
31
|
+
# /usr/bin/perl -i.bak -pe '
|
32
|
+
# print "\n" . `git diff --cached --name-status -r`
|
33
|
+
# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;;
|
34
|
+
# *) ;;
|
35
|
+
# esac
|
36
|
+
|
37
|
+
# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
|
38
|
+
# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"
|
39
|
+
# if test -z "$COMMIT_SOURCE"
|
40
|
+
# then
|
41
|
+
# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE"
|
42
|
+
# fi
|
@@ -0,0 +1,128 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
#
|
3
|
+
# An example hook script to block unannotated tags from entering.
|
4
|
+
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
|
5
|
+
#
|
6
|
+
# To enable this hook, rename this file to "update".
|
7
|
+
#
|
8
|
+
# Config
|
9
|
+
# ------
|
10
|
+
# hooks.allowunannotated
|
11
|
+
# This boolean sets whether unannotated tags will be allowed into the
|
12
|
+
# repository. By default they won't be.
|
13
|
+
# hooks.allowdeletetag
|
14
|
+
# This boolean sets whether deleting tags will be allowed in the
|
15
|
+
# repository. By default they won't be.
|
16
|
+
# hooks.allowmodifytag
|
17
|
+
# This boolean sets whether a tag may be modified after creation. By default
|
18
|
+
# it won't be.
|
19
|
+
# hooks.allowdeletebranch
|
20
|
+
# This boolean sets whether deleting branches will be allowed in the
|
21
|
+
# repository. By default they won't be.
|
22
|
+
# hooks.denycreatebranch
|
23
|
+
# This boolean sets whether remotely creating branches will be denied
|
24
|
+
# in the repository. By default this is allowed.
|
25
|
+
#
|
26
|
+
|
27
|
+
# --- Command line
|
28
|
+
refname="$1"
|
29
|
+
oldrev="$2"
|
30
|
+
newrev="$3"
|
31
|
+
|
32
|
+
# --- Safety check
|
33
|
+
if [ -z "$GIT_DIR" ]; then
|
34
|
+
echo "Don't run this script from the command line." >&2
|
35
|
+
echo " (if you want, you could supply GIT_DIR then run" >&2
|
36
|
+
echo " $0 <ref> <oldrev> <newrev>)" >&2
|
37
|
+
exit 1
|
38
|
+
fi
|
39
|
+
|
40
|
+
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
|
41
|
+
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
|
42
|
+
exit 1
|
43
|
+
fi
|
44
|
+
|
45
|
+
# --- Config
|
46
|
+
allowunannotated=$(git config --bool hooks.allowunannotated)
|
47
|
+
allowdeletebranch=$(git config --bool hooks.allowdeletebranch)
|
48
|
+
denycreatebranch=$(git config --bool hooks.denycreatebranch)
|
49
|
+
allowdeletetag=$(git config --bool hooks.allowdeletetag)
|
50
|
+
allowmodifytag=$(git config --bool hooks.allowmodifytag)
|
51
|
+
|
52
|
+
# check for no description
|
53
|
+
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
|
54
|
+
case "$projectdesc" in
|
55
|
+
"Unnamed repository"* | "")
|
56
|
+
echo "*** Project description file hasn't been set" >&2
|
57
|
+
exit 1
|
58
|
+
;;
|
59
|
+
esac
|
60
|
+
|
61
|
+
# --- Check types
|
62
|
+
# if $newrev is 0000...0000, it's a commit to delete a ref.
|
63
|
+
zero="0000000000000000000000000000000000000000"
|
64
|
+
if [ "$newrev" = "$zero" ]; then
|
65
|
+
newrev_type=delete
|
66
|
+
else
|
67
|
+
newrev_type=$(git cat-file -t $newrev)
|
68
|
+
fi
|
69
|
+
|
70
|
+
case "$refname","$newrev_type" in
|
71
|
+
refs/tags/*,commit)
|
72
|
+
# un-annotated tag
|
73
|
+
short_refname=${refname##refs/tags/}
|
74
|
+
if [ "$allowunannotated" != "true" ]; then
|
75
|
+
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
|
76
|
+
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
|
77
|
+
exit 1
|
78
|
+
fi
|
79
|
+
;;
|
80
|
+
refs/tags/*,delete)
|
81
|
+
# delete tag
|
82
|
+
if [ "$allowdeletetag" != "true" ]; then
|
83
|
+
echo "*** Deleting a tag is not allowed in this repository" >&2
|
84
|
+
exit 1
|
85
|
+
fi
|
86
|
+
;;
|
87
|
+
refs/tags/*,tag)
|
88
|
+
# annotated tag
|
89
|
+
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
|
90
|
+
then
|
91
|
+
echo "*** Tag '$refname' already exists." >&2
|
92
|
+
echo "*** Modifying a tag is not allowed in this repository." >&2
|
93
|
+
exit 1
|
94
|
+
fi
|
95
|
+
;;
|
96
|
+
refs/heads/*,commit)
|
97
|
+
# branch
|
98
|
+
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
|
99
|
+
echo "*** Creating a branch is not allowed in this repository" >&2
|
100
|
+
exit 1
|
101
|
+
fi
|
102
|
+
;;
|
103
|
+
refs/heads/*,delete)
|
104
|
+
# delete branch
|
105
|
+
if [ "$allowdeletebranch" != "true" ]; then
|
106
|
+
echo "*** Deleting a branch is not allowed in this repository" >&2
|
107
|
+
exit 1
|
108
|
+
fi
|
109
|
+
;;
|
110
|
+
refs/remotes/*,commit)
|
111
|
+
# tracking branch
|
112
|
+
;;
|
113
|
+
refs/remotes/*,delete)
|
114
|
+
# delete tracking branch
|
115
|
+
if [ "$allowdeletebranch" != "true" ]; then
|
116
|
+
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
|
117
|
+
exit 1
|
118
|
+
fi
|
119
|
+
;;
|
120
|
+
*)
|
121
|
+
# Anything else (is there anything else?)
|
122
|
+
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
|
123
|
+
exit 1
|
124
|
+
;;
|
125
|
+
esac
|
126
|
+
|
127
|
+
# --- Finished
|
128
|
+
exit 0
|
data/.git/index
ADDED
Binary file
|
data/.git/info/exclude
ADDED
data/.git/logs/HEAD
ADDED
@@ -0,0 +1,4 @@
|
|
1
|
+
0000000000000000000000000000000000000000 f85f9a441bd544d644220bf480924784c235a494 sdmrelease <support@strongdm.com> 1629764232 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
f85f9a441bd544d644220bf480924784c235a494 aa3acd85486e8faa756334c70e881034edc7b677 sdmrelease <support@strongdm.com> 1629764232 +0000 checkout: moving from master to development
|
3
|
+
aa3acd85486e8faa756334c70e881034edc7b677 f85f9a441bd544d644220bf480924784c235a494 sdmrelease <support@strongdm.com> 1629764233 +0000 checkout: moving from development to master
|
4
|
+
f85f9a441bd544d644220bf480924784c235a494 aa3acd85486e8faa756334c70e881034edc7b677 sdmrelease <support@strongdm.com> 1629764234 +0000 merge development: Fast-forward
|
@@ -0,0 +1 @@
|
|
1
|
+
0000000000000000000000000000000000000000 aa3acd85486e8faa756334c70e881034edc7b677 sdmrelease <support@strongdm.com> 1629764232 +0000 branch: Created from refs/remotes/origin/development
|
@@ -0,0 +1,2 @@
|
|
1
|
+
0000000000000000000000000000000000000000 f85f9a441bd544d644220bf480924784c235a494 sdmrelease <support@strongdm.com> 1629764232 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
f85f9a441bd544d644220bf480924784c235a494 aa3acd85486e8faa756334c70e881034edc7b677 sdmrelease <support@strongdm.com> 1629764234 +0000 merge development: Fast-forward
|
@@ -0,0 +1 @@
|
|
1
|
+
0000000000000000000000000000000000000000 f85f9a441bd544d644220bf480924784c235a494 sdmrelease <support@strongdm.com> 1629764232 +0000 clone: from git@github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
data/.git/packed-refs
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
# pack-refs with: peeled fully-peeled sorted
|
2
|
+
aa3acd85486e8faa756334c70e881034edc7b677 refs/remotes/origin/development
|
3
|
+
f85f9a441bd544d644220bf480924784c235a494 refs/remotes/origin/master
|
4
|
+
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
|
+
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
|
+
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
7
|
+
2e060bd8d41ec1a67a8125751311db67bb41d72c refs/tags/v1.0.10
|
8
|
+
91df2c6ef12c2b0146145c978064ab264381febc refs/tags/v1.0.11
|
9
|
+
2a4554db3b6df5d8019597214a71675c96e079b9 refs/tags/v1.0.12
|
10
|
+
badbf313cf4c736af64cdef9598fea7a74e8c365 refs/tags/v1.0.13
|
11
|
+
6d55eba77937be64fb2f4e1382d9df1321ac0151 refs/tags/v1.0.14
|
12
|
+
4d1f2b2f816b5edf6ffaf6e3c8d16c90c5e687f6 refs/tags/v1.0.15
|
13
|
+
882f18c344644f9fe72bed964238a338615e4caf refs/tags/v1.0.16
|
14
|
+
86f2ae658c2085e16a1e5cd03fb14c5b2505e9e5 refs/tags/v1.0.17
|
15
|
+
61a8970324a34577537f45cbe82f19c0f9410e1e refs/tags/v1.0.18
|
16
|
+
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/v1.0.19
|
17
|
+
09aeccb9ebe4df8c7ab9d3f830012fba5c913bd1 refs/tags/v1.0.2
|
18
|
+
6ac7032c16c98e643e01c9d4c545ae82e180eed0 refs/tags/v1.0.21
|
19
|
+
79a22a72240267eeb9d1b6f94ff66965a9164701 refs/tags/v1.0.22
|
20
|
+
ab2fba03f0f1257779bc8f366baefcb97a43de81 refs/tags/v1.0.23
|
21
|
+
b7a82a16ce2cebef371592575e1562db8ac35325 refs/tags/v1.0.24
|
22
|
+
f85f9a441bd544d644220bf480924784c235a494 refs/tags/v1.0.26
|
23
|
+
7ad3db341b5a4bac2930ffd5fb2234b8ec31e3fa refs/tags/v1.0.3
|
24
|
+
f05d3be5bc992d5a37ba13bc4ce092056769d9c8 refs/tags/v1.0.4
|
25
|
+
75c17c9bc6e2c5877c35a61682b5d2b93ba79817 refs/tags/v1.0.5
|
26
|
+
d035aa3acb4c3a0935121bc00bfbb0a9e999d410 refs/tags/v1.0.7
|
27
|
+
5b01475679f3312831a0fa1009e7cf90889effa8 refs/tags/v1.0.8
|
@@ -0,0 +1 @@
|
|
1
|
+
aa3acd85486e8faa756334c70e881034edc7b677
|
@@ -0,0 +1 @@
|
|
1
|
+
aa3acd85486e8faa756334c70e881034edc7b677
|
@@ -0,0 +1 @@
|
|
1
|
+
ref: refs/remotes/origin/master
|
data/doc/Object.html
CHANGED
@@ -92,6 +92,11 @@
|
|
92
92
|
</header>
|
93
93
|
<dl>
|
94
94
|
|
95
|
+
<dt id="API_VERSION">API_VERSION
|
96
|
+
|
97
|
+
<dd>
|
98
|
+
|
99
|
+
|
95
100
|
<dt id="DEFAULT_BASE_RETRY_DELAY">DEFAULT_BASE_RETRY_DELAY
|
96
101
|
|
97
102
|
<dd>
|
@@ -107,6 +112,11 @@
|
|
107
112
|
<dd>
|
108
113
|
|
109
114
|
|
115
|
+
<dt id="USER_AGENT">USER_AGENT
|
116
|
+
|
117
|
+
<dd>
|
118
|
+
|
119
|
+
|
110
120
|
</dl>
|
111
121
|
</section>
|
112
122
|
|
data/doc/SDM/Client.html
CHANGED
@@ -348,7 +348,7 @@
|
|
348
348
|
|
349
349
|
|
350
350
|
<div class="method-source-code" id="new-source">
|
351
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
351
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 33</span>
|
352
352
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>(<span class="ruby-identifier">api_access_key</span>, <span class="ruby-identifier">api_secret_key</span>, <span class="ruby-value">host:</span><span class="ruby-string">"api.strongdm.com:443"</span>, <span class="ruby-value">insecure:</span><span class="ruby-keyword">false</span>)
|
353
353
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-string">'client access key must be a string'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">api_access_key</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">String</span>)
|
354
354
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">TypeError</span>, <span class="ruby-string">'client secret key must be a string'</span> <span class="ruby-keyword">unless</span> <span class="ruby-identifier">api_secret_key</span>.<span class="ruby-identifier">kind_of?</span>(<span class="ruby-constant">String</span>)
|
@@ -407,9 +407,14 @@
|
|
407
407
|
|
408
408
|
|
409
409
|
<div class="method-source-code" id="get_metadata-source">
|
410
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
410
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 55</span>
|
411
411
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">get_metadata</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">req</span>)
|
412
|
-
<span class="ruby-keyword">return</span> {
|
412
|
+
<span class="ruby-keyword">return</span> {
|
413
|
+
<span class="ruby-value">'x-sdm-authentication':</span> <span class="ruby-ivar">@api_access_key</span>,
|
414
|
+
<span class="ruby-value">'x-sdm-signature':</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">sign</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">req</span>.<span class="ruby-identifier">to_proto</span>),
|
415
|
+
<span class="ruby-value">'x-sdm-api-version':</span> <span class="ruby-constant">API_VERSION</span>,
|
416
|
+
<span class="ruby-value">'x-sdm-user-agent':</span> <span class="ruby-constant">USER_AGENT</span>,
|
417
|
+
}
|
413
418
|
<span class="ruby-keyword">end</span></pre>
|
414
419
|
</div>
|
415
420
|
|
@@ -440,7 +445,7 @@
|
|
440
445
|
|
441
446
|
|
442
447
|
<div class="method-source-code" id="jitterSleep-source">
|
443
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
448
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 80</span>
|
444
449
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">jitterSleep</span>(<span class="ruby-identifier">iter</span>)
|
445
450
|
<span class="ruby-identifier">dur_max</span> = <span class="ruby-ivar">@base_retry_delay</span> <span class="ruby-operator">*</span> <span class="ruby-value">2</span><span class="ruby-operator">**</span><span class="ruby-identifier">iter</span>
|
446
451
|
<span class="ruby-keyword">if</span> (<span class="ruby-identifier">dur_max</span> <span class="ruby-operator">></span> <span class="ruby-ivar">@max_retry_delay</span>)
|
@@ -478,7 +483,7 @@
|
|
478
483
|
|
479
484
|
|
480
485
|
<div class="method-source-code" id="shouldRetry-source">
|
481
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
486
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 89</span>
|
482
487
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">shouldRetry</span>(<span class="ruby-identifier">iter</span>, <span class="ruby-identifier">err</span>)
|
483
488
|
<span class="ruby-keyword">if</span> (<span class="ruby-identifier">iter</span> <span class="ruby-operator">>=</span> <span class="ruby-ivar">@max_retries</span><span class="ruby-value">-1</span>)
|
484
489
|
<span class="ruby-keyword">return</span> <span class="ruby-keyword">false</span>
|
@@ -517,7 +522,7 @@
|
|
517
522
|
|
518
523
|
|
519
524
|
<div class="method-source-code" id="sign-source">
|
520
|
-
<pre><span class="ruby-comment"># File lib/strongdm.rb, line
|
525
|
+
<pre><span class="ruby-comment"># File lib/strongdm.rb, line 64</span>
|
521
526
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">sign</span>(<span class="ruby-identifier">method_name</span>, <span class="ruby-identifier">msg_bytes</span>)
|
522
527
|
<span class="ruby-identifier">current_utc_date</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">now</span>.<span class="ruby-identifier">utc</span>
|
523
528
|
<span class="ruby-identifier">date</span> = <span class="ruby-identifier">sprintf</span>(<span class="ruby-string">"%04d-%02d-%02d"</span>,<span class="ruby-identifier">current_utc_date</span>.<span class="ruby-identifier">year</span>, <span class="ruby-identifier">current_utc_date</span>.<span class="ruby-identifier">month</span>, <span class="ruby-identifier">current_utc_date</span>.<span class="ruby-identifier">day</span>)
|
data/doc/V1.html
CHANGED
@@ -120,71 +120,6 @@
|
|
120
120
|
<dd>
|
121
121
|
|
122
122
|
|
123
|
-
<dt id="AccessRule">AccessRule
|
124
|
-
|
125
|
-
<dd>
|
126
|
-
|
127
|
-
|
128
|
-
<dt id="AccessRuleCreateRequest">AccessRuleCreateRequest
|
129
|
-
|
130
|
-
<dd>
|
131
|
-
|
132
|
-
|
133
|
-
<dt id="AccessRuleCreateResponse">AccessRuleCreateResponse
|
134
|
-
|
135
|
-
<dd>
|
136
|
-
|
137
|
-
|
138
|
-
<dt id="AccessRuleDeleteRequest">AccessRuleDeleteRequest
|
139
|
-
|
140
|
-
<dd>
|
141
|
-
|
142
|
-
|
143
|
-
<dt id="AccessRuleDeleteResponse">AccessRuleDeleteResponse
|
144
|
-
|
145
|
-
<dd>
|
146
|
-
|
147
|
-
|
148
|
-
<dt id="AccessRuleGetRequest">AccessRuleGetRequest
|
149
|
-
|
150
|
-
<dd>
|
151
|
-
|
152
|
-
|
153
|
-
<dt id="AccessRuleGetResponse">AccessRuleGetResponse
|
154
|
-
|
155
|
-
<dd>
|
156
|
-
|
157
|
-
|
158
|
-
<dt id="AccessRuleListRequest">AccessRuleListRequest
|
159
|
-
|
160
|
-
<dd>
|
161
|
-
|
162
|
-
|
163
|
-
<dt id="AccessRuleListResponse">AccessRuleListResponse
|
164
|
-
|
165
|
-
<dd>
|
166
|
-
|
167
|
-
|
168
|
-
<dt id="AccessRulePlanRequest">AccessRulePlanRequest
|
169
|
-
|
170
|
-
<dd>
|
171
|
-
|
172
|
-
|
173
|
-
<dt id="AccessRulePlanResponse">AccessRulePlanResponse
|
174
|
-
|
175
|
-
<dd>
|
176
|
-
|
177
|
-
|
178
|
-
<dt id="AccessRuleUpdateRequest">AccessRuleUpdateRequest
|
179
|
-
|
180
|
-
<dd>
|
181
|
-
|
182
|
-
|
183
|
-
<dt id="AccessRuleUpdateResponse">AccessRuleUpdateResponse
|
184
|
-
|
185
|
-
<dd>
|
186
|
-
|
187
|
-
|
188
123
|
<dt id="Account">Account
|
189
124
|
|
190
125
|
<dd>
|
@@ -355,16 +290,6 @@
|
|
355
290
|
<dd>
|
356
291
|
|
357
292
|
|
358
|
-
<dt id="ApplyAccessRuleRequest">ApplyAccessRuleRequest
|
359
|
-
|
360
|
-
<dd>
|
361
|
-
|
362
|
-
|
363
|
-
<dt id="ApplyAccessRuleResponse">ApplyAccessRuleResponse
|
364
|
-
|
365
|
-
<dd>
|
366
|
-
|
367
|
-
|
368
293
|
<dt id="Athena">Athena
|
369
294
|
|
370
295
|
<dd>
|
@@ -395,51 +320,6 @@
|
|
395
320
|
<dd>
|
396
321
|
|
397
322
|
|
398
|
-
<dt id="Build">Build
|
399
|
-
|
400
|
-
<dd>
|
401
|
-
|
402
|
-
|
403
|
-
<dt id="BuildCreateRequest">BuildCreateRequest
|
404
|
-
|
405
|
-
<dd>
|
406
|
-
|
407
|
-
|
408
|
-
<dt id="BuildCreateResponse">BuildCreateResponse
|
409
|
-
|
410
|
-
<dd>
|
411
|
-
|
412
|
-
|
413
|
-
<dt id="BuildGetRequest">BuildGetRequest
|
414
|
-
|
415
|
-
<dd>
|
416
|
-
|
417
|
-
|
418
|
-
<dt id="BuildGetResponse">BuildGetResponse
|
419
|
-
|
420
|
-
<dd>
|
421
|
-
|
422
|
-
|
423
|
-
<dt id="BuildListRequest">BuildListRequest
|
424
|
-
|
425
|
-
<dd>
|
426
|
-
|
427
|
-
|
428
|
-
<dt id="BuildListResponse">BuildListResponse
|
429
|
-
|
430
|
-
<dd>
|
431
|
-
|
432
|
-
|
433
|
-
<dt id="BuildUpdateRequest">BuildUpdateRequest
|
434
|
-
|
435
|
-
<dd>
|
436
|
-
|
437
|
-
|
438
|
-
<dt id="BuildUpdateResponse">BuildUpdateResponse
|
439
|
-
|
440
|
-
<dd>
|
441
|
-
|
442
|
-
|
443
323
|
<dt id="Cassandra">Cassandra
|
444
324
|
|
445
325
|
<dd>
|
@@ -515,61 +395,6 @@
|
|
515
395
|
<dd>
|
516
396
|
|
517
397
|
|
518
|
-
<dt id="DemoProvisioningRequest">DemoProvisioningRequest
|
519
|
-
|
520
|
-
<dd>
|
521
|
-
|
522
|
-
|
523
|
-
<dt id="DemoProvisioningRequestCreateRequest">DemoProvisioningRequestCreateRequest
|
524
|
-
|
525
|
-
<dd>
|
526
|
-
|
527
|
-
|
528
|
-
<dt id="DemoProvisioningRequestCreateResponse">DemoProvisioningRequestCreateResponse
|
529
|
-
|
530
|
-
<dd>
|
531
|
-
|
532
|
-
|
533
|
-
<dt id="DemoProvisioningRequestDeleteRequest">DemoProvisioningRequestDeleteRequest
|
534
|
-
|
535
|
-
<dd>
|
536
|
-
|
537
|
-
|
538
|
-
<dt id="DemoProvisioningRequestDeleteResponse">DemoProvisioningRequestDeleteResponse
|
539
|
-
|
540
|
-
<dd>
|
541
|
-
|
542
|
-
|
543
|
-
<dt id="DemoProvisioningRequestListAllRequest">DemoProvisioningRequestListAllRequest
|
544
|
-
|
545
|
-
<dd>
|
546
|
-
|
547
|
-
|
548
|
-
<dt id="DemoProvisioningRequestListAllResponse">DemoProvisioningRequestListAllResponse
|
549
|
-
|
550
|
-
<dd>
|
551
|
-
|
552
|
-
|
553
|
-
<dt id="DemoProvisioningRequestListForOrganizationRequest">DemoProvisioningRequestListForOrganizationRequest
|
554
|
-
|
555
|
-
<dd>
|
556
|
-
|
557
|
-
|
558
|
-
<dt id="DemoProvisioningRequestListForOrganizationResponse">DemoProvisioningRequestListForOrganizationResponse
|
559
|
-
|
560
|
-
<dd>
|
561
|
-
|
562
|
-
|
563
|
-
<dt id="DemoProvisioningRequestUpdateRequest">DemoProvisioningRequestUpdateRequest
|
564
|
-
|
565
|
-
<dd>
|
566
|
-
|
567
|
-
|
568
|
-
<dt id="DemoProvisioningRequestUpdateResponse">DemoProvisioningRequestUpdateResponse
|
569
|
-
|
570
|
-
<dd>
|
571
|
-
|
572
|
-
|
573
398
|
<dt id="Druid">Druid
|
574
399
|
|
575
400
|
<dd>
|
@@ -1135,31 +960,6 @@
|
|
1135
960
|
<dd>
|
1136
961
|
|
1137
962
|
|
1138
|
-
<dt id="SecretStoreHealth">SecretStoreHealth
|
1139
|
-
|
1140
|
-
<dd>
|
1141
|
-
|
1142
|
-
|
1143
|
-
<dt id="SecretStoreHealthCheckRequest">SecretStoreHealthCheckRequest
|
1144
|
-
|
1145
|
-
<dd>
|
1146
|
-
|
1147
|
-
|
1148
|
-
<dt id="SecretStoreHealthCheckResponse">SecretStoreHealthCheckResponse
|
1149
|
-
|
1150
|
-
<dd>
|
1151
|
-
|
1152
|
-
|
1153
|
-
<dt id="SecretStoreHealthListRequest">SecretStoreHealthListRequest
|
1154
|
-
|
1155
|
-
<dd>
|
1156
|
-
|
1157
|
-
|
1158
|
-
<dt id="SecretStoreHealthListResponse">SecretStoreHealthListResponse
|
1159
|
-
|
1160
|
-
<dd>
|
1161
|
-
|
1162
|
-
|
1163
963
|
<dt id="SecretStoreListRequest">SecretStoreListRequest
|
1164
964
|
|
1165
965
|
<dd>
|