Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-15 Thread Lakshman Udayakantha
Hi Danushka, I think you are talking about the second option here. In that case, I'm not clear why you can't add any customisation to the API Manager in cloud. The only customisation here is changing the jaggery app to adding a sub theme. Thanks On Sat, Jan 16, 2016 at 8:18 AM, Danushka Fernando

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-15 Thread Danushka Fernando
Hi Lakshman et all The problem is we are doing this in cloud and the API manager we are talking here is API cloud. So we cannot customize APIM there. That's why we are looking for OOTB solutions available. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobil

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-15 Thread Lakshman Udayakantha
Hi Amalka, I had a offline chat with AmilaD and some discussed things were as follows. The idea of a user being in many groups is arose when we do a design review in the beginning and in the requirement also. But It was ignored and implemented this in a way in which user is in one group because if

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Amila De Silva
You have to set an empty value for the claim. On Thu, Jan 14, 2016 at 12:09 PM, Amalka Subasinghe wrote: > Hi Amila > > I don't understand how appowner sees all the Apps which belongs to > different groups on same APIM screen. > I tested this in APIM setup, but when a one user has 2 groupIds, he

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Amalka Subasinghe
Hi Amila I don't understand how appowner sees all the Apps which belongs to different groups on same APIM screen. I tested this in APIM setup, but when a one user has 2 groupIds, he/she could see the Default application only. On Thu, Jan 14, 2016 at 10:28 AM, Amila De Silva wrote: > Hi Amalka,

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Amila De Silva
Hi Amalka, Apparently when the AppOwner logs in without a groupId, he/she sees all the Apps (even the one's created with different groupIds) in the same screen. So the problem would only be there for AppDevelopers. Answering to your query; it depends on how you get the group Id. If we assume that

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Amalka Subasinghe
With this Amila's explanation; when a appowner login to the APIM via two different apps of AF, will see two different views in APIM. If the same appowner login to the APIM directly, what will he see in APIM? I believe when a user login to the APIM; (either via AF or directly), he should see the sa

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Amila De Silva
Hi Danushka/Amalka, It's not that the scenario of user belonging to two or more groups is not supported in the current version. It's only that the way it currently happens slightly differs from how you need it. What we are basically trying to achieve is, displaying Apps, subscriptions when user b

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Nuwan Dias
On Wed, Jan 13, 2016 at 6:37 PM, Danushka Fernando wrote: > Hi Nuwan > The issue of adding extension to cloud is we have to add it to API cloud > and it will affect all API cloud users who don't use APP cloud also. > And since multiple groups per user seems to be a valid use case how > complex wi

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Danushka Fernando
Hi Nuwan The issue of adding extension to cloud is we have to add it to API cloud and it will affect all API cloud users who don't use APP cloud also. And since multiple groups per user seems to be a valid use case how complex will this be to implement? Thanks & Regards Danushka Fernando Senior So

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Lakshman Udayakantha
Hi Nuwan, Even though we have extracted multiple group ids using group id extractor, DAO classes use one group id to extract the applications and subscriptions. I think we have to implement to get all the applications and subscriptions if user are in several groups. Thanks On Wed, Jan 13, 2016 a

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-13 Thread Nuwan Dias
On Wed, Jan 13, 2016 at 12:32 PM, Amalka Subasinghe wrote: > Hi Nuwan, > > We need APIM support to show subscribed API, when there's 1 user assigned > to 2 user groups. > > *Our current AF APIM integration flow works as follows.* > > let's say we have a tenant foo.com and users - appowner1 and de

Re: [Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-12 Thread Amalka Subasinghe
Hi Nuwan, We need APIM support to show subscribed API, when there's 1 user assigned to 2 user groups. *Our current AF APIM integration flow works as follows.* let's say we have a tenant foo.com and users - appowner1 and developer1 App owner1 creates an AF application 'AFapp1' and assign devloper

[Dev] [AF] Fixing (APPFAC-3217) - Support APIM group subscription in App Factory

2016-01-12 Thread Amalka Subasinghe
Hi, Currently only the app owner allows to subscribed to an API, generate keys and see subscribed APIs, where other users are not allowed as showed in the below table. Subscribe to API Generate Keys View subscribed APIs in AF side View Prod keys in AF side View Sandbox keys in AF side App owner