strongdm 12.4.0 → 12.5.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-1c92771f0f53485130580cf88687c2cc0df52839.idx → pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.idx} +0 -0
- data/.git/objects/pack/{pack-1c92771f0f53485130580cf88687c2cc0df52839.pack → pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +17 -0
- data/lib/grpc/plumbing.rb +64 -0
- data/lib/models/porcelain.rb +67 -0
- data/lib/strongdm.rb +1 -1
- data/lib/svc.rb +1 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '07199e1b7bb9b40137b7c9ad89a7746d118c112e6ceca3b5aabd6f70b792bd30'
|
4
|
+
data.tar.gz: 5400e07a163dc5b838d69484706e46d467462049992220f5aa32a5784bd3f590
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dd28e7777b35e09904b50fe44c818b6c9661e75efeb1a01fae8e456c04b385c57c139d3fb1eefad53a3332841d454145f3f5999f20eab80aa7814091ff9b097
|
7
|
+
data.tar.gz: 6f4e00dbfdb27a3c11c3429cc9b32d1d90956229234f3431a47c174450048273bb314cbf418cacd84ecc7beb811d418c133e4e2a3a3f5ce86567d1b4ad9d9f2f
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
d2362ed882a935fc6d6a52abace4e581be82507d
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 d2362ed882a935fc6d6a52abace4e581be82507d root <root@5ef11d88e21e.(none)> 1737558914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
d2362ed882a935fc6d6a52abace4e581be82507d d2362ed882a935fc6d6a52abace4e581be82507d root <root@5ef11d88e21e.(none)> 1737558914 +0000 checkout: moving from master to master
|
3
|
+
d2362ed882a935fc6d6a52abace4e581be82507d 2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9 root <root@5ef11d88e21e.(none)> 1737558914 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 d2362ed882a935fc6d6a52abace4e581be82507d root <root@5ef11d88e21e.(none)> 1737558914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
d2362ed882a935fc6d6a52abace4e581be82507d 2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9 root <root@5ef11d88e21e.(none)> 1737558914 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 d2362ed882a935fc6d6a52abace4e581be82507d root <root@5ef11d88e21e.(none)> 1737558914 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
Binary file
|
Binary file
|
data/.git/packed-refs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# pack-refs with: peeled fully-peeled sorted
|
2
|
-
|
3
|
-
|
2
|
+
2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9 refs/remotes/origin/development
|
3
|
+
d2362ed882a935fc6d6a52abace4e581be82507d refs/remotes/origin/master
|
4
4
|
2e4fe8087177ddea9b3991ca499f758384839c89 refs/tags/untagged-84fd83a4484c785cce63
|
5
5
|
04f604866214fab4d5663b5171a3e596331577bd refs/tags/v0.9.4
|
6
6
|
6f9a7b75b345c65fb554884907b7060680c807b7 refs/tags/v0.9.5
|
@@ -61,6 +61,7 @@ cc3ff44b177b0c33bfbd0b0b9d76dc9679d871fd refs/tags/v11.7.0
|
|
61
61
|
dea63eda193578749a7430e674f939e5f452a50b refs/tags/v12.0.0
|
62
62
|
62153b27115243969f8f6048b9496f7801efb619 refs/tags/v12.1.0
|
63
63
|
d3ba64b9e0147a8f79b33775f1ca635dbcad3b68 refs/tags/v12.2.0
|
64
|
+
d2362ed882a935fc6d6a52abace4e581be82507d refs/tags/v12.4.0
|
64
65
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
65
66
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
66
67
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
2a5ebb62111d5382cb0b30fc81a5972f8e4e20c9
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -62,6 +62,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
62
62
|
optional :db_2_i, :message, 2400, "v1.DB2I"
|
63
63
|
optional :db_2_luw, :message, 2200, "v1.DB2LUW"
|
64
64
|
optional :document_db_host, :message, 1052, "v1.DocumentDBHost"
|
65
|
+
optional :document_db_host_iam, :message, 1055, "v1.DocumentDBHostIAM"
|
65
66
|
optional :document_db_replica_set, :message, 1053, "v1.DocumentDBReplicaSet"
|
66
67
|
optional :druid, :message, 400, "v1.Druid"
|
67
68
|
optional :dynamo_db, :message, 500, "v1.DynamoDB"
|
@@ -814,6 +815,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
814
815
|
optional :port_override, :int32, 3
|
815
816
|
optional :username, :string, 4
|
816
817
|
end
|
818
|
+
add_message "v1.DocumentDBHostIAM" do
|
819
|
+
optional :id, :string, 32768
|
820
|
+
optional :name, :string, 32769
|
821
|
+
optional :healthy, :bool, 32770
|
822
|
+
optional :tags, :message, 32771, "v1.Tags"
|
823
|
+
optional :secret_store_id, :string, 32772
|
824
|
+
optional :egress_filter, :string, 32773
|
825
|
+
optional :bind_interface, :string, 32774
|
826
|
+
optional :proxy_cluster_id, :string, 32776
|
827
|
+
optional :subdomain, :string, 32775
|
828
|
+
optional :hostname, :string, 1
|
829
|
+
optional :port, :int32, 6
|
830
|
+
optional :port_override, :int32, 3
|
831
|
+
optional :region, :string, 9
|
832
|
+
end
|
817
833
|
add_message "v1.DocumentDBReplicaSet" do
|
818
834
|
optional :id, :string, 32768
|
819
835
|
optional :name, :string, 32769
|
@@ -1881,6 +1897,7 @@ module V1
|
|
1881
1897
|
DB2I = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2I").msgclass
|
1882
1898
|
DB2LUW = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DB2LUW").msgclass
|
1883
1899
|
DocumentDBHost = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHost").msgclass
|
1900
|
+
DocumentDBHostIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHostIAM").msgclass
|
1884
1901
|
DocumentDBReplicaSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBReplicaSet").msgclass
|
1885
1902
|
Druid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Druid").msgclass
|
1886
1903
|
DynamoDB = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDB").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -5052,6 +5052,64 @@ module SDM
|
|
5052
5052
|
end
|
5053
5053
|
items
|
5054
5054
|
end
|
5055
|
+
def self.convert_document_db_host_iam_to_porcelain(plumbing)
|
5056
|
+
if plumbing == nil
|
5057
|
+
return nil
|
5058
|
+
end
|
5059
|
+
porcelain = DocumentDBHostIAM.new()
|
5060
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
5061
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
5062
|
+
porcelain.healthy = (plumbing.healthy)
|
5063
|
+
porcelain.hostname = (plumbing.hostname)
|
5064
|
+
porcelain.id = (plumbing.id)
|
5065
|
+
porcelain.name = (plumbing.name)
|
5066
|
+
porcelain.port = (plumbing.port)
|
5067
|
+
porcelain.port_override = (plumbing.port_override)
|
5068
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
5069
|
+
porcelain.region = (plumbing.region)
|
5070
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
5071
|
+
porcelain.subdomain = (plumbing.subdomain)
|
5072
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5073
|
+
porcelain
|
5074
|
+
end
|
5075
|
+
|
5076
|
+
def self.convert_document_db_host_iam_to_plumbing(porcelain)
|
5077
|
+
if porcelain == nil
|
5078
|
+
return nil
|
5079
|
+
end
|
5080
|
+
plumbing = V1::DocumentDBHostIAM.new()
|
5081
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
5082
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
5083
|
+
plumbing.healthy = (porcelain.healthy)
|
5084
|
+
plumbing.hostname = (porcelain.hostname)
|
5085
|
+
plumbing.id = (porcelain.id)
|
5086
|
+
plumbing.name = (porcelain.name)
|
5087
|
+
plumbing.port = (porcelain.port)
|
5088
|
+
plumbing.port_override = (porcelain.port_override)
|
5089
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
5090
|
+
plumbing.region = (porcelain.region)
|
5091
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
5092
|
+
plumbing.subdomain = (porcelain.subdomain)
|
5093
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
5094
|
+
plumbing
|
5095
|
+
end
|
5096
|
+
def self.convert_repeated_document_db_host_iam_to_plumbing(porcelains)
|
5097
|
+
items = Array.new
|
5098
|
+
porcelains.each do |porcelain|
|
5099
|
+
plumbing = convert_document_db_host_iam_to_plumbing(porcelain)
|
5100
|
+
items.append(plumbing)
|
5101
|
+
end
|
5102
|
+
items
|
5103
|
+
end
|
5104
|
+
|
5105
|
+
def self.convert_repeated_document_db_host_iam_to_porcelain(plumbings)
|
5106
|
+
items = Array.new
|
5107
|
+
plumbings.each do |plumbing|
|
5108
|
+
porcelain = convert_document_db_host_iam_to_porcelain(plumbing)
|
5109
|
+
items.append(porcelain)
|
5110
|
+
end
|
5111
|
+
items
|
5112
|
+
end
|
5055
5113
|
def self.convert_document_db_replica_set_to_porcelain(plumbing)
|
5056
5114
|
if plumbing == nil
|
5057
5115
|
return nil
|
@@ -10930,6 +10988,9 @@ module SDM
|
|
10930
10988
|
if porcelain.instance_of? DocumentDBHost
|
10931
10989
|
plumbing.document_db_host = convert_document_db_host_to_plumbing(porcelain)
|
10932
10990
|
end
|
10991
|
+
if porcelain.instance_of? DocumentDBHostIAM
|
10992
|
+
plumbing.document_db_host_iam = convert_document_db_host_iam_to_plumbing(porcelain)
|
10993
|
+
end
|
10933
10994
|
if porcelain.instance_of? DocumentDBReplicaSet
|
10934
10995
|
plumbing.document_db_replica_set = convert_document_db_replica_set_to_plumbing(porcelain)
|
10935
10996
|
end
|
@@ -11222,6 +11283,9 @@ module SDM
|
|
11222
11283
|
if plumbing.document_db_host != nil
|
11223
11284
|
return convert_document_db_host_to_porcelain(plumbing.document_db_host)
|
11224
11285
|
end
|
11286
|
+
if plumbing.document_db_host_iam != nil
|
11287
|
+
return convert_document_db_host_iam_to_porcelain(plumbing.document_db_host_iam)
|
11288
|
+
end
|
11225
11289
|
if plumbing.document_db_replica_set != nil
|
11226
11290
|
return convert_document_db_replica_set_to_porcelain(plumbing.document_db_replica_set)
|
11227
11291
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -4943,6 +4943,73 @@ module SDM
|
|
4943
4943
|
end
|
4944
4944
|
end
|
4945
4945
|
|
4946
|
+
class DocumentDBHostIAM
|
4947
|
+
# The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided.
|
4948
|
+
attr_accessor :bind_interface
|
4949
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
4950
|
+
attr_accessor :egress_filter
|
4951
|
+
# True if the datasource is reachable and the credentials are valid.
|
4952
|
+
attr_accessor :healthy
|
4953
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
4954
|
+
attr_accessor :hostname
|
4955
|
+
# Unique identifier of the Resource.
|
4956
|
+
attr_accessor :id
|
4957
|
+
# Unique human-readable name of the Resource.
|
4958
|
+
attr_accessor :name
|
4959
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
4960
|
+
attr_accessor :port
|
4961
|
+
# The local port used by clients to connect to this resource.
|
4962
|
+
attr_accessor :port_override
|
4963
|
+
# ID of the proxy cluster for this resource, if any.
|
4964
|
+
attr_accessor :proxy_cluster_id
|
4965
|
+
# The AWS region to connect to.
|
4966
|
+
attr_accessor :region
|
4967
|
+
# ID of the secret store containing credentials for this resource, if any.
|
4968
|
+
attr_accessor :secret_store_id
|
4969
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
4970
|
+
attr_accessor :subdomain
|
4971
|
+
# Tags is a map of key, value pairs.
|
4972
|
+
attr_accessor :tags
|
4973
|
+
|
4974
|
+
def initialize(
|
4975
|
+
bind_interface: nil,
|
4976
|
+
egress_filter: nil,
|
4977
|
+
healthy: nil,
|
4978
|
+
hostname: nil,
|
4979
|
+
id: nil,
|
4980
|
+
name: nil,
|
4981
|
+
port: nil,
|
4982
|
+
port_override: nil,
|
4983
|
+
proxy_cluster_id: nil,
|
4984
|
+
region: nil,
|
4985
|
+
secret_store_id: nil,
|
4986
|
+
subdomain: nil,
|
4987
|
+
tags: nil
|
4988
|
+
)
|
4989
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
4990
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
4991
|
+
@healthy = healthy == nil ? false : healthy
|
4992
|
+
@hostname = hostname == nil ? "" : hostname
|
4993
|
+
@id = id == nil ? "" : id
|
4994
|
+
@name = name == nil ? "" : name
|
4995
|
+
@port = port == nil ? 0 : port
|
4996
|
+
@port_override = port_override == nil ? 0 : port_override
|
4997
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
4998
|
+
@region = region == nil ? "" : region
|
4999
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5000
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
5001
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5002
|
+
end
|
5003
|
+
|
5004
|
+
def to_json(options = {})
|
5005
|
+
hash = {}
|
5006
|
+
self.instance_variables.each do |var|
|
5007
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5008
|
+
end
|
5009
|
+
hash.to_json
|
5010
|
+
end
|
5011
|
+
end
|
5012
|
+
|
4946
5013
|
class DocumentDBReplicaSet
|
4947
5014
|
# The authentication database to use.
|
4948
5015
|
attr_accessor :auth_database
|
data/lib/strongdm.rb
CHANGED
@@ -29,7 +29,7 @@ module SDM #:nodoc:
|
|
29
29
|
DEFAULT_BASE_RETRY_DELAY = 0.0030 # 30 ms
|
30
30
|
DEFAULT_MAX_RETRY_DELAY = 300 # 300 seconds
|
31
31
|
API_VERSION = "2024-03-28"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/12.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/12.5.0"
|
33
33
|
private_constant :DEFAULT_MAX_RETRIES, :DEFAULT_BASE_RETRY_DELAY, :DEFAULT_MAX_RETRY_DELAY, :API_VERSION, :USER_AGENT
|
34
34
|
|
35
35
|
# Creates a new strongDM API client.
|
data/lib/svc.rb
CHANGED
data/lib/version
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strongdm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.
|
4
|
+
version: 12.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- strongDM Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: grpc
|
@@ -81,8 +81,8 @@ files:
|
|
81
81
|
- "./.git/logs/HEAD"
|
82
82
|
- "./.git/logs/refs/heads/master"
|
83
83
|
- "./.git/logs/refs/remotes/origin/HEAD"
|
84
|
-
- "./.git/objects/pack/pack-
|
85
|
-
- "./.git/objects/pack/pack-
|
84
|
+
- "./.git/objects/pack/pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.idx"
|
85
|
+
- "./.git/objects/pack/pack-b1acf62d5f50beb98acbaab3de1ebb00fec62d33.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|