strongdm 14.4.0 → 14.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-2b8617c27021b5a8243ff435b6f68b81fdbfa8f4.idx → pack-8148276e46c569c0cbc081263c75ab1d6de39462.idx} +0 -0
- data/.git/objects/pack/{pack-2b8617c27021b5a8243ff435b6f68b81fdbfa8f4.pack → pack-8148276e46c569c0cbc081263c75ab1d6de39462.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/accounts_pb.rb +1 -0
- data/lib/grpc/approval_workflows_pb.rb +1 -0
- data/lib/grpc/drivers_pb.rb +17 -0
- data/lib/grpc/plumbing.rb +64 -0
- data/lib/models/porcelain.rb +68 -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: dca8f504cbd70f44fe3edc3d704cb6bae8987325fcf03d2b13693ee9096cb815
|
4
|
+
data.tar.gz: 24266797918664585c5f51e85ac7ba74c259bd0aebd53f295972b55fbd704886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1819951694cd4ab66418f3518278ab63055fc74d41a83fccc7c904e6d08d40954337433b74648500a4dfa68ccccfd0e8718feba728c8a7ff60a028e7bf6df40f
|
7
|
+
data.tar.gz: 7a18dfc130251b1cbcde0bed2a586699e3fcf79f7b367cb2e13be0ebe4da762ce62b3c4b61425b1a4d74ed4b46ef661e9f96f11fcbf540c191ffaf8efd10bb4a
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
90b476259dcfed955ebd9339fbe2bbb0c2086b6d
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 90b476259dcfed955ebd9339fbe2bbb0c2086b6d root <root@36dff7d5dac3.(none)> 1745371577 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
90b476259dcfed955ebd9339fbe2bbb0c2086b6d 90b476259dcfed955ebd9339fbe2bbb0c2086b6d root <root@36dff7d5dac3.(none)> 1745371578 +0000 checkout: moving from master to master
|
3
|
+
90b476259dcfed955ebd9339fbe2bbb0c2086b6d f5e3068d4f6c73c93d409699726cc9fb3c5cf482 root <root@36dff7d5dac3.(none)> 1745371578 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 90b476259dcfed955ebd9339fbe2bbb0c2086b6d root <root@36dff7d5dac3.(none)> 1745371577 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
90b476259dcfed955ebd9339fbe2bbb0c2086b6d f5e3068d4f6c73c93d409699726cc9fb3c5cf482 root <root@36dff7d5dac3.(none)> 1745371578 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 90b476259dcfed955ebd9339fbe2bbb0c2086b6d root <root@36dff7d5dac3.(none)> 1745371577 +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
|
+
f5e3068d4f6c73c93d409699726cc9fb3c5cf482 refs/remotes/origin/development
|
3
|
+
90b476259dcfed955ebd9339fbe2bbb0c2086b6d 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
|
@@ -83,6 +83,7 @@ d083930c831fd58555dfe5ad34bcaec81b755fc6 refs/tags/v13.3.0
|
|
83
83
|
69ad0369c36e979fdd79988cb6b7525b3b2a7166 refs/tags/v14.0.0
|
84
84
|
f9539f7781664eb4681b99f12cbcc5d613e241ab refs/tags/v14.2.0
|
85
85
|
435ad5faee6a7b0f94295b5d5fe9060611a81df3 refs/tags/v14.3.0
|
86
|
+
90b476259dcfed955ebd9339fbe2bbb0c2086b6d refs/tags/v14.4.0
|
86
87
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
87
88
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
88
89
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
f5e3068d4f6c73c93d409699726cc9fb3c5cf482
|
data/lib/grpc/accounts_pb.rb
CHANGED
@@ -95,6 +95,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
95
95
|
optional :password, :string, 12
|
96
96
|
optional :SCIM, :string, 13
|
97
97
|
optional :manager_id, :string, 14
|
98
|
+
optional :resolved_manager_id, :string, 15
|
98
99
|
end
|
99
100
|
add_message "v1.Service" do
|
100
101
|
optional :id, :string, 1
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -66,6 +66,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
66
66
|
optional :document_db_host, :message, 1052, "v1.DocumentDBHost"
|
67
67
|
optional :document_db_host_iam, :message, 1055, "v1.DocumentDBHostIAM"
|
68
68
|
optional :document_db_replica_set, :message, 1053, "v1.DocumentDBReplicaSet"
|
69
|
+
optional :document_db_replica_set_iam, :message, 1056, "v1.DocumentDBReplicaSetIAM"
|
69
70
|
optional :druid, :message, 400, "v1.Druid"
|
70
71
|
optional :dynamo_db, :message, 500, "v1.DynamoDB"
|
71
72
|
optional :dynamo_dbiam, :message, 501, "v1.DynamoDBIAM"
|
@@ -889,6 +890,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
889
890
|
optional :replica_set, :string, 6
|
890
891
|
optional :username, :string, 4
|
891
892
|
end
|
893
|
+
add_message "v1.DocumentDBReplicaSetIAM" do
|
894
|
+
optional :id, :string, 32768
|
895
|
+
optional :name, :string, 32769
|
896
|
+
optional :healthy, :bool, 32770
|
897
|
+
optional :tags, :message, 32771, "v1.Tags"
|
898
|
+
optional :secret_store_id, :string, 32772
|
899
|
+
optional :egress_filter, :string, 32773
|
900
|
+
optional :bind_interface, :string, 32774
|
901
|
+
optional :proxy_cluster_id, :string, 32776
|
902
|
+
optional :subdomain, :string, 32775
|
903
|
+
optional :connect_to_replica, :bool, 3
|
904
|
+
optional :hostname, :string, 1
|
905
|
+
optional :port_override, :int32, 2
|
906
|
+
optional :region, :string, 5
|
907
|
+
end
|
892
908
|
add_message "v1.Druid" do
|
893
909
|
optional :id, :string, 32768
|
894
910
|
optional :name, :string, 32769
|
@@ -2050,6 +2066,7 @@ module V1
|
|
2050
2066
|
DocumentDBHost = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHost").msgclass
|
2051
2067
|
DocumentDBHostIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBHostIAM").msgclass
|
2052
2068
|
DocumentDBReplicaSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBReplicaSet").msgclass
|
2069
|
+
DocumentDBReplicaSetIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DocumentDBReplicaSetIAM").msgclass
|
2053
2070
|
Druid = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Druid").msgclass
|
2054
2071
|
DynamoDB = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDB").msgclass
|
2055
2072
|
DynamoDBIAM = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.DynamoDBIAM").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -5477,6 +5477,64 @@ module SDM
|
|
5477
5477
|
end
|
5478
5478
|
items
|
5479
5479
|
end
|
5480
|
+
def self.convert_document_db_replica_set_iam_to_porcelain(plumbing)
|
5481
|
+
if plumbing == nil
|
5482
|
+
return nil
|
5483
|
+
end
|
5484
|
+
porcelain = DocumentDBReplicaSetIAM.new()
|
5485
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
5486
|
+
porcelain.connect_to_replica = (plumbing.connect_to_replica)
|
5487
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
5488
|
+
porcelain.healthy = (plumbing.healthy)
|
5489
|
+
porcelain.hostname = (plumbing.hostname)
|
5490
|
+
porcelain.id = (plumbing.id)
|
5491
|
+
porcelain.name = (plumbing.name)
|
5492
|
+
porcelain.port_override = (plumbing.port_override)
|
5493
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
5494
|
+
porcelain.region = (plumbing.region)
|
5495
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
5496
|
+
porcelain.subdomain = (plumbing.subdomain)
|
5497
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
5498
|
+
porcelain
|
5499
|
+
end
|
5500
|
+
|
5501
|
+
def self.convert_document_db_replica_set_iam_to_plumbing(porcelain)
|
5502
|
+
if porcelain == nil
|
5503
|
+
return nil
|
5504
|
+
end
|
5505
|
+
plumbing = V1::DocumentDBReplicaSetIAM.new()
|
5506
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
5507
|
+
plumbing.connect_to_replica = (porcelain.connect_to_replica)
|
5508
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
5509
|
+
plumbing.healthy = (porcelain.healthy)
|
5510
|
+
plumbing.hostname = (porcelain.hostname)
|
5511
|
+
plumbing.id = (porcelain.id)
|
5512
|
+
plumbing.name = (porcelain.name)
|
5513
|
+
plumbing.port_override = (porcelain.port_override)
|
5514
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
5515
|
+
plumbing.region = (porcelain.region)
|
5516
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
5517
|
+
plumbing.subdomain = (porcelain.subdomain)
|
5518
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
5519
|
+
plumbing
|
5520
|
+
end
|
5521
|
+
def self.convert_repeated_document_db_replica_set_iam_to_plumbing(porcelains)
|
5522
|
+
items = Array.new
|
5523
|
+
porcelains.each do |porcelain|
|
5524
|
+
plumbing = convert_document_db_replica_set_iam_to_plumbing(porcelain)
|
5525
|
+
items.append(plumbing)
|
5526
|
+
end
|
5527
|
+
items
|
5528
|
+
end
|
5529
|
+
|
5530
|
+
def self.convert_repeated_document_db_replica_set_iam_to_porcelain(plumbings)
|
5531
|
+
items = Array.new
|
5532
|
+
plumbings.each do |plumbing|
|
5533
|
+
porcelain = convert_document_db_replica_set_iam_to_porcelain(plumbing)
|
5534
|
+
items.append(porcelain)
|
5535
|
+
end
|
5536
|
+
items
|
5537
|
+
end
|
5480
5538
|
def self.convert_druid_to_porcelain(plumbing)
|
5481
5539
|
if plumbing == nil
|
5482
5540
|
return nil
|
@@ -12691,6 +12749,9 @@ module SDM
|
|
12691
12749
|
if porcelain.instance_of? DocumentDBReplicaSet
|
12692
12750
|
plumbing.document_db_replica_set = convert_document_db_replica_set_to_plumbing(porcelain)
|
12693
12751
|
end
|
12752
|
+
if porcelain.instance_of? DocumentDBReplicaSetIAM
|
12753
|
+
plumbing.document_db_replica_set_iam = convert_document_db_replica_set_iam_to_plumbing(porcelain)
|
12754
|
+
end
|
12694
12755
|
if porcelain.instance_of? Druid
|
12695
12756
|
plumbing.druid = convert_druid_to_plumbing(porcelain)
|
12696
12757
|
end
|
@@ -13010,6 +13071,9 @@ module SDM
|
|
13010
13071
|
if plumbing.document_db_replica_set != nil
|
13011
13072
|
return convert_document_db_replica_set_to_porcelain(plumbing.document_db_replica_set)
|
13012
13073
|
end
|
13074
|
+
if plumbing.document_db_replica_set_iam != nil
|
13075
|
+
return convert_document_db_replica_set_iam_to_porcelain(plumbing.document_db_replica_set_iam)
|
13076
|
+
end
|
13013
13077
|
if plumbing.druid != nil
|
13014
13078
|
return convert_druid_to_porcelain(plumbing.druid)
|
13015
13079
|
end
|
data/lib/models/porcelain.rb
CHANGED
@@ -5411,6 +5411,74 @@ module SDM
|
|
5411
5411
|
end
|
5412
5412
|
end
|
5413
5413
|
|
5414
|
+
# DocumentDBReplicaSetIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
5415
|
+
class DocumentDBReplicaSetIAM
|
5416
|
+
# 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.
|
5417
|
+
attr_accessor :bind_interface
|
5418
|
+
# Set to connect to a replica instead of the primary node.
|
5419
|
+
attr_accessor :connect_to_replica
|
5420
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
5421
|
+
attr_accessor :egress_filter
|
5422
|
+
# True if the datasource is reachable and the credentials are valid.
|
5423
|
+
attr_accessor :healthy
|
5424
|
+
# Hostname must contain the hostname/port pairs of all instances in the replica set separated by commas.
|
5425
|
+
attr_accessor :hostname
|
5426
|
+
# Unique identifier of the Resource.
|
5427
|
+
attr_accessor :id
|
5428
|
+
# Unique human-readable name of the Resource.
|
5429
|
+
attr_accessor :name
|
5430
|
+
# The local port used by clients to connect to this resource.
|
5431
|
+
attr_accessor :port_override
|
5432
|
+
# ID of the proxy cluster for this resource, if any.
|
5433
|
+
attr_accessor :proxy_cluster_id
|
5434
|
+
# The region of the document db cluster
|
5435
|
+
attr_accessor :region
|
5436
|
+
# ID of the secret store containing credentials for this resource, if any.
|
5437
|
+
attr_accessor :secret_store_id
|
5438
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
5439
|
+
attr_accessor :subdomain
|
5440
|
+
# Tags is a map of key, value pairs.
|
5441
|
+
attr_accessor :tags
|
5442
|
+
|
5443
|
+
def initialize(
|
5444
|
+
bind_interface: nil,
|
5445
|
+
connect_to_replica: nil,
|
5446
|
+
egress_filter: nil,
|
5447
|
+
healthy: nil,
|
5448
|
+
hostname: nil,
|
5449
|
+
id: nil,
|
5450
|
+
name: nil,
|
5451
|
+
port_override: nil,
|
5452
|
+
proxy_cluster_id: nil,
|
5453
|
+
region: nil,
|
5454
|
+
secret_store_id: nil,
|
5455
|
+
subdomain: nil,
|
5456
|
+
tags: nil
|
5457
|
+
)
|
5458
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
5459
|
+
@connect_to_replica = connect_to_replica == nil ? false : connect_to_replica
|
5460
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
5461
|
+
@healthy = healthy == nil ? false : healthy
|
5462
|
+
@hostname = hostname == nil ? "" : hostname
|
5463
|
+
@id = id == nil ? "" : id
|
5464
|
+
@name = name == nil ? "" : name
|
5465
|
+
@port_override = port_override == nil ? 0 : port_override
|
5466
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
5467
|
+
@region = region == nil ? "" : region
|
5468
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
5469
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
5470
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
5471
|
+
end
|
5472
|
+
|
5473
|
+
def to_json(options = {})
|
5474
|
+
hash = {}
|
5475
|
+
self.instance_variables.each do |var|
|
5476
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
5477
|
+
end
|
5478
|
+
hash.to_json
|
5479
|
+
end
|
5480
|
+
end
|
5481
|
+
|
5414
5482
|
class Druid
|
5415
5483
|
# 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.
|
5416
5484
|
attr_accessor :bind_interface
|
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 = "2025-04-14"
|
32
|
-
USER_AGENT = "strongdm-sdk-ruby/14.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/14.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: 14.
|
4
|
+
version: 14.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-04-
|
11
|
+
date: 2025-04-23 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-8148276e46c569c0cbc081263c75ab1d6de39462.idx"
|
85
|
+
- "./.git/objects/pack/pack-8148276e46c569c0cbc081263c75ab1d6de39462.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|