From e0a1abcd4c5ec4bde3868e820f8071da70c88f73 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Mon, 10 Dec 2012 21:01:34 +0400 Subject: [PATCH] #755: remove unnecessary weorkers, add Observer --- lib/abf_worker/publish_build_list_container_mdv.rv | 9 --------- .../publish_build_list_container_observer.rb | 10 ++++++++++ lib/abf_worker/publish_build_list_container_rhel.rb | 9 --------- 3 files changed, 10 insertions(+), 18 deletions(-) delete mode 100644 lib/abf_worker/publish_build_list_container_mdv.rv create mode 100644 lib/abf_worker/publish_build_list_container_observer.rb delete mode 100644 lib/abf_worker/publish_build_list_container_rhel.rb diff --git a/lib/abf_worker/publish_build_list_container_mdv.rv b/lib/abf_worker/publish_build_list_container_mdv.rv deleted file mode 100644 index 9c8ff84c3..000000000 --- a/lib/abf_worker/publish_build_list_container_mdv.rv +++ /dev/null @@ -1,9 +0,0 @@ -module AbfWorker - class PublishBuildListContainerMdv - extend AbfWorker::Helpers::PublishBuildListContainerHelper - @queue = :publish_build_list_container_mdv - - # see: PublishBuildListContainerHelper#perform - - end -end \ No newline at end of file diff --git a/lib/abf_worker/publish_build_list_container_observer.rb b/lib/abf_worker/publish_build_list_container_observer.rb new file mode 100644 index 000000000..5cfc449ce --- /dev/null +++ b/lib/abf_worker/publish_build_list_container_observer.rb @@ -0,0 +1,10 @@ +module AbfWorker + class PublishBuildListContainerObserver + @queue = :publish_build_list_container_observer + + def self.perform(options) + # TODO: ... + end + + end +end \ No newline at end of file diff --git a/lib/abf_worker/publish_build_list_container_rhel.rb b/lib/abf_worker/publish_build_list_container_rhel.rb deleted file mode 100644 index e732bb0e1..000000000 --- a/lib/abf_worker/publish_build_list_container_rhel.rb +++ /dev/null @@ -1,9 +0,0 @@ -module AbfWorker - class PublishBuildListContainerRhel - extend AbfWorker::Helpers::PublishBuildListContainerHelper - @queue = :publish_build_list_container_rhel - - # see: PublishBuildListContainerHelper#perform - - end -end \ No newline at end of file