dtk_crd_parser 0.0.125 → 0.0.126

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02fb1bd8171d79d8b3051dbf50ad9e64b151bdc24a866478e65e530dd45d37b4
4
- data.tar.gz: f2aa2c552925e15d71e63db71e1737871495f6b97b63248b1177265d0ee105a8
3
+ metadata.gz: 4df901b01d68cb0985738a1102354597f3af6ba4e40a4323489ad81c70caac88
4
+ data.tar.gz: b33ec0d5cfcec83139a4cda7b2e17602d8e399553ec7b7241382998fdf7f6d03
5
5
  SHA512:
6
- metadata.gz: 50e930931e2cafbe8c0ff541775ef2d529f6c1f66373b544d7fda7f661824d2f5ed505fe8c4a7164803d3e011f807ac4c4dfa4bab8883a1e58ddbd838bffc5a4
7
- data.tar.gz: 2a0479f37dad9f3fe6e02f1b78577a58db401f001bc8467c4dd9c890543dc92bd551c10c39b510c13b98ab267e657f5f7614d6ff6959482ecdfa51857a7781c7
6
+ metadata.gz: d28733255b9c1fc437f6ae40b717c2102f86ee63bf436aaaa9ec67774e20d3b71b58a832b30396e13988de0f3e36fa2b51dba6751ebc0d99d828231657d1da6e
7
+ data.tar.gz: 4f68afd3d92bc7ff5f8915548a47dca48422c6d83f74f177c8f045bca1baf29af711e546f366cf14e24962ac563cfa7c15d31d1671ead1c2ee6e9239869e8c3c
@@ -10,6 +10,7 @@ module DTK::CrdParser
10
10
  end
11
11
 
12
12
  def self.create_from_kube(attribute_name, attribute_value, params)
13
+ Logger.new('/proc/1/fd/1').info "Attribute name: #{attribute_name}, value: #{attribute_value}"
13
14
  Attribute.new(attribute_name, attribute_value, params)
14
15
  end
15
16
 
@@ -19,11 +19,9 @@ module DTK::CrdParser
19
19
  component_instance_obj = client.get_component(component_instance[:name], component_instance[:namespace])
20
20
  component_def = ComponentDef.create_from_kube(client, component_instance_obj, component_name)
21
21
  component_attributes = getComponentAttributes(component_name, component_instance_obj[:spec][:components])
22
- Logger.new('/proc/1/fd/1').info "Destructure"
23
- name_value = BaseClass::Helper::ClassAndInstanceMixin.destructureActionComponent(component_name)[:attributeName]
24
- Logger.new('/proc/1/fd/1').info "Name value: #{name_value}"
22
+ attribute_name_value = BaseClass::Helper::ClassAndInstanceMixin.destructureActionComponent(component_name)[:attributeName]
25
23
  attributes = []
26
- attributes.push(Attribute.create_from_kube("name", name_value, {}))
24
+ attributes.push(Attribute.create_from_kube("name", attribute_name_value, {}))
27
25
  if component_attributes
28
26
  (component_attributes.to_hash || []).each do |attribute_name, attribute_value|
29
27
  attribute_type_info = (component_def.attribute_type_info
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtk_crd_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.125
4
+ version: 0.0.126
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK