dtk_crd_parser 0.0.46 → 0.0.47

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: 076ecf508633f65197ba45aceeef774144b2d5c6507d44ade267c1a9c833f694
4
- data.tar.gz: 453fd948a68a5ed8ac3fc8bad047a0a1c0461a5c3fd0c6c353a2a1375b719a3b
3
+ metadata.gz: c8341249f07409ec9f5d6968efea9dc70de98812f5c474744f4322cff109e3cc
4
+ data.tar.gz: 2d62c681a444736913d3c8d0b1005f8d92dbaa837a3c408dcbbb37e547d75d0a
5
5
  SHA512:
6
- metadata.gz: fedaea8e84e71958b3d7e93c4d7d6bc758cc756f3d93cdd50f5d4c908748b385d192d8af5d0bc582c679817383438acd8e8504feebcac46f13f85e84497ee2d2
7
- data.tar.gz: 88c38ba8e1e720ddbef2927677a4055fef46c384bc88a2ff316c8f612f4eb3925d15a40b496fd7fab34231755a20aebf30c20c3ea6bfd638b89905f66700c372
6
+ metadata.gz: f92ddcae6bc695c95617e6170c27ff7fe5801b4d96a3073e2a8a3214779b78ef0d3253c3b049d9367c44b44adc36bba2d3364c5ece680ba899fa5bc31d7e7dc6
7
+ data.tar.gz: a25fa6ba148b434410a775660ccf7eedd3423f8ec4545396976074fcb550d72a83986bbdc2e1291f64a8d05db8fc2a9a9569ac35f3f1f4b7739cb07a49b826e4
@@ -11,7 +11,7 @@ module DTK::CrdParser
11
11
  def self.create_from_kube(client, component_instance, component_name)
12
12
  Logger.new('/proc/1/fd/1').info 'Action.create_from-kube'
13
13
  component_obj = Component.create_from_kube(client, component_instance, component_name)
14
- Logger.new('/proc/1/fd/1').info "Component object is: #{component_obj}"
14
+ Logger.new('/proc/1/fd/1').info "Component object is: #{component_obj.methods-Object.methods}"
15
15
  actions = component_obj[:component_def][:executable_actions]
16
16
  Logger.new('/proc/1/fd/1').info "actions are: #{actions}"
17
17
  actions_hash = Hash.new
@@ -4,6 +4,8 @@ module DTK::CrdParser
4
4
  require_relative('error')
5
5
 
6
6
  MODE_DEFAULT = :component_instance
7
+ attr_reader :name, :component_def, :attributes
8
+
7
9
  def initialize(name, component_def, attributes)
8
10
  @name = fail_if_nil(name, 'name')
9
11
  @component_def = fail_if_nil(component_def, 'component_def') # this wil point to the corresponding component def
@@ -21,7 +23,6 @@ module DTK::CrdParser
21
23
  Component.new(component_name, component_def, attributes)
22
24
  end
23
25
 
24
- attr_reader :name, :component_def, :attributes
25
26
 
26
27
  protected
27
28
 
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.46
4
+ version: 0.0.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - DTK