megam_api 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/megam/api/version.rb +1 -1
- data/lib/megam/mixins/common_deployable.rb +4 -1
- 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: e7ccd6c9f7142c27f66a8135335a310bc02c5ba8
|
4
|
+
data.tar.gz: f3ee6543ebf2336628e76277515b488d117c1f25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 044c69f2dd707318570507090742e06c26e50f5a2f1a565b4c6bb17d236d7fbd443e96e36a2d069a506e6ac8bf84134a010d8bd03d5a865e118b36f832a814aa
|
7
|
+
data.tar.gz: 6e5d6e778a17baa61e3089ccdc1b03c9cdfdcc15702f1daf7c33b5f72f4ea062c06efeeef24cc95a5da575ea7a9b65d01d6d6b5f4f1b7d0f6f7ec4f4717142fa
|
data/lib/megam/api/version.rb
CHANGED
@@ -4,7 +4,7 @@ module Megam
|
|
4
4
|
class Mixins
|
5
5
|
class CommonDeployable
|
6
6
|
include Nilavu::MegamAttributes
|
7
|
-
attr_reader :status, :inputs, :tosca_type
|
7
|
+
attr_reader :status, :state, :inputs, :tosca_type
|
8
8
|
|
9
9
|
DEFAULT_VERTICE_PREFIX = 'vertice'.freeze
|
10
10
|
DEFAULT_BITNAMI_PREFIX = 'bitnami'.freeze
|
@@ -13,6 +13,7 @@ module Megam
|
|
13
13
|
ATTRIBUTES = [
|
14
14
|
:tosca_type,
|
15
15
|
:status,
|
16
|
+
:state,
|
16
17
|
:inputs]
|
17
18
|
|
18
19
|
def attributes
|
@@ -22,6 +23,7 @@ module Megam
|
|
22
23
|
def initialize(params)
|
23
24
|
@tosca_type = ''
|
24
25
|
@status = 'launching'
|
26
|
+
@state = ''
|
25
27
|
bld_toscatype(params)
|
26
28
|
set_attributes(params)
|
27
29
|
@inputs = InputGroupData.new(params)
|
@@ -31,6 +33,7 @@ module Megam
|
|
31
33
|
def to_hash
|
32
34
|
h = {
|
33
35
|
status: status,
|
36
|
+
state: state,
|
34
37
|
tosca_type: tosca_type,
|
35
38
|
inputs: inputs.to_hash
|
36
39
|
}
|