Adding ActiveMessaging for async handling of tasks:
authorMarius Mathiesen <marius.mathiesen@gmail.com>
Tue, 3 Feb 2009 13:46:27 +0000 (14:46 +0100)
committerJohan Sørensen <johan@johansorensen.com>
Wed, 22 Apr 2009 12:03:58 +0000 (14:03 +0200)
commitb004c6b0baeb3d99d05b02075ff5b9f9ddba47d6
tree2cb3b1cb75488d42f7029d50dbca388f0bf88723
parent34be4db66bf161adfd7b3b4d895c303512f7cd93
Adding ActiveMessaging for async handling of tasks:

- Changed Repository's task creation to post to ActiveMQ
- Added processors for creation/cloning and deletion of repositories
- Added Refresh header when showing a repo that isn't ready yet
65 files changed:
.gitignore
app/controllers/repositories_controller.rb
app/models/repository.rb
app/processors/application.rb [new file with mode: 0644]
app/processors/repository_creation_processor.rb [new file with mode: 0644]
app/processors/repository_deletion_processor.rb [new file with mode: 0644]
config/broker.yml.example [new file with mode: 0644]
config/messaging.rb [new file with mode: 0644]
script/poller [new file with mode: 0755]
spec/controllers/repositories_controller_spec.rb
spec/models/repository_spec.rb
vendor/plugins/activemessaging/Rakefile [new file with mode: 0644]
vendor/plugins/activemessaging/generators/a13g_test_harness/a13g_test_harness_generator.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/a13g_test_harness/templates/active_messaging_test.rhtml [new file with mode: 0644]
vendor/plugins/activemessaging/generators/a13g_test_harness/templates/active_messaging_test_controller.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/a13g_test_harness/templates/index.rhtml [new file with mode: 0644]
vendor/plugins/activemessaging/generators/filter/USAGE [new file with mode: 0644]
vendor/plugins/activemessaging/generators/filter/filter_generator.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/filter/templates/filter.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/filter/templates/filter_test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/USAGE [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/processor_generator.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/templates/application.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/templates/broker.yml [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/templates/jruby_poller [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/templates/messaging.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/templates/poller [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/templates/processor.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/processor/templates/processor_test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/tracer/USAGE [new file with mode: 0644]
vendor/plugins/activemessaging/generators/tracer/templates/controller.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/tracer/templates/helper.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/tracer/templates/index.rhtml [new file with mode: 0644]
vendor/plugins/activemessaging/generators/tracer/templates/layout.rhtml [new file with mode: 0644]
vendor/plugins/activemessaging/generators/tracer/templates/trace_processor.rb [new file with mode: 0644]
vendor/plugins/activemessaging/generators/tracer/tracer_generator.rb [new file with mode: 0644]
vendor/plugins/activemessaging/init.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/adapter.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/adapters/asqs.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/adapters/base.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/adapters/jms.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/adapters/reliable_msg.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/adapters/stomp.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/adapters/test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/adapters/wmq.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/filter.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/gateway.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/message_sender.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/processor.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/support.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/test_helper.rb [new file with mode: 0644]
vendor/plugins/activemessaging/lib/activemessaging/trace_filter.rb [new file with mode: 0644]
vendor/plugins/activemessaging/messaging.rb.example [new file with mode: 0644]
vendor/plugins/activemessaging/poller.rb [new file with mode: 0644]
vendor/plugins/activemessaging/tasks/start_consumers.rake [new file with mode: 0644]
vendor/plugins/activemessaging/test/all_tests.rb [new file with mode: 0644]
vendor/plugins/activemessaging/test/asqs_test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/test/config_test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/test/filter_test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/test/gateway_test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/test/jms_test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/test/reliable_msg_test.rb [new file with mode: 0644]
vendor/plugins/activemessaging/test/test_helper.rb [new file with mode: 0644]
vendor/plugins/activemessaging/test/tracer_test.rb [new file with mode: 0644]