dtk-client 0.9.1 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/Gemfile +1 -3
- data/README.md +2 -121
- data/Rakefile +44 -0
- data/bin/dtk +10 -88
- data/dtk-client.gemspec +21 -44
- data/examples/simple/dtk.module.yaml +32 -0
- data/{lib/git-logs/git.log → examples/simple/test/README.md} +0 -0
- data/examples/spark/dtk.module.yaml +120 -0
- data/examples/with_repo_content/deploy/puppet/manifests/hostname.pp +54 -0
- data/examples/with_repo_content/dtk.module.yaml +49 -0
- data/examples/with_repo_content/test/README.txt +0 -0
- data/features/dtk.feature +8 -0
- data/features/step_definitions/dtk_steps.rb +6 -0
- data/features/support/env.rb +15 -0
- data/lib/cli/command/mixin.rb +101 -0
- data/lib/cli/command/module/clone.rb +42 -0
- data/lib/cli/command/module/install.rb +52 -0
- data/lib/cli/command/module/list.rb +31 -0
- data/lib/cli/command/module/list_assemblies.rb +39 -0
- data/lib/cli/command/module/push.rb +34 -0
- data/lib/cli/command/module/uninstall.rb +46 -0
- data/lib/cli/command/module.rb +33 -0
- data/lib/cli/command/options.rb +33 -0
- data/lib/cli/command/service/cancel_task.rb +33 -0
- data/lib/cli/command/service/converge.rb +37 -0
- data/lib/{parser/adapters/thor/common_option_defs.rb → cli/command/service/create_workspace.rb} +13 -17
- data/lib/cli/command/service/destroy.rb +47 -0
- data/lib/cli/command/service/edit.rb +47 -0
- data/lib/cli/command/service/exec.rb +42 -0
- data/lib/cli/command/service/exec_sync.rb +53 -0
- data/lib/cli/command/service/list.rb +30 -0
- data/lib/cli/command/service/list_actions.rb +39 -0
- data/lib/cli/command/service/list_attributes.rb +44 -0
- data/lib/cli/command/service/list_component_links.rb +33 -0
- data/lib/cli/command/service/list_components.rb +39 -0
- data/lib/cli/command/service/list_dependent_modules.rb +33 -0
- data/lib/cli/command/service/list_nodes.rb +33 -0
- data/lib/cli/command/service/list_violations.rb +33 -0
- data/lib/cli/command/service/pull.rb +32 -0
- data/lib/cli/command/service/push.rb +37 -0
- data/lib/{shell/parse_monkey_patch.rb → cli/command/service/set_default_target.rb} +9 -17
- data/lib/cli/command/service/set_required_attributes.rb +32 -0
- data/lib/cli/command/service/ssh.rb +42 -0
- data/lib/cli/command/service/stage.rb +55 -0
- data/lib/cli/command/service/start.rb +33 -0
- data/lib/{shell/context_aux.rb → cli/command/service/stop.rb} +10 -23
- data/lib/cli/command/service/task_status.rb +39 -0
- data/lib/cli/command/service.rb +55 -0
- data/lib/{commands.rb → cli/command/subcommand.rb} +22 -25
- data/lib/{bundler_monkey_patch.rb → cli/command/token/arg.rb} +6 -6
- data/lib/cli/command/token/class_mixin.rb +96 -0
- data/lib/cli/command/token/flag.rb +42 -0
- data/lib/{execute/command/rest_call.rb → cli/command/token/mixin.rb} +23 -14
- data/lib/cli/command/token/switch.rb +35 -0
- data/lib/cli/command/token.rb +76 -0
- data/lib/cli/command.rb +46 -0
- data/lib/cli/context/attributes.rb +50 -0
- data/lib/cli/context/type/module.rb +34 -0
- data/lib/{commands/thor/state_change.rb → cli/context/type/service.rb} +11 -5
- data/lib/cli/context/type/top.rb +32 -0
- data/lib/cli/context/type.rb +42 -0
- data/lib/cli/context.rb +174 -0
- data/lib/cli/directory_parser/file_system.rb +105 -0
- data/lib/{execute/command.rb → cli/directory_parser.rb} +14 -17
- data/lib/{execute.rb → cli/file_obj.rb} +13 -9
- data/lib/cli/processor/plugin/gli.rb +70 -0
- data/lib/cli/processor.rb +60 -0
- data/lib/cli/runner/dtkn_access.rb +75 -0
- data/lib/cli/runner.rb +58 -0
- data/lib/cli/version.rb +8 -0
- data/lib/{config → client/config}/cacert.pem +0 -0
- data/lib/client/config/default.conf +20 -0
- data/lib/client/config.rb +106 -0
- data/lib/client/configurator.rb +182 -0
- data/lib/client/conn.rb +197 -0
- data/lib/client/content_generator.rb +127 -0
- data/lib/client/error/subclasses.rb +105 -0
- data/lib/client/error.rb +98 -0
- data/lib/client/git_repo/adapter/git_gem/error_handler.rb +70 -0
- data/lib/client/git_repo/adapter/git_gem.rb +179 -0
- data/lib/client/git_repo.rb +122 -0
- data/lib/client/logger.rb +136 -0
- data/lib/client/operation/account.rb +66 -0
- data/lib/client/operation/client_module_dir/git_repo.rb +286 -0
- data/lib/client/operation/client_module_dir.rb +138 -0
- data/lib/client/operation/module/clone_module.rb +52 -0
- data/lib/client/operation/module/install/common_module.rb +58 -0
- data/lib/client/operation/module/install/external_module.rb +122 -0
- data/lib/client/operation/module/install.rb +91 -0
- data/lib/client/operation/module/install_from_catalog.rb +76 -0
- data/lib/client/operation/module/list.rb +34 -0
- data/lib/client/operation/module/list_assemblies.rb +35 -0
- data/lib/client/operation/module/push.rb +62 -0
- data/lib/client/operation/module/uninstall.rb +44 -0
- data/lib/client/operation/module.rb +58 -0
- data/lib/{commands/common/thor/reparse.rb → client/operation/module_service_common.rb} +27 -16
- data/lib/client/operation/service/cancel_task.rb +29 -0
- data/lib/client/operation/service/commit_and_push.rb +128 -0
- data/lib/client/operation/service/converge.rb +50 -0
- data/lib/{util/common_util.rb → client/operation/service/create_workspace.rb} +13 -13
- data/lib/client/operation/service/destroy.rb +42 -0
- data/lib/client/operation/service/edit.rb +54 -0
- data/lib/client/operation/service/exec.rb +73 -0
- data/lib/client/operation/service/list.rb +32 -0
- data/lib/client/operation/service/list_actions.rb +34 -0
- data/lib/{commands/thor/dependency.rb → client/operation/service/list_attributes.rb} +16 -12
- data/lib/client/operation/service/list_component_links.rb +29 -0
- data/lib/{commands/common/thor/pull_clone_changes.rb → client/operation/service/list_components.rb} +13 -7
- data/lib/client/operation/service/list_dependent_modules.rb +29 -0
- data/lib/client/operation/service/list_nodes.rb +29 -0
- data/lib/{commands/thor/project.rb → client/operation/service/list_violations.rb} +8 -13
- data/lib/client/operation/service/pull.rb +37 -0
- data/lib/client/operation/service/set_default_target.rb +31 -0
- data/lib/client/operation/service/set_required_attributes.rb +41 -0
- data/lib/client/operation/service/ssh.rb +118 -0
- data/lib/client/operation/service/stage.rb +54 -0
- data/lib/client/operation/service/start.rb +29 -0
- data/lib/client/operation/service/stop.rb +30 -0
- data/lib/{task_status → client/operation/service/task_status}/refresh_mode.rb +15 -25
- data/lib/{task_status → client/operation/service/task_status}/snapshot_mode.rb +4 -5
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/format.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task/result/action.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task/result/components.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task/result/node_level.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task/result.rb +4 -4
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task/steps/action.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task/steps/components.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task/steps/node_level.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task/steps.rb +4 -4
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/hierarchical_task.rb +3 -3
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/no_results.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/render.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/stage/render.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/stage.rb +3 -3
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/task_end.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element/task_start.rb +1 -1
- data/lib/{task_status → client/operation/service/task_status}/stream_mode/element.rb +13 -13
- data/lib/{task_status → client/operation/service/task_status}/stream_mode.rb +5 -9
- data/lib/client/operation/service/task_status.rb +77 -0
- data/lib/client/operation/service.rb +54 -0
- data/lib/client/operation.rb +67 -0
- data/lib/client/operation_args.rb +40 -0
- data/lib/{execute/execute_context/result_store.rb → client/render/view/simple.rb} +15 -14
- data/lib/client/render/view/table/processor.rb +248 -0
- data/lib/client/render/view/table.rb +75 -0
- data/lib/client/render.rb +113 -0
- data/lib/client/response/error_handler.rb +97 -0
- data/lib/client/response/render_helper.rb +78 -0
- data/lib/client/response/subclasses.rb +62 -0
- data/lib/client/response.rb +83 -0
- data/lib/client/session.rb +62 -0
- data/lib/client/util/auxiliary.rb +34 -0
- data/lib/client/util/console.rb +81 -0
- data/lib/client/util/disk_cacher.rb +66 -0
- data/lib/client/util/dtk_path.rb +28 -0
- data/lib/{search_hash.rb → client/util/hash_with_optional_keys.rb} +29 -21
- data/lib/client/util/interactive_wizard.rb +84 -0
- data/lib/client/util/module_ref.rb +92 -0
- data/lib/client/util/os_util/print.rb +121 -0
- data/lib/client/util/os_util.rb +122 -0
- data/lib/{commands/thor/utils.rb → client/util/post_body.rb} +1 -1
- data/lib/{execute/error_usage.rb → client/util/query_string_hash.rb} +2 -2
- data/lib/client/util/remote_dependency.rb +67 -0
- data/lib/client/util/ssh_util.rb +89 -0
- data/lib/client/util/validation.rb +28 -0
- data/lib/client/util.rb +18 -0
- data/lib/{util/permission_util.rb → dtk_cli.rb} +10 -9
- data/lib/dtk_client.rb +18 -14
- data/test/default_test.rb +14 -0
- data/test/test_helper.rb +9 -0
- metadata +196 -307
- data/Gemfile_dev +0 -13
- data/bin/dtk-execute +0 -32
- data/bin/dtk-shell +0 -31
- data/lib/auxiliary.rb +0 -61
- data/lib/client.rb +0 -58
- data/lib/command_helper.rb +0 -33
- data/lib/command_helpers/git_repo/merge.rb +0 -153
- data/lib/command_helpers/git_repo.rb +0 -589
- data/lib/command_helpers/jenkins_client/config_xml.rb +0 -288
- data/lib/command_helpers/jenkins_client.rb +0 -106
- data/lib/command_helpers/service_importer.rb +0 -251
- data/lib/command_helpers/service_link.rb +0 -33
- data/lib/command_helpers/test_module_creator.rb +0 -69
- data/lib/command_helpers/test_module_templates/dtk.model.yaml.eruby +0 -10
- data/lib/command_helpers/test_module_templates/spec_helper.rb.eruby +0 -10
- data/lib/command_helpers/test_module_templates/temp_component_spec.rb.eruby +0 -5
- data/lib/commands/common/thor/access_control.rb +0 -133
- data/lib/commands/common/thor/action_result_handler.rb +0 -74
- data/lib/commands/common/thor/assembly_template.rb +0 -92
- data/lib/commands/common/thor/assembly_workspace.rb +0 -1638
- data/lib/commands/common/thor/base_command_helper.rb +0 -59
- data/lib/commands/common/thor/clone.rb +0 -82
- data/lib/commands/common/thor/common.rb +0 -88
- data/lib/commands/common/thor/common_base.rb +0 -49
- data/lib/commands/common/thor/create_target.rb +0 -70
- data/lib/commands/common/thor/edit.rb +0 -255
- data/lib/commands/common/thor/inventory_parser.rb +0 -98
- data/lib/commands/common/thor/list_diffs.rb +0 -128
- data/lib/commands/common/thor/module/import.rb +0 -215
- data/lib/commands/common/thor/module.rb +0 -1011
- data/lib/commands/common/thor/node.rb +0 -53
- data/lib/commands/common/thor/poller.rb +0 -65
- data/lib/commands/common/thor/pull_from_remote.rb +0 -152
- data/lib/commands/common/thor/puppet_forge.rb +0 -72
- data/lib/commands/common/thor/purge_clone.rb +0 -101
- data/lib/commands/common/thor/push_clone_changes.rb +0 -162
- data/lib/commands/common/thor/push_to_remote.rb +0 -94
- data/lib/commands/common/thor/remotes.rb +0 -71
- data/lib/commands/common/thor/set_required_attributes.rb +0 -46
- data/lib/commands/thor/account.rb +0 -239
- data/lib/commands/thor/assembly.rb +0 -361
- data/lib/commands/thor/attribute.rb +0 -79
- data/lib/commands/thor/component.rb +0 -70
- data/lib/commands/thor/component_module.rb +0 -501
- data/lib/commands/thor/component_template.rb +0 -174
- data/lib/commands/thor/developer.rb +0 -144
- data/lib/commands/thor/dtk.rb +0 -152
- data/lib/commands/thor/library.rb +0 -125
- data/lib/commands/thor/node.rb +0 -504
- data/lib/commands/thor/node_group.rb +0 -203
- data/lib/commands/thor/node_template.rb +0 -94
- data/lib/commands/thor/provider.rb +0 -233
- data/lib/commands/thor/remotes.rb +0 -49
- data/lib/commands/thor/service.rb +0 -932
- data/lib/commands/thor/service_module.rb +0 -900
- data/lib/commands/thor/target.rb +0 -250
- data/lib/commands/thor/task.rb +0 -116
- data/lib/commands/thor/test_module.rb +0 -310
- data/lib/commands/thor/workspace.rb +0 -698
- data/lib/config/client.conf.header +0 -20
- data/lib/config/configuration.rb +0 -99
- data/lib/config/default.conf +0 -16
- data/lib/config/disk_cacher.rb +0 -80
- data/lib/configurator.rb +0 -176
- data/lib/context_router.rb +0 -44
- data/lib/core.rb +0 -489
- data/lib/domain/git_adapter.rb +0 -412
- data/lib/domain/git_error_handler.rb +0 -64
- data/lib/domain/response/error_handler.rb +0 -86
- data/lib/domain/response.rb +0 -285
- data/lib/dtk-client/version.rb +0 -20
- data/lib/dtk_constants.rb +0 -40
- data/lib/dtk_error.rb +0 -114
- data/lib/dtk_logger.rb +0 -113
- data/lib/error.rb +0 -85
- data/lib/execute/cli_pure/cli_rerouter.rb +0 -102
- data/lib/execute/command/api_call/map.rb +0 -60
- data/lib/execute/command/api_call/service.rb +0 -91
- data/lib/execute/command/api_call/translation_term.rb +0 -119
- data/lib/execute/command/api_call.rb +0 -60
- data/lib/execute/command_processor/rest_call.rb +0 -59
- data/lib/execute/command_processor.rb +0 -30
- data/lib/execute/execute_context.rb +0 -86
- data/lib/execute/script/add_tenant.rb +0 -121
- data/lib/execute/script.rb +0 -64
- data/lib/parser/adapters/option_parser.rb +0 -70
- data/lib/parser/adapters/thor.rb +0 -555
- data/lib/require_first.rb +0 -104
- data/lib/shell/context.rb +0 -1064
- data/lib/shell/domain/active_context.rb +0 -186
- data/lib/shell/domain/context_entity.rb +0 -89
- data/lib/shell/domain/context_params.rb +0 -223
- data/lib/shell/domain/override_tasks.rb +0 -88
- data/lib/shell/domain/shadow_entity.rb +0 -76
- data/lib/shell/header_shell.rb +0 -44
- data/lib/shell/help_monkey_patch.rb +0 -283
- data/lib/shell/interactive_wizard.rb +0 -256
- data/lib/shell/message_queue.rb +0 -63
- data/lib/shell/status_monitor.rb +0 -124
- data/lib/shell.rb +0 -261
- data/lib/task_status.rb +0 -83
- data/lib/util/console.rb +0 -235
- data/lib/util/dtk_puppet.rb +0 -65
- data/lib/util/module_util.rb +0 -66
- data/lib/util/os_util.rb +0 -385
- data/lib/util/remote_dependency_util.rb +0 -84
- data/lib/util/ssh_util.rb +0 -94
- data/lib/view_processor/augmented_simple_list.rb +0 -44
- data/lib/view_processor/hash_pretty_print.rb +0 -123
- data/lib/view_processor/simple_list.rb +0 -156
- data/lib/view_processor/table_print.rb +0 -309
- data/lib/view_processor.rb +0 -129
- data/puppet/manifests/init.pp +0 -72
- data/puppet/manifests/params.pp +0 -16
- data/puppet/r8meta.puppet.yml +0 -35
- data/puppet/templates/bash_profile.erb +0 -2
- data/puppet/templates/client.conf.erb +0 -1
- data/puppet/templates/dtkclient.erb +0 -2
- data/spec/component_module_spec.rb +0 -34
- data/spec/dependency_spec.rb +0 -6
- data/spec/dtk_shell_spec.rb +0 -13
- data/spec/dtk_spec.rb +0 -33
- data/spec/lib/spec_helper.rb +0 -10
- data/spec/lib/spec_thor.rb +0 -108
- data/spec/node_template_spec.rb +0 -24
- data/spec/project_spec.rb +0 -6
- data/spec/repo_spec.rb +0 -7
- data/spec/response_spec.rb +0 -52
- data/spec/service_module_spec.rb +0 -38
- data/spec/service_spec.rb +0 -50
- data/spec/state_change_spec.rb +0 -7
- data/spec/table_print_spec.rb +0 -48
- data/spec/target_spec.rb +0 -57
- data/spec/task_spec.rb +0 -28
- data/views/assembly/augmented_simple_list.rb +0 -12
- data/views/assembly_template/augmented_simple_list.rb +0 -12
- data/views/list_task/augmented_simple_list.rb +0 -12
metadata
CHANGED
@@ -1,127 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dtk-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Reactor8
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.25'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.25'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: bundler
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: 1.2.4
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: 1.2.4
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: json_pure
|
14
|
+
name: dtk-common-core
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
44
16
|
requirements:
|
45
17
|
- - '='
|
46
18
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
19
|
+
version: 0.10.0
|
48
20
|
type: :runtime
|
49
21
|
prerelease: false
|
50
22
|
version_requirements: !ruby/object:Gem::Requirement
|
51
23
|
requirements:
|
52
24
|
- - '='
|
53
25
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
26
|
+
version: 0.10.0
|
55
27
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
28
|
+
name: gli
|
57
29
|
requirement: !ruby/object:Gem::Requirement
|
58
30
|
requirements:
|
59
31
|
- - '='
|
60
32
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
33
|
+
version: 2.13.4
|
62
34
|
type: :runtime
|
63
35
|
prerelease: false
|
64
36
|
version_requirements: !ruby/object:Gem::Requirement
|
65
37
|
requirements:
|
66
38
|
- - '='
|
67
39
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
40
|
+
version: 2.13.4
|
69
41
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 0.7.0
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 0.7.0
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: thor
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 0.15.4
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: 0.15.4
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: erubis
|
42
|
+
name: highline
|
99
43
|
requirement: !ruby/object:Gem::Requirement
|
100
44
|
requirements:
|
101
|
-
- -
|
45
|
+
- - '='
|
102
46
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
47
|
+
version: 1.7.8
|
104
48
|
type: :runtime
|
105
49
|
prerelease: false
|
106
50
|
version_requirements: !ruby/object:Gem::Requirement
|
107
51
|
requirements:
|
108
|
-
- -
|
52
|
+
- - '='
|
109
53
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
54
|
+
version: 1.7.8
|
111
55
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
56
|
+
name: colorize
|
113
57
|
requirement: !ruby/object:Gem::Requirement
|
114
58
|
requirements:
|
115
59
|
- - '='
|
116
60
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
61
|
+
version: 0.7.7
|
118
62
|
type: :runtime
|
119
63
|
prerelease: false
|
120
64
|
version_requirements: !ruby/object:Gem::Requirement
|
121
65
|
requirements:
|
122
66
|
- - '='
|
123
67
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
68
|
+
version: 0.7.7
|
125
69
|
- !ruby/object:Gem::Dependency
|
126
70
|
name: git
|
127
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,244 +81,200 @@ dependencies:
|
|
137
81
|
- !ruby/object:Gem::Version
|
138
82
|
version: 1.2.9
|
139
83
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - "~>"
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 0.5.8
|
146
|
-
type: :runtime
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - "~>"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 0.5.8
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: highline
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - '='
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: 1.6.16
|
160
|
-
type: :runtime
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 1.6.16
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: awesome_print
|
84
|
+
name: hirb
|
169
85
|
requirement: !ruby/object:Gem::Requirement
|
170
86
|
requirements:
|
171
87
|
- - '='
|
172
88
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
89
|
+
version: 0.7.3
|
174
90
|
type: :runtime
|
175
91
|
prerelease: false
|
176
92
|
version_requirements: !ruby/object:Gem::Requirement
|
177
93
|
requirements:
|
178
94
|
- - '='
|
179
95
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
181
|
-
description:
|
182
|
-
|
183
|
-
email:
|
184
|
-
- rich@reactor8.com
|
96
|
+
version: 0.7.3
|
97
|
+
description: Command line tool to interact with a DTK Server and DTK Service Catalog.
|
98
|
+
email: support@reactor8.com
|
185
99
|
executables:
|
186
100
|
- dtk
|
187
|
-
- dtk-execute
|
188
|
-
- dtk-shell
|
189
101
|
extensions: []
|
190
102
|
extra_rdoc_files: []
|
191
103
|
files:
|
104
|
+
- ".gitignore"
|
192
105
|
- Gemfile
|
193
|
-
- Gemfile_dev
|
194
106
|
- README.md
|
107
|
+
- Rakefile
|
195
108
|
- bin/dtk
|
196
|
-
- bin/dtk-execute
|
197
|
-
- bin/dtk-shell
|
198
109
|
- dtk-client.gemspec
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
205
|
-
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
- lib/
|
209
|
-
- lib/
|
210
|
-
- lib/
|
211
|
-
- lib/
|
212
|
-
- lib/
|
213
|
-
- lib/
|
214
|
-
- lib/
|
215
|
-
- lib/
|
216
|
-
- lib/
|
217
|
-
- lib/
|
218
|
-
- lib/
|
219
|
-
- lib/
|
220
|
-
- lib/
|
221
|
-
- lib/
|
222
|
-
- lib/
|
223
|
-
- lib/
|
224
|
-
- lib/
|
225
|
-
- lib/
|
226
|
-
- lib/
|
227
|
-
- lib/
|
228
|
-
- lib/
|
229
|
-
- lib/
|
230
|
-
- lib/
|
231
|
-
- lib/
|
232
|
-
- lib/
|
233
|
-
- lib/
|
234
|
-
- lib/
|
235
|
-
- lib/
|
236
|
-
- lib/
|
237
|
-
- lib/
|
238
|
-
- lib/
|
239
|
-
- lib/
|
240
|
-
- lib/
|
241
|
-
- lib/
|
242
|
-
- lib/
|
243
|
-
- lib/
|
244
|
-
- lib/
|
245
|
-
- lib/
|
246
|
-
- lib/
|
247
|
-
- lib/
|
248
|
-
- lib/
|
249
|
-
- lib/
|
250
|
-
- lib/
|
251
|
-
- lib/
|
252
|
-
- lib/
|
253
|
-
- lib/
|
254
|
-
- lib/
|
255
|
-
- lib/
|
256
|
-
- lib/
|
257
|
-
- lib/
|
258
|
-
- lib/
|
259
|
-
- lib/
|
260
|
-
- lib/
|
261
|
-
- lib/
|
262
|
-
- lib/
|
263
|
-
- lib/
|
264
|
-
- lib/config
|
265
|
-
- lib/config/
|
266
|
-
- lib/config/default.conf
|
267
|
-
- lib/
|
268
|
-
- lib/
|
269
|
-
- lib/
|
270
|
-
- lib/
|
271
|
-
- lib/
|
272
|
-
- lib/
|
273
|
-
- lib/
|
274
|
-
- lib/
|
275
|
-
- lib/
|
110
|
+
- examples/simple/dtk.module.yaml
|
111
|
+
- examples/simple/test/README.md
|
112
|
+
- examples/spark/dtk.module.yaml
|
113
|
+
- examples/with_repo_content/deploy/puppet/manifests/hostname.pp
|
114
|
+
- examples/with_repo_content/dtk.module.yaml
|
115
|
+
- examples/with_repo_content/test/README.txt
|
116
|
+
- features/dtk.feature
|
117
|
+
- features/step_definitions/dtk_steps.rb
|
118
|
+
- features/support/env.rb
|
119
|
+
- lib/cli/command.rb
|
120
|
+
- lib/cli/command/mixin.rb
|
121
|
+
- lib/cli/command/module.rb
|
122
|
+
- lib/cli/command/module/clone.rb
|
123
|
+
- lib/cli/command/module/install.rb
|
124
|
+
- lib/cli/command/module/list.rb
|
125
|
+
- lib/cli/command/module/list_assemblies.rb
|
126
|
+
- lib/cli/command/module/push.rb
|
127
|
+
- lib/cli/command/module/uninstall.rb
|
128
|
+
- lib/cli/command/options.rb
|
129
|
+
- lib/cli/command/service.rb
|
130
|
+
- lib/cli/command/service/cancel_task.rb
|
131
|
+
- lib/cli/command/service/converge.rb
|
132
|
+
- lib/cli/command/service/create_workspace.rb
|
133
|
+
- lib/cli/command/service/destroy.rb
|
134
|
+
- lib/cli/command/service/edit.rb
|
135
|
+
- lib/cli/command/service/exec.rb
|
136
|
+
- lib/cli/command/service/exec_sync.rb
|
137
|
+
- lib/cli/command/service/list.rb
|
138
|
+
- lib/cli/command/service/list_actions.rb
|
139
|
+
- lib/cli/command/service/list_attributes.rb
|
140
|
+
- lib/cli/command/service/list_component_links.rb
|
141
|
+
- lib/cli/command/service/list_components.rb
|
142
|
+
- lib/cli/command/service/list_dependent_modules.rb
|
143
|
+
- lib/cli/command/service/list_nodes.rb
|
144
|
+
- lib/cli/command/service/list_violations.rb
|
145
|
+
- lib/cli/command/service/pull.rb
|
146
|
+
- lib/cli/command/service/push.rb
|
147
|
+
- lib/cli/command/service/set_default_target.rb
|
148
|
+
- lib/cli/command/service/set_required_attributes.rb
|
149
|
+
- lib/cli/command/service/ssh.rb
|
150
|
+
- lib/cli/command/service/stage.rb
|
151
|
+
- lib/cli/command/service/start.rb
|
152
|
+
- lib/cli/command/service/stop.rb
|
153
|
+
- lib/cli/command/service/task_status.rb
|
154
|
+
- lib/cli/command/subcommand.rb
|
155
|
+
- lib/cli/command/token.rb
|
156
|
+
- lib/cli/command/token/arg.rb
|
157
|
+
- lib/cli/command/token/class_mixin.rb
|
158
|
+
- lib/cli/command/token/flag.rb
|
159
|
+
- lib/cli/command/token/mixin.rb
|
160
|
+
- lib/cli/command/token/switch.rb
|
161
|
+
- lib/cli/context.rb
|
162
|
+
- lib/cli/context/attributes.rb
|
163
|
+
- lib/cli/context/type.rb
|
164
|
+
- lib/cli/context/type/module.rb
|
165
|
+
- lib/cli/context/type/service.rb
|
166
|
+
- lib/cli/context/type/top.rb
|
167
|
+
- lib/cli/directory_parser.rb
|
168
|
+
- lib/cli/directory_parser/file_system.rb
|
169
|
+
- lib/cli/file_obj.rb
|
170
|
+
- lib/cli/processor.rb
|
171
|
+
- lib/cli/processor/plugin/gli.rb
|
172
|
+
- lib/cli/runner.rb
|
173
|
+
- lib/cli/runner/dtkn_access.rb
|
174
|
+
- lib/cli/version.rb
|
175
|
+
- lib/client/config.rb
|
176
|
+
- lib/client/config/cacert.pem
|
177
|
+
- lib/client/config/default.conf
|
178
|
+
- lib/client/configurator.rb
|
179
|
+
- lib/client/conn.rb
|
180
|
+
- lib/client/content_generator.rb
|
181
|
+
- lib/client/error.rb
|
182
|
+
- lib/client/error/subclasses.rb
|
183
|
+
- lib/client/git_repo.rb
|
184
|
+
- lib/client/git_repo/adapter/git_gem.rb
|
185
|
+
- lib/client/git_repo/adapter/git_gem/error_handler.rb
|
186
|
+
- lib/client/logger.rb
|
187
|
+
- lib/client/operation.rb
|
188
|
+
- lib/client/operation/account.rb
|
189
|
+
- lib/client/operation/client_module_dir.rb
|
190
|
+
- lib/client/operation/client_module_dir/git_repo.rb
|
191
|
+
- lib/client/operation/module.rb
|
192
|
+
- lib/client/operation/module/clone_module.rb
|
193
|
+
- lib/client/operation/module/install.rb
|
194
|
+
- lib/client/operation/module/install/common_module.rb
|
195
|
+
- lib/client/operation/module/install/external_module.rb
|
196
|
+
- lib/client/operation/module/install_from_catalog.rb
|
197
|
+
- lib/client/operation/module/list.rb
|
198
|
+
- lib/client/operation/module/list_assemblies.rb
|
199
|
+
- lib/client/operation/module/push.rb
|
200
|
+
- lib/client/operation/module/uninstall.rb
|
201
|
+
- lib/client/operation/module_service_common.rb
|
202
|
+
- lib/client/operation/service.rb
|
203
|
+
- lib/client/operation/service/cancel_task.rb
|
204
|
+
- lib/client/operation/service/commit_and_push.rb
|
205
|
+
- lib/client/operation/service/converge.rb
|
206
|
+
- lib/client/operation/service/create_workspace.rb
|
207
|
+
- lib/client/operation/service/destroy.rb
|
208
|
+
- lib/client/operation/service/edit.rb
|
209
|
+
- lib/client/operation/service/exec.rb
|
210
|
+
- lib/client/operation/service/list.rb
|
211
|
+
- lib/client/operation/service/list_actions.rb
|
212
|
+
- lib/client/operation/service/list_attributes.rb
|
213
|
+
- lib/client/operation/service/list_component_links.rb
|
214
|
+
- lib/client/operation/service/list_components.rb
|
215
|
+
- lib/client/operation/service/list_dependent_modules.rb
|
216
|
+
- lib/client/operation/service/list_nodes.rb
|
217
|
+
- lib/client/operation/service/list_violations.rb
|
218
|
+
- lib/client/operation/service/pull.rb
|
219
|
+
- lib/client/operation/service/set_default_target.rb
|
220
|
+
- lib/client/operation/service/set_required_attributes.rb
|
221
|
+
- lib/client/operation/service/ssh.rb
|
222
|
+
- lib/client/operation/service/stage.rb
|
223
|
+
- lib/client/operation/service/start.rb
|
224
|
+
- lib/client/operation/service/stop.rb
|
225
|
+
- lib/client/operation/service/task_status.rb
|
226
|
+
- lib/client/operation/service/task_status/refresh_mode.rb
|
227
|
+
- lib/client/operation/service/task_status/snapshot_mode.rb
|
228
|
+
- lib/client/operation/service/task_status/stream_mode.rb
|
229
|
+
- lib/client/operation/service/task_status/stream_mode/element.rb
|
230
|
+
- lib/client/operation/service/task_status/stream_mode/element/format.rb
|
231
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task.rb
|
232
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/result.rb
|
233
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/result/action.rb
|
234
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/result/components.rb
|
235
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/result/node_level.rb
|
236
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/steps.rb
|
237
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/steps/action.rb
|
238
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/steps/components.rb
|
239
|
+
- lib/client/operation/service/task_status/stream_mode/element/hierarchical_task/steps/node_level.rb
|
240
|
+
- lib/client/operation/service/task_status/stream_mode/element/no_results.rb
|
241
|
+
- lib/client/operation/service/task_status/stream_mode/element/render.rb
|
242
|
+
- lib/client/operation/service/task_status/stream_mode/element/stage.rb
|
243
|
+
- lib/client/operation/service/task_status/stream_mode/element/stage/render.rb
|
244
|
+
- lib/client/operation/service/task_status/stream_mode/element/task_end.rb
|
245
|
+
- lib/client/operation/service/task_status/stream_mode/element/task_start.rb
|
246
|
+
- lib/client/operation_args.rb
|
247
|
+
- lib/client/render.rb
|
248
|
+
- lib/client/render/view/simple.rb
|
249
|
+
- lib/client/render/view/table.rb
|
250
|
+
- lib/client/render/view/table/processor.rb
|
251
|
+
- lib/client/response.rb
|
252
|
+
- lib/client/response/error_handler.rb
|
253
|
+
- lib/client/response/render_helper.rb
|
254
|
+
- lib/client/response/subclasses.rb
|
255
|
+
- lib/client/session.rb
|
256
|
+
- lib/client/util.rb
|
257
|
+
- lib/client/util/auxiliary.rb
|
258
|
+
- lib/client/util/console.rb
|
259
|
+
- lib/client/util/disk_cacher.rb
|
260
|
+
- lib/client/util/dtk_path.rb
|
261
|
+
- lib/client/util/hash_with_optional_keys.rb
|
262
|
+
- lib/client/util/interactive_wizard.rb
|
263
|
+
- lib/client/util/module_ref.rb
|
264
|
+
- lib/client/util/os_util.rb
|
265
|
+
- lib/client/util/os_util/print.rb
|
266
|
+
- lib/client/util/post_body.rb
|
267
|
+
- lib/client/util/query_string_hash.rb
|
268
|
+
- lib/client/util/remote_dependency.rb
|
269
|
+
- lib/client/util/ssh_util.rb
|
270
|
+
- lib/client/util/validation.rb
|
271
|
+
- lib/dtk_cli.rb
|
276
272
|
- lib/dtk_client.rb
|
277
|
-
-
|
278
|
-
-
|
279
|
-
|
280
|
-
- lib/error.rb
|
281
|
-
- lib/execute.rb
|
282
|
-
- lib/execute/cli_pure/cli_rerouter.rb
|
283
|
-
- lib/execute/command.rb
|
284
|
-
- lib/execute/command/api_call.rb
|
285
|
-
- lib/execute/command/api_call/map.rb
|
286
|
-
- lib/execute/command/api_call/service.rb
|
287
|
-
- lib/execute/command/api_call/translation_term.rb
|
288
|
-
- lib/execute/command/rest_call.rb
|
289
|
-
- lib/execute/command_processor.rb
|
290
|
-
- lib/execute/command_processor/rest_call.rb
|
291
|
-
- lib/execute/error_usage.rb
|
292
|
-
- lib/execute/execute_context.rb
|
293
|
-
- lib/execute/execute_context/result_store.rb
|
294
|
-
- lib/execute/script.rb
|
295
|
-
- lib/execute/script/add_tenant.rb
|
296
|
-
- lib/git-logs/git.log
|
297
|
-
- lib/parser/adapters/option_parser.rb
|
298
|
-
- lib/parser/adapters/thor.rb
|
299
|
-
- lib/parser/adapters/thor/common_option_defs.rb
|
300
|
-
- lib/require_first.rb
|
301
|
-
- lib/search_hash.rb
|
302
|
-
- lib/shell.rb
|
303
|
-
- lib/shell/context.rb
|
304
|
-
- lib/shell/context_aux.rb
|
305
|
-
- lib/shell/domain/active_context.rb
|
306
|
-
- lib/shell/domain/context_entity.rb
|
307
|
-
- lib/shell/domain/context_params.rb
|
308
|
-
- lib/shell/domain/override_tasks.rb
|
309
|
-
- lib/shell/domain/shadow_entity.rb
|
310
|
-
- lib/shell/header_shell.rb
|
311
|
-
- lib/shell/help_monkey_patch.rb
|
312
|
-
- lib/shell/interactive_wizard.rb
|
313
|
-
- lib/shell/message_queue.rb
|
314
|
-
- lib/shell/parse_monkey_patch.rb
|
315
|
-
- lib/shell/status_monitor.rb
|
316
|
-
- lib/task_status.rb
|
317
|
-
- lib/task_status/refresh_mode.rb
|
318
|
-
- lib/task_status/snapshot_mode.rb
|
319
|
-
- lib/task_status/stream_mode.rb
|
320
|
-
- lib/task_status/stream_mode/element.rb
|
321
|
-
- lib/task_status/stream_mode/element/format.rb
|
322
|
-
- lib/task_status/stream_mode/element/hierarchical_task.rb
|
323
|
-
- lib/task_status/stream_mode/element/hierarchical_task/result.rb
|
324
|
-
- lib/task_status/stream_mode/element/hierarchical_task/result/action.rb
|
325
|
-
- lib/task_status/stream_mode/element/hierarchical_task/result/components.rb
|
326
|
-
- lib/task_status/stream_mode/element/hierarchical_task/result/node_level.rb
|
327
|
-
- lib/task_status/stream_mode/element/hierarchical_task/steps.rb
|
328
|
-
- lib/task_status/stream_mode/element/hierarchical_task/steps/action.rb
|
329
|
-
- lib/task_status/stream_mode/element/hierarchical_task/steps/components.rb
|
330
|
-
- lib/task_status/stream_mode/element/hierarchical_task/steps/node_level.rb
|
331
|
-
- lib/task_status/stream_mode/element/no_results.rb
|
332
|
-
- lib/task_status/stream_mode/element/render.rb
|
333
|
-
- lib/task_status/stream_mode/element/stage.rb
|
334
|
-
- lib/task_status/stream_mode/element/stage/render.rb
|
335
|
-
- lib/task_status/stream_mode/element/task_end.rb
|
336
|
-
- lib/task_status/stream_mode/element/task_start.rb
|
337
|
-
- lib/util/common_util.rb
|
338
|
-
- lib/util/console.rb
|
339
|
-
- lib/util/dtk_puppet.rb
|
340
|
-
- lib/util/module_util.rb
|
341
|
-
- lib/util/os_util.rb
|
342
|
-
- lib/util/permission_util.rb
|
343
|
-
- lib/util/remote_dependency_util.rb
|
344
|
-
- lib/util/ssh_util.rb
|
345
|
-
- lib/view_processor.rb
|
346
|
-
- lib/view_processor/augmented_simple_list.rb
|
347
|
-
- lib/view_processor/hash_pretty_print.rb
|
348
|
-
- lib/view_processor/simple_list.rb
|
349
|
-
- lib/view_processor/table_print.rb
|
350
|
-
- puppet/manifests/init.pp
|
351
|
-
- puppet/manifests/params.pp
|
352
|
-
- puppet/r8meta.puppet.yml
|
353
|
-
- puppet/templates/bash_profile.erb
|
354
|
-
- puppet/templates/client.conf.erb
|
355
|
-
- puppet/templates/dtkclient.erb
|
356
|
-
- spec/component_module_spec.rb
|
357
|
-
- spec/dependency_spec.rb
|
358
|
-
- spec/dtk_shell_spec.rb
|
359
|
-
- spec/dtk_spec.rb
|
360
|
-
- spec/lib/spec_helper.rb
|
361
|
-
- spec/lib/spec_thor.rb
|
362
|
-
- spec/node_template_spec.rb
|
363
|
-
- spec/project_spec.rb
|
364
|
-
- spec/repo_spec.rb
|
365
|
-
- spec/response_spec.rb
|
366
|
-
- spec/service_module_spec.rb
|
367
|
-
- spec/service_spec.rb
|
368
|
-
- spec/state_change_spec.rb
|
369
|
-
- spec/table_print_spec.rb
|
370
|
-
- spec/target_spec.rb
|
371
|
-
- spec/task_spec.rb
|
372
|
-
- views/assembly/augmented_simple_list.rb
|
373
|
-
- views/assembly_template/augmented_simple_list.rb
|
374
|
-
- views/list_task/augmented_simple_list.rb
|
375
|
-
homepage: https://github.com/rich-reactor8/dtk-client
|
273
|
+
- test/default_test.rb
|
274
|
+
- test/test_helper.rb
|
275
|
+
homepage:
|
376
276
|
licenses:
|
377
|
-
- Apache
|
277
|
+
- Apache 2.0
|
378
278
|
metadata: {}
|
379
279
|
post_install_message:
|
380
280
|
rdoc_options: []
|
@@ -384,7 +284,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
384
284
|
requirements:
|
385
285
|
- - ">="
|
386
286
|
- !ruby/object:Gem::Version
|
387
|
-
version:
|
287
|
+
version: 1.9.3
|
388
288
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
389
289
|
requirements:
|
390
290
|
- - ">="
|
@@ -397,19 +297,8 @@ signing_key:
|
|
397
297
|
specification_version: 4
|
398
298
|
summary: DTK CLI client for DTK server interaction.
|
399
299
|
test_files:
|
400
|
-
-
|
401
|
-
-
|
402
|
-
-
|
403
|
-
-
|
404
|
-
-
|
405
|
-
- spec/lib/spec_thor.rb
|
406
|
-
- spec/node_template_spec.rb
|
407
|
-
- spec/project_spec.rb
|
408
|
-
- spec/repo_spec.rb
|
409
|
-
- spec/response_spec.rb
|
410
|
-
- spec/service_module_spec.rb
|
411
|
-
- spec/service_spec.rb
|
412
|
-
- spec/state_change_spec.rb
|
413
|
-
- spec/table_print_spec.rb
|
414
|
-
- spec/target_spec.rb
|
415
|
-
- spec/task_spec.rb
|
300
|
+
- features/dtk.feature
|
301
|
+
- features/step_definitions/dtk_steps.rb
|
302
|
+
- features/support/env.rb
|
303
|
+
- test/default_test.rb
|
304
|
+
- test/test_helper.rb
|
data/Gemfile_dev
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
source 'http://rubygems.org'
|
2
|
-
|
3
|
-
# dependcies are defined in gemspec file since to avoid duplication
|
4
|
-
# gemspec :name => 'dtk-client'
|
5
|
-
gemspec
|
6
|
-
|
7
|
-
# development gems which are not included in production Gemfile
|
8
|
-
gem 'rspec','~> 2.12.0'
|
9
|
-
gem 'awesome_print','~> 1.1.0'
|
10
|
-
gem 'looksee'
|
11
|
-
|
12
|
-
gem 'ruby-debug','0.10.4' if RUBY_VERSION == '1.8.7'
|
13
|
-
gem 'debugger','>= 1.6.5' if RUBY_VERSION == '1.9.3'
|
data/bin/dtk-execute
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
#
|
3
|
-
# Copyright (C) 2010-2016 dtk contributors
|
4
|
-
#
|
5
|
-
# This file is part of the dtk project.
|
6
|
-
#
|
7
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
8
|
-
# you may not use this file except in compliance with the License.
|
9
|
-
# You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing, software
|
14
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
15
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
16
|
-
# See the License for the specific language governing permissions and
|
17
|
-
# limitations under the License.
|
18
|
-
#
|
19
|
-
|
20
|
-
require File.expand_path('../lib/client', File.dirname(__FILE__))
|
21
|
-
require File.expand_path('../lib/execute', File.dirname(__FILE__))
|
22
|
-
require File.expand_path('../lib/configurator', File.dirname(__FILE__))
|
23
|
-
|
24
|
-
include DTK::Client
|
25
|
-
|
26
|
-
Configurator.check_config_exists
|
27
|
-
|
28
|
-
# if connection parameters are not set up properly, print warning and exit dtk_shell
|
29
|
-
conn = Session.get_connection()
|
30
|
-
exit if validate_connection(conn)
|
31
|
-
|
32
|
-
Execute::Script.execute()
|