strongdm 1.0.12 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/doc/SDM/AKS.html +21 -3
- data/doc/SDM/AKSBasicAuth.html +21 -3
- data/doc/SDM/AKSServiceAccount.html +21 -3
- data/doc/SDM/{DB2.html → AWS.html} +46 -46
- data/doc/SDM/AWSStore.html +283 -0
- data/doc/SDM/AccessRuleCreateResponse.html +267 -0
- data/doc/SDM/AccessRuleDeleteResponse.html +249 -0
- data/doc/SDM/AccessRuleUpdateResponse.html +267 -0
- data/doc/SDM/AccountAttachment.html +2 -2
- data/doc/SDM/AccountAttachmentCreateResponse.html +2 -2
- data/doc/SDM/AccountAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/AccountAttachmentGetResponse.html +2 -2
- data/doc/SDM/AccountCreateResponse.html +2 -2
- data/doc/SDM/AccountDeleteResponse.html +2 -2
- data/doc/SDM/AccountGetResponse.html +2 -2
- data/doc/SDM/AccountGrant.html +2 -2
- data/doc/SDM/AccountGrantCreateResponse.html +2 -2
- data/doc/SDM/AccountGrantDeleteResponse.html +2 -2
- data/doc/SDM/AccountGrantGetResponse.html +2 -2
- data/doc/SDM/AccountUpdateResponse.html +2 -2
- data/doc/SDM/AmazonEKS.html +39 -3
- data/doc/SDM/AmazonES.html +57 -3
- data/doc/SDM/Athena.html +57 -3
- data/doc/SDM/AuroraMysql.html +21 -3
- data/doc/SDM/AuroraPostgres.html +21 -3
- data/doc/SDM/BigQuery.html +21 -3
- data/doc/SDM/Cassandra.html +21 -3
- data/doc/SDM/Citus.html +21 -3
- data/doc/SDM/Client.html +37 -6
- data/doc/SDM/Clustrix.html +21 -3
- data/doc/SDM/Cockroach.html +21 -3
- data/doc/SDM/ControlPanel.html +236 -0
- data/doc/SDM/ControlPanelGetSSHCAPublicKeyResponse.html +267 -0
- data/doc/SDM/DB2LUW.html +21 -3
- data/doc/SDM/DB2i.html +21 -3
- data/doc/SDM/Druid.html +21 -3
- data/doc/SDM/DynamoDB.html +57 -3
- data/doc/SDM/Elastic.html +21 -3
- data/doc/SDM/ElasticacheRedis.html +21 -3
- data/doc/SDM/Gateway.html +2 -2
- data/doc/SDM/GoogleGKE.html +21 -3
- data/doc/SDM/Greenplum.html +21 -3
- data/doc/SDM/HTTPAuth.html +21 -3
- data/doc/SDM/HTTPBasicAuth.html +21 -3
- data/doc/SDM/HTTPNoAuth.html +21 -3
- data/doc/SDM/Kubernetes.html +21 -3
- data/doc/SDM/KubernetesBasicAuth.html +21 -3
- data/doc/SDM/KubernetesServiceAccount.html +21 -3
- data/doc/SDM/Maria.html +21 -3
- data/doc/SDM/Memcached.html +21 -3
- data/doc/SDM/Memsql.html +21 -3
- data/doc/SDM/MongoHost.html +21 -3
- data/doc/SDM/MongoLegacyHost.html +21 -3
- data/doc/SDM/MongoLegacyReplicaset.html +21 -3
- data/doc/SDM/MongoReplicaSet.html +21 -3
- data/doc/SDM/Mysql.html +21 -3
- data/doc/SDM/NodeCreateResponse.html +2 -2
- data/doc/SDM/NodeDeleteResponse.html +2 -2
- data/doc/SDM/NodeGetResponse.html +2 -2
- data/doc/SDM/NodeUpdateResponse.html +2 -2
- data/doc/SDM/Nodes.html +6 -6
- data/doc/SDM/Oracle.html +21 -3
- data/doc/SDM/Plumbing.html +3126 -1160
- data/doc/SDM/Postgres.html +21 -3
- data/doc/SDM/Presto.html +21 -3
- data/doc/SDM/RDP.html +21 -3
- data/doc/SDM/Redis.html +21 -3
- data/doc/SDM/Redshift.html +21 -3
- data/doc/SDM/Relay.html +2 -2
- data/doc/SDM/ResourceCreateResponse.html +2 -2
- data/doc/SDM/ResourceDeleteResponse.html +2 -2
- data/doc/SDM/ResourceGetResponse.html +2 -2
- data/doc/SDM/ResourceUpdateResponse.html +2 -2
- data/doc/SDM/Resources.html +74 -6
- data/doc/SDM/Role.html +2 -2
- data/doc/SDM/RoleAttachment.html +2 -2
- data/doc/SDM/RoleAttachmentCreateResponse.html +2 -2
- data/doc/SDM/RoleAttachmentDeleteResponse.html +2 -2
- data/doc/SDM/RoleAttachmentGetResponse.html +2 -2
- data/doc/SDM/RoleAttachments.html +5 -5
- data/doc/SDM/RoleCreateResponse.html +2 -2
- data/doc/SDM/RoleDeleteResponse.html +2 -2
- data/doc/SDM/RoleGetResponse.html +2 -2
- data/doc/SDM/RoleGrant.html +2 -2
- data/doc/SDM/RoleGrantCreateResponse.html +2 -2
- data/doc/SDM/RoleGrantDeleteResponse.html +2 -2
- data/doc/SDM/RoleGrantGetResponse.html +2 -2
- data/doc/SDM/RoleGrants.html +5 -5
- data/doc/SDM/RoleUpdateResponse.html +2 -2
- data/doc/SDM/Roles.html +6 -6
- data/doc/SDM/SQLServer.html +21 -3
- data/doc/SDM/SSH.html +21 -3
- data/doc/SDM/SSHCert.html +21 -3
- data/doc/SDM/SecretStore.html +303 -0
- data/doc/SDM/SecretStoreCreateResponse.html +267 -0
- data/doc/SDM/SecretStoreDeleteResponse.html +249 -0
- data/doc/SDM/SecretStoreGetResponse.html +267 -0
- data/doc/SDM/SecretStoreUpdateResponse.html +267 -0
- data/doc/SDM/SecretStores.html +492 -0
- data/doc/SDM/Service.html +2 -2
- data/doc/SDM/Snowflake.html +21 -3
- data/doc/SDM/Sybase.html +21 -3
- data/doc/SDM/SybaseIQ.html +21 -3
- data/doc/SDM/Tag.html +247 -0
- data/doc/SDM/Teradata.html +21 -3
- data/doc/SDM/User.html +2 -2
- data/doc/SDM/VaultTLSStore.html +337 -0
- data/doc/SDM/VaultTokenStore.html +283 -0
- data/doc/V1.html +325 -0
- data/doc/V1/AccessRules.html +113 -0
- data/doc/V1/AccessRules/Service.html +119 -0
- data/doc/V1/Audits.html +113 -0
- data/doc/V1/Audits/Service.html +119 -0
- data/doc/V1/BuildsPrivate.html +113 -0
- data/doc/V1/BuildsPrivate/Service.html +119 -0
- data/doc/V1/ControlPanel.html +113 -0
- data/doc/V1/ControlPanel/Service.html +119 -0
- data/doc/V1/DemoProvisioningRequests.html +113 -0
- data/doc/V1/DemoProvisioningRequests/Service.html +119 -0
- data/doc/V1/SecretStoreHealths.html +113 -0
- data/doc/V1/SecretStoreHealths/Service.html +119 -0
- data/doc/V1/SecretStores.html +113 -0
- data/doc/V1/SecretStores/Service.html +119 -0
- data/doc/created.rid +52 -35
- data/doc/index.html +52 -0
- 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/table_of_contents.html +989 -494
- data/lib/grpc/account_attachments_pb.rb +0 -2
- data/lib/grpc/account_attachments_services_pb.rb +4 -4
- data/lib/grpc/account_grants_pb.rb +0 -2
- data/lib/grpc/account_grants_services_pb.rb +4 -4
- data/lib/grpc/accounts_pb.rb +0 -2
- data/lib/grpc/accounts_services_pb.rb +5 -5
- data/lib/grpc/control_panel_pb.rb +38 -0
- data/lib/grpc/control_panel_services_pb.rb +37 -0
- data/lib/grpc/demo_provisioning_requests_pb.rb +93 -0
- data/lib/grpc/demo_provisioning_requests_services_pb.rb +49 -0
- data/lib/grpc/drivers_pb.rb +69 -1
- data/lib/grpc/nodes_pb.rb +0 -2
- data/lib/grpc/nodes_services_pb.rb +5 -5
- data/lib/grpc/options_pb.rb +18 -0
- data/lib/grpc/plumbing.rb +571 -1
- data/lib/grpc/resources_pb.rb +12 -1
- data/lib/grpc/resources_services_pb.rb +7 -5
- data/lib/grpc/role_attachments_pb.rb +0 -2
- data/lib/grpc/role_attachments_services_pb.rb +4 -4
- data/lib/grpc/role_grants_pb.rb +0 -2
- data/lib/grpc/role_grants_services_pb.rb +4 -4
- data/lib/grpc/roles_pb.rb +0 -2
- data/lib/grpc/roles_services_pb.rb +5 -5
- data/lib/grpc/secret_store_types_pb.rb +60 -0
- data/lib/grpc/secret_stores_pb.rb +84 -0
- data/lib/grpc/secret_stores_services_pb.rb +44 -0
- data/lib/grpc/spec_pb.rb +6 -0
- data/lib/grpc/tags_pb.rb +5 -0
- data/lib/models/porcelain.rb +736 -3
- data/lib/strongdm.rb +11 -2
- data/lib/svc.rb +254 -0
- data/lib/version +1 -1
- data/lib/version.rb +1 -1
- metadata +39 -4
- data/lib/grpc/protoc-gen-swagger/options/annotations_pb.rb +0 -15
data/lib/grpc/nodes_pb.rb
CHANGED
@@ -31,15 +31,15 @@ module V1
|
|
31
31
|
self.service_name = "v1.Nodes"
|
32
32
|
|
33
33
|
# Create registers a new Node.
|
34
|
-
rpc :Create, NodeCreateRequest, NodeCreateResponse
|
34
|
+
rpc :Create, ::V1::NodeCreateRequest, ::V1::NodeCreateResponse
|
35
35
|
# Get reads one Node by ID.
|
36
|
-
rpc :Get, NodeGetRequest, NodeGetResponse
|
36
|
+
rpc :Get, ::V1::NodeGetRequest, ::V1::NodeGetResponse
|
37
37
|
# Update patches a Node by ID.
|
38
|
-
rpc :Update, NodeUpdateRequest, NodeUpdateResponse
|
38
|
+
rpc :Update, ::V1::NodeUpdateRequest, ::V1::NodeUpdateResponse
|
39
39
|
# Delete removes a Node by ID.
|
40
|
-
rpc :Delete, NodeDeleteRequest, NodeDeleteResponse
|
40
|
+
rpc :Delete, ::V1::NodeDeleteRequest, ::V1::NodeDeleteResponse
|
41
41
|
# List gets a list of Nodes matching a given set of criteria.
|
42
|
-
rpc :List, NodeListRequest, NodeListResponse
|
42
|
+
rpc :List, ::V1::NodeListRequest, ::V1::NodeListResponse
|
43
43
|
end
|
44
44
|
|
45
45
|
Stub = Service.rpc_stub_class
|
data/lib/grpc/options_pb.rb
CHANGED
@@ -19,6 +19,10 @@ require "google/protobuf"
|
|
19
19
|
|
20
20
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
21
21
|
add_file("options.proto", :syntax => :proto3) do
|
22
|
+
add_message "v1.MethodOptions" do
|
23
|
+
optional :method, :string, 1941300
|
24
|
+
optional :url, :string, 1941301
|
25
|
+
end
|
22
26
|
add_message "v1.FieldOptions" do
|
23
27
|
optional :name, :string, 1941300
|
24
28
|
optional :sql_nullable, :bool, 1941301
|
@@ -31,6 +35,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
31
35
|
optional :force_new, :bool, 1941308
|
32
36
|
optional :write_only, :bool, 1941309
|
33
37
|
optional :sensitive, :bool, 1941310
|
38
|
+
optional :cli_name, :string, 1941311
|
39
|
+
optional :cli_json_name, :string, 1941312
|
40
|
+
optional :json_gateway_name, :string, 1941313
|
41
|
+
optional :hide_from_json_gateway, :bool, 1941314
|
42
|
+
optional :read_only, :bool, 1941315
|
43
|
+
optional :is_credential, :bool, 1941316
|
44
|
+
optional :sql_type, :string, 1941317
|
34
45
|
end
|
35
46
|
add_message "v1.MessageOptions" do
|
36
47
|
optional :model_name, :string, 1941300
|
@@ -39,6 +50,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
39
50
|
optional :options_field, :string, 1941303
|
40
51
|
optional :terraform_docs, :message, 1941304, "v1.TerraformDocs"
|
41
52
|
optional :custom, :message, 1941305, "v1.CustomPorcelainMessageOptions"
|
53
|
+
optional :private_sdk, :bool, 1941306
|
54
|
+
optional :cli_name, :string, 1941307
|
55
|
+
optional :cli_json_name, :string, 1941308
|
56
|
+
optional :json_gateway_name, :string, 1941309
|
57
|
+
optional :hide_from_json_gateway, :bool, 1941310
|
42
58
|
end
|
43
59
|
add_message "v1.CustomPorcelainMessageOptions" do
|
44
60
|
optional :converter, :string, 1941309
|
@@ -57,11 +73,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
57
73
|
end
|
58
74
|
add_message "v1.ServiceOptions" do
|
59
75
|
optional :main_noun, :string, 1941400
|
76
|
+
optional :private_sdk, :bool, 1941401
|
60
77
|
end
|
61
78
|
end
|
62
79
|
end
|
63
80
|
|
64
81
|
module V1
|
82
|
+
MethodOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MethodOptions").msgclass
|
65
83
|
FieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.FieldOptions").msgclass
|
66
84
|
MessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.MessageOptions").msgclass
|
67
85
|
CustomPorcelainMessageOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("v1.CustomPorcelainMessageOptions").msgclass
|
data/lib/grpc/plumbing.rb
CHANGED
@@ -20,16 +20,20 @@ require "google/protobuf/well_known_types"
|
|
20
20
|
require "json"
|
21
21
|
require_relative "./options_pb"
|
22
22
|
require_relative "./spec_pb"
|
23
|
+
require_relative "./tags_pb"
|
23
24
|
require_relative "./account_attachments_pb"
|
24
25
|
require_relative "./account_grants_pb"
|
25
|
-
require_relative "./tags_pb"
|
26
26
|
require_relative "./accounts_pb"
|
27
|
+
require_relative "./control_panel_pb"
|
28
|
+
require_relative "./demo_provisioning_requests_pb"
|
27
29
|
require_relative "./drivers_pb"
|
28
30
|
require_relative "./nodes_pb"
|
29
31
|
require_relative "./resources_pb"
|
30
32
|
require_relative "./role_attachments_pb"
|
31
33
|
require_relative "./role_grants_pb"
|
32
34
|
require_relative "./roles_pb"
|
35
|
+
require_relative "./secret_store_types_pb"
|
36
|
+
require_relative "./secret_stores_pb"
|
33
37
|
require_relative "../models/porcelain"
|
34
38
|
require_relative "../errors/errors"
|
35
39
|
|
@@ -258,6 +262,42 @@ module SDM
|
|
258
262
|
end
|
259
263
|
items
|
260
264
|
end
|
265
|
+
def self.convert_tag_to_porcelain(plumbing)
|
266
|
+
if plumbing == nil
|
267
|
+
return nil
|
268
|
+
end
|
269
|
+
porcelain = Tag.new()
|
270
|
+
porcelain.name = (plumbing.name)
|
271
|
+
porcelain.value = (plumbing.value)
|
272
|
+
porcelain
|
273
|
+
end
|
274
|
+
|
275
|
+
def self.convert_tag_to_plumbing(porcelain)
|
276
|
+
if porcelain == nil
|
277
|
+
return nil
|
278
|
+
end
|
279
|
+
plumbing = V1::Tag.new()
|
280
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
281
|
+
plumbing.value = (porcelain.value) unless porcelain.value == nil
|
282
|
+
plumbing
|
283
|
+
end
|
284
|
+
def self.convert_repeated_tag_to_plumbing(porcelains)
|
285
|
+
items = Array.new
|
286
|
+
porcelains.each do |porcelain|
|
287
|
+
plumbing = convert_tag_to_plumbing(porcelain)
|
288
|
+
items.append(plumbing)
|
289
|
+
end
|
290
|
+
items
|
291
|
+
end
|
292
|
+
|
293
|
+
def self.convert_repeated_tag_to_porcelain(plumbings)
|
294
|
+
items = Array.new
|
295
|
+
plumbings.each do |plumbing|
|
296
|
+
porcelain = convert_tag_to_porcelain(plumbing)
|
297
|
+
items.append(porcelain)
|
298
|
+
end
|
299
|
+
items
|
300
|
+
end
|
261
301
|
def self.convert_account_attachment_create_response_to_porcelain(plumbing)
|
262
302
|
if plumbing == nil
|
263
303
|
return nil
|
@@ -840,6 +880,44 @@ module SDM
|
|
840
880
|
end
|
841
881
|
items
|
842
882
|
end
|
883
|
+
def self.convert_control_panel_get_sshca_public_key_response_to_porcelain(plumbing)
|
884
|
+
if plumbing == nil
|
885
|
+
return nil
|
886
|
+
end
|
887
|
+
porcelain = ControlPanelGetSSHCAPublicKeyResponse.new()
|
888
|
+
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
889
|
+
porcelain.public_key = (plumbing.public_key)
|
890
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
891
|
+
porcelain
|
892
|
+
end
|
893
|
+
|
894
|
+
def self.convert_control_panel_get_sshca_public_key_response_to_plumbing(porcelain)
|
895
|
+
if porcelain == nil
|
896
|
+
return nil
|
897
|
+
end
|
898
|
+
plumbing = V1::ControlPanelGetSSHCAPublicKeyResponse.new()
|
899
|
+
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
|
900
|
+
plumbing.public_key = (porcelain.public_key) unless porcelain.public_key == nil
|
901
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
|
902
|
+
plumbing
|
903
|
+
end
|
904
|
+
def self.convert_repeated_control_panel_get_sshca_public_key_response_to_plumbing(porcelains)
|
905
|
+
items = Array.new
|
906
|
+
porcelains.each do |porcelain|
|
907
|
+
plumbing = convert_control_panel_get_sshca_public_key_response_to_plumbing(porcelain)
|
908
|
+
items.append(plumbing)
|
909
|
+
end
|
910
|
+
items
|
911
|
+
end
|
912
|
+
|
913
|
+
def self.convert_repeated_control_panel_get_sshca_public_key_response_to_porcelain(plumbings)
|
914
|
+
items = Array.new
|
915
|
+
plumbings.each do |plumbing|
|
916
|
+
porcelain = convert_control_panel_get_sshca_public_key_response_to_porcelain(plumbing)
|
917
|
+
items.append(porcelain)
|
918
|
+
end
|
919
|
+
items
|
920
|
+
end
|
843
921
|
def self.convert_resource_to_plumbing(porcelain)
|
844
922
|
if porcelain == nil
|
845
923
|
return nil
|
@@ -848,6 +926,9 @@ module SDM
|
|
848
926
|
if porcelain.instance_of? Athena
|
849
927
|
plumbing.athena = convert_athena_to_plumbing(porcelain)
|
850
928
|
end
|
929
|
+
if porcelain.instance_of? AWS
|
930
|
+
plumbing.aws = convert_aws_to_plumbing(porcelain)
|
931
|
+
end
|
851
932
|
if porcelain.instance_of? BigQuery
|
852
933
|
plumbing.big_query = convert_big_query_to_plumbing(porcelain)
|
853
934
|
end
|
@@ -999,6 +1080,9 @@ module SDM
|
|
999
1080
|
if plumbing.athena != nil
|
1000
1081
|
return convert_athena_to_porcelain(plumbing.athena)
|
1001
1082
|
end
|
1083
|
+
if plumbing.aws != nil
|
1084
|
+
return convert_aws_to_porcelain(plumbing.aws)
|
1085
|
+
end
|
1002
1086
|
if plumbing.big_query != nil
|
1003
1087
|
return convert_big_query_to_porcelain(plumbing.big_query)
|
1004
1088
|
end
|
@@ -1167,11 +1251,14 @@ module SDM
|
|
1167
1251
|
porcelain.name = (plumbing.name)
|
1168
1252
|
porcelain.healthy = (plumbing.healthy)
|
1169
1253
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1254
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1170
1255
|
porcelain.access_key = (plumbing.access_key)
|
1171
1256
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1172
1257
|
porcelain.output = (plumbing.output)
|
1173
1258
|
porcelain.port_override = (plumbing.port_override)
|
1174
1259
|
porcelain.region = (plumbing.region)
|
1260
|
+
porcelain.role_arn = (plumbing.role_arn)
|
1261
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
1175
1262
|
porcelain
|
1176
1263
|
end
|
1177
1264
|
|
@@ -1184,11 +1271,14 @@ module SDM
|
|
1184
1271
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1185
1272
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1186
1273
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1274
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1187
1275
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1188
1276
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1189
1277
|
plumbing.output = (porcelain.output) unless porcelain.output == nil
|
1190
1278
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1191
1279
|
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
1280
|
+
plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
|
1281
|
+
plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
|
1192
1282
|
plumbing
|
1193
1283
|
end
|
1194
1284
|
def self.convert_repeated_athena_to_plumbing(porcelains)
|
@@ -1208,6 +1298,58 @@ module SDM
|
|
1208
1298
|
end
|
1209
1299
|
items
|
1210
1300
|
end
|
1301
|
+
def self.convert_aws_to_porcelain(plumbing)
|
1302
|
+
if plumbing == nil
|
1303
|
+
return nil
|
1304
|
+
end
|
1305
|
+
porcelain = AWS.new()
|
1306
|
+
porcelain.id = (plumbing.id)
|
1307
|
+
porcelain.name = (plumbing.name)
|
1308
|
+
porcelain.healthy = (plumbing.healthy)
|
1309
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1310
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1311
|
+
porcelain.access_key = (plumbing.access_key)
|
1312
|
+
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1313
|
+
porcelain.healthcheck_region = (plumbing.healthcheck_region)
|
1314
|
+
porcelain.role_arn = (plumbing.role_arn)
|
1315
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
1316
|
+
porcelain
|
1317
|
+
end
|
1318
|
+
|
1319
|
+
def self.convert_aws_to_plumbing(porcelain)
|
1320
|
+
if porcelain == nil
|
1321
|
+
return nil
|
1322
|
+
end
|
1323
|
+
plumbing = V1::AWS.new()
|
1324
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
1325
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1326
|
+
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1327
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1328
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1329
|
+
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1330
|
+
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1331
|
+
plumbing.healthcheck_region = (porcelain.healthcheck_region) unless porcelain.healthcheck_region == nil
|
1332
|
+
plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
|
1333
|
+
plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
|
1334
|
+
plumbing
|
1335
|
+
end
|
1336
|
+
def self.convert_repeated_aws_to_plumbing(porcelains)
|
1337
|
+
items = Array.new
|
1338
|
+
porcelains.each do |porcelain|
|
1339
|
+
plumbing = convert_aws_to_plumbing(porcelain)
|
1340
|
+
items.append(plumbing)
|
1341
|
+
end
|
1342
|
+
items
|
1343
|
+
end
|
1344
|
+
|
1345
|
+
def self.convert_repeated_aws_to_porcelain(plumbings)
|
1346
|
+
items = Array.new
|
1347
|
+
plumbings.each do |plumbing|
|
1348
|
+
porcelain = convert_aws_to_porcelain(plumbing)
|
1349
|
+
items.append(porcelain)
|
1350
|
+
end
|
1351
|
+
items
|
1352
|
+
end
|
1211
1353
|
def self.convert_big_query_to_porcelain(plumbing)
|
1212
1354
|
if plumbing == nil
|
1213
1355
|
return nil
|
@@ -1217,6 +1359,7 @@ module SDM
|
|
1217
1359
|
porcelain.name = (plumbing.name)
|
1218
1360
|
porcelain.healthy = (plumbing.healthy)
|
1219
1361
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1362
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1220
1363
|
porcelain.private_key = (plumbing.private_key)
|
1221
1364
|
porcelain.project = (plumbing.project)
|
1222
1365
|
porcelain.port_override = (plumbing.port_override)
|
@@ -1234,6 +1377,7 @@ module SDM
|
|
1234
1377
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1235
1378
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1236
1379
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1380
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1237
1381
|
plumbing.private_key = (porcelain.private_key) unless porcelain.private_key == nil
|
1238
1382
|
plumbing.project = (porcelain.project) unless porcelain.project == nil
|
1239
1383
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -1267,6 +1411,7 @@ module SDM
|
|
1267
1411
|
porcelain.name = (plumbing.name)
|
1268
1412
|
porcelain.healthy = (plumbing.healthy)
|
1269
1413
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1414
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1270
1415
|
porcelain.hostname = (plumbing.hostname)
|
1271
1416
|
porcelain.username = (plumbing.username)
|
1272
1417
|
porcelain.password = (plumbing.password)
|
@@ -1285,6 +1430,7 @@ module SDM
|
|
1285
1430
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1286
1431
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1287
1432
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1433
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1288
1434
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1289
1435
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1290
1436
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -1319,6 +1465,7 @@ module SDM
|
|
1319
1465
|
porcelain.name = (plumbing.name)
|
1320
1466
|
porcelain.healthy = (plumbing.healthy)
|
1321
1467
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1468
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1322
1469
|
porcelain.hostname = (plumbing.hostname)
|
1323
1470
|
porcelain.username = (plumbing.username)
|
1324
1471
|
porcelain.password = (plumbing.password)
|
@@ -1337,6 +1484,7 @@ module SDM
|
|
1337
1484
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1338
1485
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1339
1486
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1487
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1340
1488
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1341
1489
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1342
1490
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -1371,6 +1519,7 @@ module SDM
|
|
1371
1519
|
porcelain.name = (plumbing.name)
|
1372
1520
|
porcelain.healthy = (plumbing.healthy)
|
1373
1521
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1522
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1374
1523
|
porcelain.hostname = (plumbing.hostname)
|
1375
1524
|
porcelain.username = (plumbing.username)
|
1376
1525
|
porcelain.password = (plumbing.password)
|
@@ -1389,6 +1538,7 @@ module SDM
|
|
1389
1538
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1390
1539
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1391
1540
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1541
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1392
1542
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1393
1543
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1394
1544
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -1423,6 +1573,7 @@ module SDM
|
|
1423
1573
|
porcelain.name = (plumbing.name)
|
1424
1574
|
porcelain.healthy = (plumbing.healthy)
|
1425
1575
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1576
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1426
1577
|
porcelain.hostname = (plumbing.hostname)
|
1427
1578
|
porcelain.port_override = (plumbing.port_override)
|
1428
1579
|
porcelain.username = (plumbing.username)
|
@@ -1440,6 +1591,7 @@ module SDM
|
|
1440
1591
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1441
1592
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1442
1593
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1594
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1443
1595
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1444
1596
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1445
1597
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
@@ -1473,11 +1625,14 @@ module SDM
|
|
1473
1625
|
porcelain.name = (plumbing.name)
|
1474
1626
|
porcelain.healthy = (plumbing.healthy)
|
1475
1627
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1628
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1476
1629
|
porcelain.access_key = (plumbing.access_key)
|
1477
1630
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1478
1631
|
porcelain.region = (plumbing.region)
|
1479
1632
|
porcelain.endpoint = (plumbing.endpoint)
|
1480
1633
|
porcelain.port_override = (plumbing.port_override)
|
1634
|
+
porcelain.role_arn = (plumbing.role_arn)
|
1635
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
1481
1636
|
porcelain
|
1482
1637
|
end
|
1483
1638
|
|
@@ -1490,11 +1645,14 @@ module SDM
|
|
1490
1645
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1491
1646
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1492
1647
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1648
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1493
1649
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1494
1650
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1495
1651
|
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
1496
1652
|
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
1497
1653
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1654
|
+
plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
|
1655
|
+
plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
|
1498
1656
|
plumbing
|
1499
1657
|
end
|
1500
1658
|
def self.convert_repeated_dynamo_db_to_plumbing(porcelains)
|
@@ -1523,11 +1681,14 @@ module SDM
|
|
1523
1681
|
porcelain.name = (plumbing.name)
|
1524
1682
|
porcelain.healthy = (plumbing.healthy)
|
1525
1683
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1684
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1526
1685
|
porcelain.region = (plumbing.region)
|
1527
1686
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
1528
1687
|
porcelain.endpoint = (plumbing.endpoint)
|
1529
1688
|
porcelain.access_key = (plumbing.access_key)
|
1530
1689
|
porcelain.port_override = (plumbing.port_override)
|
1690
|
+
porcelain.role_arn = (plumbing.role_arn)
|
1691
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
1531
1692
|
porcelain
|
1532
1693
|
end
|
1533
1694
|
|
@@ -1540,11 +1701,14 @@ module SDM
|
|
1540
1701
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1541
1702
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1542
1703
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1704
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1543
1705
|
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
1544
1706
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
1545
1707
|
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
1546
1708
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1547
1709
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
1710
|
+
plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
|
1711
|
+
plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
|
1548
1712
|
plumbing
|
1549
1713
|
end
|
1550
1714
|
def self.convert_repeated_amazon_es_to_plumbing(porcelains)
|
@@ -1573,6 +1737,7 @@ module SDM
|
|
1573
1737
|
porcelain.name = (plumbing.name)
|
1574
1738
|
porcelain.healthy = (plumbing.healthy)
|
1575
1739
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1740
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1576
1741
|
porcelain.hostname = (plumbing.hostname)
|
1577
1742
|
porcelain.username = (plumbing.username)
|
1578
1743
|
porcelain.password = (plumbing.password)
|
@@ -1591,6 +1756,7 @@ module SDM
|
|
1591
1756
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1592
1757
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1593
1758
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1759
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1594
1760
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1595
1761
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
1596
1762
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -1625,6 +1791,7 @@ module SDM
|
|
1625
1791
|
porcelain.name = (plumbing.name)
|
1626
1792
|
porcelain.healthy = (plumbing.healthy)
|
1627
1793
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1794
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1628
1795
|
porcelain.url = (plumbing.url)
|
1629
1796
|
porcelain.healthcheck_path = (plumbing.healthcheck_path)
|
1630
1797
|
porcelain.username = (plumbing.username)
|
@@ -1644,6 +1811,7 @@ module SDM
|
|
1644
1811
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1645
1812
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1646
1813
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1814
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1647
1815
|
plumbing.url = (porcelain.url) unless porcelain.url == nil
|
1648
1816
|
plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
|
1649
1817
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
@@ -1679,6 +1847,7 @@ module SDM
|
|
1679
1847
|
porcelain.name = (plumbing.name)
|
1680
1848
|
porcelain.healthy = (plumbing.healthy)
|
1681
1849
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1850
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1682
1851
|
porcelain.url = (plumbing.url)
|
1683
1852
|
porcelain.healthcheck_path = (plumbing.healthcheck_path)
|
1684
1853
|
porcelain.headers_blacklist = (plumbing.headers_blacklist)
|
@@ -1696,6 +1865,7 @@ module SDM
|
|
1696
1865
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1697
1866
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1698
1867
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1868
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1699
1869
|
plumbing.url = (porcelain.url) unless porcelain.url == nil
|
1700
1870
|
plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
|
1701
1871
|
plumbing.headers_blacklist = (porcelain.headers_blacklist) unless porcelain.headers_blacklist == nil
|
@@ -1729,6 +1899,7 @@ module SDM
|
|
1729
1899
|
porcelain.name = (plumbing.name)
|
1730
1900
|
porcelain.healthy = (plumbing.healthy)
|
1731
1901
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1902
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1732
1903
|
porcelain.url = (plumbing.url)
|
1733
1904
|
porcelain.healthcheck_path = (plumbing.healthcheck_path)
|
1734
1905
|
porcelain.auth_header = (plumbing.auth_header)
|
@@ -1747,6 +1918,7 @@ module SDM
|
|
1747
1918
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1748
1919
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1749
1920
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1921
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1750
1922
|
plumbing.url = (porcelain.url) unless porcelain.url == nil
|
1751
1923
|
plumbing.healthcheck_path = (porcelain.healthcheck_path) unless porcelain.healthcheck_path == nil
|
1752
1924
|
plumbing.auth_header = (porcelain.auth_header) unless porcelain.auth_header == nil
|
@@ -1781,6 +1953,7 @@ module SDM
|
|
1781
1953
|
porcelain.name = (plumbing.name)
|
1782
1954
|
porcelain.healthy = (plumbing.healthy)
|
1783
1955
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
1956
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1784
1957
|
porcelain.hostname = (plumbing.hostname)
|
1785
1958
|
porcelain.port = (plumbing.port)
|
1786
1959
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
@@ -1799,6 +1972,7 @@ module SDM
|
|
1799
1972
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1800
1973
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1801
1974
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
1975
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1802
1976
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1803
1977
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1804
1978
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
@@ -1833,6 +2007,7 @@ module SDM
|
|
1833
2007
|
porcelain.name = (plumbing.name)
|
1834
2008
|
porcelain.healthy = (plumbing.healthy)
|
1835
2009
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2010
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1836
2011
|
porcelain.hostname = (plumbing.hostname)
|
1837
2012
|
porcelain.port = (plumbing.port)
|
1838
2013
|
porcelain.username = (plumbing.username)
|
@@ -1850,6 +2025,7 @@ module SDM
|
|
1850
2025
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1851
2026
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1852
2027
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2028
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1853
2029
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1854
2030
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1855
2031
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
@@ -1883,6 +2059,7 @@ module SDM
|
|
1883
2059
|
porcelain.name = (plumbing.name)
|
1884
2060
|
porcelain.healthy = (plumbing.healthy)
|
1885
2061
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2062
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1886
2063
|
porcelain.hostname = (plumbing.hostname)
|
1887
2064
|
porcelain.port = (plumbing.port)
|
1888
2065
|
porcelain.token = (plumbing.token)
|
@@ -1899,6 +2076,7 @@ module SDM
|
|
1899
2076
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1900
2077
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1901
2078
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2079
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1902
2080
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
1903
2081
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
1904
2082
|
plumbing.token = (porcelain.token) unless porcelain.token == nil
|
@@ -1931,6 +2109,7 @@ module SDM
|
|
1931
2109
|
porcelain.name = (plumbing.name)
|
1932
2110
|
porcelain.healthy = (plumbing.healthy)
|
1933
2111
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2112
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1934
2113
|
porcelain.endpoint = (plumbing.endpoint)
|
1935
2114
|
porcelain.access_key = (plumbing.access_key)
|
1936
2115
|
porcelain.secret_access_key = (plumbing.secret_access_key)
|
@@ -1938,6 +2117,7 @@ module SDM
|
|
1938
2117
|
porcelain.region = (plumbing.region)
|
1939
2118
|
porcelain.cluster_name = (plumbing.cluster_name)
|
1940
2119
|
porcelain.role_arn = (plumbing.role_arn)
|
2120
|
+
porcelain.role_external_id = (plumbing.role_external_id)
|
1941
2121
|
porcelain.healthcheck_namespace = (plumbing.healthcheck_namespace)
|
1942
2122
|
porcelain
|
1943
2123
|
end
|
@@ -1951,6 +2131,7 @@ module SDM
|
|
1951
2131
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
1952
2132
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
1953
2133
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2134
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
1954
2135
|
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
1955
2136
|
plumbing.access_key = (porcelain.access_key) unless porcelain.access_key == nil
|
1956
2137
|
plumbing.secret_access_key = (porcelain.secret_access_key) unless porcelain.secret_access_key == nil
|
@@ -1958,6 +2139,7 @@ module SDM
|
|
1958
2139
|
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
1959
2140
|
plumbing.cluster_name = (porcelain.cluster_name) unless porcelain.cluster_name == nil
|
1960
2141
|
plumbing.role_arn = (porcelain.role_arn) unless porcelain.role_arn == nil
|
2142
|
+
plumbing.role_external_id = (porcelain.role_external_id) unless porcelain.role_external_id == nil
|
1961
2143
|
plumbing.healthcheck_namespace = (porcelain.healthcheck_namespace) unless porcelain.healthcheck_namespace == nil
|
1962
2144
|
plumbing
|
1963
2145
|
end
|
@@ -1987,6 +2169,7 @@ module SDM
|
|
1987
2169
|
porcelain.name = (plumbing.name)
|
1988
2170
|
porcelain.healthy = (plumbing.healthy)
|
1989
2171
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2172
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
1990
2173
|
porcelain.endpoint = (plumbing.endpoint)
|
1991
2174
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
1992
2175
|
porcelain.service_account_key = (plumbing.service_account_key)
|
@@ -2003,6 +2186,7 @@ module SDM
|
|
2003
2186
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2004
2187
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2005
2188
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2189
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2006
2190
|
plumbing.endpoint = (porcelain.endpoint) unless porcelain.endpoint == nil
|
2007
2191
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
2008
2192
|
plumbing.service_account_key = (porcelain.service_account_key) unless porcelain.service_account_key == nil
|
@@ -2035,6 +2219,7 @@ module SDM
|
|
2035
2219
|
porcelain.name = (plumbing.name)
|
2036
2220
|
porcelain.healthy = (plumbing.healthy)
|
2037
2221
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2222
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2038
2223
|
porcelain.hostname = (plumbing.hostname)
|
2039
2224
|
porcelain.port = (plumbing.port)
|
2040
2225
|
porcelain.certificate_authority = (plumbing.certificate_authority)
|
@@ -2053,6 +2238,7 @@ module SDM
|
|
2053
2238
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2054
2239
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2055
2240
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2241
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2056
2242
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2057
2243
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2058
2244
|
plumbing.certificate_authority = (porcelain.certificate_authority) unless porcelain.certificate_authority == nil
|
@@ -2087,6 +2273,7 @@ module SDM
|
|
2087
2273
|
porcelain.name = (plumbing.name)
|
2088
2274
|
porcelain.healthy = (plumbing.healthy)
|
2089
2275
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2276
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2090
2277
|
porcelain.hostname = (plumbing.hostname)
|
2091
2278
|
porcelain.port = (plumbing.port)
|
2092
2279
|
porcelain.username = (plumbing.username)
|
@@ -2104,6 +2291,7 @@ module SDM
|
|
2104
2291
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2105
2292
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2106
2293
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2294
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2107
2295
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2108
2296
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2109
2297
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
@@ -2137,6 +2325,7 @@ module SDM
|
|
2137
2325
|
porcelain.name = (plumbing.name)
|
2138
2326
|
porcelain.healthy = (plumbing.healthy)
|
2139
2327
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2328
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2140
2329
|
porcelain.hostname = (plumbing.hostname)
|
2141
2330
|
porcelain.port = (plumbing.port)
|
2142
2331
|
porcelain.token = (plumbing.token)
|
@@ -2153,6 +2342,7 @@ module SDM
|
|
2153
2342
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2154
2343
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2155
2344
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2345
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2156
2346
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2157
2347
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
2158
2348
|
plumbing.token = (porcelain.token) unless porcelain.token == nil
|
@@ -2185,6 +2375,7 @@ module SDM
|
|
2185
2375
|
porcelain.name = (plumbing.name)
|
2186
2376
|
porcelain.healthy = (plumbing.healthy)
|
2187
2377
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2378
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2188
2379
|
porcelain.hostname = (plumbing.hostname)
|
2189
2380
|
porcelain.port_override = (plumbing.port_override)
|
2190
2381
|
porcelain.port = (plumbing.port)
|
@@ -2200,6 +2391,7 @@ module SDM
|
|
2200
2391
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2201
2392
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2202
2393
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2394
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2203
2395
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2204
2396
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
2205
2397
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
@@ -2231,6 +2423,7 @@ module SDM
|
|
2231
2423
|
porcelain.name = (plumbing.name)
|
2232
2424
|
porcelain.healthy = (plumbing.healthy)
|
2233
2425
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2426
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2234
2427
|
porcelain.hostname = (plumbing.hostname)
|
2235
2428
|
porcelain.auth_database = (plumbing.auth_database)
|
2236
2429
|
porcelain.port_override = (plumbing.port_override)
|
@@ -2251,6 +2444,7 @@ module SDM
|
|
2251
2444
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2252
2445
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2253
2446
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2447
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2254
2448
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2255
2449
|
plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
|
2256
2450
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -2287,6 +2481,7 @@ module SDM
|
|
2287
2481
|
porcelain.name = (plumbing.name)
|
2288
2482
|
porcelain.healthy = (plumbing.healthy)
|
2289
2483
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2484
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2290
2485
|
porcelain.hostname = (plumbing.hostname)
|
2291
2486
|
porcelain.auth_database = (plumbing.auth_database)
|
2292
2487
|
porcelain.port_override = (plumbing.port_override)
|
@@ -2308,6 +2503,7 @@ module SDM
|
|
2308
2503
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2309
2504
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2310
2505
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2506
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2311
2507
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2312
2508
|
plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
|
2313
2509
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -2345,6 +2541,7 @@ module SDM
|
|
2345
2541
|
porcelain.name = (plumbing.name)
|
2346
2542
|
porcelain.healthy = (plumbing.healthy)
|
2347
2543
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2544
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2348
2545
|
porcelain.hostname = (plumbing.hostname)
|
2349
2546
|
porcelain.auth_database = (plumbing.auth_database)
|
2350
2547
|
porcelain.port_override = (plumbing.port_override)
|
@@ -2364,6 +2561,7 @@ module SDM
|
|
2364
2561
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2365
2562
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2366
2563
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2564
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2367
2565
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2368
2566
|
plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
|
2369
2567
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -2399,6 +2597,7 @@ module SDM
|
|
2399
2597
|
porcelain.name = (plumbing.name)
|
2400
2598
|
porcelain.healthy = (plumbing.healthy)
|
2401
2599
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2600
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2402
2601
|
porcelain.hostname = (plumbing.hostname)
|
2403
2602
|
porcelain.auth_database = (plumbing.auth_database)
|
2404
2603
|
porcelain.port_override = (plumbing.port_override)
|
@@ -2420,6 +2619,7 @@ module SDM
|
|
2420
2619
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2421
2620
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2422
2621
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2622
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2423
2623
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2424
2624
|
plumbing.auth_database = (porcelain.auth_database) unless porcelain.auth_database == nil
|
2425
2625
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -2457,6 +2657,7 @@ module SDM
|
|
2457
2657
|
porcelain.name = (plumbing.name)
|
2458
2658
|
porcelain.healthy = (plumbing.healthy)
|
2459
2659
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2660
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2460
2661
|
porcelain.hostname = (plumbing.hostname)
|
2461
2662
|
porcelain.username = (plumbing.username)
|
2462
2663
|
porcelain.password = (plumbing.password)
|
@@ -2475,6 +2676,7 @@ module SDM
|
|
2475
2676
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2476
2677
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2477
2678
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2679
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2478
2680
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2479
2681
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2480
2682
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2509,6 +2711,7 @@ module SDM
|
|
2509
2711
|
porcelain.name = (plumbing.name)
|
2510
2712
|
porcelain.healthy = (plumbing.healthy)
|
2511
2713
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2714
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2512
2715
|
porcelain.hostname = (plumbing.hostname)
|
2513
2716
|
porcelain.username = (plumbing.username)
|
2514
2717
|
porcelain.password = (plumbing.password)
|
@@ -2527,6 +2730,7 @@ module SDM
|
|
2527
2730
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2528
2731
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2529
2732
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2733
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2530
2734
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2531
2735
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2532
2736
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2561,6 +2765,7 @@ module SDM
|
|
2561
2765
|
porcelain.name = (plumbing.name)
|
2562
2766
|
porcelain.healthy = (plumbing.healthy)
|
2563
2767
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2768
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2564
2769
|
porcelain.hostname = (plumbing.hostname)
|
2565
2770
|
porcelain.username = (plumbing.username)
|
2566
2771
|
porcelain.password = (plumbing.password)
|
@@ -2579,6 +2784,7 @@ module SDM
|
|
2579
2784
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2580
2785
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2581
2786
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2787
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2582
2788
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2583
2789
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2584
2790
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2613,6 +2819,7 @@ module SDM
|
|
2613
2819
|
porcelain.name = (plumbing.name)
|
2614
2820
|
porcelain.healthy = (plumbing.healthy)
|
2615
2821
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2822
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2616
2823
|
porcelain.hostname = (plumbing.hostname)
|
2617
2824
|
porcelain.username = (plumbing.username)
|
2618
2825
|
porcelain.password = (plumbing.password)
|
@@ -2631,6 +2838,7 @@ module SDM
|
|
2631
2838
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2632
2839
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2633
2840
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2841
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2634
2842
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2635
2843
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2636
2844
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2665,6 +2873,7 @@ module SDM
|
|
2665
2873
|
porcelain.name = (plumbing.name)
|
2666
2874
|
porcelain.healthy = (plumbing.healthy)
|
2667
2875
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2876
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2668
2877
|
porcelain.hostname = (plumbing.hostname)
|
2669
2878
|
porcelain.username = (plumbing.username)
|
2670
2879
|
porcelain.password = (plumbing.password)
|
@@ -2683,6 +2892,7 @@ module SDM
|
|
2683
2892
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2684
2893
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2685
2894
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2895
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2686
2896
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2687
2897
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2688
2898
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2717,6 +2927,7 @@ module SDM
|
|
2717
2927
|
porcelain.name = (plumbing.name)
|
2718
2928
|
porcelain.healthy = (plumbing.healthy)
|
2719
2929
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2930
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2720
2931
|
porcelain.hostname = (plumbing.hostname)
|
2721
2932
|
porcelain.username = (plumbing.username)
|
2722
2933
|
porcelain.password = (plumbing.password)
|
@@ -2736,6 +2947,7 @@ module SDM
|
|
2736
2947
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2737
2948
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2738
2949
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
2950
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2739
2951
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2740
2952
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2741
2953
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2771,6 +2983,7 @@ module SDM
|
|
2771
2983
|
porcelain.name = (plumbing.name)
|
2772
2984
|
porcelain.healthy = (plumbing.healthy)
|
2773
2985
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
2986
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2774
2987
|
porcelain.hostname = (plumbing.hostname)
|
2775
2988
|
porcelain.username = (plumbing.username)
|
2776
2989
|
porcelain.password = (plumbing.password)
|
@@ -2790,6 +3003,7 @@ module SDM
|
|
2790
3003
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2791
3004
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2792
3005
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3006
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2793
3007
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2794
3008
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2795
3009
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2825,6 +3039,7 @@ module SDM
|
|
2825
3039
|
porcelain.name = (plumbing.name)
|
2826
3040
|
porcelain.healthy = (plumbing.healthy)
|
2827
3041
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3042
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2828
3043
|
porcelain.hostname = (plumbing.hostname)
|
2829
3044
|
porcelain.username = (plumbing.username)
|
2830
3045
|
porcelain.password = (plumbing.password)
|
@@ -2844,6 +3059,7 @@ module SDM
|
|
2844
3059
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2845
3060
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2846
3061
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3062
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2847
3063
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2848
3064
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2849
3065
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2879,6 +3095,7 @@ module SDM
|
|
2879
3095
|
porcelain.name = (plumbing.name)
|
2880
3096
|
porcelain.healthy = (plumbing.healthy)
|
2881
3097
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3098
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2882
3099
|
porcelain.hostname = (plumbing.hostname)
|
2883
3100
|
porcelain.username = (plumbing.username)
|
2884
3101
|
porcelain.password = (plumbing.password)
|
@@ -2898,6 +3115,7 @@ module SDM
|
|
2898
3115
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2899
3116
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2900
3117
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3118
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2901
3119
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2902
3120
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2903
3121
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2933,6 +3151,7 @@ module SDM
|
|
2933
3151
|
porcelain.name = (plumbing.name)
|
2934
3152
|
porcelain.healthy = (plumbing.healthy)
|
2935
3153
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3154
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2936
3155
|
porcelain.hostname = (plumbing.hostname)
|
2937
3156
|
porcelain.username = (plumbing.username)
|
2938
3157
|
porcelain.password = (plumbing.password)
|
@@ -2952,6 +3171,7 @@ module SDM
|
|
2952
3171
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
2953
3172
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
2954
3173
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3174
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
2955
3175
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
2956
3176
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
2957
3177
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -2987,6 +3207,7 @@ module SDM
|
|
2987
3207
|
porcelain.name = (plumbing.name)
|
2988
3208
|
porcelain.healthy = (plumbing.healthy)
|
2989
3209
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3210
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
2990
3211
|
porcelain.hostname = (plumbing.hostname)
|
2991
3212
|
porcelain.username = (plumbing.username)
|
2992
3213
|
porcelain.password = (plumbing.password)
|
@@ -3006,6 +3227,7 @@ module SDM
|
|
3006
3227
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3007
3228
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3008
3229
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3230
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3009
3231
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3010
3232
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3011
3233
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3041,6 +3263,7 @@ module SDM
|
|
3041
3263
|
porcelain.name = (plumbing.name)
|
3042
3264
|
porcelain.healthy = (plumbing.healthy)
|
3043
3265
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3266
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3044
3267
|
porcelain.hostname = (plumbing.hostname)
|
3045
3268
|
porcelain.username = (plumbing.username)
|
3046
3269
|
porcelain.password = (plumbing.password)
|
@@ -3060,6 +3283,7 @@ module SDM
|
|
3060
3283
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3061
3284
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3062
3285
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3286
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3063
3287
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3064
3288
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3065
3289
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3095,6 +3319,7 @@ module SDM
|
|
3095
3319
|
porcelain.name = (plumbing.name)
|
3096
3320
|
porcelain.healthy = (plumbing.healthy)
|
3097
3321
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3322
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3098
3323
|
porcelain.hostname = (plumbing.hostname)
|
3099
3324
|
porcelain.password = (plumbing.password)
|
3100
3325
|
porcelain.database = (plumbing.database)
|
@@ -3114,6 +3339,7 @@ module SDM
|
|
3114
3339
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3115
3340
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3116
3341
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3342
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3117
3343
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3118
3344
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
3119
3345
|
plumbing.database = (porcelain.database) unless porcelain.database == nil
|
@@ -3149,6 +3375,7 @@ module SDM
|
|
3149
3375
|
porcelain.name = (plumbing.name)
|
3150
3376
|
porcelain.healthy = (plumbing.healthy)
|
3151
3377
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3378
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3152
3379
|
porcelain.hostname = (plumbing.hostname)
|
3153
3380
|
porcelain.username = (plumbing.username)
|
3154
3381
|
porcelain.password = (plumbing.password)
|
@@ -3166,6 +3393,7 @@ module SDM
|
|
3166
3393
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3167
3394
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3168
3395
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3396
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3169
3397
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3170
3398
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3171
3399
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3199,6 +3427,7 @@ module SDM
|
|
3199
3427
|
porcelain.name = (plumbing.name)
|
3200
3428
|
porcelain.healthy = (plumbing.healthy)
|
3201
3429
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3430
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3202
3431
|
porcelain.hostname = (plumbing.hostname)
|
3203
3432
|
porcelain.port_override = (plumbing.port_override)
|
3204
3433
|
porcelain.password = (plumbing.password)
|
@@ -3215,6 +3444,7 @@ module SDM
|
|
3215
3444
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3216
3445
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3217
3446
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3447
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3218
3448
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3219
3449
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
3220
3450
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3247,6 +3477,7 @@ module SDM
|
|
3247
3477
|
porcelain.name = (plumbing.name)
|
3248
3478
|
porcelain.healthy = (plumbing.healthy)
|
3249
3479
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3480
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3250
3481
|
porcelain.hostname = (plumbing.hostname)
|
3251
3482
|
porcelain.port_override = (plumbing.port_override)
|
3252
3483
|
porcelain.password = (plumbing.password)
|
@@ -3264,6 +3495,7 @@ module SDM
|
|
3264
3495
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3265
3496
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3266
3497
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3498
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3267
3499
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3268
3500
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
3269
3501
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3297,6 +3529,7 @@ module SDM
|
|
3297
3529
|
porcelain.name = (plumbing.name)
|
3298
3530
|
porcelain.healthy = (plumbing.healthy)
|
3299
3531
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3532
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3300
3533
|
porcelain.hostname = (plumbing.hostname)
|
3301
3534
|
porcelain.username = (plumbing.username)
|
3302
3535
|
porcelain.password = (plumbing.password)
|
@@ -3315,6 +3548,7 @@ module SDM
|
|
3315
3548
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3316
3549
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3317
3550
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3551
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3318
3552
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3319
3553
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3320
3554
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3349,6 +3583,7 @@ module SDM
|
|
3349
3583
|
porcelain.name = (plumbing.name)
|
3350
3584
|
porcelain.healthy = (plumbing.healthy)
|
3351
3585
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3586
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3352
3587
|
porcelain.hostname = (plumbing.hostname)
|
3353
3588
|
porcelain.username = (plumbing.username)
|
3354
3589
|
porcelain.password = (plumbing.password)
|
@@ -3369,6 +3604,7 @@ module SDM
|
|
3369
3604
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3370
3605
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3371
3606
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3607
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3372
3608
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3373
3609
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3374
3610
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -3405,6 +3641,7 @@ module SDM
|
|
3405
3641
|
porcelain.name = (plumbing.name)
|
3406
3642
|
porcelain.healthy = (plumbing.healthy)
|
3407
3643
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3644
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3408
3645
|
porcelain.hostname = (plumbing.hostname)
|
3409
3646
|
porcelain.username = (plumbing.username)
|
3410
3647
|
porcelain.port = (plumbing.port)
|
@@ -3423,6 +3660,7 @@ module SDM
|
|
3423
3660
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3424
3661
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3425
3662
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3663
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3426
3664
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3427
3665
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3428
3666
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
@@ -3457,6 +3695,7 @@ module SDM
|
|
3457
3695
|
porcelain.name = (plumbing.name)
|
3458
3696
|
porcelain.healthy = (plumbing.healthy)
|
3459
3697
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3698
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3460
3699
|
porcelain.hostname = (plumbing.hostname)
|
3461
3700
|
porcelain.username = (plumbing.username)
|
3462
3701
|
porcelain.port = (plumbing.port)
|
@@ -3474,6 +3713,7 @@ module SDM
|
|
3474
3713
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3475
3714
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3476
3715
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3716
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3477
3717
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3478
3718
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3479
3719
|
plumbing.port = (porcelain.port) unless porcelain.port == nil
|
@@ -3507,6 +3747,7 @@ module SDM
|
|
3507
3747
|
porcelain.name = (plumbing.name)
|
3508
3748
|
porcelain.healthy = (plumbing.healthy)
|
3509
3749
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3750
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3510
3751
|
porcelain.hostname = (plumbing.hostname)
|
3511
3752
|
porcelain.username = (plumbing.username)
|
3512
3753
|
porcelain.port_override = (plumbing.port_override)
|
@@ -3524,6 +3765,7 @@ module SDM
|
|
3524
3765
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3525
3766
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3526
3767
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3768
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3527
3769
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3528
3770
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3529
3771
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -3557,6 +3799,7 @@ module SDM
|
|
3557
3799
|
porcelain.name = (plumbing.name)
|
3558
3800
|
porcelain.healthy = (plumbing.healthy)
|
3559
3801
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3802
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3560
3803
|
porcelain.hostname = (plumbing.hostname)
|
3561
3804
|
porcelain.username = (plumbing.username)
|
3562
3805
|
porcelain.port_override = (plumbing.port_override)
|
@@ -3574,6 +3817,7 @@ module SDM
|
|
3574
3817
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3575
3818
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3576
3819
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3820
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3577
3821
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3578
3822
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3579
3823
|
plumbing.port_override = (porcelain.port_override) unless porcelain.port_override == nil
|
@@ -3607,6 +3851,7 @@ module SDM
|
|
3607
3851
|
porcelain.name = (plumbing.name)
|
3608
3852
|
porcelain.healthy = (plumbing.healthy)
|
3609
3853
|
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
3854
|
+
porcelain.secret_store_id = (plumbing.secret_store_id)
|
3610
3855
|
porcelain.hostname = (plumbing.hostname)
|
3611
3856
|
porcelain.username = (plumbing.username)
|
3612
3857
|
porcelain.password = (plumbing.password)
|
@@ -3624,6 +3869,7 @@ module SDM
|
|
3624
3869
|
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
3625
3870
|
plumbing.healthy = (porcelain.healthy) unless porcelain.healthy == nil
|
3626
3871
|
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
3872
|
+
plumbing.secret_store_id = (porcelain.secret_store_id) unless porcelain.secret_store_id == nil
|
3627
3873
|
plumbing.hostname = (porcelain.hostname) unless porcelain.hostname == nil
|
3628
3874
|
plumbing.username = (porcelain.username) unless porcelain.username == nil
|
3629
3875
|
plumbing.password = (porcelain.password) unless porcelain.password == nil
|
@@ -4566,6 +4812,330 @@ module SDM
|
|
4566
4812
|
end
|
4567
4813
|
items
|
4568
4814
|
end
|
4815
|
+
def self.convert_secret_store_to_plumbing(porcelain)
|
4816
|
+
if porcelain == nil
|
4817
|
+
return nil
|
4818
|
+
end
|
4819
|
+
plumbing = V1::SecretStore.new()
|
4820
|
+
if porcelain.instance_of? AWSStore
|
4821
|
+
plumbing.aws = convert_aws_store_to_plumbing(porcelain)
|
4822
|
+
end
|
4823
|
+
if porcelain.instance_of? VaultTLSStore
|
4824
|
+
plumbing.vault_tls = convert_vault_tls_store_to_plumbing(porcelain)
|
4825
|
+
end
|
4826
|
+
if porcelain.instance_of? VaultTokenStore
|
4827
|
+
plumbing.vault_token = convert_vault_token_store_to_plumbing(porcelain)
|
4828
|
+
end
|
4829
|
+
plumbing
|
4830
|
+
end
|
4831
|
+
|
4832
|
+
def self.convert_secret_store_to_porcelain(plumbing)
|
4833
|
+
if plumbing == nil
|
4834
|
+
return nil
|
4835
|
+
end
|
4836
|
+
if plumbing.aws != nil
|
4837
|
+
return convert_aws_store_to_porcelain(plumbing.aws)
|
4838
|
+
end
|
4839
|
+
if plumbing.vault_tls != nil
|
4840
|
+
return convert_vault_tls_store_to_porcelain(plumbing.vault_tls)
|
4841
|
+
end
|
4842
|
+
if plumbing.vault_token != nil
|
4843
|
+
return convert_vault_token_store_to_porcelain(plumbing.vault_token)
|
4844
|
+
end
|
4845
|
+
end
|
4846
|
+
def self.convert_repeated_secret_store_to_plumbing(porcelains)
|
4847
|
+
items = Array.new
|
4848
|
+
porcelains.each do |porcelain|
|
4849
|
+
plumbing = convert_secret_store_to_plumbing(porcelain)
|
4850
|
+
items.append(plumbing)
|
4851
|
+
end
|
4852
|
+
items
|
4853
|
+
end
|
4854
|
+
|
4855
|
+
def self.convert_repeated_secret_store_to_porcelain(plumbings)
|
4856
|
+
items = Array.new
|
4857
|
+
plumbings.each do |plumbing|
|
4858
|
+
porcelain = convert_secret_store_to_porcelain(plumbing)
|
4859
|
+
items.append(porcelain)
|
4860
|
+
end
|
4861
|
+
items
|
4862
|
+
end
|
4863
|
+
def self.convert_aws_store_to_porcelain(plumbing)
|
4864
|
+
if plumbing == nil
|
4865
|
+
return nil
|
4866
|
+
end
|
4867
|
+
porcelain = AWSStore.new()
|
4868
|
+
porcelain.id = (plumbing.id)
|
4869
|
+
porcelain.name = (plumbing.name)
|
4870
|
+
porcelain.region = (plumbing.region)
|
4871
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4872
|
+
porcelain
|
4873
|
+
end
|
4874
|
+
|
4875
|
+
def self.convert_aws_store_to_plumbing(porcelain)
|
4876
|
+
if porcelain == nil
|
4877
|
+
return nil
|
4878
|
+
end
|
4879
|
+
plumbing = V1::AWSStore.new()
|
4880
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
4881
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
4882
|
+
plumbing.region = (porcelain.region) unless porcelain.region == nil
|
4883
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4884
|
+
plumbing
|
4885
|
+
end
|
4886
|
+
def self.convert_repeated_aws_store_to_plumbing(porcelains)
|
4887
|
+
items = Array.new
|
4888
|
+
porcelains.each do |porcelain|
|
4889
|
+
plumbing = convert_aws_store_to_plumbing(porcelain)
|
4890
|
+
items.append(plumbing)
|
4891
|
+
end
|
4892
|
+
items
|
4893
|
+
end
|
4894
|
+
|
4895
|
+
def self.convert_repeated_aws_store_to_porcelain(plumbings)
|
4896
|
+
items = Array.new
|
4897
|
+
plumbings.each do |plumbing|
|
4898
|
+
porcelain = convert_aws_store_to_porcelain(plumbing)
|
4899
|
+
items.append(porcelain)
|
4900
|
+
end
|
4901
|
+
items
|
4902
|
+
end
|
4903
|
+
def self.convert_vault_tls_store_to_porcelain(plumbing)
|
4904
|
+
if plumbing == nil
|
4905
|
+
return nil
|
4906
|
+
end
|
4907
|
+
porcelain = VaultTLSStore.new()
|
4908
|
+
porcelain.id = (plumbing.id)
|
4909
|
+
porcelain.name = (plumbing.name)
|
4910
|
+
porcelain.server_address = (plumbing.server_address)
|
4911
|
+
porcelain.ca_cert_path = (plumbing.CA_cert_path)
|
4912
|
+
porcelain.client_cert_path = (plumbing.client_cert_path)
|
4913
|
+
porcelain.client_key_path = (plumbing.client_key_path)
|
4914
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4915
|
+
porcelain
|
4916
|
+
end
|
4917
|
+
|
4918
|
+
def self.convert_vault_tls_store_to_plumbing(porcelain)
|
4919
|
+
if porcelain == nil
|
4920
|
+
return nil
|
4921
|
+
end
|
4922
|
+
plumbing = V1::VaultTLSStore.new()
|
4923
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
4924
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
4925
|
+
plumbing.server_address = (porcelain.server_address) unless porcelain.server_address == nil
|
4926
|
+
plumbing.CA_cert_path = (porcelain.ca_cert_path) unless porcelain.ca_cert_path == nil
|
4927
|
+
plumbing.client_cert_path = (porcelain.client_cert_path) unless porcelain.client_cert_path == nil
|
4928
|
+
plumbing.client_key_path = (porcelain.client_key_path) unless porcelain.client_key_path == nil
|
4929
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4930
|
+
plumbing
|
4931
|
+
end
|
4932
|
+
def self.convert_repeated_vault_tls_store_to_plumbing(porcelains)
|
4933
|
+
items = Array.new
|
4934
|
+
porcelains.each do |porcelain|
|
4935
|
+
plumbing = convert_vault_tls_store_to_plumbing(porcelain)
|
4936
|
+
items.append(plumbing)
|
4937
|
+
end
|
4938
|
+
items
|
4939
|
+
end
|
4940
|
+
|
4941
|
+
def self.convert_repeated_vault_tls_store_to_porcelain(plumbings)
|
4942
|
+
items = Array.new
|
4943
|
+
plumbings.each do |plumbing|
|
4944
|
+
porcelain = convert_vault_tls_store_to_porcelain(plumbing)
|
4945
|
+
items.append(porcelain)
|
4946
|
+
end
|
4947
|
+
items
|
4948
|
+
end
|
4949
|
+
def self.convert_vault_token_store_to_porcelain(plumbing)
|
4950
|
+
if plumbing == nil
|
4951
|
+
return nil
|
4952
|
+
end
|
4953
|
+
porcelain = VaultTokenStore.new()
|
4954
|
+
porcelain.id = (plumbing.id)
|
4955
|
+
porcelain.name = (plumbing.name)
|
4956
|
+
porcelain.server_address = (plumbing.server_address)
|
4957
|
+
porcelain.tags = convert_tags_to_porcelain(plumbing.tags)
|
4958
|
+
porcelain
|
4959
|
+
end
|
4960
|
+
|
4961
|
+
def self.convert_vault_token_store_to_plumbing(porcelain)
|
4962
|
+
if porcelain == nil
|
4963
|
+
return nil
|
4964
|
+
end
|
4965
|
+
plumbing = V1::VaultTokenStore.new()
|
4966
|
+
plumbing.id = (porcelain.id) unless porcelain.id == nil
|
4967
|
+
plumbing.name = (porcelain.name) unless porcelain.name == nil
|
4968
|
+
plumbing.server_address = (porcelain.server_address) unless porcelain.server_address == nil
|
4969
|
+
plumbing.tags = convert_tags_to_plumbing(porcelain.tags) unless porcelain.tags == nil
|
4970
|
+
plumbing
|
4971
|
+
end
|
4972
|
+
def self.convert_repeated_vault_token_store_to_plumbing(porcelains)
|
4973
|
+
items = Array.new
|
4974
|
+
porcelains.each do |porcelain|
|
4975
|
+
plumbing = convert_vault_token_store_to_plumbing(porcelain)
|
4976
|
+
items.append(plumbing)
|
4977
|
+
end
|
4978
|
+
items
|
4979
|
+
end
|
4980
|
+
|
4981
|
+
def self.convert_repeated_vault_token_store_to_porcelain(plumbings)
|
4982
|
+
items = Array.new
|
4983
|
+
plumbings.each do |plumbing|
|
4984
|
+
porcelain = convert_vault_token_store_to_porcelain(plumbing)
|
4985
|
+
items.append(porcelain)
|
4986
|
+
end
|
4987
|
+
items
|
4988
|
+
end
|
4989
|
+
def self.convert_secret_store_create_response_to_porcelain(plumbing)
|
4990
|
+
if plumbing == nil
|
4991
|
+
return nil
|
4992
|
+
end
|
4993
|
+
porcelain = SecretStoreCreateResponse.new()
|
4994
|
+
porcelain.meta = convert_create_response_metadata_to_porcelain(plumbing.meta)
|
4995
|
+
porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
|
4996
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
4997
|
+
porcelain
|
4998
|
+
end
|
4999
|
+
|
5000
|
+
def self.convert_secret_store_create_response_to_plumbing(porcelain)
|
5001
|
+
if porcelain == nil
|
5002
|
+
return nil
|
5003
|
+
end
|
5004
|
+
plumbing = V1::SecretStoreCreateResponse.new()
|
5005
|
+
plumbing.meta = convert_create_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
|
5006
|
+
plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
|
5007
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
|
5008
|
+
plumbing
|
5009
|
+
end
|
5010
|
+
def self.convert_repeated_secret_store_create_response_to_plumbing(porcelains)
|
5011
|
+
items = Array.new
|
5012
|
+
porcelains.each do |porcelain|
|
5013
|
+
plumbing = convert_secret_store_create_response_to_plumbing(porcelain)
|
5014
|
+
items.append(plumbing)
|
5015
|
+
end
|
5016
|
+
items
|
5017
|
+
end
|
5018
|
+
|
5019
|
+
def self.convert_repeated_secret_store_create_response_to_porcelain(plumbings)
|
5020
|
+
items = Array.new
|
5021
|
+
plumbings.each do |plumbing|
|
5022
|
+
porcelain = convert_secret_store_create_response_to_porcelain(plumbing)
|
5023
|
+
items.append(porcelain)
|
5024
|
+
end
|
5025
|
+
items
|
5026
|
+
end
|
5027
|
+
def self.convert_secret_store_get_response_to_porcelain(plumbing)
|
5028
|
+
if plumbing == nil
|
5029
|
+
return nil
|
5030
|
+
end
|
5031
|
+
porcelain = SecretStoreGetResponse.new()
|
5032
|
+
porcelain.meta = convert_get_response_metadata_to_porcelain(plumbing.meta)
|
5033
|
+
porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
|
5034
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5035
|
+
porcelain
|
5036
|
+
end
|
5037
|
+
|
5038
|
+
def self.convert_secret_store_get_response_to_plumbing(porcelain)
|
5039
|
+
if porcelain == nil
|
5040
|
+
return nil
|
5041
|
+
end
|
5042
|
+
plumbing = V1::SecretStoreGetResponse.new()
|
5043
|
+
plumbing.meta = convert_get_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
|
5044
|
+
plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
|
5045
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
|
5046
|
+
plumbing
|
5047
|
+
end
|
5048
|
+
def self.convert_repeated_secret_store_get_response_to_plumbing(porcelains)
|
5049
|
+
items = Array.new
|
5050
|
+
porcelains.each do |porcelain|
|
5051
|
+
plumbing = convert_secret_store_get_response_to_plumbing(porcelain)
|
5052
|
+
items.append(plumbing)
|
5053
|
+
end
|
5054
|
+
items
|
5055
|
+
end
|
5056
|
+
|
5057
|
+
def self.convert_repeated_secret_store_get_response_to_porcelain(plumbings)
|
5058
|
+
items = Array.new
|
5059
|
+
plumbings.each do |plumbing|
|
5060
|
+
porcelain = convert_secret_store_get_response_to_porcelain(plumbing)
|
5061
|
+
items.append(porcelain)
|
5062
|
+
end
|
5063
|
+
items
|
5064
|
+
end
|
5065
|
+
def self.convert_secret_store_update_response_to_porcelain(plumbing)
|
5066
|
+
if plumbing == nil
|
5067
|
+
return nil
|
5068
|
+
end
|
5069
|
+
porcelain = SecretStoreUpdateResponse.new()
|
5070
|
+
porcelain.meta = convert_update_response_metadata_to_porcelain(plumbing.meta)
|
5071
|
+
porcelain.secret_store = convert_secret_store_to_porcelain(plumbing.secret_store)
|
5072
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5073
|
+
porcelain
|
5074
|
+
end
|
5075
|
+
|
5076
|
+
def self.convert_secret_store_update_response_to_plumbing(porcelain)
|
5077
|
+
if porcelain == nil
|
5078
|
+
return nil
|
5079
|
+
end
|
5080
|
+
plumbing = V1::SecretStoreUpdateResponse.new()
|
5081
|
+
plumbing.meta = convert_update_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
|
5082
|
+
plumbing.secret_store = convert_secret_store_to_plumbing(porcelain.secret_store) unless porcelain.secret_store == nil
|
5083
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
|
5084
|
+
plumbing
|
5085
|
+
end
|
5086
|
+
def self.convert_repeated_secret_store_update_response_to_plumbing(porcelains)
|
5087
|
+
items = Array.new
|
5088
|
+
porcelains.each do |porcelain|
|
5089
|
+
plumbing = convert_secret_store_update_response_to_plumbing(porcelain)
|
5090
|
+
items.append(plumbing)
|
5091
|
+
end
|
5092
|
+
items
|
5093
|
+
end
|
5094
|
+
|
5095
|
+
def self.convert_repeated_secret_store_update_response_to_porcelain(plumbings)
|
5096
|
+
items = Array.new
|
5097
|
+
plumbings.each do |plumbing|
|
5098
|
+
porcelain = convert_secret_store_update_response_to_porcelain(plumbing)
|
5099
|
+
items.append(porcelain)
|
5100
|
+
end
|
5101
|
+
items
|
5102
|
+
end
|
5103
|
+
def self.convert_secret_store_delete_response_to_porcelain(plumbing)
|
5104
|
+
if plumbing == nil
|
5105
|
+
return nil
|
5106
|
+
end
|
5107
|
+
porcelain = SecretStoreDeleteResponse.new()
|
5108
|
+
porcelain.meta = convert_delete_response_metadata_to_porcelain(plumbing.meta)
|
5109
|
+
porcelain.rate_limit = convert_rate_limit_metadata_to_porcelain(plumbing.rate_limit)
|
5110
|
+
porcelain
|
5111
|
+
end
|
5112
|
+
|
5113
|
+
def self.convert_secret_store_delete_response_to_plumbing(porcelain)
|
5114
|
+
if porcelain == nil
|
5115
|
+
return nil
|
5116
|
+
end
|
5117
|
+
plumbing = V1::SecretStoreDeleteResponse.new()
|
5118
|
+
plumbing.meta = convert_delete_response_metadata_to_plumbing(porcelain.meta) unless porcelain.meta == nil
|
5119
|
+
plumbing.rate_limit = convert_rate_limit_metadata_to_plumbing(porcelain.rate_limit) unless porcelain.rate_limit == nil
|
5120
|
+
plumbing
|
5121
|
+
end
|
5122
|
+
def self.convert_repeated_secret_store_delete_response_to_plumbing(porcelains)
|
5123
|
+
items = Array.new
|
5124
|
+
porcelains.each do |porcelain|
|
5125
|
+
plumbing = convert_secret_store_delete_response_to_plumbing(porcelain)
|
5126
|
+
items.append(plumbing)
|
5127
|
+
end
|
5128
|
+
items
|
5129
|
+
end
|
5130
|
+
|
5131
|
+
def self.convert_repeated_secret_store_delete_response_to_porcelain(plumbings)
|
5132
|
+
items = Array.new
|
5133
|
+
plumbings.each do |plumbing|
|
5134
|
+
porcelain = convert_secret_store_delete_response_to_porcelain(plumbing)
|
5135
|
+
items.append(porcelain)
|
5136
|
+
end
|
5137
|
+
items
|
5138
|
+
end
|
4569
5139
|
def self.convert_error_to_porcelain(err)
|
4570
5140
|
if not err.is_a? GRPC::BadStatus
|
4571
5141
|
return RPCError.new(err, 2) # Unknown
|