Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename and reorg #16

Merged
merged 3 commits into from
Oct 30, 2015
Merged

rename and reorg #16

merged 3 commits into from
Oct 30, 2015

Conversation

kailuowang
Copy link
Member

No description provided.

def fromRootConfig(pipelineName: String, config: Config = ConfigFactory.load())(implicit system: ActorSystem) = {
val path = "workPipeline.metrics"
def fromRootConfig(dispatcherName: String, config: Config = ConfigFactory.load())(implicit system: ActorSystem) = {
val path = "reactiveDispatcher.metrics"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe have this root config namespace as kanaloa instead of reactiveDispatcher

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be addressed in the configuration ticket.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be handled in #7

@kailuowang
Copy link
Member Author

resolves #8

import com.iheart.workpipeline.akka.patterns.CommonProtocol.{ ShutdownSuccessfully, QueryStatus }
import com.iheart.workpipeline.collection.FiniteCollection._
import Worker.Hold
import kanaloa.reactive.dispatcher.queue.queue.{ ResultChecker, WorkerRef, QueueRef }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

queue.queue looks weird

import com.iheart.workpipeline.akka.patterns.queue.Queue.{ QueueStatus, WorkEnqueued }
import com.iheart.workpipeline.akka.patterns.queue.QueueProcessor.{ Shutdown }
import Queue.{ QueueStatus, WorkEnqueued }
import QueueProcessor.{ Shutdown }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these should already be handled by the import Queue._ and import QueueProcessor._ above? (and the import should probably be the full package name, as mentioned in another comment)

anyway, PR looks ok other than some package naming issues and imports

kailuowang added a commit that referenced this pull request Oct 30, 2015
@kailuowang kailuowang merged commit a460d16 into iheartradio:master Oct 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants