crowbar-client 3.0.0 → 3.0.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,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6b731c1c97fffa975e7984c69201175b40747a6c
4
- data.tar.gz: eb713da64767ffbd8a11a419b00af7a80ca40fb1
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YWYxMTliZmFlZGE3ZmExZjM2NzEzNzk2YTI4OWQwNTBiZmU1NTMzMw==
5
+ data.tar.gz: !binary |-
6
+ MDEzMDJlYjI3YzEyZDQwMzI0Y2Y1MGRhYjZjMzBhZmIzZDZmM2Q3OA==
5
7
  SHA512:
6
- metadata.gz: d85ccb27fa7428c469d3718205ba2e3012e31461dabc16384545c65ad614f24eab9a478b514a674458cf308fdb67dfb141839fe3f57b9ad1aa8ccedf0a8dc00a
7
- data.tar.gz: 515d9f42654a8f0cb62b42444d91b1da56760bf6c54df92706ee740f03e5fea51fefd346c08d6c900d84b1fa32d4ff48196661b443d3d0fbca3e71d5ceaabdc3
8
+ metadata.gz: !binary |-
9
+ ZmRkOTJjMGU1Yzk5ODY4MWUxNTljMGM1MDBjZTI2ZTAzN2ExOWExYjk0OTA2
10
+ ZWRjNmU1NzlmMGRhMjhmZGE1ZjJhNjYwMWRmMmY1ZGM5MmFhYWY1NWM0MDg3
11
+ NjEyMDJjMDAyOTZkNzk0ZTMzNmY2YmZjZjdiNDFmODI4ZWI5ZGY=
12
+ data.tar.gz: !binary |-
13
+ Y2Y5YmZhM2M2ZTIyNDI3OTAyOGJkYzJmYjIxNDI3YTJmYTFkNjkyMDFmOTlm
14
+ NjFjOGJmZGNlYjYzZTliYzJiYmQ2YmViOGQ5MjJkNjBjMzYwZjk0MGUzMWFl
15
+ MDMxMDNjZTQ1ZGI4ZGZlYWFlNTc3NWJiNjEyY2Q2YjdhYjViMWM=
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [3.0.1](https://github.com/crowbar/crowbar-client/releases/tag/v3.0.1) - 2016-08-19
4
+
5
+ * BUGFIX
6
+ * Fix batch export subcommand (bsc#994125) (@rsalevsky)
7
+ * ENHANCEMENT
8
+ * Enable configuring the api version (@MaximilianMeister)
9
+
3
10
  ## [3.0.0](https://github.com/crowbar/crowbar-client/releases/tag/v3.0.0) - 2016-08-16
4
11
 
5
12
  * BREAKING
@@ -43,6 +43,7 @@ module Crowbar
43
43
  :server,
44
44
  :timeout,
45
45
  :anonymous,
46
+ :apiversion,
46
47
  :debug
47
48
  )
48
49
  )
@@ -69,6 +69,12 @@ module Crowbar
69
69
  aliases: ["-A"],
70
70
  desc: "Skip API user authentication"
71
71
 
72
+ class_option :apiversion,
73
+ type: :numeric,
74
+ default: Config.defaults[:apiversion],
75
+ aliases: ["-v"],
76
+ desc: "Select Crowbar API version"
77
+
72
78
  class_option :debug,
73
79
  type: :boolean,
74
80
  default: Config.defaults[:debug],
@@ -57,6 +57,7 @@ module Crowbar
57
57
  server: default_server,
58
58
  timeout: default_timeout,
59
59
  anonymous: default_anonymous,
60
+ apiversion: default_apiversion,
60
61
  debug: default_debug
61
62
  )
62
63
  end
@@ -154,6 +155,21 @@ module Crowbar
154
155
  end
155
156
  end
156
157
 
158
+ #
159
+ # Define a default api version
160
+ #
161
+ # @return [Float] the default crowbar api version
162
+ #
163
+ def default_apiversion
164
+ if ENV["CROWBAR_APIVERSION"].present?
165
+ [
166
+ 1.0, 2.0
167
+ ].include? ENV["CROWBAR_APIVERSION"]
168
+ else
169
+ 2.0
170
+ end
171
+ end
172
+
157
173
  #
158
174
  # Define a default debug flag
159
175
  #
@@ -31,7 +31,7 @@ module Crowbar
31
31
  #
32
32
  def headers
33
33
  super.easy_merge!(
34
- Crowbar::Client::Util::ApiVersion.new(2.0).headers
34
+ Crowbar::Client::Util::ApiVersion.new(Config.apiversion).headers
35
35
  )
36
36
  end
37
37
 
@@ -63,11 +63,19 @@ module Crowbar
63
63
  # @return [String] path to the API endpoint
64
64
  #
65
65
  def url
66
- [
67
- "api",
68
- "crowbar",
69
- "backups"
70
- ].join("/")
66
+ case Config.apiversion
67
+ when 1.0
68
+ [
69
+ "utils",
70
+ "backups"
71
+ ]
72
+ when 2.0
73
+ [
74
+ "api",
75
+ "crowbar",
76
+ "backups"
77
+ ]
78
+ end.join("/")
71
79
  end
72
80
  end
73
81
  end
@@ -31,7 +31,7 @@ module Crowbar
31
31
  #
32
32
  def headers
33
33
  super.easy_merge!(
34
- Crowbar::Client::Util::ApiVersion.new(2.0).headers
34
+ Crowbar::Client::Util::ApiVersion.new(Config.apiversion).headers
35
35
  )
36
36
  end
37
37
 
@@ -50,12 +50,21 @@ module Crowbar
50
50
  # @return [String] path to the API endpoint
51
51
  #
52
52
  def url
53
- [
54
- "api",
55
- "crowbar",
56
- "backups",
57
- attrs.name
58
- ].join("/")
53
+ case Config.apiversion
54
+ when 1.0
55
+ [
56
+ "utils",
57
+ "backups",
58
+ attrs.name
59
+ ]
60
+ when 2.0
61
+ [
62
+ "api",
63
+ "crowbar",
64
+ "backups",
65
+ attrs.name
66
+ ]
67
+ end.join("/")
59
68
  end
60
69
  end
61
70
  end
@@ -26,7 +26,7 @@ module Crowbar
26
26
  class Download < Base
27
27
  def headers
28
28
  super.easy_merge!(
29
- Crowbar::Client::Util::ApiVersion.new(2.0).headers
29
+ Crowbar::Client::Util::ApiVersion.new(Config.apiversion).headers
30
30
  )
31
31
  end
32
32
 
@@ -45,13 +45,23 @@ module Crowbar
45
45
  # @return [String] path to the API endpoint
46
46
  #
47
47
  def url
48
- [
49
- "api",
50
- "crowbar",
51
- "backups",
52
- attrs.name,
53
- "download"
54
- ].join("/")
48
+ case Config.apiversion
49
+ when 1.0
50
+ [
51
+ "utils",
52
+ "backups",
53
+ attrs.name,
54
+ "download"
55
+ ]
56
+ when 2.0
57
+ [
58
+ "api",
59
+ "crowbar",
60
+ "backups",
61
+ attrs.name,
62
+ "download"
63
+ ]
64
+ end.join("/")
55
65
  end
56
66
  end
57
67
  end
@@ -31,7 +31,7 @@ module Crowbar
31
31
  #
32
32
  def headers
33
33
  super.easy_merge!(
34
- Crowbar::Client::Util::ApiVersion.new(2.0).headers
34
+ Crowbar::Client::Util::ApiVersion.new(Config.apiversion).headers
35
35
  )
36
36
  end
37
37
 
@@ -50,11 +50,19 @@ module Crowbar
50
50
  # @return [String] path to the API endpoint
51
51
  #
52
52
  def url
53
- [
54
- "api",
55
- "crowbar",
56
- "backups"
57
- ].join("/")
53
+ case Config.apiversion
54
+ when 1.0
55
+ [
56
+ "utils",
57
+ "backups"
58
+ ]
59
+ when 2.0
60
+ [
61
+ "api",
62
+ "crowbar",
63
+ "backups"
64
+ ]
65
+ end.join("/")
58
66
  end
59
67
  end
60
68
  end
@@ -31,7 +31,7 @@ module Crowbar
31
31
  #
32
32
  def headers
33
33
  super.easy_merge!(
34
- Crowbar::Client::Util::ApiVersion.new(2.0).headers
34
+ Crowbar::Client::Util::ApiVersion.new(Config.apiversion).headers
35
35
  )
36
36
  end
37
37
 
@@ -50,13 +50,23 @@ module Crowbar
50
50
  # @return [String] path to the API endpoint
51
51
  #
52
52
  def url
53
- [
54
- "api",
55
- "crowbar",
56
- "backups",
57
- attrs.name,
58
- "restore"
59
- ].join("/")
53
+ case Config.apiversion
54
+ when 1.0
55
+ [
56
+ "utils",
57
+ "backups",
58
+ attrs.name,
59
+ "restore"
60
+ ]
61
+ when 2.0
62
+ [
63
+ "api",
64
+ "crowbar",
65
+ "backups",
66
+ attrs.name,
67
+ "restore"
68
+ ]
69
+ end.join("/")
60
70
  end
61
71
  end
62
72
  end
@@ -31,7 +31,7 @@ module Crowbar
31
31
  #
32
32
  def headers
33
33
  super.easy_merge!(
34
- Crowbar::Client::Util::ApiVersion.new(2.0).headers
34
+ Crowbar::Client::Util::ApiVersion.new(Config.apiversion).headers
35
35
  )
36
36
  end
37
37
 
@@ -61,12 +61,21 @@ module Crowbar
61
61
  # @return [String] path to the API endpoint
62
62
  #
63
63
  def url
64
- [
65
- "api",
66
- "crowbar",
67
- "backups",
68
- "upload"
69
- ].join("/")
64
+ case Config.apiversion
65
+ when 1.0
66
+ [
67
+ "utils",
68
+ "backups",
69
+ "upload"
70
+ ]
71
+ when 2.0
72
+ [
73
+ "api",
74
+ "crowbar",
75
+ "backups",
76
+ "upload"
77
+ ]
78
+ end.join("/")
70
79
  end
71
80
  end
72
81
  end
@@ -31,8 +31,10 @@ module Crowbar
31
31
  #
32
32
  def content
33
33
  super.easy_merge!(
34
- includes: attrs.includes,
35
- excludes: attrs.excludes
34
+ batch: {
35
+ includes: attrs.includes,
36
+ excludes: attrs.excludes
37
+ }
36
38
  )
37
39
  end
38
40
 
@@ -25,10 +25,17 @@ module Crowbar
25
25
  end
26
26
 
27
27
  def headers
28
- {
29
- "Accept" => "application/vnd.crowbar.v#{version}+json",
30
- "Content-Type" => "application/vnd.crowbar.v#{version}+json"
31
- }
28
+ if version == 1.0
29
+ {
30
+ "Accept" => "application/json",
31
+ "Content-Type" => "application/json"
32
+ }
33
+ else
34
+ {
35
+ "Accept" => "application/vnd.crowbar.v#{version}+json",
36
+ "Content-Type" => "application/vnd.crowbar.v#{version}+json"
37
+ }
38
+ end
32
39
  end
33
40
  end
34
41
  end
@@ -33,7 +33,7 @@ module Crowbar
33
33
  #
34
34
  # Patch version
35
35
  #
36
- PATCH = 0
36
+ PATCH = 1
37
37
 
38
38
  #
39
39
  # Optional suffix
@@ -30,8 +30,10 @@ describe "Crowbar::Client::Request::Batch::Export" do
30
30
 
31
31
  let!(:params) do
32
32
  {
33
- includes: nil,
34
- excludes: nil
33
+ batch: {
34
+ includes: nil,
35
+ excludes: nil
36
+ }
35
37
  }
36
38
  end
37
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crowbar-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Boerger
@@ -10,124 +10,124 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-08-16 00:00:00.000000000 Z
13
+ date: 2016-08-19 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - ! '>='
27
27
  - !ruby/object:Gem::Version
28
28
  version: '0'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: rake
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ">="
33
+ - - ! '>='
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  type: :development
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ">="
40
+ - - ! '>='
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: yard
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
47
+ - - ! '>='
48
48
  - !ruby/object:Gem::Version
49
49
  version: '0'
50
50
  type: :development
51
51
  prerelease: false
52
52
  version_requirements: !ruby/object:Gem::Requirement
53
53
  requirements:
54
- - - ">="
54
+ - - ! '>='
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  - !ruby/object:Gem::Dependency
58
58
  name: rspec
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
- - - ">="
61
+ - - ! '>='
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
- - - ">="
68
+ - - ! '>='
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: aruba
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ">="
75
+ - - ! '>='
76
76
  - !ruby/object:Gem::Version
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ">="
82
+ - - ! '>='
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: webmock
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ">="
89
+ - - ! '>='
90
90
  - !ruby/object:Gem::Version
91
91
  version: '0'
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
- - - ">="
96
+ - - ! '>='
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  - !ruby/object:Gem::Dependency
100
100
  name: thor
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
- - - ">="
103
+ - - ! '>='
104
104
  - !ruby/object:Gem::Version
105
105
  version: 0.19.1
106
106
  type: :runtime
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - ">="
110
+ - - ! '>='
111
111
  - !ruby/object:Gem::Version
112
112
  version: 0.19.1
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: activesupport
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
- - - "<"
117
+ - - <
118
118
  - !ruby/object:Gem::Version
119
119
  version: 5.0.0
120
- - - ">="
120
+ - - ! '>='
121
121
  - !ruby/object:Gem::Version
122
122
  version: 3.0.0
123
123
  type: :runtime
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - "<"
127
+ - - <
128
128
  - !ruby/object:Gem::Version
129
129
  version: 5.0.0
130
- - - ">="
130
+ - - ! '>='
131
131
  - !ruby/object:Gem::Version
132
132
  version: 3.0.0
133
133
  - !ruby/object:Gem::Dependency
@@ -148,74 +148,75 @@ dependencies:
148
148
  name: net-http-digest_auth
149
149
  requirement: !ruby/object:Gem::Requirement
150
150
  requirements:
151
- - - "~>"
151
+ - - ~>
152
152
  - !ruby/object:Gem::Version
153
153
  version: '1.4'
154
154
  type: :runtime
155
155
  prerelease: false
156
156
  version_requirements: !ruby/object:Gem::Requirement
157
157
  requirements:
158
- - - "~>"
158
+ - - ~>
159
159
  - !ruby/object:Gem::Version
160
160
  version: '1.4'
161
161
  - !ruby/object:Gem::Dependency
162
162
  name: inifile
163
163
  requirement: !ruby/object:Gem::Requirement
164
164
  requirements:
165
- - - ">="
165
+ - - ! '>='
166
166
  - !ruby/object:Gem::Version
167
167
  version: 3.0.0
168
168
  type: :runtime
169
169
  prerelease: false
170
170
  version_requirements: !ruby/object:Gem::Requirement
171
171
  requirements:
172
- - - ">="
172
+ - - ! '>='
173
173
  - !ruby/object:Gem::Version
174
174
  version: 3.0.0
175
175
  - !ruby/object:Gem::Dependency
176
176
  name: terminal-table
177
177
  requirement: !ruby/object:Gem::Requirement
178
178
  requirements:
179
- - - ">="
179
+ - - ! '>='
180
180
  - !ruby/object:Gem::Version
181
181
  version: 1.4.5
182
182
  type: :runtime
183
183
  prerelease: false
184
184
  version_requirements: !ruby/object:Gem::Requirement
185
185
  requirements:
186
- - - ">="
186
+ - - ! '>='
187
187
  - !ruby/object:Gem::Version
188
188
  version: 1.4.5
189
189
  - !ruby/object:Gem::Dependency
190
190
  name: easy_diff
191
191
  requirement: !ruby/object:Gem::Requirement
192
192
  requirements:
193
- - - ">="
193
+ - - ! '>='
194
194
  - !ruby/object:Gem::Version
195
195
  version: 0.0.5
196
196
  type: :runtime
197
197
  prerelease: false
198
198
  version_requirements: !ruby/object:Gem::Requirement
199
199
  requirements:
200
- - - ">="
200
+ - - ! '>='
201
201
  - !ruby/object:Gem::Version
202
202
  version: 0.0.5
203
203
  - !ruby/object:Gem::Dependency
204
204
  name: hashie
205
205
  requirement: !ruby/object:Gem::Requirement
206
206
  requirements:
207
- - - ">="
207
+ - - ! '>='
208
208
  - !ruby/object:Gem::Version
209
209
  version: 3.4.1
210
210
  type: :runtime
211
211
  prerelease: false
212
212
  version_requirements: !ruby/object:Gem::Requirement
213
213
  requirements:
214
- - - ">="
214
+ - - ! '>='
215
215
  - !ruby/object:Gem::Version
216
216
  version: 3.4.1
217
- description: |2
218
- Standalone commandline client for crowbar
217
+ description: ! ' Standalone commandline client for crowbar
218
+
219
+ '
219
220
  email:
220
221
  - tboerger@suse.de
221
222
  - mmeister@suse.de
@@ -526,132 +527,132 @@ require_paths:
526
527
  - lib
527
528
  required_ruby_version: !ruby/object:Gem::Requirement
528
529
  requirements:
529
- - - ">="
530
+ - - ! '>='
530
531
  - !ruby/object:Gem::Version
531
532
  version: 1.9.3
532
533
  required_rubygems_version: !ruby/object:Gem::Requirement
533
534
  requirements:
534
- - - ">="
535
+ - - ! '>='
535
536
  - !ruby/object:Gem::Version
536
537
  version: '0'
537
538
  requirements: []
538
539
  rubyforge_project:
539
- rubygems_version: 2.2.2
540
+ rubygems_version: 2.4.5
540
541
  signing_key:
541
542
  specification_version: 4
542
543
  summary: Crowbar commandline client
543
544
  test_files:
544
- - spec/spec_helper.rb
545
- - spec/crowbar/client_spec.rb
546
- - spec/crowbar/client/util/editor_spec.rb
547
- - spec/crowbar/client/util/runner_spec.rb
548
- - spec/crowbar/client/filter/hash_spec.rb
549
- - spec/crowbar/client/filter/array_spec.rb
550
- - spec/crowbar/client/filter/subset_spec.rb
551
545
  - spec/crowbar/client/app_spec.rb
552
- - spec/crowbar/client/command/server/api_spec.rb
553
- - spec/crowbar/client/command/server/check_spec.rb
554
- - spec/crowbar/client/command/installer/start_spec.rb
555
- - spec/crowbar/client/command/installer/status_spec.rb
556
- - spec/crowbar/client/command/virtual_ip/deallocate_spec.rb
557
- - spec/crowbar/client/command/virtual_ip/allocate_spec.rb
546
+ - spec/crowbar/client/command/backup/create_spec.rb
547
+ - spec/crowbar/client/command/backup/delete_spec.rb
548
+ - spec/crowbar/client/command/backup/download_spec.rb
549
+ - spec/crowbar/client/command/backup/list_spec.rb
550
+ - spec/crowbar/client/command/backup/restore_spec.rb
551
+ - spec/crowbar/client/command/backup/upload_spec.rb
552
+ - spec/crowbar/client/command/barclamp/list_spec.rb
558
553
  - spec/crowbar/client/command/batch/build_spec.rb
559
554
  - spec/crowbar/client/command/batch/export_spec.rb
560
- - spec/crowbar/client/command/host_ip/deallocate_spec.rb
561
555
  - spec/crowbar/client/command/host_ip/allocate_spec.rb
562
- - spec/crowbar/client/command/repository/activate_all_spec.rb
563
- - spec/crowbar/client/command/repository/list_spec.rb
564
- - spec/crowbar/client/command/repository/deactivate_spec.rb
565
- - spec/crowbar/client/command/repository/deactivate_all_spec.rb
566
- - spec/crowbar/client/command/repository/activate_spec.rb
567
- - spec/crowbar/client/command/interface/enable_spec.rb
556
+ - spec/crowbar/client/command/host_ip/deallocate_spec.rb
557
+ - spec/crowbar/client/command/installer/start_spec.rb
558
+ - spec/crowbar/client/command/installer/status_spec.rb
568
559
  - spec/crowbar/client/command/interface/disable_spec.rb
569
- - spec/crowbar/client/command/node/shutdown_spec.rb
570
- - spec/crowbar/client/command/node/rename_spec.rb
560
+ - spec/crowbar/client/command/interface/enable_spec.rb
561
+ - spec/crowbar/client/command/node/allocate_spec.rb
562
+ - spec/crowbar/client/command/node/delete_spec.rb
563
+ - spec/crowbar/client/command/node/group_spec.rb
571
564
  - spec/crowbar/client/command/node/hardware_spec.rb
565
+ - spec/crowbar/client/command/node/identify_spec.rb
572
566
  - spec/crowbar/client/command/node/list_spec.rb
573
- - spec/crowbar/client/command/node/poweron_spec.rb
574
- - spec/crowbar/client/command/node/group_spec.rb
575
567
  - spec/crowbar/client/command/node/powercycle_spec.rb
568
+ - spec/crowbar/client/command/node/poweroff_spec.rb
569
+ - spec/crowbar/client/command/node/poweron_spec.rb
570
+ - spec/crowbar/client/command/node/reboot_spec.rb
576
571
  - spec/crowbar/client/command/node/reinstall_spec.rb
577
- - spec/crowbar/client/command/node/role_spec.rb
578
- - spec/crowbar/client/command/node/allocate_spec.rb
572
+ - spec/crowbar/client/command/node/rename_spec.rb
579
573
  - spec/crowbar/client/command/node/reset_spec.rb
580
- - spec/crowbar/client/command/node/delete_spec.rb
581
- - spec/crowbar/client/command/node/reboot_spec.rb
582
- - spec/crowbar/client/command/node/status_spec.rb
583
- - spec/crowbar/client/command/node/poweroff_spec.rb
574
+ - spec/crowbar/client/command/node/role_spec.rb
584
575
  - spec/crowbar/client/command/node/show_spec.rb
585
- - spec/crowbar/client/command/node/identify_spec.rb
576
+ - spec/crowbar/client/command/node/shutdown_spec.rb
577
+ - spec/crowbar/client/command/node/status_spec.rb
586
578
  - spec/crowbar/client/command/node/transition_spec.rb
587
- - spec/crowbar/client/command/role/list_spec.rb
588
- - spec/crowbar/client/command/role/show_spec.rb
589
- - spec/crowbar/client/command/proposal/dequeue_spec.rb
590
- - spec/crowbar/client/command/proposal/list_spec.rb
579
+ - spec/crowbar/client/command/proposal/commit_spec.rb
591
580
  - spec/crowbar/client/command/proposal/create_spec.rb
592
- - spec/crowbar/client/command/proposal/reset_spec.rb
593
581
  - spec/crowbar/client/command/proposal/delete_spec.rb
582
+ - spec/crowbar/client/command/proposal/dequeue_spec.rb
594
583
  - spec/crowbar/client/command/proposal/edit_spec.rb
584
+ - spec/crowbar/client/command/proposal/list_spec.rb
585
+ - spec/crowbar/client/command/proposal/reset_spec.rb
595
586
  - spec/crowbar/client/command/proposal/show_spec.rb
596
- - spec/crowbar/client/command/proposal/commit_spec.rb
597
- - spec/crowbar/client/command/backup/list_spec.rb
598
- - spec/crowbar/client/command/backup/create_spec.rb
599
- - spec/crowbar/client/command/backup/download_spec.rb
600
- - spec/crowbar/client/command/backup/delete_spec.rb
601
- - spec/crowbar/client/command/backup/restore_spec.rb
602
- - spec/crowbar/client/command/backup/upload_spec.rb
603
- - spec/crowbar/client/command/barclamp/list_spec.rb
604
- - spec/crowbar/client/formatter/hash_spec.rb
587
+ - spec/crowbar/client/command/repository/activate_all_spec.rb
588
+ - spec/crowbar/client/command/repository/activate_spec.rb
589
+ - spec/crowbar/client/command/repository/deactivate_all_spec.rb
590
+ - spec/crowbar/client/command/repository/deactivate_spec.rb
591
+ - spec/crowbar/client/command/repository/list_spec.rb
592
+ - spec/crowbar/client/command/role/list_spec.rb
593
+ - spec/crowbar/client/command/role/show_spec.rb
594
+ - spec/crowbar/client/command/server/api_spec.rb
595
+ - spec/crowbar/client/command/server/check_spec.rb
596
+ - spec/crowbar/client/command/virtual_ip/allocate_spec.rb
597
+ - spec/crowbar/client/command/virtual_ip/deallocate_spec.rb
598
+ - spec/crowbar/client/filter/array_spec.rb
599
+ - spec/crowbar/client/filter/hash_spec.rb
600
+ - spec/crowbar/client/filter/subset_spec.rb
605
601
  - spec/crowbar/client/formatter/array_spec.rb
602
+ - spec/crowbar/client/formatter/hash_spec.rb
606
603
  - spec/crowbar/client/formatter/nested_spec.rb
607
- - spec/crowbar/client/request/server/api_spec.rb
608
- - spec/crowbar/client/request/server/check_spec.rb
609
- - spec/crowbar/client/request/installer/start_spec.rb
610
- - spec/crowbar/client/request/installer/status_spec.rb
611
- - spec/crowbar/client/request/virtual_ip/deallocate_spec.rb
612
- - spec/crowbar/client/request/virtual_ip/allocate_spec.rb
604
+ - spec/crowbar/client/request/backup/create_spec.rb
605
+ - spec/crowbar/client/request/backup/delete_spec.rb
606
+ - spec/crowbar/client/request/backup/download_spec.rb
607
+ - spec/crowbar/client/request/backup/list_spec.rb
608
+ - spec/crowbar/client/request/backup/restore_spec.rb
609
+ - spec/crowbar/client/request/backup/upload_spec.rb
610
+ - spec/crowbar/client/request/barclamp/list_spec.rb
613
611
  - spec/crowbar/client/request/batch/build_spec.rb
614
612
  - spec/crowbar/client/request/batch/export_spec.rb
615
- - spec/crowbar/client/request/host_ip/deallocate_spec.rb
616
613
  - spec/crowbar/client/request/host_ip/allocate_spec.rb
617
- - spec/crowbar/client/request/repository/activate_all_spec.rb
618
- - spec/crowbar/client/request/repository/list_spec.rb
619
- - spec/crowbar/client/request/repository/deactivate_spec.rb
620
- - spec/crowbar/client/request/repository/deactivate_all_spec.rb
621
- - spec/crowbar/client/request/repository/activate_spec.rb
622
- - spec/crowbar/client/request/party_spec.rb
623
- - spec/crowbar/client/request/interface/enable_spec.rb
614
+ - spec/crowbar/client/request/host_ip/deallocate_spec.rb
615
+ - spec/crowbar/client/request/installer/start_spec.rb
616
+ - spec/crowbar/client/request/installer/status_spec.rb
624
617
  - spec/crowbar/client/request/interface/disable_spec.rb
618
+ - spec/crowbar/client/request/interface/enable_spec.rb
625
619
  - spec/crowbar/client/request/node/action_spec.rb
626
- - spec/crowbar/client/request/node/rename_spec.rb
627
- - spec/crowbar/client/request/node/list_spec.rb
620
+ - spec/crowbar/client/request/node/delete_spec.rb
628
621
  - spec/crowbar/client/request/node/group_spec.rb
622
+ - spec/crowbar/client/request/node/list_spec.rb
623
+ - spec/crowbar/client/request/node/rename_spec.rb
629
624
  - spec/crowbar/client/request/node/role_spec.rb
630
- - spec/crowbar/client/request/node/delete_spec.rb
631
- - spec/crowbar/client/request/node/status_spec.rb
632
625
  - spec/crowbar/client/request/node/show_spec.rb
626
+ - spec/crowbar/client/request/node/status_spec.rb
633
627
  - spec/crowbar/client/request/node/transition_spec.rb
634
- - spec/crowbar/client/request/role/list_spec.rb
635
- - spec/crowbar/client/request/role/show_spec.rb
636
- - spec/crowbar/client/request/proposal/dequeue_spec.rb
637
- - spec/crowbar/client/request/proposal/template_spec.rb
638
- - spec/crowbar/client/request/proposal/list_spec.rb
628
+ - spec/crowbar/client/request/party_spec.rb
629
+ - spec/crowbar/client/request/proposal/commit_spec.rb
639
630
  - spec/crowbar/client/request/proposal/create_spec.rb
640
- - spec/crowbar/client/request/proposal/reset_spec.rb
641
631
  - spec/crowbar/client/request/proposal/delete_spec.rb
632
+ - spec/crowbar/client/request/proposal/dequeue_spec.rb
642
633
  - spec/crowbar/client/request/proposal/edit_spec.rb
634
+ - spec/crowbar/client/request/proposal/list_spec.rb
635
+ - spec/crowbar/client/request/proposal/reset_spec.rb
643
636
  - spec/crowbar/client/request/proposal/show_spec.rb
644
- - spec/crowbar/client/request/proposal/commit_spec.rb
645
- - spec/crowbar/client/request/backup/list_spec.rb
646
- - spec/crowbar/client/request/backup/create_spec.rb
647
- - spec/crowbar/client/request/backup/download_spec.rb
648
- - spec/crowbar/client/request/backup/delete_spec.rb
649
- - spec/crowbar/client/request/backup/restore_spec.rb
650
- - spec/crowbar/client/request/backup/upload_spec.rb
651
- - spec/crowbar/client/request/barclamp/list_spec.rb
637
+ - spec/crowbar/client/request/proposal/template_spec.rb
638
+ - spec/crowbar/client/request/repository/activate_all_spec.rb
639
+ - spec/crowbar/client/request/repository/activate_spec.rb
640
+ - spec/crowbar/client/request/repository/deactivate_all_spec.rb
641
+ - spec/crowbar/client/request/repository/deactivate_spec.rb
642
+ - spec/crowbar/client/request/repository/list_spec.rb
643
+ - spec/crowbar/client/request/role/list_spec.rb
644
+ - spec/crowbar/client/request/role/show_spec.rb
645
+ - spec/crowbar/client/request/server/api_spec.rb
646
+ - spec/crowbar/client/request/server/check_spec.rb
647
+ - spec/crowbar/client/request/virtual_ip/allocate_spec.rb
648
+ - spec/crowbar/client/request/virtual_ip/deallocate_spec.rb
649
+ - spec/crowbar/client/util/editor_spec.rb
650
+ - spec/crowbar/client/util/runner_spec.rb
651
+ - spec/crowbar/client_spec.rb
652
+ - spec/fixtures/batch.yml
653
+ - spec/fixtures/upload.tgz
654
+ - spec/spec_helper.rb
655
+ - spec/support/command_context.rb
652
656
  - spec/support/command_examples.rb
653
657
  - spec/support/helper_methods.rb
654
658
  - spec/support/request_examples.rb
655
- - spec/support/command_context.rb
656
- - spec/fixtures/batch.yml
657
- - spec/fixtures/upload.tgz