My question is based on your statement "Subdomain will be *validated* for
its availability via the API provided in Stratos Manager"

Why do we need to validate the availability of the subdomain, if we
maintain the list of mapped domains within AF.


On Fri, Apr 25, 2014 at 3:46 PM, Punnadi Gunarathna <punn...@wso2.com>wrote:

> Hi Amila,
>
> Of course we will store the production url corresponding to the given
> Application version in AF side.
> But we have to pass the "Host | Service | Tenant" to Stratos side via SM.
> That is what we discussed in the meeting. Please refer the mail thread
> "[Update] Cloud URL Mapping story" for more details.
>

Yes, this I am aware of.

>
>
> On Fri, Apr 25, 2014 at 3:35 PM, Amila Maha Arachchi <ami...@wso2.com>wrote:
>
>>
>>
>>
>> On Fri, Apr 25, 2014 at 3:16 PM, Punnadi Gunarathna <punn...@wso2.com>wrote:
>>
>>> hi All,
>>>
>>> In Dimtry's uber stories he came up with URL Mapping requirement for the
>>> applications deployed  in Production.
>>>
>>> This is how it will be implemented in App Factory front.
>>>
>>> AppOwner only has permissions to domain mapping.
>>>
>>> 1. If there are more than one version of the same Application in
>>> production, the domain mapping is available only for one version and it is
>>> configuarable in AppHome.
>>> (That is because in reality there can't be multiple versions of the same
>>> application in Production. So only one domain mapping would be enough. But
>>> in App Factory there can be multiple versions of the same application in
>>> production)
>>> 2. User can only set the subdomian in App Home page. Subdomain will be
>>> validated for its availability via the API provided in Stratos Manager.
>>> Based on the available subdomain the Production URL will be created and
>>> displayed in AppHome as follows:
>>>
>> Don't we keep these mapped domains with AF? If we are keeping them, why
>> do we need to ask from SM?
>>
>>>  http://<subdomain>.cloudapps.com
>>>
>>>
>>> 3.When a particualr app version is promoted to production, the above
>>> url, cartridge type and the tenant id need to be passed to Stratos Manager
>>> via the API.
>>> 4. The App version which has domain mapping will be highlighted. When
>>> the deploy button is hit from Build n Repo page/AppHome page for this App
>>> version, if AS is fronted by LB then LB will forward the request to correct
>>> cluster node or else the request will directly hit AS.
>>> 6. Using the Virtual Host concept in AS, the deployed application will
>>> be available in the browser.
>>>
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Punnadi Gunarathna
>>> Senior Software Engineer,
>>> WSO2, Inc.; http://wso2.com <http://wso2>
>>> Blog: http://hi-my-world.blogspot.com/
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>>
>>>
>>>
>>>  <http://lalajisureshika.blogspot.com/>
>>>
>>
>>
>>
>> --
>> *Amila Maharachchi*
>> Senior Technical Lead
>> WSO2, Inc.; http://wso2.com
>>
>> Blog: http://maharachchi.blogspot.com
>> Mobile: +94719371446
>>
>>
>
>
> --
> Thanks and Regards,
>
> Punnadi Gunarathna
> Senior Software Engineer,
> WSO2, Inc.; http://wso2.com <http://wso2>
> Blog: http://hi-my-world.blogspot.com/
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
>
>  <http://lalajisureshika.blogspot.com/>
>



-- 
*Amila Maharachchi*
Senior Technical Lead
WSO2, Inc.; http://wso2.com

Blog: http://maharachchi.blogspot.com
Mobile: +94719371446
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to