Netflix/asgard — pull request #413 by joesondow (2013-10-25 04:28:44+00:00)
Title: ASGARD-1253 - Asgard should start without error even when server has no credentials yet and AWS account has no SWF domains yet

This is two critical bugs in Asgard 1.3 in one ticket, because I'm fixing them together.

When trying to start up on a machine that lacks credentials, Asgard 1.3 throws errors on SecretService because too many services are getting loaded before the user has had a chance to initialize their Asgard instance with credentials.

When trying to start up while pointing to an AWS account that does not have an asgard domain, Asgard 1.3 throws errors because it is trying to start a workflow worker and an activity worker that reference the domain, before cache loading begins. Cache loading has the side effect of creating the asgard domain, but too late.