strongdm 13.4.0 → 13.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-8a17f50f8c331694dff830e85fe8cdfc25ef15b8.idx → pack-5169f1e6849fca28429b51c75d0740b657339d94.idx} +0 -0
- data/.git/objects/pack/{pack-8a17f50f8c331694dff830e85fe8cdfc25ef15b8.pack → pack-5169f1e6849fca28429b51c75d0740b657339d94.pack} +0 -0
- data/.git/packed-refs +3 -2
- data/.git/refs/heads/master +1 -1
- data/lib/grpc/drivers_pb.rb +19 -0
- data/lib/grpc/plumbing.rb +68 -0
- data/lib/models/porcelain.rb +76 -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: 808a871a58a086ece0bb52afae2dcd4415ebe22ab9134359f538c6dd8d7aba8c
|
4
|
+
data.tar.gz: 3e723a044447fea78bdb05f046698b76b078d066daf1106fde3d3f1e27cf37ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '018648491fed95aad13de9acc153618d281075ea1efadc7cd5730788a6624ce118f8f598dbffb29a82fff36848613b6efc1f554735985c1212e20c6ca4f70819'
|
7
|
+
data.tar.gz: 49976670eec1d5810c5fbaa299c17bb09a8df876eb3125ac78b236b21b9cbfcf3d550dec0ee9cfc1cd4f7ad278758e1a36e61101e6742becf9ddc6532599417c
|
data/.git/ORIG_HEAD
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
62b83b1d733d374f7f2ffd9edf8d444bb16be1d7
|
data/.git/index
CHANGED
Binary file
|
data/.git/logs/HEAD
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
3
|
-
|
1
|
+
0000000000000000000000000000000000000000 62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 root <root@ba18cf6c8d8e.(none)> 1743196221 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 root <root@ba18cf6c8d8e.(none)> 1743196221 +0000 checkout: moving from master to master
|
3
|
+
62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 7680b13250c2834426563fc689a1c46f5e281aad root <root@ba18cf6c8d8e.(none)> 1743196221 +0000 merge origin/development: Fast-forward
|
data/.git/logs/refs/heads/master
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
2
|
-
|
1
|
+
0000000000000000000000000000000000000000 62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 root <root@ba18cf6c8d8e.(none)> 1743196221 +0000 clone: from github.com:strongdm/strongdm-sdk-ruby.git
|
2
|
+
62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 7680b13250c2834426563fc689a1c46f5e281aad root <root@ba18cf6c8d8e.(none)> 1743196221 +0000 merge origin/development: Fast-forward
|
@@ -1 +1 @@
|
|
1
|
-
0000000000000000000000000000000000000000
|
1
|
+
0000000000000000000000000000000000000000 62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 root <root@ba18cf6c8d8e.(none)> 1743196221 +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
|
+
7680b13250c2834426563fc689a1c46f5e281aad refs/remotes/origin/development
|
3
|
+
62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 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
|
@@ -73,6 +73,7 @@ d2332b223f397155e757daed36263d569cc623e9 refs/tags/v13.1.0
|
|
73
73
|
4116587f7cfd88cd8e90c8f13af5f1a13c851530 refs/tags/v13.2.0
|
74
74
|
521b91f1f817e0ee896af3b7ccf29d29491c1b92 refs/tags/v13.2.1
|
75
75
|
d083930c831fd58555dfe5ad34bcaec81b755fc6 refs/tags/v13.3.0
|
76
|
+
62b83b1d733d374f7f2ffd9edf8d444bb16be1d7 refs/tags/v13.4.0
|
76
77
|
e0b1ec0134c7015ccb8c14464cc713c20034159e refs/tags/v2.0.0
|
77
78
|
62a146d9d56852b2ad14ec5d2796cad158d66e1c refs/tags/v2.1.0
|
78
79
|
9de04e628082f4ad0eb9511311479a089d302008 refs/tags/v2.2.0
|
data/.git/refs/heads/master
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
7680b13250c2834426563fc689a1c46f5e281aad
|
data/lib/grpc/drivers_pb.rb
CHANGED
@@ -125,6 +125,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
125
125
|
optional :sybase_iq, :message, 2001, "v1.SybaseIQ"
|
126
126
|
optional :teradata, :message, 2100, "v1.Teradata"
|
127
127
|
optional :trino, :message, 1401, "v1.Trino"
|
128
|
+
optional :vertica, :message, 4500, "v1.Vertica"
|
128
129
|
end
|
129
130
|
end
|
130
131
|
add_message "v1.AKS" do
|
@@ -1947,6 +1948,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
1947
1948
|
optional :port_override, :int32, 4
|
1948
1949
|
optional :username, :string, 6
|
1949
1950
|
end
|
1951
|
+
add_message "v1.Vertica" do
|
1952
|
+
optional :id, :string, 32768
|
1953
|
+
optional :name, :string, 32769
|
1954
|
+
optional :healthy, :bool, 32770
|
1955
|
+
optional :tags, :message, 32771, "v1.Tags"
|
1956
|
+
optional :secret_store_id, :string, 32772
|
1957
|
+
optional :egress_filter, :string, 32773
|
1958
|
+
optional :bind_interface, :string, 32774
|
1959
|
+
optional :proxy_cluster_id, :string, 32776
|
1960
|
+
optional :subdomain, :string, 32775
|
1961
|
+
optional :database, :string, 4
|
1962
|
+
optional :hostname, :string, 1
|
1963
|
+
optional :password, :string, 3
|
1964
|
+
optional :port, :int32, 6
|
1965
|
+
optional :port_override, :int32, 5
|
1966
|
+
optional :username, :string, 2
|
1967
|
+
end
|
1950
1968
|
end
|
1951
1969
|
end
|
1952
1970
|
|
@@ -2053,4 +2071,5 @@ module V1
|
|
2053
2071
|
SybaseIQ = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.SybaseIQ").msgclass
|
2054
2072
|
Teradata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Teradata").msgclass
|
2055
2073
|
Trino = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Trino").msgclass
|
2074
|
+
Vertica = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.Vertica").msgclass
|
2056
2075
|
end
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -11514,6 +11514,9 @@ module SDM
|
|
11514
11514
|
if porcelain.instance_of? Trino
|
11515
11515
|
plumbing.trino = convert_trino_to_plumbing(porcelain)
|
11516
11516
|
end
|
11517
|
+
if porcelain.instance_of? Vertica
|
11518
|
+
plumbing.vertica = convert_vertica_to_plumbing(porcelain)
|
11519
|
+
end
|
11517
11520
|
plumbing
|
11518
11521
|
end
|
11519
11522
|
|
@@ -11824,6 +11827,9 @@ module SDM
|
|
11824
11827
|
if plumbing.trino != nil
|
11825
11828
|
return convert_trino_to_porcelain(plumbing.trino)
|
11826
11829
|
end
|
11830
|
+
if plumbing.vertica != nil
|
11831
|
+
return convert_vertica_to_porcelain(plumbing.vertica)
|
11832
|
+
end
|
11827
11833
|
raise UnknownError.new("unknown polymorphic type, please upgrade your SDK")
|
11828
11834
|
end
|
11829
11835
|
def self.convert_repeated_resource_to_plumbing(porcelains)
|
@@ -14514,6 +14520,68 @@ module SDM
|
|
14514
14520
|
end
|
14515
14521
|
items
|
14516
14522
|
end
|
14523
|
+
def self.convert_vertica_to_porcelain(plumbing)
|
14524
|
+
if plumbing == nil
|
14525
|
+
return nil
|
14526
|
+
end
|
14527
|
+
porcelain = Vertica.new()
|
14528
|
+
porcelain.bind_interface = (plumbing.bind_interface)
|
14529
|
+
porcelain.database = (plumbing.database)
|
14530
|
+
porcelain.egress_filter = (plumbing.egress_filter)
|
14531
|
+
porcelain.healthy = (plumbing.healthy)
|
14532
|
+
porcelain.hostname = (plumbing.hostname)
|
14533
|
+
porcelain.id = (plumbing.id)
|
14534
|
+
porcelain.name = (plumbing.name)
|
14535
|
+
porcelain.password = (plumbing.password)
|
14536
|
+
porcelain.port = (plumbing.port)
|
14537
|
+
porcelain.port_override = (plumbing.port_override)
|
14538
|
+
porcelain.proxy_cluster_id = (plumbing.proxy_cluster_id)
|
14539
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
14540
|
+
porcelain.subdomain = (plumbing.subdomain)
|
14541
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
14542
|
+
porcelain.username = (plumbing.username)
|
14543
|
+
porcelain
|
14544
|
+
end
|
14545
|
+
|
14546
|
+
def self.convert_vertica_to_plumbing(porcelain)
|
14547
|
+
if porcelain == nil
|
14548
|
+
return nil
|
14549
|
+
end
|
14550
|
+
plumbing = V1::Vertica.new()
|
14551
|
+
plumbing.bind_interface = (porcelain.bind_interface)
|
14552
|
+
plumbing.database = (porcelain.database)
|
14553
|
+
plumbing.egress_filter = (porcelain.egress_filter)
|
14554
|
+
plumbing.healthy = (porcelain.healthy)
|
14555
|
+
plumbing.hostname = (porcelain.hostname)
|
14556
|
+
plumbing.id = (porcelain.id)
|
14557
|
+
plumbing.name = (porcelain.name)
|
14558
|
+
plumbing.password = (porcelain.password)
|
14559
|
+
plumbing.port = (porcelain.port)
|
14560
|
+
plumbing.port_override = (porcelain.port_override)
|
14561
|
+
plumbing.proxy_cluster_id = (porcelain.proxy_cluster_id)
|
14562
|
+
plumbing.secret_store_id = (porcelain.secret_store_id)
|
14563
|
+
plumbing.subdomain = (porcelain.subdomain)
|
14564
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags)
|
14565
|
+
plumbing.username = (porcelain.username)
|
14566
|
+
plumbing
|
14567
|
+
end
|
14568
|
+
def self.convert_repeated_vertica_to_plumbing(porcelains)
|
14569
|
+
items = Array.new
|
14570
|
+
porcelains.each do |porcelain|
|
14571
|
+
plumbing = convert_vertica_to_plumbing(porcelain)
|
14572
|
+
items.append(plumbing)
|
14573
|
+
end
|
14574
|
+
items
|
14575
|
+
end
|
14576
|
+
|
14577
|
+
def self.convert_repeated_vertica_to_porcelain(plumbings)
|
14578
|
+
items = Array.new
|
14579
|
+
plumbings.each do |plumbing|
|
14580
|
+
porcelain = convert_vertica_to_porcelain(plumbing)
|
14581
|
+
items.append(porcelain)
|
14582
|
+
end
|
14583
|
+
items
|
14584
|
+
end
|
14517
14585
|
def self.convert_workflow_to_porcelain(plumbing)
|
14518
14586
|
if plumbing == nil
|
14519
14587
|
return nil
|
data/lib/models/porcelain.rb
CHANGED
@@ -13804,6 +13804,82 @@ module SDM
|
|
13804
13804
|
end
|
13805
13805
|
end
|
13806
13806
|
|
13807
|
+
# Vertica is currently unstable, and its API may change, or it may be removed, without a major version bump.
|
13808
|
+
class Vertica
|
13809
|
+
# 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.
|
13810
|
+
attr_accessor :bind_interface
|
13811
|
+
# The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
|
13812
|
+
attr_accessor :database
|
13813
|
+
# A filter applied to the routing logic to pin datasource to nodes.
|
13814
|
+
attr_accessor :egress_filter
|
13815
|
+
# True if the datasource is reachable and the credentials are valid.
|
13816
|
+
attr_accessor :healthy
|
13817
|
+
# The host to dial to initiate a connection from the egress node to this resource.
|
13818
|
+
attr_accessor :hostname
|
13819
|
+
# Unique identifier of the Resource.
|
13820
|
+
attr_accessor :id
|
13821
|
+
# Unique human-readable name of the Resource.
|
13822
|
+
attr_accessor :name
|
13823
|
+
# The password to authenticate with.
|
13824
|
+
attr_accessor :password
|
13825
|
+
# The port to dial to initiate a connection from the egress node to this resource.
|
13826
|
+
attr_accessor :port
|
13827
|
+
# The local port used by clients to connect to this resource.
|
13828
|
+
attr_accessor :port_override
|
13829
|
+
# ID of the proxy cluster for this resource, if any.
|
13830
|
+
attr_accessor :proxy_cluster_id
|
13831
|
+
# ID of the secret store containing credentials for this resource, if any.
|
13832
|
+
attr_accessor :secret_store_id
|
13833
|
+
# Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
|
13834
|
+
attr_accessor :subdomain
|
13835
|
+
# Tags is a map of key, value pairs.
|
13836
|
+
attr_accessor :tags
|
13837
|
+
# The username to authenticate with.
|
13838
|
+
attr_accessor :username
|
13839
|
+
|
13840
|
+
def initialize(
|
13841
|
+
bind_interface: nil,
|
13842
|
+
database: nil,
|
13843
|
+
egress_filter: nil,
|
13844
|
+
healthy: nil,
|
13845
|
+
hostname: nil,
|
13846
|
+
id: nil,
|
13847
|
+
name: nil,
|
13848
|
+
password: nil,
|
13849
|
+
port: nil,
|
13850
|
+
port_override: nil,
|
13851
|
+
proxy_cluster_id: nil,
|
13852
|
+
secret_store_id: nil,
|
13853
|
+
subdomain: nil,
|
13854
|
+
tags: nil,
|
13855
|
+
username: nil
|
13856
|
+
)
|
13857
|
+
@bind_interface = bind_interface == nil ? "" : bind_interface
|
13858
|
+
@database = database == nil ? "" : database
|
13859
|
+
@egress_filter = egress_filter == nil ? "" : egress_filter
|
13860
|
+
@healthy = healthy == nil ? false : healthy
|
13861
|
+
@hostname = hostname == nil ? "" : hostname
|
13862
|
+
@id = id == nil ? "" : id
|
13863
|
+
@name = name == nil ? "" : name
|
13864
|
+
@password = password == nil ? "" : password
|
13865
|
+
@port = port == nil ? 0 : port
|
13866
|
+
@port_override = port_override == nil ? 0 : port_override
|
13867
|
+
@proxy_cluster_id = proxy_cluster_id == nil ? "" : proxy_cluster_id
|
13868
|
+
@secret_store_id = secret_store_id == nil ? "" : secret_store_id
|
13869
|
+
@subdomain = subdomain == nil ? "" : subdomain
|
13870
|
+
@tags = tags == nil ? SDM::_porcelain_zero_value_tags() : tags
|
13871
|
+
@username = username == nil ? "" : username
|
13872
|
+
end
|
13873
|
+
|
13874
|
+
def to_json(options = {})
|
13875
|
+
hash = {}
|
13876
|
+
self.instance_variables.each do |var|
|
13877
|
+
hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var
|
13878
|
+
end
|
13879
|
+
hash.to_json
|
13880
|
+
end
|
13881
|
+
end
|
13882
|
+
|
13807
13883
|
# Workflows are the collection of rules that define the resources to which access can be requested,
|
13808
13884
|
# the users that can request that access, and the mechanism for approving those requests which can either
|
13809
13885
|
# but automatic approval or a set of users authorized to approve the requests.
|
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/13.
|
32
|
+
USER_AGENT = "strongdm-sdk-ruby/13.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: 13.
|
4
|
+
version: 13.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-03-
|
11
|
+
date: 2025-03-28 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-5169f1e6849fca28429b51c75d0740b657339d94.idx"
|
85
|
+
- "./.git/objects/pack/pack-5169f1e6849fca28429b51c75d0740b657339d94.pack"
|
86
86
|
- "./.git/packed-refs"
|
87
87
|
- "./.git/refs/heads/master"
|
88
88
|
- "./.git/refs/remotes/origin/HEAD"
|