megam_api 1.6.0 → 1.6.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9272144bb2e11ff50910168ae5685df376466be
4
- data.tar.gz: 8d10c163b9d7dd5b0d8f4c9ea6baf66f2e01e184
3
+ metadata.gz: e7ccd6c9f7142c27f66a8135335a310bc02c5ba8
4
+ data.tar.gz: f3ee6543ebf2336628e76277515b488d117c1f25
5
5
  SHA512:
6
- metadata.gz: cdbbbf7b1f5b681e7a9a37bc4c2e42fe750315e34ed876f916779390543f7ccdba09968abbbfdc60107af940c61708b395504f1486f24bec41084058d901f74e
7
- data.tar.gz: db6da65b65981cd5b421d16a4f9a644e53bdaf6efcf249b1694e23581fd4c170072b584592fca6ae14215b1a707d23375cd24b2a6bd223e9487bef943a3361f5
6
+ metadata.gz: 044c69f2dd707318570507090742e06c26e50f5a2f1a565b4c6bb17d236d7fbd443e96e36a2d069a506e6ac8bf84134a010d8bd03d5a865e118b36f832a814aa
7
+ data.tar.gz: 6e5d6e778a17baa61e3089ccdc1b03c9cdfdcc15702f1daf7c33b5f72f4ea062c06efeeef24cc95a5da575ea7a9b65d01d6d6b5f4f1b7d0f6f7ec4f4717142fa
@@ -1,5 +1,5 @@
1
1
  module Megam
2
2
  class API
3
- VERSION = "1.6.0"
3
+ VERSION = "1.6.1"
4
4
  end
5
5
  end
@@ -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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: megam_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajthilak, Kishorekumar Neelamegam, Ranjitha R, Rajesh Rajagopalan, Thomas Alrin,