vmware-vra 1.7.0 → 2.0.0.pre1

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
  SHA1:
3
- metadata.gz: 2c05eec01ac6553d3123ba37195f222122f35973
4
- data.tar.gz: 13dcedf5c874c5b28177dea101a1eb877b1cb873
3
+ metadata.gz: 4af801be141c763c232df28b77cdb5e93ca1da22
4
+ data.tar.gz: e9e62e7a124fa8e10329f9839752c2d67c4540fa
5
5
  SHA512:
6
- metadata.gz: 725f77a6be89f33ca1df6e227e430c410dfd601ddf334c37c76f9fc1ec8cd6891f409a21f234b43140d642118245b3a8cd6ae5c22d06d12174f46f591116a22e
7
- data.tar.gz: b1bec412ef1899b76f60fac938fa6ad3926d857833cd7b334880710710eb4dcdaff4966679f67fb63de71f5a4fc65d8a77b5d41575c5650566015ccd6215ad31
6
+ metadata.gz: 992d6925a0a780f288d7107047882406387c8ccfcab8926d55188350ab6805018826057a8b76b04c8f4765e9722f50f323755b7894556f0f474ca417c561fe70
7
+ data.tar.gz: 131c3cd301b0ac2b690d033b2bd4b222c80ec9e3e2d89e9145286271bf3c196d233cea86223feb9ddcec309e7d844c8b3b897135d304bd45591889cc7e743e1e
data/.gitignore CHANGED
@@ -13,3 +13,6 @@
13
13
  *.o
14
14
  *.a
15
15
  mkmf.log
16
+ .direnv/
17
+ .envrc
18
+ .ruby-version
@@ -2,9 +2,7 @@ language: ruby
2
2
  cache: bundler
3
3
  sudo: false
4
4
  rvm:
5
- - 2.0.0
6
- - 2.1
7
- - 2.2
5
+ - 2.3.1
8
6
  branches:
9
7
  only:
10
8
  - master
@@ -1,41 +1,145 @@
1
- # vmware-vra-gem CHANGELOG
1
+ # Change Log
2
2
 
3
- ## v1.7.0 (2016-08-02)
4
- * [pr#31](https://github.com/chef-partners/vmware-vra-gem/pull/31) instructing Net::HTTP not to verify SSL when verify_ssl is false
3
+ ## [2.0.0.pre1](https://github.com/chef-partners/vmware-vra-gem/tree/2.0.0.pre1)
5
4
 
6
- ## v1.6.1 (2016-05-10)
7
- * Bowing to the Rubocop gods.
5
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.7.0...2.0.0.pre1)
8
6
 
9
- ## v1.6.0 (2016-05-10)
10
- * [pr#28](https://github.com/chef-partners/vmware-vra-gem/pull/28) Remove rest-client dependency
7
+ **Merged pull requests:**
11
8
 
12
- ## v1.5.4 (2016-04-27)
13
- * [pr#29](https://github.com/chef-partners/vmware-vra-gem/pull/29) Bug fix: handle more gracefully the situations where a resource or catalog item is missing data in the API response
9
+ - vRA 7.1 Support [\#36](https://github.com/chef-partners/vmware-vra-gem/pull/36) ([jjasghar](https://github.com/jjasghar))
10
+ - Updated travis rubies [\#35](https://github.com/chef-partners/vmware-vra-gem/pull/35) ([jjasghar](https://github.com/jjasghar))
14
11
 
15
- ## v1.5.3 (2016-04-18)
16
- * [pr#25](https://github.com/chef-partners/vmware-vra-gem/pull/25) Bug fix: use the proper exception helper method when raising exceptions encountered during HTTP HEAD requests
12
+ ## [v1.7.0](https://github.com/chef-partners/vmware-vra-gem/tree/v1.7.0) (2016-08-02)
13
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.6.1...v1.7.0)
17
14
 
18
- ## v1.5.2 (2016-04-01)
19
- * [pr#22](https://github.com/chef-partners/vmware-vra-gem/pull/22) Bug fix: Using FFI_Yajl to encode JSON rather than the #to_json method
15
+ **Merged pull requests:**
20
16
 
21
- ## v1.5.1 (2016-03-11)
22
- * [pr#19](https://github.com/chef-partners/vmware-vra-gem/pull/19) Treating a `MachineActivated` state as a machine in the process of being turned on. Fixes abnormal behavior in vRA 7.x.
17
+ - v1.7.0 [\#32](https://github.com/chef-partners/vmware-vra-gem/pull/32) ([jjasghar](https://github.com/jjasghar))
18
+ - instructing Net::HTTP not to verify SSL when verify\_ssl is false [\#31](https://github.com/chef-partners/vmware-vra-gem/pull/31) ([bvandgrift](https://github.com/bvandgrift))
23
19
 
24
- ## v1.5.0 (2015-11-18)
25
- * [pr#15](https://github.com/chef-partners/vmware-vra-gem/pull/15) Adding support for Infrastructure.Cloud resources, such as EC2 resources created by vRA catalog items
20
+ ## [v1.6.1](https://github.com/chef-partners/vmware-vra-gem/tree/v1.6.1) (2016-05-10)
21
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.6.0...v1.6.1)
26
22
 
27
- ## v1.4.0
28
- * [pr#14](https://github.com/chef-partners/vmware-vra-gem/pull/14) Adding appropriate methods for managing the bearer_token
23
+ ## [v1.6.0](https://github.com/chef-partners/vmware-vra-gem/tree/v1.6.0) (2016-05-10)
24
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.5.4...v1.6.0)
29
25
 
30
- ## v1.3.0
31
- * [pr#13](https://github.com/chef-partners/vmware-vra-gem/pull/13) Additional methods to support a vRA driver for Chef Provisioning
26
+ **Merged pull requests:**
32
27
 
33
- ## v1.2.0
34
- * [pr#11](https://github.com/chef-partners/vmware-vra-gem/pull/11) Ability to set paginated results page size, which is a workaround for issue reported in #10 regarding duplicate items returned in paginated results.
28
+ - Remove rest-client dependency [\#28](https://github.com/chef-partners/vmware-vra-gem/pull/28) ([regularfry](https://github.com/regularfry))
35
29
 
36
- ## v1.1.0
37
- * [pr#9](https://github.com/chef-partners/vmware-vra-gem/pull/9) Mask password and bearer token in console/debug/log output.
38
- Thanks to [@rubytester](https://github.com/rubytester) for the idea and initial proposal to address in [pr#7](https://github.com/chef-partners/vmware-vra-gem/pull/7)
30
+ ## [v1.5.4](https://github.com/chef-partners/vmware-vra-gem/tree/v1.5.4) (2016-04-27)
31
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.5.3...v1.5.4)
39
32
 
40
- ## v1.0.0
41
- * Initial release.
33
+ **Closed issues:**
34
+
35
+ - when org data is nil, knife vra barfs [\#27](https://github.com/chef-partners/vmware-vra-gem/issues/27)
36
+
37
+ **Merged pull requests:**
38
+
39
+ - Fixing potential NilClass errors [\#29](https://github.com/chef-partners/vmware-vra-gem/pull/29) ([adamleff](https://github.com/adamleff))
40
+
41
+ ## [v1.5.3](https://github.com/chef-partners/vmware-vra-gem/tree/v1.5.3) (2016-04-18)
42
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.5.2...v1.5.3)
43
+
44
+ **Closed issues:**
45
+
46
+ - fork of this gem [\#24](https://github.com/chef-partners/vmware-vra-gem/issues/24)
47
+ - `Vra::Exception::HTTPError` initialized incorrectly [\#23](https://github.com/chef-partners/vmware-vra-gem/issues/23)
48
+
49
+ **Merged pull requests:**
50
+
51
+ - updating \#http\_head to use same http exception handling [\#25](https://github.com/chef-partners/vmware-vra-gem/pull/25) ([adamleff](https://github.com/adamleff))
52
+
53
+ ## [v1.5.2](https://github.com/chef-partners/vmware-vra-gem/tree/v1.5.2) (2016-04-01)
54
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.5.1...v1.5.2)
55
+
56
+ **Closed issues:**
57
+
58
+ - require 'json' missing from client.rb [\#21](https://github.com/chef-partners/vmware-vra-gem/issues/21)
59
+ - request feeder file [\#20](https://github.com/chef-partners/vmware-vra-gem/issues/20)
60
+
61
+ **Merged pull requests:**
62
+
63
+ - use FFI\_Yajl::Encoder instead of \#to\_json [\#22](https://github.com/chef-partners/vmware-vra-gem/pull/22) ([adamleff](https://github.com/adamleff))
64
+
65
+ ## [v1.5.1](https://github.com/chef-partners/vmware-vra-gem/tree/v1.5.1) (2016-03-11)
66
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.5.0...v1.5.1)
67
+
68
+ **Closed issues:**
69
+
70
+ - Machine status is MachineActivated causing errors \(VRA7\) [\#18](https://github.com/chef-partners/vmware-vra-gem/issues/18)
71
+
72
+ **Merged pull requests:**
73
+
74
+ - Support for MachineActivated state [\#19](https://github.com/chef-partners/vmware-vra-gem/pull/19) ([stevehedrick](https://github.com/stevehedrick))
75
+ - fixing travis notifications [\#17](https://github.com/chef-partners/vmware-vra-gem/pull/17) ([adamleff](https://github.com/adamleff))
76
+ - fixing new rubocop 0.36 complaints and testing travis [\#16](https://github.com/chef-partners/vmware-vra-gem/pull/16) ([adamleff](https://github.com/adamleff))
77
+
78
+ ## [v1.5.0](https://github.com/chef-partners/vmware-vra-gem/tree/v1.5.0) (2015-11-18)
79
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.4.0...v1.5.0)
80
+
81
+ **Merged pull requests:**
82
+
83
+ - Add support for Infrastructure.Cloud resources [\#15](https://github.com/chef-partners/vmware-vra-gem/pull/15) ([adamleff](https://github.com/adamleff))
84
+
85
+ ## [v1.4.0](https://github.com/chef-partners/vmware-vra-gem/tree/v1.4.0) (2015-11-13)
86
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.3.0...v1.4.0)
87
+
88
+ **Closed issues:**
89
+
90
+ - attr\_accessor :bearer\_token has to be changed due to PR \#9 change [\#12](https://github.com/chef-partners/vmware-vra-gem/issues/12)
91
+
92
+ **Merged pull requests:**
93
+
94
+ - Add accessors for bearer\_token [\#14](https://github.com/chef-partners/vmware-vra-gem/pull/14) ([adamleff](https://github.com/adamleff))
95
+
96
+ ## [v1.3.0](https://github.com/chef-partners/vmware-vra-gem/tree/v1.3.0) (2015-11-12)
97
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.2.0...v1.3.0)
98
+
99
+ **Merged pull requests:**
100
+
101
+ - Additional changes to support chef-provisoning-vra [\#13](https://github.com/chef-partners/vmware-vra-gem/pull/13) ([adamleff](https://github.com/adamleff))
102
+
103
+ ## [v1.2.0](https://github.com/chef-partners/vmware-vra-gem/tree/v1.2.0) (2015-09-24)
104
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.1.0...v1.2.0)
105
+
106
+ **Closed issues:**
107
+
108
+ - bug in pagination at path "/catalog-service/api/consumer/resources?limit=20" duplicate machines returned [\#10](https://github.com/chef-partners/vmware-vra-gem/issues/10)
109
+
110
+ **Merged pull requests:**
111
+
112
+ - Allow setting of pagination page size, raise exception on duplicates [\#11](https://github.com/chef-partners/vmware-vra-gem/pull/11) ([adamleff](https://github.com/adamleff))
113
+
114
+ ## [v1.1.0](https://github.com/chef-partners/vmware-vra-gem/tree/v1.1.0) (2015-09-17)
115
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.0.0...v1.1.0)
116
+
117
+ **Merged pull requests:**
118
+
119
+ - Adding masking of passwords in console output [\#9](https://github.com/chef-partners/vmware-vra-gem/pull/9) ([adamleff](https://github.com/adamleff))
120
+ - Removing specific error class from \#validate\_client\_options test [\#8](https://github.com/chef-partners/vmware-vra-gem/pull/8) ([adamleff](https://github.com/adamleff))
121
+ - README update - spaces update only [\#6](https://github.com/chef-partners/vmware-vra-gem/pull/6) ([adamleff](https://github.com/adamleff))
122
+
123
+ ## [v1.0.0](https://github.com/chef-partners/vmware-vra-gem/tree/v1.0.0) (2015-08-07)
124
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.0.0.rc2...v1.0.0)
125
+
126
+ **Merged pull requests:**
127
+
128
+ - Release v1.0.0 [\#5](https://github.com/chef-partners/vmware-vra-gem/pull/5) ([adamleff](https://github.com/adamleff))
129
+
130
+ ## [v1.0.0.rc2](https://github.com/chef-partners/vmware-vra-gem/tree/v1.0.0.rc2) (2015-07-30)
131
+ [Full Changelog](https://github.com/chef-partners/vmware-vra-gem/compare/v1.0.0.rc1...v1.0.0.rc2)
132
+
133
+ **Merged pull requests:**
134
+
135
+ - Add resource ownership information [\#4](https://github.com/chef-partners/vmware-vra-gem/pull/4) ([adamleff](https://github.com/adamleff))
136
+
137
+ ## [v1.0.0.rc1](https://github.com/chef-partners/vmware-vra-gem/tree/v1.0.0.rc1) (2015-07-29)
138
+ **Closed issues:**
139
+
140
+ - general 500 server errors should generate better error messages [\#3](https://github.com/chef-partners/vmware-vra-gem/issues/3)
141
+ - sanity-check the VRA base URL [\#2](https://github.com/chef-partners/vmware-vra-gem/issues/2)
142
+
143
+ **Merged pull requests:**
144
+
145
+ - initial release [\#1](https://github.com/chef-partners/vmware-vra-gem/pull/1) ([adamleff](https://github.com/adamleff))
data/README.md CHANGED
@@ -8,6 +8,12 @@ to interact with the catalog, requests, and existing items is included.
8
8
  The primary goal of this gem is to provide a reusable set of methods in order
9
9
  to create Chef plugins for knife, test-kitchen, and provisioning.
10
10
 
11
+ ## Versions
12
+
13
+ `1.7.0` version can and will support vRA 6 and below.
14
+
15
+ `2.0.0` version and forward will support vRA 7+.
16
+
11
17
  ## Installation
12
18
 
13
19
  Add this line to your application's Gemfile:
@@ -188,7 +194,7 @@ client.page_size = 100
188
194
 
189
195
  Author:: Chef Partner Engineering (<partnereng@chef.io>)
190
196
 
191
- Copyright:: Copyright (c) 2015 Chef Software, Inc.
197
+ Copyright:: Copyright (c) 2015-2016 Chef Software, Inc.
192
198
 
193
199
  License:: Apache License, Version 2.0
194
200
 
@@ -98,14 +98,15 @@ module Vra
98
98
  validate_params!
99
99
 
100
100
  begin
101
- response = client.http_post('/catalog-service/api/consumer/requests', request_payload.to_json)
101
+ response = client.http_get("/catalog-service/api/consumer/entitledCatalogItems/#{@catalog_id}/requests/template")
102
+ post_response = client.http_post("/catalog-service/api/consumer/entitledCatalogItems/#{@catalog_id}/requests", response.body.to_s)
102
103
  rescue Vra::Exception::HTTPError => e
103
104
  raise Vra::Exception::RequestError, "Unable to submit request: #{e.errors.join(', ')}"
104
105
  rescue
105
106
  raise
106
107
  end
107
108
 
108
- request_id = response.location.split('/')[-1]
109
+ request_id = JSON.parse(post_response.body)['id']
109
110
  Vra::Request.new(client, request_id)
110
111
  end
111
112
  end
@@ -160,11 +160,30 @@ module Vra
160
160
  return if !vm? || network_interfaces.nil?
161
161
 
162
162
  addrs = []
163
- network_interfaces.each do |nic|
164
- next unless nic.key?('NETWORK_ADDRESS')
165
- addrs << nic['NETWORK_ADDRESS']
163
+
164
+ request_id = @resource_data['requestId']
165
+
166
+ resource_views = @client.http_get("/catalog-service/api/consumer/requests/#{request_id}/resourceViews")
167
+
168
+ data_zero = JSON.parse((resource_views.body))['content'][0]['data']['ip_address']
169
+ data_one = JSON.parse((resource_views.body))['content'][1]['data']['ip_address']
170
+
171
+ print "Waiting For vRA to collect the IP"
172
+ while ((data_zero == "" || data_one == "") && (data_zero == nil || data_one == nil))
173
+ resource_views = @client.http_get("/catalog-service/api/consumer/requests/#{request_id}/resourceViews")
174
+ data_zero = JSON.parse((resource_views.body))['content'][0]['data']['ip_address']
175
+ data_one = JSON.parse((resource_views.body))['content'][1]['data']['ip_address']
176
+ sleep 10
177
+ print "."
178
+ end
179
+
180
+ if JSON.parse((resource_views.body))['content'][0]['data']['ip_address'] == nil
181
+ ip_address = JSON.parse((resource_views.body))['content'][1]['data']['ip_address']
182
+ else
183
+ ip_address = JSON.parse((resource_views.body))['content'][0]['data']['ip_address']
166
184
  end
167
185
 
186
+ addrs << ip_address
168
187
  addrs
169
188
  end
170
189
 
@@ -17,5 +17,5 @@
17
17
  #
18
18
 
19
19
  module Vra
20
- VERSION = '1.7.0'.freeze
20
+ VERSION = '2.0.0.pre1'.freeze
21
21
  end
@@ -0,0 +1 @@
1
+ {"links":[],"content":[{"@type":"CatalogResourceView","links":[{"@type":"link","rel":"GET: Catalog Item","href":"https://vra71.tirefi.re/catalog-service/api/consumer/entitledCatalogItemViews/2d6d5481-ebb0-4bdc-8af9-b75043a86386"},{"@type":"link","rel":"GET: Request","href":"https://vra71.tirefi.re/catalog-service/api/consumer/requests/bcd175ac-1c02-4a00-b4c8-fa585f23fd2d"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.changelease.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/c3595f52-e35a-448c-8409-7ce0c554cfba/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.changelease.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/c3595f52-e35a-448c-8409-7ce0c554cfba/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.changeowner.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/00f03ade-3850-40c8-93b8-4b093b5bf7c4/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.changeowner.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/00f03ade-3850-40c8-93b8-4b093b5bf7c4/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.destroy.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/306fbd9b-7129-405a-8c07-fedf32585f3d/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.destroy.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/306fbd9b-7129-405a-8c07-fedf32585f3d/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.archive.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/e5759af9-56d8-4598-ab7f-4ca6d45bd385/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.archive.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/e5759af9-56d8-4598-ab7f-4ca6d45bd385/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.scalein.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/6b358c70-ac66-4634-951b-73ab4e36c78d/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.scalein.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/6b358c70-ac66-4634-951b-73ab4e36c78d/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.scaleout.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/2c50de13-d5aa-4958-9af9-d2451675a2b3/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.scaleout.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/2c50de13-d5aa-4958-9af9-d2451675a2b3/requests"},{"@type":"link","rel":"GET: Child Resources","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resourceViews?managedOnly=false&withExtendedData=true&withOperations=true&%24filter=parentResource%20eq%20%27700f9e3c-c7bd-41d7-9683-5d3051a8e238%27"}],"resourceId":"700f9e3c-c7bd-41d7-9683-5d3051a8e238","iconId":"composition.blueprint.png","name":"test-66303366","description":null,"status":null,"catalogItemId":"2d6d5481-ebb0-4bdc-8af9-b75043a86386","catalogItemLabel":"test","requestId":"bcd175ac-1c02-4a00-b4c8-fa585f23fd2d","resourceType":"composition.resource.type.deployment","owners":["vRA Admin"],"businessGroupId":"d0fb4a04-7099-4ba1-a262-b578e129a758","tenantId":"vsphere.local","dateCreated":"2016-12-01T19:59:55.000Z","lastUpdated":"2016-12-01T20:05:03.086Z","lease":{"start":"2016-12-01T19:59:54.988Z"},"costs":null,"costToDate":null,"totalCost":null,"parentResourceId":null,"hasChildren":true,"data":{}},{"@type":"CatalogResourceView","links":[{"@type":"link","rel":"GET: Request","href":"https://vra71.tirefi.re/catalog-service/api/consumer/requests/bcd175ac-1c02-4a00-b4c8-fa585f23fd2d"},{"@type":"link","rel":"GET: Parent Resource","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resourceViews/700f9e3c-c7bd-41d7-9683-5d3051a8e238"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.ChangeLease}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/6bfd31da-dc94-4b3d-9d11-a76ca6466fee/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.ChangeLease}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/6bfd31da-dc94-4b3d-9d11-a76ca6466fee/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.window.ConnectViaVmrc.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/beeea7b5-b75c-46ab-b3f7-92e87419d025/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.window.ConnectViaVmrc.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/beeea7b5-b75c-46ab-b3f7-92e87419d025/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.noform.ConnectViaRdp.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/33b4eb4b-1602-4d1e-802b-41c54f56b97c/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.noform.ConnectViaRdp.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/33b4eb4b-1602-4d1e-802b-41c54f56b97c/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.nowindow.ConnectViaNativeVmrc.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/39fb6669-f224-45ed-9b48-4a48a828f10a/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.nowindow.ConnectViaNativeVmrc.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/39fb6669-f224-45ed-9b48-4a48a828f10a/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.virtual.CreateSnapshot}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/ef01fe39-132d-4800-85b5-987a345202b2/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.virtual.CreateSnapshot}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/ef01fe39-132d-4800-85b5-987a345202b2/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.virtual.Destroy}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/4a0cfa3b-b686-43c7-9b31-600b99812b15/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.virtual.Destroy}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/4a0cfa3b-b686-43c7-9b31-600b99812b15/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Expire}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/5b0f7c6a-0bf1-497f-ab10-d0536ff0cdde/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Expire}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/5b0f7c6a-0bf1-497f-ab10-d0536ff0cdde/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.InstallTools}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/7bdb5a37-5a18-4365-bc4a-f1bba27df5f7/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.InstallTools}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/7bdb5a37-5a18-4365-bc4a-f1bba27df5f7/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reset}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/7b6538e2-6eec-4618-bc92-7aafaf9f147e/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reset}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/7b6538e2-6eec-4618-bc92-7aafaf9f147e/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.PowerOff}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/1f9ffa9a-b5cf-4337-b097-6c4dc0bd52b7/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.PowerOff}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/1f9ffa9a-b5cf-4337-b097-6c4dc0bd52b7/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reboot}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/37e2bb8f-ab3c-4e4c-854b-71f85c1db9ee/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reboot}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/37e2bb8f-ab3c-4e4c-854b-71f85c1db9ee/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reconfigure}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/14af2ac6-827d-4854-a797-fe2b587bc968/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reconfigure}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/14af2ac6-827d-4854-a797-fe2b587bc968/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reprovision}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/eed48ad5-3e8e-41f2-a206-75ae79041779/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reprovision}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/eed48ad5-3e8e-41f2-a206-75ae79041779/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Shutdown}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/a4fd65a6-8abc-493e-8315-3345b673366f/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Shutdown}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/a4fd65a6-8abc-493e-8315-3345b673366f/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Suspend}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/e1bdb142-1136-40a8-b49e-84ac5d3ed0b1/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Suspend}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/e1bdb142-1136-40a8-b49e-84ac5d3ed0b1/requests"}],"resourceId":"3bf23388-38fb-44ef-ab1e-325ad1a1c582","iconId":"Infrastructure.CatalogItem.Machine.Virtual.vSphere","name":"vra7-32","description":null,"status":"On","catalogItemId":null,"catalogItemLabel":null,"requestId":"bcd175ac-1c02-4a00-b4c8-fa585f23fd2d","resourceType":"Infrastructure.Virtual","owners":["vRA Admin"],"businessGroupId":"d0fb4a04-7099-4ba1-a262-b578e129a758","tenantId":"vsphere.local","dateCreated":"2016-12-01T20:03:59.946Z","lastUpdated":"2016-12-01T20:05:03.086Z","lease":{"start":"2016-12-01T19:59:54.988Z"},"costs":null,"costToDate":null,"totalCost":null,"parentResourceId":"700f9e3c-c7bd-41d7-9683-5d3051a8e238","hasChildren":false,"data":{"ChangeLease":true,"ChangeOwner":true,"Component":"vSphere_Machine_1","ConnectViaNativeVmrc":true,"ConnectViaRdp":true,"ConnectViaVmrc":true,"CreateSnapshot":true,"DISK_VOLUMES":[{"componentTypeId":"com.vmware.csp.component.iaas.proxy.provider","componentId":null,"classId":"dynamicops.api.model.DiskInputModel","typeFilter":null,"data":{"DISK_CAPACITY":28,"DISK_INPUT_ID":"DISK_INPUT_ID1","DISK_LABEL":"Hard disk 1"}}],"Destroy":true,"EXTERNAL_REFERENCE_ID":"vm-171","Expire":true,"IS_COMPONENT_MACHINE":false,"InstallTools":true,"MachineBlueprintName":"test","MachineCPU":1,"MachineDailyCost":0.0,"MachineDestructionDate":null,"MachineExpirationDate":null,"MachineGroupName":"tirefireadmins","MachineGuestOperatingSystem":null,"MachineInterfaceDisplayName":"vSphere (vCenter)","MachineInterfaceType":"vSphere","MachineMemory":4096,"MachineName":"vra7-32","MachineReservationName":"test","MachineStorage":28,"MachineType":"Virtual","NETWORK_LIST":[{"componentTypeId":"com.vmware.csp.component.iaas.proxy.provider","componentId":null,"classId":"dynamicops.api.model.NetworkViewModel","typeFilter":null,"data":{"NETWORK_MAC_ADDRESS":"00:50:56:8a:62:e1","NETWORK_NAME":"VM Network"}}],"PowerOff":true,"Reboot":true,"Reconfigure":true,"Reprovision":true,"Reset":true,"SNAPSHOT_LIST":[],"Shutdown":true,"Suspend":true,"VirtualMachine.Admin.UUID":"500a9c29-ab12-fc1f-6bd9-57c78eb2c3de","endpointExternalReferenceId":"1a19bcb7-e6b9-487d-b816-a10c91738fd1","ip_address":"172.16.20.147","machineId":"8bd21553-4609-41ef-bebf-60f7c66a28e0"}}],"metadata":{"size":20,"totalElements":2,"totalPages":1,"number":1,"offset":0}}
@@ -0,0 +1 @@
1
+ {"links":[],"content":[{"@type":"CatalogResourceView","links":[{"@type":"link","rel":"GET: Catalog Item","href":"https://vra71.tirefi.re/catalog-service/api/consumer/entitledCatalogItemViews/2d6d5481-ebb0-4bdc-8af9-b75043a86386"},{"@type":"link","rel":"GET: Request","href":"https://vra71.tirefi.re/catalog-service/api/consumer/requests/bcd175ac-1c02-4a00-b4c8-fa585f23fd2d"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.changelease.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/c3595f52-e35a-448c-8409-7ce0c554cfba/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.changelease.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/c3595f52-e35a-448c-8409-7ce0c554cfba/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.changeowner.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/00f03ade-3850-40c8-93b8-4b093b5bf7c4/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.changeowner.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/00f03ade-3850-40c8-93b8-4b093b5bf7c4/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.destroy.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/306fbd9b-7129-405a-8c07-fedf32585f3d/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.destroy.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/306fbd9b-7129-405a-8c07-fedf32585f3d/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.archive.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/e5759af9-56d8-4598-ab7f-4ca6d45bd385/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.archive.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/e5759af9-56d8-4598-ab7f-4ca6d45bd385/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.scalein.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/6b358c70-ac66-4634-951b-73ab4e36c78d/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.scalein.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/6b358c70-ac66-4634-951b-73ab4e36c78d/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.cafe.composition@resource.action.deployment.scaleout.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/2c50de13-d5aa-4958-9af9-d2451675a2b3/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.cafe.composition@resource.action.deployment.scaleout.name}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/700f9e3c-c7bd-41d7-9683-5d3051a8e238/actions/2c50de13-d5aa-4958-9af9-d2451675a2b3/requests"},{"@type":"link","rel":"GET: Child Resources","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resourceViews?managedOnly=false&withExtendedData=true&withOperations=true&%24filter=parentResource%20eq%20%27700f9e3c-c7bd-41d7-9683-5d3051a8e238%27"}],"resourceId":"700f9e3c-c7bd-41d7-9683-5d3051a8e238","iconId":"composition.blueprint.png","name":"test-66303366","description":null,"status":null,"catalogItemId":"2d6d5481-ebb0-4bdc-8af9-b75043a86386","catalogItemLabel":"test","requestId":"bcd175ac-1c02-4a00-b4c8-fa585f23fd2d","resourceType":"composition.resource.type.deployment","owners":["vRA Admin"],"businessGroupId":"d0fb4a04-7099-4ba1-a262-b578e129a758","tenantId":"vsphere.local","dateCreated":"2016-12-01T19:59:55.000Z","lastUpdated":"2016-12-01T20:05:03.086Z","lease":{"start":"2016-12-01T19:59:54.988Z"},"costs":null,"costToDate":null,"totalCost":null,"parentResourceId":null,"hasChildren":true,"data":{}},{"@type":"CatalogResourceView","links":[{"@type":"link","rel":"GET: Request","href":"https://vra71.tirefi.re/catalog-service/api/consumer/requests/bcd175ac-1c02-4a00-b4c8-fa585f23fd2d"},{"@type":"link","rel":"GET: Parent Resource","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resourceViews/700f9e3c-c7bd-41d7-9683-5d3051a8e238"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.ChangeLease}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/6bfd31da-dc94-4b3d-9d11-a76ca6466fee/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.ChangeLease}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/6bfd31da-dc94-4b3d-9d11-a76ca6466fee/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.window.ConnectViaVmrc.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/beeea7b5-b75c-46ab-b3f7-92e87419d025/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.window.ConnectViaVmrc.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/beeea7b5-b75c-46ab-b3f7-92e87419d025/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.noform.ConnectViaRdp.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/33b4eb4b-1602-4d1e-802b-41c54f56b97c/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.noform.ConnectViaRdp.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/33b4eb4b-1602-4d1e-802b-41c54f56b97c/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.nowindow.ConnectViaNativeVmrc.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/39fb6669-f224-45ed-9b48-4a48a828f10a/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@csp.places.iaas.item.nowindow.ConnectViaNativeVmrc.label}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/39fb6669-f224-45ed-9b48-4a48a828f10a/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.virtual.CreateSnapshot}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/ef01fe39-132d-4800-85b5-987a345202b2/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.virtual.CreateSnapshot}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/ef01fe39-132d-4800-85b5-987a345202b2/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.virtual.Destroy}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/4a0cfa3b-b686-43c7-9b31-600b99812b15/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.virtual.Destroy}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/4a0cfa3b-b686-43c7-9b31-600b99812b15/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Expire}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/5b0f7c6a-0bf1-497f-ab10-d0536ff0cdde/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Expire}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/5b0f7c6a-0bf1-497f-ab10-d0536ff0cdde/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.InstallTools}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/7bdb5a37-5a18-4365-bc4a-f1bba27df5f7/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.InstallTools}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/7bdb5a37-5a18-4365-bc4a-f1bba27df5f7/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reset}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/7b6538e2-6eec-4618-bc92-7aafaf9f147e/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reset}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/7b6538e2-6eec-4618-bc92-7aafaf9f147e/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.PowerOff}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/1f9ffa9a-b5cf-4337-b097-6c4dc0bd52b7/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.PowerOff}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/1f9ffa9a-b5cf-4337-b097-6c4dc0bd52b7/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reboot}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/37e2bb8f-ab3c-4e4c-854b-71f85c1db9ee/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reboot}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/37e2bb8f-ab3c-4e4c-854b-71f85c1db9ee/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reconfigure}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/14af2ac6-827d-4854-a797-fe2b587bc968/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reconfigure}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/14af2ac6-827d-4854-a797-fe2b587bc968/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reprovision}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/eed48ad5-3e8e-41f2-a206-75ae79041779/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Reprovision}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/eed48ad5-3e8e-41f2-a206-75ae79041779/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Shutdown}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/a4fd65a6-8abc-493e-8315-3345b673366f/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Shutdown}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/a4fd65a6-8abc-493e-8315-3345b673366f/requests"},{"@type":"link","rel":"GET Template: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Suspend}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/e1bdb142-1136-40a8-b49e-84ac5d3ed0b1/requests/template"},{"@type":"link","rel":"POST: {com.vmware.csp.component.iaas.proxy.provider@resource.action.name.machine.Suspend}","href":"https://vra71.tirefi.re/catalog-service/api/consumer/resources/3bf23388-38fb-44ef-ab1e-325ad1a1c582/actions/e1bdb142-1136-40a8-b49e-84ac5d3ed0b1/requests"}],"resourceId":"3bf23388-38fb-44ef-ab1e-325ad1a1c582","iconId":"Infrastructure.CatalogItem.Machine.Virtual.vSphere","name":"vra7-32","description":null,"status":"On","catalogItemId":null,"catalogItemLabel":null,"requestId":"bcd175ac-1c02-4a00-b4c8-fa585f23fd2d","resourceType":"Infrastructure.Virtual","owners":["vRA Admin"],"businessGroupId":"d0fb4a04-7099-4ba1-a262-b578e129a758","tenantId":"vsphere.local","dateCreated":"2016-12-01T20:03:59.946Z","lastUpdated":"2016-12-01T20:05:03.086Z","lease":{"start":"2016-12-01T19:59:54.988Z"},"costs":null,"costToDate":null,"totalCost":null,"parentResourceId":"700f9e3c-c7bd-41d7-9683-5d3051a8e238","hasChildren":false,"data":{"ChangeLease":true,"ChangeOwner":true,"Component":"vSphere_Machine_1","ConnectViaNativeVmrc":true,"ConnectViaRdp":true,"ConnectViaVmrc":true,"CreateSnapshot":true,"DISK_VOLUMES":[{"componentTypeId":"com.vmware.csp.component.iaas.proxy.provider","componentId":null,"classId":"dynamicops.api.model.DiskInputModel","typeFilter":null,"data":{"DISK_CAPACITY":28,"DISK_INPUT_ID":"DISK_INPUT_ID1","DISK_LABEL":"Hard disk 1"}}],"Destroy":true,"EXTERNAL_REFERENCE_ID":"vm-171","Expire":true,"IS_COMPONENT_MACHINE":false,"InstallTools":true,"MachineBlueprintName":"test","MachineCPU":1,"MachineDailyCost":0.0,"MachineDestructionDate":null,"MachineExpirationDate":null,"MachineGroupName":"tirefireadmins","MachineGuestOperatingSystem":null,"MachineInterfaceDisplayName":"vSphere (vCenter)","MachineInterfaceType":"vSphere","MachineMemory":4096,"MachineName":"vra7-32","MachineReservationName":"test","MachineStorage":28,"MachineType":"Virtual","NETWORK_LIST":[{"componentTypeId":"com.vmware.csp.component.iaas.proxy.provider","componentId":null,"classId":"dynamicops.api.model.NetworkViewModel","typeFilter":null,"data":{"NETWORK_MAC_ADDRESS":"00:50:56:8a:62:e1","NETWORK_NAME":"VM Network"}}],"PowerOff":true,"Reboot":true,"Reconfigure":true,"Reprovision":true,"Reset":true,"SNAPSHOT_LIST":[],"Shutdown":true,"Suspend":true,"VirtualMachine.Admin.UUID":"500a9c29-ab12-fc1f-6bd9-57c78eb2c3de","endpointExternalReferenceId":"1a19bcb7-e6b9-487d-b816-a10c91738fd1","ip_address":"","machineId":"8bd21553-4609-41ef-bebf-60f7c66a28e0"}}],"metadata":{"size":20,"totalElements":2,"totalPages":1,"number":1,"offset":0}}
@@ -0,0 +1 @@
1
+ {"id":"3bf23388-38fb-44ef-ab1e-325ad1a1c582","iconId":"Infrastructure.CatalogItem.Machine.Virtual.vSphere","resourceTypeRef":{"id":"Infrastructure.Virtual","label":"Virtual Machine"},"name":"vra7-32","description":null,"status":"ACTIVE","catalogItem":null,"requestId":"bcd175ac-1c02-4a00-b4c8-fa585f23fd2d","providerBinding":{"bindingId":"8bd21553-4609-41ef-bebf-60f7c66a28e0","providerRef":{"id":"8100ba32-8f87-4516-9eb5-470660f362db","label":"Infrastructure Service"}},"owners":[{"tenantName":"vsphere.local","ref":"vraadmin@vsphere.local","type":"USER","value":"vRA Admin"}],"organization":{"tenantRef":"vsphere.local","tenantLabel":"vsphere.local","subtenantRef":"d0fb4a04-7099-4ba1-a262-b578e129a758","subtenantLabel":"tirefireadmins"},"dateCreated":"2016-12-01T20:03:59.946Z","lastUpdated":"2016-12-01T20:05:03.086Z","hasLease":true,"lease":{"start":"2016-12-01T19:59:54.988Z"},"leaseForDisplay":null,"hasCosts":true,"totalCost":null,"parentResourceRef":{"id":"700f9e3c-c7bd-41d7-9683-5d3051a8e238","label":"test-66303366"},"hasChildren":false,"operations":[{"name":"Change Lease","description":"Change the lease for a machine. Leave empty for indefinite.","iconId":"machineChangeLease.png","type":"ACTION","id":"6bfd31da-dc94-4b3d-9d11-a76ca6466fee","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.ChangeLease","hasForm":true,"formScale":"SMALL"},{"name":"Connect to Remote Console","description":"Infrastructure connect using remote console","iconId":"cafe_default_icon_genericResourceOperation","type":"EXTENSION","id":"beeea7b5-b75c-46ab-b3f7-92e87419d025","extensionId":"csp.places.iaas.item.window.ConnectViaVmrc","providerTypeId":null,"bindingId":null,"hasForm":false,"formScale":null},{"name":"Connect using RDP","description":"Infrastructure connect using RDP","iconId":"cafe_default_icon_genericResourceOperation","type":"EXTENSION","id":"33b4eb4b-1602-4d1e-802b-41c54f56b97c","extensionId":"csp.places.iaas.item.noform.ConnectViaRdp","providerTypeId":null,"bindingId":null,"hasForm":false,"formScale":null},{"name":"Connect using VMRC","description":"Infrastructure connect using VMRC","iconId":"cafe_default_icon_genericResourceOperation","type":"EXTENSION","id":"39fb6669-f224-45ed-9b48-4a48a828f10a","extensionId":"csp.places.iaas.item.nowindow.ConnectViaNativeVmrc","providerTypeId":null,"bindingId":null,"hasForm":false,"formScale":null},{"name":"Create Snapshot","description":"Create a snapshot for this machine.","iconId":"virtualCreateSnapshot.png","type":"ACTION","id":"ef01fe39-132d-4800-85b5-987a345202b2","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Virtual.Action.CreateSnapshot","hasForm":true,"formScale":"SMALL"},{"name":"Destroy","description":"Destroy a virtual machine.","iconId":"virtualDestroy.png","type":"ACTION","id":"4a0cfa3b-b686-43c7-9b31-600b99812b15","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Virtual.Action.Destroy","hasForm":false,"formScale":null},{"name":"Expire","description":"Expire a machine.","iconId":"machineExpire.png","type":"ACTION","id":"5b0f7c6a-0bf1-497f-ab10-d0536ff0cdde","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.Expire","hasForm":false,"formScale":null},{"name":"Install Tools","description":"Install tools on a machine.","iconId":"machineInstallTools.png","type":"ACTION","id":"7bdb5a37-5a18-4365-bc4a-f1bba27df5f7","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.InstallTools","hasForm":false,"formScale":null},{"name":"Power Cycle","description":"Reset a machine.","iconId":"machineReset.png","type":"ACTION","id":"7b6538e2-6eec-4618-bc92-7aafaf9f147e","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.Reset","hasForm":false,"formScale":null},{"name":"Power Off","description":"Power off a machine.","iconId":"machinePowerOff.png","type":"ACTION","id":"1f9ffa9a-b5cf-4337-b097-6c4dc0bd52b7","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.PowerOff","hasForm":false,"formScale":null},{"name":"Reboot","description":"Reboot a machine.","iconId":"machineReboot.png","type":"ACTION","id":"37e2bb8f-ab3c-4e4c-854b-71f85c1db9ee","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.Reboot","hasForm":false,"formScale":null},{"name":"Reconfigure","description":"Reconfigure a machine.","iconId":"machineReconfigure.png","type":"ACTION","id":"14af2ac6-827d-4854-a797-fe2b587bc968","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.Reconfigure","hasForm":true,"formScale":"BIG"},{"name":"Reprovision","description":"Reprovision a machine.","iconId":"machineReprovision.png","type":"ACTION","id":"eed48ad5-3e8e-41f2-a206-75ae79041779","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.Reprovision","hasForm":true,"formScale":"BIG"},{"name":"Shutdown","description":"Shutdown a machine.","iconId":"machineShutdown.png","type":"ACTION","id":"a4fd65a6-8abc-493e-8315-3345b673366f","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.Shutdown","hasForm":false,"formScale":null},{"name":"Suspend","description":"Suspend a machine.","iconId":"machineSuspend.png","type":"ACTION","id":"e1bdb142-1136-40a8-b49e-84ac5d3ed0b1","extensionId":null,"providerTypeId":"com.vmware.csp.iaas.blueprint.service","bindingId":"Infrastructure.Machine.Action.Suspend","hasForm":false,"formScale":null}],"forms":{"catalogResourceInfoHidden":true,"details":{"type":"extension","extensionId":"csp.places.iaas.item.details","extensionPointId":null}},"resourceData":{"entries":[{"key":"MachineGuestOperatingSystem"},{"key":"MachineMemory","value":{"type":"integer","value":4096}},{"key":"DISK_VOLUMES","value":{"type":"multiple","elementTypeId":"COMPLEX","items":[{"type":"complex","componentTypeId":"com.vmware.csp.component.iaas.proxy.provider","componentId":null,"classId":"dynamicops.api.model.DiskInputModel","typeFilter":null,"values":{"entries":[{"key":"DISK_INPUT_ID","value":{"type":"string","value":"DISK_INPUT_ID1"}},{"key":"DISK_CAPACITY","value":{"type":"integer","value":28}},{"key":"DISK_LABEL","value":{"type":"string","value":"Hard disk 1"}}]}}]}},{"key":"MachineBlueprintName","value":{"type":"string","value":"test"}},{"key":"Suspend","value":{"type":"boolean","value":true}},{"key":"MachineInterfaceType","value":{"type":"string","value":"vSphere"}},{"key":"MachineCPU","value":{"type":"integer","value":1}},{"key":"MachineExpirationDate"},{"key":"ConnectViaNativeVmrc","value":{"type":"boolean","value":true}},{"key":"PowerOff","value":{"type":"boolean","value":true}},{"key":"IS_COMPONENT_MACHINE","value":{"type":"boolean","value":false}},{"key":"ChangeLease","value":{"type":"boolean","value":true}},{"key":"endpointExternalReferenceId","value":{"type":"string","value":"1a19bcb7-e6b9-487d-b816-a10c91738fd1"}},{"key":"MachineInterfaceDisplayName","value":{"type":"string","value":"vSphere (vCenter)"}},{"key":"VirtualMachine.Admin.UUID","value":{"type":"string","value":"500a9c29-ab12-fc1f-6bd9-57c78eb2c3de"}},{"key":"Destroy","value":{"type":"boolean","value":true}},{"key":"MachineReservationName","value":{"type":"string","value":"test"}},{"key":"NETWORK_LIST","value":{"type":"multiple","elementTypeId":"COMPLEX","items":[{"type":"complex","componentTypeId":"com.vmware.csp.component.iaas.proxy.provider","componentId":null,"classId":"dynamicops.api.model.NetworkViewModel","typeFilter":null,"values":{"entries":[{"key":"NETWORK_NAME","value":{"type":"string","value":"VM Network"}},{"key":"NETWORK_MAC_ADDRESS","value":{"type":"string","value":"00:50:56:8a:62:e1"}}]}}]}},{"key":"Component","value":{"type":"string","value":"vSphere_Machine_1"}},{"key":"Reset","value":{"type":"boolean","value":true}},{"key":"ConnectViaVmrc","value":{"type":"boolean","value":true}},{"key":"SNAPSHOT_LIST","value":{"type":"multiple","elementTypeId":"COMPLEX","items":[]}},{"key":"InstallTools","value":{"type":"boolean","value":true}},{"key":"MachineStatus","value":{"type":"string","value":"On"}},{"key":"MachineType","value":{"type":"string","value":"Virtual"}},{"key":"MachineStorage","value":{"type":"integer","value":28}},{"key":"EXTERNAL_REFERENCE_ID","value":{"type":"string","value":"vm-171"}},{"key":"MachineGroupName","value":{"type":"string","value":"tirefireadmins"}},{"key":"ip_address","value":{"type":"string","value":"172.16.20.147"}},{"key":"ChangeOwner","value":{"type":"boolean","value":true}},{"key":"Reboot","value":{"type":"boolean","value":true}},{"key":"Expire","value":{"type":"boolean","value":true}},{"key":"machineId","value":{"type":"string","value":"8bd21553-4609-41ef-bebf-60f7c66a28e0"}},{"key":"MachineName","value":{"type":"string","value":"vra7-32"}},{"key":"MachineDestructionDate"},{"key":"Shutdown","value":{"type":"boolean","value":true}},{"key":"ConnectViaRdp","value":{"type":"boolean","value":true}},{"key":"Reconfigure","value":{"type":"boolean","value":true}},{"key":"Reprovision","value":{"type":"boolean","value":true}},{"key":"CreateSnapshot","value":{"type":"boolean","value":true}},{"key":"MachineDailyCost","value":{"type":"decimal","value":0.0}}]},"destroyDate":null,"pendingRequests":[]}
@@ -0,0 +1 @@
1
+ {"description":null,"id":"8bd21553-4609-41ef-bebf-60f7c66a28e0","name":"vra7-32","resourceData":{"entries":[{"key":"VirtualMachine.Cafe.Blueprint.Id","value":{"type":"string","value":"test"}},{"key":"DISK_VOLUMES","value":{"type":"multiple","elementTypeId":"COMPLEX","items":[{"type":"complex","componentTypeId":"com.vmware.csp.component.iaas.proxy.provider","componentId":null,"classId":"dynamicops.api.model.DiskInputModel","typeFilter":null,"values":{"entries":[{"key":"DISK_INPUT_ID","value":{"type":"string","value":"DISK_INPUT_ID1"}},{"key":"DISK_CAPACITY","value":{"type":"integer","value":28}},{"key":"DISK_LABEL","value":{"type":"string","value":"Hard disk 1"}}]}}]}},{"key":"MachineBlueprintName","value":{"type":"string","value":"test"}},{"key":"MachineInterfaceType","value":{"type":"string","value":"vSphere"}},{"key":"MachineCPU","value":{"type":"integer","value":1}},{"key":"IS_COMPONENT_MACHINE","value":{"type":"boolean","value":false}},{"key":"endpointExternalReferenceId","value":{"type":"string","value":"1a19bcb7-e6b9-487d-b816-a10c91738fd1"}},{"key":"VirtualMachine.Cafe.Blueprint.Component.TypeId","value":{"type":"string","value":"Infrastructure.CatalogItem.Machine.Virtual.vSphere"}},{"key":"VirtualMachine.Admin.UUID","value":{"type":"string","value":"500a9c29-ab12-fc1f-6bd9-57c78eb2c3de"}},{"key":"IsHyperthreading","value":{"type":"string","value":""}},{"key":"MachineReservationName","value":{"type":"string","value":"test"}},{"key":"NETWORK_LIST","value":{"type":"multiple","elementTypeId":"COMPLEX","items":[{"type":"complex","componentTypeId":"com.vmware.csp.component.iaas.proxy.provider","componentId":null,"classId":"dynamicops.api.model.NetworkViewModel","typeFilter":null,"values":{"entries":[{"key":"NETWORK_NAME","value":{"type":"string","value":"VM Network"}},{"key":"NETWORK_MAC_ADDRESS","value":{"type":"string","value":"00:50:56:8a:62:e1"}}]}}]}},{"key":"Reset","value":{"type":"boolean","value":true}},{"key":"MachineStatus","value":{"type":"string","value":"On"}},{"key":"VirtualMachine.Cafe.Blueprint.Name","value":{"type":"string","value":"test"}},{"key":"Cafe.Shim.VirtualMachine.TotalStorageSize","value":{"type":"string","value":"28"}},{"key":"ChangeOwner","value":{"type":"boolean","value":true}},{"key":"Expire","value":{"type":"boolean","value":true}},{"key":"machineId","value":{"type":"string","value":"8bd21553-4609-41ef-bebf-60f7c66a28e0"}},{"key":"MachineName","value":{"type":"string","value":"vra7-32"}},{"key":"MachineDestructionDate"},{"key":"Shutdown","value":{"type":"boolean","value":true}},{"key":"__datacollected_ipaddress","value":{"type":"string","value":"172.16.20.147"}},{"key":"subtenantId","value":{"type":"string","value":"d0fb4a04-7099-4ba1-a262-b578e129a758"}},{"key":"ConnectViaRdp","value":{"type":"boolean","value":true}},{"key":"Reconfigure","value":{"type":"boolean","value":true}},{"key":"CreateSnapshot","value":{"type":"boolean","value":true}},{"key":"MachineDailyCost","value":{"type":"decimal","value":0.0}},{"key":"_number_of_instances","value":{"type":"string","value":"1"}},{"key":"VirtualMachine.Admin.AgentID","value":{"type":"string","value":"01370a42-ac52-3df1-866a-bf31ef5bed2a"}},{"key":"VirtualMachine.Disk0.IsClone","value":{"type":"boolean","value":true}},{"key":"MachineGuestOperatingSystem"},{"key":"MachineMemory","value":{"type":"integer","value":4096}},{"key":"Suspend","value":{"type":"boolean","value":true}},{"key":"MachineExpirationDate"},{"key":"ConnectViaNativeVmrc","value":{"type":"boolean","value":true}},{"key":"PowerOff","value":{"type":"boolean","value":true}},{"key":"providerBindingId","value":{"type":"string","value":"test"}},{"key":"VirtualMachine.Memory.Size","value":{"type":"string","value":"4096"}},{"key":"VirtualMachine.Admin.Hostname","value":{"type":"string","value":"172.16.20.3"}},{"key":"VirtualMachine.Cafe.Blueprint.Component.Cluster.Index","value":{"type":"string","value":"0"}},{"key":"VirtualMachine.CPU.Count","value":{"type":"string","value":"1"}},{"key":"ChangeLease","value":{"type":"boolean","value":true}},{"key":"MachineInterfaceDisplayName","value":{"type":"string","value":"vSphere (vCenter)"}},{"key":"providerId","value":{"type":"string","value":"6b539260-5cc4-4b71-b96c-61ed36f53b77"}},{"key":"Destroy","value":{"type":"boolean","value":true}},{"key":"Component","value":{"type":"string","value":"vSphere_Machine_1"}},{"key":"VirtualMachine.Admin.TotalDiskUsage","value":{"type":"string","value":"28672"}},{"key":"ConnectViaVmrc","value":{"type":"boolean","value":true}},{"key":"SNAPSHOT_LIST","value":{"type":"multiple","elementTypeId":"COMPLEX","items":[]}},{"key":"InstallTools","value":{"type":"boolean","value":true}},{"key":"trace_id","value":{"type":"string","value":"CnLzUmqI"}},{"key":"MachineType","value":{"type":"string","value":"Virtual"}},{"key":"VirtualMachine.Network0.ExternalAddress","value":{"type":"string","value":""}},{"key":"MachineStorage","value":{"type":"integer","value":28}},{"key":"EXTERNAL_REFERENCE_ID","value":{"type":"string","value":"vm-171"}},{"key":"MachineGroupName","value":{"type":"string","value":"tirefireadmins"}},{"key":"ip_address","value":{"type":"string","value":"172.16.20.147"}},{"key":"VirtualMachine.Cafe.Blueprint.Component.Id","value":{"type":"string","value":"vSphere_Machine_1"}},{"key":"Reboot","value":{"type":"boolean","value":true}},{"key":"IsMoveEnabled","value":{"type":"string","value":""}},{"key":"Vrm.ProxyAgent.Uri","value":{"type":"string","value":"https://vra7-1-iaas01.tirefi.re/VMPS2Proxy"}},{"key":"VirtualMachine.Storage.Name","value":{"type":"string","value":"datastore1"}},{"key":"Reprovision","value":{"type":"boolean","value":true}}]},"resourceTypeId":null}
@@ -305,6 +305,10 @@ describe Vra::Resource do
305
305
 
306
306
  describe '#ip_addresses' do
307
307
  it 'returns the correct IP addresses' do
308
+ stub_request(:post, "https://vra.corp.local/identity/api/tokens").
309
+ with(:body => "{\"username\":\"user@corp.local\",\"password\":\"password\",\"tenant\":\"tenant\"}",
310
+ :headers => {'Accept'=>'application/json', 'Content-Type'=>'application/json'}).
311
+ to_return(:status => 200, :body => "", :headers => {})
308
312
  expect(resource.ip_addresses).to eq [ '192.168.110.200', '192.168.220.200' ]
309
313
  end
310
314
 
@@ -27,4 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.add_development_dependency 'webmock', '~> 1.21'
28
28
  spec.add_development_dependency 'rubocop', '~> 0.35'
29
29
  spec.add_development_dependency 'pry', '~> 0.10'
30
+ spec.add_development_dependency 'github_changelog_generator'
30
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmware-vra
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 2.0.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Leff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-02 00:00:00.000000000 Z
11
+ date: 2016-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi-yajl
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.10'
125
+ - !ruby/object:Gem::Dependency
126
+ name: github_changelog_generator
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
125
139
  description: Client gem for interacting with VMware vRealize Automation.
126
140
  email:
127
141
  - partnereng@chef.io
@@ -154,7 +168,11 @@ files:
154
168
  - spec/catalog_request_spec.rb
155
169
  - spec/catalog_spec.rb
156
170
  - spec/client_spec.rb
171
+ - spec/fixtures/resource/ip_address.txt
172
+ - spec/fixtures/resource/no_ip_address.txt
157
173
  - spec/fixtures/resource/non_vm_resource.json
174
+ - spec/fixtures/resource/resource_response.json
175
+ - spec/fixtures/resource/vm_properties.json
158
176
  - spec/fixtures/resource/vm_resource.json
159
177
  - spec/fixtures/resource/vm_resource_no_operations.json
160
178
  - spec/http_spec.rb
@@ -179,9 +197,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
179
197
  version: '0'
180
198
  required_rubygems_version: !ruby/object:Gem::Requirement
181
199
  requirements:
182
- - - ">="
200
+ - - ">"
183
201
  - !ruby/object:Gem::Version
184
- version: '0'
202
+ version: 1.3.1
185
203
  requirements: []
186
204
  rubyforge_project:
187
205
  rubygems_version: 2.5.1
@@ -193,7 +211,11 @@ test_files:
193
211
  - spec/catalog_request_spec.rb
194
212
  - spec/catalog_spec.rb
195
213
  - spec/client_spec.rb
214
+ - spec/fixtures/resource/ip_address.txt
215
+ - spec/fixtures/resource/no_ip_address.txt
196
216
  - spec/fixtures/resource/non_vm_resource.json
217
+ - spec/fixtures/resource/resource_response.json
218
+ - spec/fixtures/resource/vm_properties.json
197
219
  - spec/fixtures/resource/vm_resource.json
198
220
  - spec/fixtures/resource/vm_resource_no_operations.json
199
221
  - spec/http_spec.rb