dtk-shell 0.10.1 → 0.10.2

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: 537c107dced09106844ee7a8131de083e7b4f6cc
4
- data.tar.gz: 67663ed9b9a29b77ed24ade46e83efcede94239b
3
+ metadata.gz: d0863d20ef5ecc83594eaab4c3499c7065b85325
4
+ data.tar.gz: 81329ecc7ace1693680b31fa3fa3b6cfa8fcdb1f
5
5
  SHA512:
6
- metadata.gz: 25e1149310788d8f84de19608f29336fca836720e1e99c85473f3985cb58cc3c4461758d4a65f6751e8cf421e57e8ad0bbed6293d7061a5620e902fecb41d4b7
7
- data.tar.gz: 2014f667e983f239d4fb50eaf23175fec2069d21d21a0d047c33342910bb25c191b4d285af3962679382278dc208100793873fe85867623e5097e528c65aeacb
6
+ metadata.gz: 9a52360d69189b02ec7ada5058fd78824aa3a3d0a243662338ccc7d4107ced0917293aac6db347b7ce9e64582f95b6aa4c685ab5081acb332e304ff5d09d45fc
7
+ data.tar.gz: 32583cd978ef6b1f1634bed525d7eff61e3bc3630716279bd5603f6f03a12fd35790107691e362157d4f7e4867929f67a56d8f005f779435311013d3bd2825c2
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
- DTK Client
1
+ Dtk Client
2
2
  ==============================
3
3
 
4
4
 
5
5
  #### Description
6
6
 
7
7
 
8
- DTK Client is a Ruby based CLI interface for communication with the DTK Server.
8
+ Dtk Client is a Ruby bas ed CLI interface for communication with the Dtk Server.
9
9
  It's main purpose is to provide an easy to use interface for importing modules, browsing modules repository and deploying assemblies and topologies.
10
10
 
11
11
  ---
@@ -17,30 +17,30 @@ It's main purpose is to provide an easy to use interface for importing modules,
17
17
  ---
18
18
  #### Installation
19
19
 
20
- For DTK Client to work, following steps have to be done:
20
+ For Dtk Client to work, following steps have to be done:
21
21
 
22
22
  - Git User set up
23
23
  - RSA Keys Generated
24
24
 
25
- To install DTK Client gem, execute:
25
+ To install Dtk Client gem, execute:
26
26
 
27
27
  `gem install dtk-client`
28
28
 
29
29
  ---
30
30
  #### Initial setup
31
31
 
32
- There are two ways for DTK Client to run
32
+ There are two ways for Dtk Client to run
33
33
 
34
34
  - via an interactive shell (<tt>dtk-shell</tt>)
35
- - by executing DTK Client commands (ie. <tt>dtk service list</tt>)
35
+ - by executing Dtk Client commands (ie. <tt>dtk service list</tt>)
36
36
 
37
- If it is the first time that the DTK Client is being used (by either of the ways), following prompts will appear:
37
+ If it is the first time that the Dtk Client is being used (by either of the ways), following prompts will appear:
38
38
 
39
39
  ```
40
- Please enter the DTK server address (example: instance.dtk.io)
40
+ Please enter the Dtk server address (example: instance.dtk.io)
41
41
  Server address:
42
42
 
43
- Please enter your DTK login details
43
+ Please enter your Dtk login details
44
44
  Username:
45
45
  Password:
46
46
 
@@ -49,14 +49,14 @@ After entering the correct data, following message will appear:
49
49
 
50
50
  `SSH key 'dtk-client' added successfully!`
51
51
 
52
- This means that the DTK Server has successfully registered DTK Client and the client is ready for use.
52
+ This means that the Dtk Server has successfully registered Dtk Client and the client is ready for use.
53
53
 
54
54
  ---
55
- #### DTK Client configuration
55
+ #### Dtk Client configuration
56
56
 
57
- All of the DTK Configuration, installed component and service modules as well as client logs are located in `~/dtk`.
57
+ All of the Dtk Configuration, installed component and service modules as well as client logs are located in `~/dtk`.
58
58
 
59
- DTK Client configuration options, such as development option, verbose calls to DTK Server, log options and Client user credentials, can be configured in `~/dtk/client.conf`:
59
+ Dtk Client configuration options, such as development option, verbose calls to Dtk Server, log options and Client user credentials, can be configured in `~/dtk/client.conf`:
60
60
 
61
61
  ```
62
62
  debug_task_frequency=5 # assembly - frequency between requests (seconds)
@@ -85,18 +85,18 @@ Component and Service modules that are installed, or modules that are imported a
85
85
  ## Advanced features
86
86
  #### Development mode
87
87
 
88
- When using DTK Client in Development mode, gems from `Gemfile_dev` must be installed and used when running DTK Client or DTK Client Shell:
88
+ When using Dtk Client in Development mode, gems from `Gemfile_dev` must be installed and used when running Dtk Client or Dtk Client Shell:
89
89
 
90
90
  ```
91
91
  bundle install --gemfile Gemfile_dev
92
92
  BUNDLE_GEMFILE=Gemfile_dev bundle exec ruby ./bin/dtk-shell
93
93
  ```
94
94
 
95
- #### DTK Repoman
95
+ #### Dtk Repoman
96
96
 
97
- DTK Repoman is a Git based repository for publishing and installing component modules and service modules. DTK Repoman has it's own users, known as catalog users. The inital setup should register the DTK Client to the Public Catalog users.
97
+ Dtk Repoman is a Git based repository for publishing and installing component modules and service modules. Dtk Repoman has it's own users, known as catalog users. The inital setup should register the Dtk Client to the Public Catalog users.
98
98
 
99
- Successfully registered DTK Client on DTK Repoman enables execution of commands such as:
99
+ Successfully registered Dtk Client on Dtk Repoman enables execution of commands such as:
100
100
 
101
101
  `dtk service-module list --remote` - lists service moduels on remote visible to the catalog user
102
102
 
@@ -29,7 +29,7 @@ Gem::Specification.new do |gem|
29
29
  gem.add_dependency 'hirb','~> 0.7.0'
30
30
  gem.add_dependency 'thor','~> 0.15.4'
31
31
  gem.add_dependency 'erubis','~> 2.7.0'
32
- gem.add_dependency 'dtk-common-core','0.10.0'
32
+ gem.add_dependency 'dtk-common-core','0.10.1'
33
33
  gem.add_dependency 'git','1.2.9'
34
34
  # gem.add_dependency 'colorize','~> 0.5.8'
35
35
  gem.add_dependency 'colorize', '0.7.7'
@@ -16,5 +16,5 @@
16
16
  # limitations under the License.
17
17
  #
18
18
  module DtkShell
19
- VERSION="0.10.1"
19
+ VERSION="0.10.2"
20
20
  end
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dtk-shell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rich PELAVIN
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-18 00:00:00.000000000 Z
11
+ date: 2016-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mime-types
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.99.3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.99.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: 1.2.4
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: 1.2.4
41
41
  - !ruby/object:Gem::Dependency
@@ -70,42 +70,42 @@ dependencies:
70
70
  name: hirb
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: 0.7.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: 0.7.0
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: thor
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - "~>"
87
+ - - ~>
88
88
  - !ruby/object:Gem::Version
89
89
  version: 0.15.4
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: 0.15.4
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: erubis
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - "~>"
101
+ - - ~>
102
102
  - !ruby/object:Gem::Version
103
103
  version: 2.7.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - "~>"
108
+ - - ~>
109
109
  - !ruby/object:Gem::Version
110
110
  version: 2.7.0
111
111
  - !ruby/object:Gem::Dependency
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 0.10.0
117
+ version: 0.10.1
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
- version: 0.10.0
124
+ version: 0.10.1
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: git
127
127
  requirement: !ruby/object:Gem::Requirement
@@ -189,28 +189,27 @@ executables:
189
189
  extensions: []
190
190
  extra_rdoc_files: []
191
191
  files:
192
+ - README.md
192
193
  - Gemfile
193
194
  - Gemfile_dev
194
- - README.md
195
+ - dtk-shell.gemspec
195
196
  - bin/dtk-execute
196
197
  - bin/dtk-run
197
198
  - bin/dtk-shell
198
- - dtk-shell.gemspec
199
199
  - lib/auxiliary.rb
200
200
  - lib/bundler_monkey_patch.rb
201
201
  - lib/client.rb
202
202
  - lib/command_helper.rb
203
- - lib/command_helpers/git_repo.rb
204
203
  - lib/command_helpers/git_repo/merge.rb
205
- - lib/command_helpers/jenkins_client.rb
204
+ - lib/command_helpers/git_repo.rb
206
205
  - lib/command_helpers/jenkins_client/config_xml.rb
206
+ - lib/command_helpers/jenkins_client.rb
207
207
  - lib/command_helpers/service_importer.rb
208
208
  - lib/command_helpers/service_link.rb
209
209
  - lib/command_helpers/test_module_creator.rb
210
210
  - lib/command_helpers/test_module_templates/dtk.model.yaml.eruby
211
211
  - lib/command_helpers/test_module_templates/spec_helper.rb.eruby
212
212
  - lib/command_helpers/test_module_templates/temp_component_spec.rb.eruby
213
- - lib/commands.rb
214
213
  - lib/commands/common/thor/access_control.rb
215
214
  - lib/commands/common/thor/action_result_handler.rb
216
215
  - lib/commands/common/thor/assembly_template.rb
@@ -223,8 +222,8 @@ files:
223
222
  - lib/commands/common/thor/edit.rb
224
223
  - lib/commands/common/thor/inventory_parser.rb
225
224
  - lib/commands/common/thor/list_diffs.rb
226
- - lib/commands/common/thor/module.rb
227
225
  - lib/commands/common/thor/module/import.rb
226
+ - lib/commands/common/thor/module.rb
228
227
  - lib/commands/common/thor/node.rb
229
228
  - lib/commands/common/thor/poller.rb
230
229
  - lib/commands/common/thor/pull_clone_changes.rb
@@ -259,6 +258,7 @@ files:
259
258
  - lib/commands/thor/test_module.rb
260
259
  - lib/commands/thor/utils.rb
261
260
  - lib/commands/thor/workspace.rb
261
+ - lib/commands.rb
262
262
  - lib/config/cacert.pem
263
263
  - lib/config/client.conf.header
264
264
  - lib/config/configuration.rb
@@ -269,36 +269,35 @@ files:
269
269
  - lib/core.rb
270
270
  - lib/domain/git_adapter.rb
271
271
  - lib/domain/git_error_handler.rb
272
- - lib/domain/response.rb
273
272
  - lib/domain/response/error_handler.rb
273
+ - lib/domain/response.rb
274
274
  - lib/dtk-shell/version.rb
275
275
  - lib/dtk_constants.rb
276
276
  - lib/dtk_error.rb
277
277
  - lib/dtk_logger.rb
278
278
  - lib/dtk_shell.rb
279
279
  - lib/error.rb
280
- - lib/execute.rb
281
280
  - lib/execute/cli_pure/cli_rerouter.rb
282
- - lib/execute/command.rb
283
- - lib/execute/command/api_call.rb
284
281
  - lib/execute/command/api_call/map.rb
285
282
  - lib/execute/command/api_call/service.rb
286
283
  - lib/execute/command/api_call/translation_term.rb
284
+ - lib/execute/command/api_call.rb
287
285
  - lib/execute/command/rest_call.rb
288
- - lib/execute/command_processor.rb
286
+ - lib/execute/command.rb
289
287
  - lib/execute/command_processor/rest_call.rb
288
+ - lib/execute/command_processor.rb
290
289
  - lib/execute/error_usage.rb
291
- - lib/execute/execute_context.rb
292
290
  - lib/execute/execute_context/result_store.rb
293
- - lib/execute/script.rb
291
+ - lib/execute/execute_context.rb
294
292
  - lib/execute/script/add_tenant.rb
293
+ - lib/execute/script.rb
294
+ - lib/execute.rb
295
295
  - lib/git-logs/git.log
296
296
  - lib/parser/adapters/option_parser.rb
297
- - lib/parser/adapters/thor.rb
298
297
  - lib/parser/adapters/thor/common_option_defs.rb
298
+ - lib/parser/adapters/thor.rb
299
299
  - lib/require_first.rb
300
300
  - lib/search_hash.rb
301
- - lib/shell.rb
302
301
  - lib/shell/context.rb
303
302
  - lib/shell/context_aux.rb
304
303
  - lib/shell/domain/active_context.rb
@@ -312,27 +311,28 @@ files:
312
311
  - lib/shell/message_queue.rb
313
312
  - lib/shell/parse_monkey_patch.rb
314
313
  - lib/shell/status_monitor.rb
315
- - lib/task_status.rb
314
+ - lib/shell.rb
316
315
  - lib/task_status/refresh_mode.rb
317
316
  - lib/task_status/snapshot_mode.rb
318
- - lib/task_status/stream_mode.rb
319
- - lib/task_status/stream_mode/element.rb
320
317
  - lib/task_status/stream_mode/element/format.rb
321
- - lib/task_status/stream_mode/element/hierarchical_task.rb
322
- - lib/task_status/stream_mode/element/hierarchical_task/result.rb
323
318
  - lib/task_status/stream_mode/element/hierarchical_task/result/action.rb
324
319
  - lib/task_status/stream_mode/element/hierarchical_task/result/components.rb
325
320
  - lib/task_status/stream_mode/element/hierarchical_task/result/node_level.rb
326
- - lib/task_status/stream_mode/element/hierarchical_task/steps.rb
321
+ - lib/task_status/stream_mode/element/hierarchical_task/result.rb
327
322
  - lib/task_status/stream_mode/element/hierarchical_task/steps/action.rb
328
323
  - lib/task_status/stream_mode/element/hierarchical_task/steps/components.rb
329
324
  - lib/task_status/stream_mode/element/hierarchical_task/steps/node_level.rb
325
+ - lib/task_status/stream_mode/element/hierarchical_task/steps.rb
326
+ - lib/task_status/stream_mode/element/hierarchical_task.rb
330
327
  - lib/task_status/stream_mode/element/no_results.rb
331
328
  - lib/task_status/stream_mode/element/render.rb
332
- - lib/task_status/stream_mode/element/stage.rb
333
329
  - lib/task_status/stream_mode/element/stage/render.rb
330
+ - lib/task_status/stream_mode/element/stage.rb
334
331
  - lib/task_status/stream_mode/element/task_end.rb
335
332
  - lib/task_status/stream_mode/element/task_start.rb
333
+ - lib/task_status/stream_mode/element.rb
334
+ - lib/task_status/stream_mode.rb
335
+ - lib/task_status.rb
336
336
  - lib/util/common_util.rb
337
337
  - lib/util/console.rb
338
338
  - lib/util/dtk_puppet.rb
@@ -341,18 +341,18 @@ files:
341
341
  - lib/util/permission_util.rb
342
342
  - lib/util/remote_dependency_util.rb
343
343
  - lib/util/ssh_util.rb
344
- - lib/view_processor.rb
345
344
  - lib/view_processor/augmented_simple_list.rb
346
345
  - lib/view_processor/hash_pretty_print.rb
347
346
  - lib/view_processor/simple_list.rb
348
347
  - lib/view_processor/table_print.rb
349
- - lib/violation.rb
348
+ - lib/view_processor.rb
350
349
  - lib/violation/attribute.rb
351
- - lib/violation/fix.rb
352
- - lib/violation/fix/result.rb
353
350
  - lib/violation/fix/result/error.rb
351
+ - lib/violation/fix/result.rb
354
352
  - lib/violation/fix/set_attribute.rb
353
+ - lib/violation/fix.rb
355
354
  - lib/violation/sub_classes.rb
355
+ - lib/violation.rb
356
356
  - puppet/manifests/init.pp
357
357
  - puppet/manifests/params.pp
358
358
  - puppet/r8meta.puppet.yml
@@ -388,17 +388,17 @@ require_paths:
388
388
  - lib
389
389
  required_ruby_version: !ruby/object:Gem::Requirement
390
390
  requirements:
391
- - - ">="
391
+ - - '>='
392
392
  - !ruby/object:Gem::Version
393
393
  version: '0'
394
394
  required_rubygems_version: !ruby/object:Gem::Requirement
395
395
  requirements:
396
- - - ">="
396
+ - - '>='
397
397
  - !ruby/object:Gem::Version
398
398
  version: '0'
399
399
  requirements: []
400
400
  rubyforge_project:
401
- rubygems_version: 2.4.1
401
+ rubygems_version: 2.0.14.1
402
402
  signing_key:
403
403
  specification_version: 4
404
404
  summary: DTK CLI client for DTK server interaction.