In the new "Add Service" API, users of the API will be able to list out a set of services that need to be added to an existing cluster, without specifying any individual components or specifying where the components will be hosted.
In the event that an "Add Service" request is submitted, with only service names specified, then the "Add Service" deployment code must implement the following:
1. Based on the services included in the request, make a call to the StackAdvisor for component layout recommendations.
The following code shows an example of creating this request:
2. Take the output of the StackAdvisor, and use that to determine the list of components to install and start, as well as the hosts that will include these components.