cli icon indicating copy to clipboard operation
cli copied to clipboard

Allow multiple hosts to be specified in a manifest

Open bendodd opened this issue 12 years ago • 8 comments

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?

bendodd avatar May 31 '14 23:05 bendodd

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.

cf-gitbot avatar May 31 '14 23:05 cf-gitbot

@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 avatar Jun 09 '14 09:06 bendodd

@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.

tjarratt avatar Jun 10 '14 00:06 tjarratt

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 avatar Jun 10 '14 15:06 lcddave

@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.

bendodd avatar Jun 10 '14 16:06 bendodd

@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

hailiang-wang avatar Sep 18 '14 04:09 hailiang-wang

Thanks for the additional use case. Forwarding to @goehmen as he's point on CLI now.

lcddave avatar Sep 18 '14 15:09 lcddave

@bendodd See https://www.pivotaltracker.com/story/show/72389932. This functionality will be in the next stable release of the CF CLI.

goehmen avatar Dec 18 '14 20:12 goehmen