dtk_crd_parser 0.0.146 → 0.0.147
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crd_parser/component.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b7e442d06ee53e4114581798f18b7bdbf66ca0b
|
4
|
+
data.tar.gz: 432627348871dd06e633b008d627db434bb3f6d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa814188532a7916f4922cd23fcc7299992089d2a58d77653bc1b254cd893ff4ab8465b88fcfe5b66b9e82b6ea602dd8ddc8d8d1510a5f458a3f052eed9dc37b
|
7
|
+
data.tar.gz: a443bc061041408c18664c025f216df89a1006590ac4130723b41331e66c9d0b7c5a858e4d4727321932eed866e157bf19ae7f844c883dd5877d6480482b4f3e
|
data/lib/crd_parser/component.rb
CHANGED
@@ -21,11 +21,13 @@ module DTK::CrdParser
|
|
21
21
|
attribute_name_value = BaseClass::Helper::ClassAndInstanceMixin.destructureActionComponent(component_name)[:attributeName]
|
22
22
|
attributes = []
|
23
23
|
attributes.push(Attribute.create_from_kube("name", attribute_name_value, {}))
|
24
|
+
Logger.new('/proc/1/fd/1').info "Component attrs (in parser): #{component_attributes}"
|
24
25
|
if component_attributes
|
25
26
|
(component_attributes.to_hash || []).each do |attribute_name, attribute_value|
|
26
27
|
attribute_type_info = (component_def.attribute_type_info
|
27
28
|
.select {|attribute| attribute.name == attribute_name.to_s} || []).first
|
28
29
|
encrypted = attribute_type_info.encrypted if attribute_type_info
|
30
|
+
Logger.new('/proc/1/fd/1').info "Attribute: #{attribute_name} - #{attribute_value}"
|
29
31
|
attributes.push Attribute.create_from_kube(attribute_name, attribute_value, {encrypted: encrypted || false})
|
30
32
|
end
|
31
33
|
end
|