Thanks for clarifying. That falls into the static category (with mine
definition). Note that config library supports env variables, se
section 'Optional
system or env variable overrides'
in https://github.com/typesafehub/config

/Patrik

16 mar 2013 kl. 18:17 skrev Helena Edelson <notifications@github.com>:

In akka-cluster/src/main/scala/akka/cluster/ClusterDaemon.scala:

> -    case ClusterUserAction.Down(address)  => downing(address)
> -    case ClusterUserAction.Leave(address) => leaving(address)
> -    case Exit(address)                    => exiting(address)
> -    case Remove(address)                  => removing(address)
> -    case SendGossipTo(address)            => gossipTo(address)
> -    case msg: SubscriptionMessage         => publisher forward msg
> +    case msg: GossipEnvelope                    => receiveGossip(msg)
> +    case GossipTick                             => gossip()
> +    case ReapUnreachableTick                    => reapUnreachableMembers()
> +    case LeaderActionsTick                      => leaderActions()
> +    case PublishStatsTick                       => publishInternalStats()
> +    case InitJoin                               => initJoin()
> +    case JoinTo(address)                        => join(address)
> +    case ClusterUserAction.Join(address, roles) => joining(address, roles)
> +    case ClusterUserAction.Down(address)        => downing(address)
> +    case ClusterUserAction.Leave(address)       => leaving(address)

Here is one that may fit:

As a _ I need to bootstrap a singleton or multi-role cluster

   - and deploy with Akka MicroKernel for quick IT testing cycles locally
    - with a servlet listener to deploy to tomcat in S3 to various
   dev/beta/prod etc environments

without hard-coding in config files but rather via env vars pushed by chef
to vms in the cloud. Dynamic env variables that the app doesn't have until
load-time begins is the use case I refer to vs static pre-defined in config
files. Sorry I should have been clearer.

I've written code for this already and could put up a pr to look at this
week if there is interest.

--
Reply to this email directly or view it on
GitHub<https://github.com/akka/akka/pull/1254/files#r3403512>
.