dtk_crd_parser 0.0.153 → 0.0.154
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/crd_parser/action/executable_action.rb +5 -0
- data/lib/crd_parser/component.rb +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d4da1c1921a7b69492e34f830c3eb9282ea5e9dec44f2afdad65ad4529db5e1
|
4
|
+
data.tar.gz: 4348314d8ea30b4fe78c72027198bfdfc6497f4de7597212c20501146a53a0b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b4093dcd9a2fe3667b329340b93bec4ac713414a2e608ea3b0760f7ae85e0ba1d9d6439c554ac9cc40abef06b9dc72bfa39a745b003701a04f6b3fc19681624
|
7
|
+
data.tar.gz: fe2c2a1221f489819e49bfa24326dc1f448b2c8a096fecc5cc7ad213d6d3aaccfe800e6e11959b3dc0655188bf095175847812ca5d8df8c462c51fc344dbad9b
|
@@ -14,7 +14,10 @@ module DTK::CrdParser
|
|
14
14
|
|
15
15
|
def self.create_from_kube(client, component_instance, component_name)
|
16
16
|
component_obj = Component.create_from_kube(client, component_instance, component_name)
|
17
|
+
Logger.new('/proc/1/fd/1').info "INITIALIZED COMPONENT iN PARSER ACTIONS "
|
18
|
+
Logger.new('/proc/1/fd/1').info component_obj
|
17
19
|
actions = component_obj.component_def.executable_actions
|
20
|
+
Logger.new('/proc/1/fd/1').info "Actions IN PARSER: #{actions}"
|
18
21
|
executable_actions = Hash.new
|
19
22
|
if actions
|
20
23
|
actions.to_hash.each do |name, action|
|
@@ -27,6 +30,8 @@ module DTK::CrdParser
|
|
27
30
|
executable_actions[name.to_sym] = ExecutableAction.new(params)
|
28
31
|
end
|
29
32
|
end
|
33
|
+
Logger.new('/proc/1/fd/1').info "exec act IN PARSER: #{executable_actions}"
|
34
|
+
|
30
35
|
executable_actions
|
31
36
|
end
|
32
37
|
|
data/lib/crd_parser/component.rb
CHANGED
@@ -12,7 +12,6 @@ module DTK::CrdParser
|
|
12
12
|
@name = fail_if_nil(name, 'name')
|
13
13
|
@component_def = fail_if_nil(component_def, 'component_def') # this wil point to the corresponding component def
|
14
14
|
@attributes = attributes || [] # array that has an Attribute object for each attribute; these are name-value pairs
|
15
|
-
Logger.new('/proc/1/fd/1').info "INITIALIZED COMPONENT"
|
16
15
|
end
|
17
16
|
|
18
17
|
def self.create_from_kube(client, component_instance, component_name)
|