Allow multiple hosts to be specified in a manifest
I would like to be able to specify multiple hosts [and therefore routes] in a manifest.yml.
Relying on the APP-NAME.DOMAIN convention, could multiple hosts be permitted in the manifest, resulting in multiple routes?
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/72389932.
@tjarratt With regards to you PT comment: you're right, this isn't a bug, but a "feature request". Is there another forum to make such requests/observations?
@bendodd our automated bot seems to automatically classify github issues as bugs. In retrospect, it looks like I'm being a huge jerk and suggesting that you've done something wrong, which wasn't my intention at all. I just wanted to call out to my team that this story is something new and should be classified as a feature request.
I'm personally a big fan of github issues; I think there's a lot of value in conducting business for an open source project in the open. Once you file an issue, it's there forever, searchable, and easy to reference.
We're looking to makes some changes in manifests in the future and we'll put this on the design consideration list.
Out of curiosity, are you using multiple routes for some type testing or production scenario?
@lcddave We use it in production is various situations, for example providing a separate origin domain for a CDN to fetch assets from, to provide different domains for DNS load balancing or to provide separate domains to allow an part of a app's traffic to be easy moved to a separate app should we need to.
@lcddave I want to add another usage for multi routes. As in the client side, if a Sever Side Event stream is opening, the browser will not allow loading other files from that domain. At the mean time, I want to get a iframe from the same domain, it takes quite a long time. But if the server have another domain, I can use the second one for getting iframes more about this . But this feature seems to be unavailable for cf v6, I can leverage other cf utilities for automation. cf create-domain cf map-route
Thanks for the additional use case. Forwarding to @goehmen as he's point on CLI now.
@bendodd See https://www.pivotaltracker.com/story/show/72389932. This functionality will be in the next stable release of the CF CLI.