[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wsf-java-dev
Subject:    Re: [Dev] Can we have a single string for the domain name of the tenant
From:       Selvaratnam Uthaiyashankar <shankar () wso2 ! com>
Date:       2013-05-30 5:37:43
Message-ID: CAF6R8NCMOgsZUpGh+StiG82tTk3nX=hNTbAQMX3_6xzPJGvrOw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, May 30, 2013 at 10:35 AM, Supun Malinga <supunm@wso2.com> wrote:

> Hi Shankar,
>
> On Thu, May 30, 2013 at 9:24 AM, Selvaratnam Uthaiyashankar <
> shankar@wso2.com> wrote:
>
>> I think, when we change "StratosPublicCloudSetup" parameter in
>> stratos.xml to false, it will not mandate the dot. You can give tenant
>> names as EngDept, etc. However, we have to test and see.
>>
>> <StratosPublicCloudSetup>false</StratosPublicCloudSetup>
>>
>
> Yeah it works!.
>
> The next question is what else it will disable..?
>

I have no idea :). We have to go through the code and see. This flag was
introduced by Pradeepan. Not sure who else knows the code. Sameera might
know.

Shankar



>
> thanks,
>
>>
>>
>>
>> On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez <azeez@wso2.com> wrote:
>>
>>>
>>>
>>> On Wed, May 29, 2013 at 5:28 PM, Supun Malinga <supunm@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Currently we need to give the domain as example.com, foo.org, etc and
>>>> its enforced to be mandatory within code.
>>>>  What I'm inquiring is that if we can provide a single string (without
>>>> the dot) for the domain. What are the changes we need to do?.
>>>>
>>>> Also would like to know the logic behind the enforcement of having a
>>>> dot. I understand that when you say its a domain name it needs a dot. But
>>>> other than that logically what are the reasons behind this.
>>>>
>>>>
>>> There is no need. This is an artificial restriction. In a private PaaS,
>>> the tenants could be named as; EngDept, MktingDpt, SalesDept etc.
>>>
>>>
>>>> thanks,
>>>> --
>>>> Supun Malinga,
>>>>
>>>> Senior Software Engineer,
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>> email - supunm@wso2.com <supuna@wso2.com>
>>>> mobile - 071 56 91 321
>>>>
>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **azeez@wso2.com* <azeez@wso2.com>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> S.Uthaiyashankar
>> Director, Cloud Solutions
>> WSO2 Inc.
>> http://wso2.com/ - "lean . enterprise . middleware"
>>
>> Phone: +94 714897591
>>
>
>
>
> --
> Supun Malinga,
>
> Senior Software Engineer,
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
> email - supunm@wso2.com <supuna@wso2.com>
> mobile - 071 56 91 321
>



-- 
S.Uthaiyashankar
Director, Cloud Solutions
WSO2 Inc.
http://wso2.com/ - "lean . enterprise . middleware"

Phone: +94 714897591

[Attachment #5 (text/html)]

<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, \
May 30, 2013 at 10:35 AM, Supun Malinga <span dir="ltr">&lt;<a \
href="mailto:supunm@wso2.com" target="_blank">supunm@wso2.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr">Hi Shankar,<div \
class="gmail_extra"><br><div class="gmail_quote"><div class="im">On Thu, May 30, 2013 \
at 9:24 AM, Selvaratnam Uthaiyashankar <span dir="ltr">&lt;<a \
href="mailto:shankar@wso2.com" target="_blank">shankar@wso2.com</a>&gt;</span> \
wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr">I think, when we change &quot;StratosPublicCloudSetup&quot; parameter in \
stratos.xml to false, it will not mandate the dot. You can give tenant names as \
EngDept, etc. However, we have to test and see. <br>


<br>
&lt;StratosPublicCloudSetup&gt;false&lt;/StratosPublicCloudSetup&gt;<br></div></blockquote><div><br></div></div><div>Yeah \
it works!. </div><div><br></div><div>The next question is what else it will \
disable..?</div></div> </div></div></blockquote><div><br></div><div>I have no idea \
:). We have to go through the code and see. This flag was introduced by Pradeepan. \
Not sure who else knows the code. Sameera might know. <br><br>Shankar<br></div> \
<div><br> </div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div \
class="gmail_extra"><div class="gmail_quote"><div><br></div>

<div>thanks,</div><div><div class="h5"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr"><br> </div><div class="gmail_extra">

<br><br><div class="gmail_quote"><div>On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez \
<span dir="ltr">&lt;<a href="mailto:azeez@wso2.com" \
target="_blank">azeez@wso2.com</a>&gt;</span> wrote:<br> </div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div><br><br><div \
class="gmail_quote">

<div>On Wed, May 29, 2013 at 5:28 PM, Supun Malinga <span dir="ltr">&lt;<a \
href="mailto:supunm@wso2.com" target="_blank">supunm@wso2.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div dir="ltr">Hi,<div><br></div><div>Currently we need to give the domain as <a \
href="http://example.com" target="_blank">example.com</a>, <a href="http://foo.org" \
target="_blank">foo.org</a>, etc and its enforced to be mandatory within code.</div>





<div>

What I&#39;m inquiring is that if we can provide a single string (without the dot) \
for the domain. What are the changes we need to do?.</div><div><br></div><div>Also \
would like to know the logic behind the enforcement of having a dot. I understand \
that when you say its a domain name it needs a dot. But other than that logically \
what are the reasons behind this.</div>







<div><div><br></div></div></div></blockquote><div><br></div></div><div>There is no \
need. This is an artificial restriction. In a private PaaS, the tenants could be \
named as; EngDept, MktingDpt, SalesDept etc.</div><div> <div> </div>

<blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div \
dir="ltr"><div><div></div><div>thanks,</div><span><font color="#888888">-- <br>


<div dir="ltr">Supun Malinga,<br>

<br>Senior Software Engineer,<br>WSO2 Inc.<br><a href="http://wso2.com" \
target="_blank">http://wso2.com</a><br><a href="http://wso2.org" \
target="_blank">http://wso2.org</a><br>

email - <a href="mailto:supuna@wso2.com" \
target="_blank">supunm@wso2.com</a><br>mobile - <a href="tel:071%2056%2091%20321" \
value="+94715691321" target="_blank">071 56 91 321</a><br></div> \
</font></span></div></div> </blockquote></div></div><span><font \
color="#888888"><br><br clear="all"><div><br></div>-- <br><b>Afkham \
Azeez</b><br><font face="verdana, sans-serif"><span style="font-size:x-small"><span \
style="font-family:arial;font-size:small"><font face="verdana, sans-serif"><span \
style="font-size:x-small">Director of Architecture</span></font>; <span \
style="font-size:x-small">WSO2, Inc.; </span><a href="http://wso2.com/" \
target="_blank"><span \
style="font-size:x-small">http://wso2.com</span></a></span></span></font><span \
style="font-size:x-small"><br>





<span style="font-size:small"><span style="font-size:x-small">Member; Apache Software \
Foundation; </span><span style="font-size:x-small"><a href="http://www.apache.org/" \
target="_blank">http://www.apache.org/</a></span></span><br>





</span><div><i><span style="font-size:x-small"><a href="http://www.apache.org/" \
target="_blank"></a></span></i><i><span style="font-size:x-small"><br>email: \
</span></i><a href="mailto:azeez@wso2.com" target="_blank"><i><span \
style="font-size:x-small">azeez@wso2.com</span></i></a><i><span \
style="font-size:x-small"> cell: <a href="tel:%2B94%2077%203320919" \
value="+94773320919" target="_blank">+94 77 3320919</a><br>





blog: </span></i><a href="http://blog.afkham.org" target="_blank"><i><span \
style="font-size:x-small">http://blog.afkham.org</span></i></a><i><span \
style="font-size:x-small"><br>twitter: </span></i><a \
href="http://twitter.com/afkham_azeez" target="_blank"><i><span \
style="font-size:x-small">http://twitter.com/afkham_azeez</span></i></a><i><span \
style="font-size:x-small"><br>





linked-in: </span></i><i><span style="font-size:x-small"><a \
href="http://lk.linkedin.com/in/afkhamazeez" \
target="_blank">http://lk.linkedin.com/in/afkhamazeez</a></span></i><br><div></div><div><i><br></i></div><div><i><span \
style="font-style:normal"><span style="font-size:x-small">Lean . Enterprise . \
Middleware</span></span></i></div>





</div>
</font></span><br></div></div><div>_______________________________________________<br>
 Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
<br></div></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- \
<br>S.Uthaiyashankar<br>Director, Cloud Solutions<br>WSO2 Inc.<br><a \
href="http://wso2.com/" target="_blank">http://wso2.com/</a> - &quot;lean . \
enterprise . middleware&quot;<br>



<br>Phone: <a href="tel:%2B94%20714897591" value="+94714897591" target="_blank">+94 \
714897591</a> </font></span></div>
</blockquote></div></div></div><div><div class="h5"><br><br \
clear="all"><div><br></div>-- <br><div dir="ltr">Supun Malinga,<br><br>Senior \
Software Engineer,<br>WSO2 Inc.<br><a href="http://wso2.com" \
target="_blank">http://wso2.com</a><br> <a href="http://wso2.org" \
target="_blank">http://wso2.org</a><br>

email - <a href="mailto:supuna@wso2.com" \
target="_blank">supunm@wso2.com</a><br>mobile - 071 56 91 321<br></div> \
</div></div></div></div> </blockquote></div><br><br clear="all"><br>-- \
<br>S.Uthaiyashankar<br>Director, Cloud Solutions<br>WSO2 Inc.<br><a \
href="http://wso2.com/" target="_blank">http://wso2.com/</a> - &quot;lean . \
enterprise . middleware&quot;<br> <br>Phone: +94 714897591
</div></div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic