anchor.diff:  
       % intial state
       {_IsLeader = false,
  -     _Alarms   = read_alarms_from_config(),
  +     _Alarms   = get_alarms(),
        _ScaleReq =
            case ?CLOUD =:= cloud_cps of
                true  -> #scale_req{mode = pull};
  
positive.code: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  %% Config
  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  -spec read_alarms_from_config() -> [#alarm{}].
  read_alarms_from_config() ->
      case check_config() of
          true  ->
              % @todo add convenience for cfg 
              config:read(autoscale_alarms);
          false ->
              []
      end.
  
  %% @doc Checks whether config parameters exist and are valid.
  
negative.code:   when ScaleReq#scale_req.lock =:= unlocked ->
      comm:send(Pid, {scale_req_resp, ok}),
      % start timeout @todo add timeout to cofig
      Trigger = comm:send_local_after(get_lock_timeout()*1000, self(),
                                      {unlock_scale_req_timeout}),
      ?TRACE("lock_scale_req,~nscale_req: ~p", [ScaleReq]),
      {_IsLeader, _Alarms, ScaleReq#scale_req{lock = locked},
  