Credentials returned after registering an app are hard coded, which causes problems if RabbitMQ is not hosted on localhost
<!--- Provide a general summary of the issue in the Title above --> ## Description <!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug --> The method controller/app/Service.go/createNewApp always returns "amqp://guest:guest@127.0.0.1:5672" as credentials for an App registering to the Event System. This needs to be fixed. ## Expected Behavior <!--- Tell us what should happen --> Method returns correct crededentials dynamically. ## Actual Behavior <!--- Tell us what happens instead --> Hard coded string that worked until it didn't :shrug: ## Possible Fix Use data read from the config file and stored in global vars in config package, e.g. config.AMQPHost.
issue