right_agent 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README.rdoc +78 -0
- data/Rakefile +86 -0
- data/lib/right_agent.rb +66 -0
- data/lib/right_agent/actor.rb +163 -0
- data/lib/right_agent/actor_registry.rb +76 -0
- data/lib/right_agent/actors/agent_manager.rb +189 -0
- data/lib/right_agent/agent.rb +735 -0
- data/lib/right_agent/agent_config.rb +403 -0
- data/lib/right_agent/agent_identity.rb +209 -0
- data/lib/right_agent/agent_tags_manager.rb +213 -0
- data/lib/right_agent/audit_formatter.rb +107 -0
- data/lib/right_agent/broker_client.rb +683 -0
- data/lib/right_agent/command.rb +30 -0
- data/lib/right_agent/command/agent_manager_commands.rb +134 -0
- data/lib/right_agent/command/command_client.rb +136 -0
- data/lib/right_agent/command/command_constants.rb +42 -0
- data/lib/right_agent/command/command_io.rb +128 -0
- data/lib/right_agent/command/command_parser.rb +87 -0
- data/lib/right_agent/command/command_runner.rb +105 -0
- data/lib/right_agent/command/command_serializer.rb +63 -0
- data/lib/right_agent/console.rb +65 -0
- data/lib/right_agent/core_payload_types.rb +42 -0
- data/lib/right_agent/core_payload_types/cookbook.rb +61 -0
- data/lib/right_agent/core_payload_types/cookbook_position.rb +46 -0
- data/lib/right_agent/core_payload_types/cookbook_repository.rb +116 -0
- data/lib/right_agent/core_payload_types/cookbook_sequence.rb +70 -0
- data/lib/right_agent/core_payload_types/dev_repositories.rb +90 -0
- data/lib/right_agent/core_payload_types/event_categories.rb +38 -0
- data/lib/right_agent/core_payload_types/executable_bundle.rb +138 -0
- data/lib/right_agent/core_payload_types/login_policy.rb +72 -0
- data/lib/right_agent/core_payload_types/login_user.rb +62 -0
- data/lib/right_agent/core_payload_types/planned_volume.rb +94 -0
- data/lib/right_agent/core_payload_types/recipe_instantiation.rb +60 -0
- data/lib/right_agent/core_payload_types/repositories_bundle.rb +50 -0
- data/lib/right_agent/core_payload_types/right_script_attachment.rb +95 -0
- data/lib/right_agent/core_payload_types/right_script_instantiation.rb +73 -0
- data/lib/right_agent/core_payload_types/secure_document.rb +66 -0
- data/lib/right_agent/core_payload_types/secure_document_location.rb +63 -0
- data/lib/right_agent/core_payload_types/software_repository_instantiation.rb +61 -0
- data/lib/right_agent/daemonize.rb +35 -0
- data/lib/right_agent/dispatcher.rb +348 -0
- data/lib/right_agent/enrollment_result.rb +217 -0
- data/lib/right_agent/exceptions.rb +30 -0
- data/lib/right_agent/ha_broker_client.rb +1278 -0
- data/lib/right_agent/idempotent_request.rb +140 -0
- data/lib/right_agent/log.rb +418 -0
- data/lib/right_agent/monkey_patches.rb +29 -0
- data/lib/right_agent/monkey_patches/amqp_patch.rb +274 -0
- data/lib/right_agent/monkey_patches/ruby_patch.rb +49 -0
- data/lib/right_agent/monkey_patches/ruby_patch/array_patch.rb +29 -0
- data/lib/right_agent/monkey_patches/ruby_patch/darwin_patch.rb +24 -0
- data/lib/right_agent/monkey_patches/ruby_patch/linux_patch.rb +24 -0
- data/lib/right_agent/monkey_patches/ruby_patch/linux_patch/file_patch.rb +30 -0
- data/lib/right_agent/monkey_patches/ruby_patch/object_patch.rb +49 -0
- data/lib/right_agent/monkey_patches/ruby_patch/singleton_patch.rb +46 -0
- data/lib/right_agent/monkey_patches/ruby_patch/string_patch.rb +107 -0
- data/lib/right_agent/monkey_patches/ruby_patch/windows_patch.rb +32 -0
- data/lib/right_agent/monkey_patches/ruby_patch/windows_patch/file_patch.rb +90 -0
- data/lib/right_agent/monkey_patches/ruby_patch/windows_patch/process_patch.rb +63 -0
- data/lib/right_agent/monkey_patches/ruby_patch/windows_patch/stdio_patch.rb +27 -0
- data/lib/right_agent/monkey_patches/ruby_patch/windows_patch/time_patch.rb +55 -0
- data/lib/right_agent/monkey_patches/ruby_patch/windows_patch/win32ole_patch.rb +34 -0
- data/lib/right_agent/multiplexer.rb +91 -0
- data/lib/right_agent/operation_result.rb +270 -0
- data/lib/right_agent/packets.rb +637 -0
- data/lib/right_agent/payload_formatter.rb +104 -0
- data/lib/right_agent/pid_file.rb +159 -0
- data/lib/right_agent/platform.rb +319 -0
- data/lib/right_agent/platform/darwin.rb +227 -0
- data/lib/right_agent/platform/linux.rb +268 -0
- data/lib/right_agent/platform/windows.rb +1204 -0
- data/lib/right_agent/scripts/agent_controller.rb +522 -0
- data/lib/right_agent/scripts/agent_deployer.rb +379 -0
- data/lib/right_agent/scripts/common_parser.rb +153 -0
- data/lib/right_agent/scripts/log_level_manager.rb +193 -0
- data/lib/right_agent/scripts/stats_manager.rb +256 -0
- data/lib/right_agent/scripts/usage.rb +58 -0
- data/lib/right_agent/secure_identity.rb +92 -0
- data/lib/right_agent/security.rb +32 -0
- data/lib/right_agent/security/cached_certificate_store_proxy.rb +63 -0
- data/lib/right_agent/security/certificate.rb +102 -0
- data/lib/right_agent/security/certificate_cache.rb +89 -0
- data/lib/right_agent/security/distinguished_name.rb +56 -0
- data/lib/right_agent/security/encrypted_document.rb +84 -0
- data/lib/right_agent/security/rsa_key_pair.rb +76 -0
- data/lib/right_agent/security/signature.rb +86 -0
- data/lib/right_agent/security/static_certificate_store.rb +69 -0
- data/lib/right_agent/sender.rb +937 -0
- data/lib/right_agent/serialize.rb +29 -0
- data/lib/right_agent/serialize/message_pack.rb +102 -0
- data/lib/right_agent/serialize/secure_serializer.rb +131 -0
- data/lib/right_agent/serialize/secure_serializer_initializer.rb +47 -0
- data/lib/right_agent/serialize/serializable.rb +135 -0
- data/lib/right_agent/serialize/serializer.rb +149 -0
- data/lib/right_agent/stats_helper.rb +731 -0
- data/lib/right_agent/subprocess.rb +38 -0
- data/lib/right_agent/tracer.rb +124 -0
- data/right_agent.gemspec +60 -0
- data/spec/actor_registry_spec.rb +81 -0
- data/spec/actor_spec.rb +99 -0
- data/spec/agent_config_spec.rb +226 -0
- data/spec/agent_identity_spec.rb +75 -0
- data/spec/agent_spec.rb +571 -0
- data/spec/broker_client_spec.rb +961 -0
- data/spec/command/agent_manager_commands_spec.rb +51 -0
- data/spec/command/command_io_spec.rb +93 -0
- data/spec/command/command_parser_spec.rb +79 -0
- data/spec/command/command_runner_spec.rb +72 -0
- data/spec/command/command_serializer_spec.rb +51 -0
- data/spec/core_payload_types/dev_repositories_spec.rb +64 -0
- data/spec/core_payload_types/executable_bundle_spec.rb +59 -0
- data/spec/core_payload_types/login_user_spec.rb +98 -0
- data/spec/core_payload_types/right_script_attachment_spec.rb +65 -0
- data/spec/core_payload_types/spec_helper.rb +23 -0
- data/spec/dispatcher_spec.rb +372 -0
- data/spec/enrollment_result_spec.rb +53 -0
- data/spec/ha_broker_client_spec.rb +1673 -0
- data/spec/idempotent_request_spec.rb +136 -0
- data/spec/log_spec.rb +177 -0
- data/spec/monkey_patches/amqp_patch_spec.rb +100 -0
- data/spec/monkey_patches/eventmachine_spec.rb +62 -0
- data/spec/monkey_patches/string_patch_spec.rb +99 -0
- data/spec/multiplexer_spec.rb +48 -0
- data/spec/operation_result_spec.rb +171 -0
- data/spec/packets_spec.rb +418 -0
- data/spec/platform/platform_spec.rb +60 -0
- data/spec/results_mock.rb +45 -0
- data/spec/secure_identity_spec.rb +50 -0
- data/spec/security/cached_certificate_store_proxy_spec.rb +56 -0
- data/spec/security/certificate_cache_spec.rb +71 -0
- data/spec/security/certificate_spec.rb +49 -0
- data/spec/security/distinguished_name_spec.rb +46 -0
- data/spec/security/encrypted_document_spec.rb +55 -0
- data/spec/security/rsa_key_pair_spec.rb +55 -0
- data/spec/security/signature_spec.rb +66 -0
- data/spec/security/static_certificate_store_spec.rb +52 -0
- data/spec/sender_spec.rb +887 -0
- data/spec/serialize/message_pack_spec.rb +131 -0
- data/spec/serialize/secure_serializer_spec.rb +102 -0
- data/spec/serialize/serializable_spec.rb +90 -0
- data/spec/serialize/serializer_spec.rb +174 -0
- data/spec/spec.opts +2 -0
- data/spec/spec_helper.rb +77 -0
- data/spec/stats_helper_spec.rb +681 -0
- data/spec/tracer_spec.rb +114 -0
- metadata +320 -0
data/spec/tracer_spec.rb
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (c) 2009-2011 RightScale Inc
|
3
|
+
#
|
4
|
+
# Permission is hereby granted, free of charge, to any person obtaining
|
5
|
+
# a copy of this software and associated documentation files (the
|
6
|
+
# "Software"), to deal in the Software without restriction, including
|
7
|
+
# without limitation the rights to use, copy, modify, merge, publish,
|
8
|
+
# distribute, sublicense, and/or sell copies of the Software, and to
|
9
|
+
# permit persons to whom the Software is furnished to do so, subject to
|
10
|
+
# the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be
|
13
|
+
# included in all copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
16
|
+
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
17
|
+
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
18
|
+
# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
19
|
+
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
20
|
+
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
21
|
+
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
22
|
+
|
23
|
+
require File.expand_path(File.join(File.dirname(__FILE__), 'spec_helper'))
|
24
|
+
|
25
|
+
# Test data
|
26
|
+
class TestData
|
27
|
+
def trace_me
|
28
|
+
'I got traced!'
|
29
|
+
end
|
30
|
+
end
|
31
|
+
class TestData2
|
32
|
+
def self.trace_me_too
|
33
|
+
'So did I!'
|
34
|
+
end
|
35
|
+
end
|
36
|
+
module Traced
|
37
|
+
class TestData3
|
38
|
+
def trace_me_three
|
39
|
+
'and me!'
|
40
|
+
end
|
41
|
+
def self.trace_me_four
|
42
|
+
'and me and me!'
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
class TestData4
|
47
|
+
def send_result
|
48
|
+
'result'
|
49
|
+
end
|
50
|
+
end
|
51
|
+
class TestData5
|
52
|
+
def use_block
|
53
|
+
yield
|
54
|
+
end
|
55
|
+
end
|
56
|
+
class TestData6
|
57
|
+
def do_not_fail?
|
58
|
+
true
|
59
|
+
end
|
60
|
+
def [](index)
|
61
|
+
index
|
62
|
+
end
|
63
|
+
def []=(index, value)
|
64
|
+
index
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
describe RightScale::Tracer do
|
69
|
+
|
70
|
+
before(:all) do
|
71
|
+
@test = TestData.new
|
72
|
+
@test2 = TestData2.new
|
73
|
+
@test3 = Traced::TestData3.new
|
74
|
+
@test4 = TestData4.new
|
75
|
+
@test5 = TestData5.new
|
76
|
+
@test6 = TestData6.new
|
77
|
+
end
|
78
|
+
|
79
|
+
it 'should trace instance methods' do
|
80
|
+
flexmock(RightScale::Log).should_receive(:debug).twice
|
81
|
+
RightScale::Tracer.add_tracing_to_class(@test.class)
|
82
|
+
@test.trace_me
|
83
|
+
end
|
84
|
+
|
85
|
+
it 'should trace class methods' do
|
86
|
+
flexmock(RightScale::Log).should_receive(:debug).twice
|
87
|
+
RightScale::Tracer.add_tracing_to_class(@test2.class)
|
88
|
+
TestData2.trace_me_too
|
89
|
+
end
|
90
|
+
|
91
|
+
it 'should trace entire modules' do
|
92
|
+
flexmock(RightScale::Log).should_receive(:debug).times(4)
|
93
|
+
RightScale::Tracer.add_tracing_to_namespaces('Traced')
|
94
|
+
@test3.trace_me_three
|
95
|
+
Traced::TestData3.trace_me_four
|
96
|
+
end
|
97
|
+
|
98
|
+
it 'should return correct results' do
|
99
|
+
flexmock(RightScale::Log).should_receive(:debug).twice
|
100
|
+
RightScale::Tracer.add_tracing_to_class(@test4.class)
|
101
|
+
@test4.send_result.should == 'result'
|
102
|
+
end
|
103
|
+
|
104
|
+
it 'should trace methods taking blocks' do
|
105
|
+
flexmock(RightScale::Log).should_receive(:debug).twice
|
106
|
+
RightScale::Tracer.add_tracing_to_class(@test5.class)
|
107
|
+
@test5.use_block { 'result' }.should == 'result'
|
108
|
+
end
|
109
|
+
|
110
|
+
it 'should handle methods names ending with special characters' do
|
111
|
+
RightScale::Tracer.add_tracing_to_class(@test6.class)
|
112
|
+
end
|
113
|
+
|
114
|
+
end
|
metadata
ADDED
@@ -0,0 +1,320 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: right_agent
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 9
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 5
|
9
|
+
- 1
|
10
|
+
version: 0.5.1
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Lee Kirchhoff
|
14
|
+
- Raphael Simon
|
15
|
+
- Tony Spataro
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
|
20
|
+
date: 2011-09-26 00:00:00 -07:00
|
21
|
+
default_executable:
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
name: right_support
|
27
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
hash: 3
|
33
|
+
segments:
|
34
|
+
- 0
|
35
|
+
version: "0"
|
36
|
+
requirement: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
name: amqp
|
41
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - "="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 9
|
47
|
+
segments:
|
48
|
+
- 0
|
49
|
+
- 6
|
50
|
+
- 7
|
51
|
+
version: 0.6.7
|
52
|
+
requirement: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
name: json
|
57
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 15
|
63
|
+
segments:
|
64
|
+
- 1
|
65
|
+
- 4
|
66
|
+
- 4
|
67
|
+
version: 1.4.4
|
68
|
+
- - <=
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 11
|
71
|
+
segments:
|
72
|
+
- 1
|
73
|
+
- 4
|
74
|
+
- 6
|
75
|
+
version: 1.4.6
|
76
|
+
requirement: *id003
|
77
|
+
- !ruby/object:Gem::Dependency
|
78
|
+
type: :runtime
|
79
|
+
prerelease: false
|
80
|
+
name: eventmachine
|
81
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 59
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
- 12
|
90
|
+
- 10
|
91
|
+
version: 0.12.10
|
92
|
+
requirement: *id004
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
type: :runtime
|
95
|
+
prerelease: false
|
96
|
+
name: right_popen
|
97
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
98
|
+
none: false
|
99
|
+
requirements:
|
100
|
+
- - ~>
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
hash: 1
|
103
|
+
segments:
|
104
|
+
- 1
|
105
|
+
- 0
|
106
|
+
- 11
|
107
|
+
version: 1.0.11
|
108
|
+
requirement: *id005
|
109
|
+
- !ruby/object:Gem::Dependency
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
name: msgpack
|
113
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - "="
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
hash: 7
|
119
|
+
segments:
|
120
|
+
- 0
|
121
|
+
- 4
|
122
|
+
- 4
|
123
|
+
version: 0.4.4
|
124
|
+
requirement: *id006
|
125
|
+
description: " RightAgent provides a foundation for running an agent on a server to interface\n in a secure fashion with other agents in the RightScale system. A RightAgent\n uses RabbitMQ as the message bus and the RightScale mapper as the routing node.\n Servers running a RightAgent establish a queue on startup for receiving packets\n routed to it via the mapper. The packets are structured to invoke services in\n the agent represented by actors and methods. The RightAgent may respond to these\n requests with a result packet that the mapper then routes to the originator.\n Similarly a RightAgent can also make requests of other RightAgents in the\n"
|
126
|
+
email: lee@rightscale.com
|
127
|
+
executables: []
|
128
|
+
|
129
|
+
extensions: []
|
130
|
+
|
131
|
+
extra_rdoc_files:
|
132
|
+
- README.rdoc
|
133
|
+
files:
|
134
|
+
- LICENSE
|
135
|
+
- README.rdoc
|
136
|
+
- Rakefile
|
137
|
+
- lib/right_agent.rb
|
138
|
+
- lib/right_agent/actor.rb
|
139
|
+
- lib/right_agent/actor_registry.rb
|
140
|
+
- lib/right_agent/actors/agent_manager.rb
|
141
|
+
- lib/right_agent/agent.rb
|
142
|
+
- lib/right_agent/agent_config.rb
|
143
|
+
- lib/right_agent/agent_identity.rb
|
144
|
+
- lib/right_agent/agent_tags_manager.rb
|
145
|
+
- lib/right_agent/audit_formatter.rb
|
146
|
+
- lib/right_agent/broker_client.rb
|
147
|
+
- lib/right_agent/command.rb
|
148
|
+
- lib/right_agent/command/agent_manager_commands.rb
|
149
|
+
- lib/right_agent/command/command_client.rb
|
150
|
+
- lib/right_agent/command/command_constants.rb
|
151
|
+
- lib/right_agent/command/command_io.rb
|
152
|
+
- lib/right_agent/command/command_parser.rb
|
153
|
+
- lib/right_agent/command/command_runner.rb
|
154
|
+
- lib/right_agent/command/command_serializer.rb
|
155
|
+
- lib/right_agent/console.rb
|
156
|
+
- lib/right_agent/core_payload_types.rb
|
157
|
+
- lib/right_agent/core_payload_types/cookbook.rb
|
158
|
+
- lib/right_agent/core_payload_types/cookbook_position.rb
|
159
|
+
- lib/right_agent/core_payload_types/cookbook_repository.rb
|
160
|
+
- lib/right_agent/core_payload_types/cookbook_sequence.rb
|
161
|
+
- lib/right_agent/core_payload_types/dev_repositories.rb
|
162
|
+
- lib/right_agent/core_payload_types/event_categories.rb
|
163
|
+
- lib/right_agent/core_payload_types/executable_bundle.rb
|
164
|
+
- lib/right_agent/core_payload_types/login_policy.rb
|
165
|
+
- lib/right_agent/core_payload_types/login_user.rb
|
166
|
+
- lib/right_agent/core_payload_types/planned_volume.rb
|
167
|
+
- lib/right_agent/core_payload_types/recipe_instantiation.rb
|
168
|
+
- lib/right_agent/core_payload_types/repositories_bundle.rb
|
169
|
+
- lib/right_agent/core_payload_types/right_script_attachment.rb
|
170
|
+
- lib/right_agent/core_payload_types/right_script_instantiation.rb
|
171
|
+
- lib/right_agent/core_payload_types/secure_document.rb
|
172
|
+
- lib/right_agent/core_payload_types/secure_document_location.rb
|
173
|
+
- lib/right_agent/core_payload_types/software_repository_instantiation.rb
|
174
|
+
- lib/right_agent/daemonize.rb
|
175
|
+
- lib/right_agent/dispatcher.rb
|
176
|
+
- lib/right_agent/enrollment_result.rb
|
177
|
+
- lib/right_agent/exceptions.rb
|
178
|
+
- lib/right_agent/ha_broker_client.rb
|
179
|
+
- lib/right_agent/idempotent_request.rb
|
180
|
+
- lib/right_agent/log.rb
|
181
|
+
- lib/right_agent/monkey_patches.rb
|
182
|
+
- lib/right_agent/monkey_patches/amqp_patch.rb
|
183
|
+
- lib/right_agent/monkey_patches/ruby_patch.rb
|
184
|
+
- lib/right_agent/monkey_patches/ruby_patch/array_patch.rb
|
185
|
+
- lib/right_agent/monkey_patches/ruby_patch/darwin_patch.rb
|
186
|
+
- lib/right_agent/monkey_patches/ruby_patch/linux_patch.rb
|
187
|
+
- lib/right_agent/monkey_patches/ruby_patch/linux_patch/file_patch.rb
|
188
|
+
- lib/right_agent/monkey_patches/ruby_patch/object_patch.rb
|
189
|
+
- lib/right_agent/monkey_patches/ruby_patch/singleton_patch.rb
|
190
|
+
- lib/right_agent/monkey_patches/ruby_patch/string_patch.rb
|
191
|
+
- lib/right_agent/monkey_patches/ruby_patch/windows_patch.rb
|
192
|
+
- lib/right_agent/monkey_patches/ruby_patch/windows_patch/file_patch.rb
|
193
|
+
- lib/right_agent/monkey_patches/ruby_patch/windows_patch/process_patch.rb
|
194
|
+
- lib/right_agent/monkey_patches/ruby_patch/windows_patch/stdio_patch.rb
|
195
|
+
- lib/right_agent/monkey_patches/ruby_patch/windows_patch/time_patch.rb
|
196
|
+
- lib/right_agent/monkey_patches/ruby_patch/windows_patch/win32ole_patch.rb
|
197
|
+
- lib/right_agent/multiplexer.rb
|
198
|
+
- lib/right_agent/operation_result.rb
|
199
|
+
- lib/right_agent/packets.rb
|
200
|
+
- lib/right_agent/payload_formatter.rb
|
201
|
+
- lib/right_agent/pid_file.rb
|
202
|
+
- lib/right_agent/platform.rb
|
203
|
+
- lib/right_agent/platform/darwin.rb
|
204
|
+
- lib/right_agent/platform/linux.rb
|
205
|
+
- lib/right_agent/platform/windows.rb
|
206
|
+
- lib/right_agent/scripts/agent_controller.rb
|
207
|
+
- lib/right_agent/scripts/agent_deployer.rb
|
208
|
+
- lib/right_agent/scripts/common_parser.rb
|
209
|
+
- lib/right_agent/scripts/log_level_manager.rb
|
210
|
+
- lib/right_agent/scripts/stats_manager.rb
|
211
|
+
- lib/right_agent/scripts/usage.rb
|
212
|
+
- lib/right_agent/secure_identity.rb
|
213
|
+
- lib/right_agent/security.rb
|
214
|
+
- lib/right_agent/security/cached_certificate_store_proxy.rb
|
215
|
+
- lib/right_agent/security/certificate.rb
|
216
|
+
- lib/right_agent/security/certificate_cache.rb
|
217
|
+
- lib/right_agent/security/distinguished_name.rb
|
218
|
+
- lib/right_agent/security/encrypted_document.rb
|
219
|
+
- lib/right_agent/security/rsa_key_pair.rb
|
220
|
+
- lib/right_agent/security/signature.rb
|
221
|
+
- lib/right_agent/security/static_certificate_store.rb
|
222
|
+
- lib/right_agent/sender.rb
|
223
|
+
- lib/right_agent/serialize.rb
|
224
|
+
- lib/right_agent/serialize/message_pack.rb
|
225
|
+
- lib/right_agent/serialize/secure_serializer.rb
|
226
|
+
- lib/right_agent/serialize/secure_serializer_initializer.rb
|
227
|
+
- lib/right_agent/serialize/serializable.rb
|
228
|
+
- lib/right_agent/serialize/serializer.rb
|
229
|
+
- lib/right_agent/stats_helper.rb
|
230
|
+
- lib/right_agent/subprocess.rb
|
231
|
+
- lib/right_agent/tracer.rb
|
232
|
+
- right_agent.gemspec
|
233
|
+
- spec/actor_registry_spec.rb
|
234
|
+
- spec/actor_spec.rb
|
235
|
+
- spec/agent_config_spec.rb
|
236
|
+
- spec/agent_identity_spec.rb
|
237
|
+
- spec/agent_spec.rb
|
238
|
+
- spec/broker_client_spec.rb
|
239
|
+
- spec/command/agent_manager_commands_spec.rb
|
240
|
+
- spec/command/command_io_spec.rb
|
241
|
+
- spec/command/command_parser_spec.rb
|
242
|
+
- spec/command/command_runner_spec.rb
|
243
|
+
- spec/command/command_serializer_spec.rb
|
244
|
+
- spec/core_payload_types/dev_repositories_spec.rb
|
245
|
+
- spec/core_payload_types/executable_bundle_spec.rb
|
246
|
+
- spec/core_payload_types/login_user_spec.rb
|
247
|
+
- spec/core_payload_types/right_script_attachment_spec.rb
|
248
|
+
- spec/core_payload_types/spec_helper.rb
|
249
|
+
- spec/dispatcher_spec.rb
|
250
|
+
- spec/enrollment_result_spec.rb
|
251
|
+
- spec/ha_broker_client_spec.rb
|
252
|
+
- spec/idempotent_request_spec.rb
|
253
|
+
- spec/log_spec.rb
|
254
|
+
- spec/monkey_patches/amqp_patch_spec.rb
|
255
|
+
- spec/monkey_patches/eventmachine_spec.rb
|
256
|
+
- spec/monkey_patches/string_patch_spec.rb
|
257
|
+
- spec/multiplexer_spec.rb
|
258
|
+
- spec/operation_result_spec.rb
|
259
|
+
- spec/packets_spec.rb
|
260
|
+
- spec/platform/platform_spec.rb
|
261
|
+
- spec/results_mock.rb
|
262
|
+
- spec/secure_identity_spec.rb
|
263
|
+
- spec/security/cached_certificate_store_proxy_spec.rb
|
264
|
+
- spec/security/certificate_cache_spec.rb
|
265
|
+
- spec/security/certificate_spec.rb
|
266
|
+
- spec/security/distinguished_name_spec.rb
|
267
|
+
- spec/security/encrypted_document_spec.rb
|
268
|
+
- spec/security/rsa_key_pair_spec.rb
|
269
|
+
- spec/security/signature_spec.rb
|
270
|
+
- spec/security/static_certificate_store_spec.rb
|
271
|
+
- spec/sender_spec.rb
|
272
|
+
- spec/serialize/message_pack_spec.rb
|
273
|
+
- spec/serialize/secure_serializer_spec.rb
|
274
|
+
- spec/serialize/serializable_spec.rb
|
275
|
+
- spec/serialize/serializer_spec.rb
|
276
|
+
- spec/spec.opts
|
277
|
+
- spec/spec_helper.rb
|
278
|
+
- spec/stats_helper_spec.rb
|
279
|
+
- spec/tracer_spec.rb
|
280
|
+
has_rdoc: true
|
281
|
+
homepage: https://github.com/rightscale/right_agent
|
282
|
+
licenses: []
|
283
|
+
|
284
|
+
post_install_message:
|
285
|
+
rdoc_options:
|
286
|
+
- --main
|
287
|
+
- README.rdoc
|
288
|
+
- --title
|
289
|
+
- RightAgent
|
290
|
+
require_paths:
|
291
|
+
- lib
|
292
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
293
|
+
none: false
|
294
|
+
requirements:
|
295
|
+
- - ">="
|
296
|
+
- !ruby/object:Gem::Version
|
297
|
+
hash: 57
|
298
|
+
segments:
|
299
|
+
- 1
|
300
|
+
- 8
|
301
|
+
- 7
|
302
|
+
version: 1.8.7
|
303
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
304
|
+
none: false
|
305
|
+
requirements:
|
306
|
+
- - ">="
|
307
|
+
- !ruby/object:Gem::Version
|
308
|
+
hash: 3
|
309
|
+
segments:
|
310
|
+
- 0
|
311
|
+
version: "0"
|
312
|
+
requirements: []
|
313
|
+
|
314
|
+
rubyforge_project:
|
315
|
+
rubygems_version: 1.3.7
|
316
|
+
signing_key:
|
317
|
+
specification_version: 3
|
318
|
+
summary: Agent for interfacing server with RightScale system
|
319
|
+
test_files: []
|
320
|
+
|