dtk-client 0.10.0.2 → 0.10.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.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/dtk-client.gemspec +1 -1
  4. data/lib/cli/command/module/install.rb +8 -4
  5. data/lib/cli/command/module/list_remotes.rb +39 -0
  6. data/lib/cli/command/module.rb +1 -1
  7. data/lib/cli/command/service/clone.rb +43 -0
  8. data/lib/cli/command/service/delete.rb +48 -0
  9. data/lib/cli/command/service/exec.rb +10 -1
  10. data/lib/cli/command/service/exec_sync.rb +8 -2
  11. data/lib/cli/command/service/set_attribute.rb +46 -0
  12. data/lib/cli/command/service/ssh.rb +1 -1
  13. data/lib/cli/command/service/uninstall.rb +53 -0
  14. data/lib/cli/command/service.rb +4 -1
  15. data/lib/cli/command/token.rb +7 -1
  16. data/lib/cli/context/type.rb +3 -2
  17. data/lib/cli/context.rb +4 -7
  18. data/lib/cli/directory_parser/file_system.rb +16 -12
  19. data/lib/cli/version.rb +1 -1
  20. data/lib/client/content_generator.rb +62 -3
  21. data/lib/client/operation/client_module_dir/git_repo.rb +2 -2
  22. data/lib/client/operation/client_module_dir.rb +4 -2
  23. data/lib/client/operation/module/clone_module.rb +0 -1
  24. data/lib/client/operation/module/install/external_module.rb +89 -15
  25. data/lib/client/operation/module/install.rb +6 -6
  26. data/lib/client/operation/module/install_from_catalog.rb +1 -1
  27. data/lib/client/operation/module/list_assemblies.rb +1 -1
  28. data/lib/client/operation/module/list_remotes.rb +37 -0
  29. data/lib/client/operation/module.rb +1 -1
  30. data/lib/client/operation/service/clone_service.rb +50 -0
  31. data/lib/client/operation/service/delete.rb +44 -0
  32. data/lib/client/operation/service/exec.rb +5 -0
  33. data/lib/client/operation/service/set_attribute.rb +47 -0
  34. data/lib/client/operation/service/set_required_attributes.rb +11 -1
  35. data/lib/client/operation/service/stage.rb +9 -2
  36. data/lib/client/operation/service/task_status/refresh_mode.rb +1 -0
  37. data/lib/client/operation/service/task_status/snapshot_mode.rb +1 -0
  38. data/lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/result.rb +4 -0
  39. data/lib/client/operation/service/task_status.rb +3 -1
  40. data/lib/client/operation/service/uninstall.rb +46 -0
  41. data/lib/client/operation/service.rb +10 -1
  42. data/lib/client/render/view/table/processor.rb +2 -2
  43. data/lib/client/response/render_helper.rb +4 -0
  44. data/lib/client/util/console.rb +23 -0
  45. metadata +15 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtk-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0.2
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reactor8
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-26 00:00:00.000000000 Z
11
+ date: 2016-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dtk-common-core
@@ -112,14 +112,14 @@ dependencies:
112
112
  name: dtk-dsl
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '='
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
117
  version: 1.0.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '='
122
+ - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: 1.0.0
125
125
  description: Command line tool to interact with a DTK Server and DTK Service Catalog.
@@ -151,13 +151,16 @@ files:
151
151
  - lib/cli/command/module/install.rb
152
152
  - lib/cli/command/module/list.rb
153
153
  - lib/cli/command/module/list_assemblies.rb
154
+ - lib/cli/command/module/list_remotes.rb
154
155
  - lib/cli/command/module/push.rb
155
156
  - lib/cli/command/module/uninstall.rb
156
157
  - lib/cli/command/options.rb
157
158
  - lib/cli/command/service.rb
158
159
  - lib/cli/command/service/cancel_task.rb
160
+ - lib/cli/command/service/clone.rb
159
161
  - lib/cli/command/service/converge.rb
160
162
  - lib/cli/command/service/create_workspace.rb
163
+ - lib/cli/command/service/delete.rb
161
164
  - lib/cli/command/service/destroy.rb
162
165
  - lib/cli/command/service/edit.rb
163
166
  - lib/cli/command/service/exec.rb
@@ -172,6 +175,7 @@ files:
172
175
  - lib/cli/command/service/list_violations.rb
173
176
  - lib/cli/command/service/pull.rb
174
177
  - lib/cli/command/service/push.rb
178
+ - lib/cli/command/service/set_attribute.rb
175
179
  - lib/cli/command/service/set_default_target.rb
176
180
  - lib/cli/command/service/set_required_attributes.rb
177
181
  - lib/cli/command/service/ssh.rb
@@ -179,6 +183,7 @@ files:
179
183
  - lib/cli/command/service/start.rb
180
184
  - lib/cli/command/service/stop.rb
181
185
  - lib/cli/command/service/task_status.rb
186
+ - lib/cli/command/service/uninstall.rb
182
187
  - lib/cli/command/subcommand.rb
183
188
  - lib/cli/command/token.rb
184
189
  - lib/cli/command/token/arg.rb
@@ -224,14 +229,17 @@ files:
224
229
  - lib/client/operation/module/install_from_catalog.rb
225
230
  - lib/client/operation/module/list.rb
226
231
  - lib/client/operation/module/list_assemblies.rb
232
+ - lib/client/operation/module/list_remotes.rb
227
233
  - lib/client/operation/module/push.rb
228
234
  - lib/client/operation/module/uninstall.rb
229
235
  - lib/client/operation/module_service_common.rb
230
236
  - lib/client/operation/service.rb
231
237
  - lib/client/operation/service/cancel_task.rb
238
+ - lib/client/operation/service/clone_service.rb
232
239
  - lib/client/operation/service/commit_and_push.rb
233
240
  - lib/client/operation/service/converge.rb
234
241
  - lib/client/operation/service/create_workspace.rb
242
+ - lib/client/operation/service/delete.rb
235
243
  - lib/client/operation/service/destroy.rb
236
244
  - lib/client/operation/service/edit.rb
237
245
  - lib/client/operation/service/exec.rb
@@ -244,6 +252,7 @@ files:
244
252
  - lib/client/operation/service/list_nodes.rb
245
253
  - lib/client/operation/service/list_violations.rb
246
254
  - lib/client/operation/service/pull.rb
255
+ - lib/client/operation/service/set_attribute.rb
247
256
  - lib/client/operation/service/set_default_target.rb
248
257
  - lib/client/operation/service/set_required_attributes.rb
249
258
  - lib/client/operation/service/ssh.rb
@@ -271,6 +280,7 @@ files:
271
280
  - lib/client/operation/service/task_status/stream_mode/element/stage/render.rb
272
281
  - lib/client/operation/service/task_status/stream_mode/element/task_end.rb
273
282
  - lib/client/operation/service/task_status/stream_mode/element/task_start.rb
283
+ - lib/client/operation/service/uninstall.rb
274
284
  - lib/client/operation_args.rb
275
285
  - lib/client/render.rb
276
286
  - lib/client/render/view/simple.rb
@@ -320,7 +330,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
330
  version: '0'
321
331
  requirements: []
322
332
  rubyforge_project:
323
- rubygems_version: 2.4.6
333
+ rubygems_version: 2.4.1
324
334
  signing_key:
325
335
  specification_version: 4
326
336
  summary: DTK CLI client for DTK server interaction.