Hi Shankar,

Please find answers inline.

On Thu, Jul 2, 2015 at 1:39 PM, Selvaratnam Uthaiyashankar <[email protected]
> wrote:

> How does this work in multi-tenancy? If one tenant create an inbound
> endpoint, it is available to all tenants or all proxies of all tenants
> exposed through that port?
>
No. If a tenant create an inbound endpoint, it is only available for that
particular tenant. Two tenants are completely isolated (similar to other
artifacts).


> Also, can two tenants define inbound endpoint with same port (there will
> be only 1 physical listener on the port though).. ?
>
Yes. Two tenants can share the same port. We have decouple the listener and
the inbound endpoint artifact to achieve this.

Thanks.

>
> On Fri, Jun 26, 2015 at 4:25 PM, Kasun Indrasiri <[email protected]> wrote:
>
>> Hi,
>>
>> In the current HTTP Inbound EP impl, the message dispatching occurs as
>> follows.
>>
>> - All proxy services and APIs are exposed on default HTTP port (8280).
>> - We can create a HTTP inbound EP that listens for request on a given
>> port (say 6060). Once we do that, all the proxy services and APIs are also
>> available via that port (i.e.: You can access the same proxy service via
>> 8280 or 6060).
>> - Likewise as you keep on creating inbound EPs, the existing proxies and
>> APIs will be exposed on those ports.
>> - Using a service parameter (inbound.only=true), we block any request
>> that comes to a proxy service and only expose that through inbound
>> endpoints.
>>
>> IMO, above behavior may be useful in certain use cases, but there can be
>> a requirement which the user doesn't want to expose all proxy services/api
>> through all the available HTTP endpoints. Hence, it is required to control
>> the dispatching logic at Inbound EP level, so that we can specify the
>> allowed services and APIs (as a pattern matching expression) when we define
>> an inbound EP.
>>
>> Any thoughts?
>>
>> Thanks,
>>
>> --
>> Kasun Indrasiri
>> Software Architect
>> WSO2, Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>> cell: +94 77 556 5206
>> Blog : http://kasunpanorama.blogspot.com/
>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> S.Uthaiyashankar
> VP Engineering
> WSO2 Inc.
> http://wso2.com/ - "lean . enterprise . middleware"
>
> Phone: +94 714897591
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
*Isuru Udana*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
email: [email protected] cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to