Re: [Dev] [UUF] Empty fragment dir

2016-11-11 Thread Nipuna Chandradasa
Okay aiye .. will remove them. But there will be fragments to this(designer) component. Thank you, On Fri, Nov 11, 2016 at 7:26 PM, Manuranga Perera wrote: > Hi Nipuna, > Please remove .gitkeep files, we don't need to commit these dirs. > > On Fri, Nov 11, 2016 at 2:53 PM,

Re: [Dev] [APIM][Analytics] Issue in the default templated spark scripts

2016-11-11 Thread Fazlan Nazeem
Thanks Ashen for reporting this. I hope this issue is not present in IS and ESB analytics . On Fri, Nov 11, 2016 at 6:46 PM, Nirmal Fernando wrote: > Thanks for reporting this Ashen. I just checked the code and found that we > do not properly deploy the spark scripts when

Re: [Dev] [UUF] Empty fragment dir

2016-11-11 Thread Manuranga Perera
Hi Nipuna, Please remove .gitkeep files, we don't need to commit these dirs. On Fri, Nov 11, 2016 at 2:53 PM, SajithAR Ariyarathna wrote: > Does UUF framework alow components with no fragment dir? > > Yes. > > On Fri, Nov 11, 2016 at 6:36 PM, Manuranga Perera

Re: [Dev] [UUF] Empty fragment dir

2016-11-11 Thread SajithAR Ariyarathna
> > Does UUF framework alow components with no fragment dir? Yes. On Fri, Nov 11, 2016 at 6:36 PM, Manuranga Perera wrote: > Does UUF framework alow components with no fragment dir? > I think it should be possible, asking people to create empty dir doesn't > make sense [1]. > >

Re: [Dev] [APIM][Analytics] Issue in the default templated spark scripts

2016-11-11 Thread Nirmal Fernando
Thanks for reporting this Ashen. I just checked the code and found that we do not properly deploy the spark scripts when initializing the templated scripts [1]. This issue has gone unnoticed due to few reasons :( 1. Our automated tests execute the spark scripts manually 2. DAS doesn't indicate

[Dev] [UUF] Empty fragment dir

2016-11-11 Thread Manuranga Perera
Does UUF framework alow components with no fragment dir? I think it should be possible, asking people to create empty dir doesn't make sense [1]. [1] https://github.com/wso2/carbon-dashboards/tree/uuf-portal/components/org.wso2.carbon.dashboard.designer/src/main/fragments -- With regards,

[Dev] [APIM][Analytics] Issue in the default templated spark scripts

2016-11-11 Thread Ashen Weerathunga
Hi, There is an issue in the default templated spark scripts available in the API manager analytics. I have noticed this issue with spark scripts scheduling. API manager analytics provides some default templates for every scenario. Therefore the user can configure some parameters using template

Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-11 Thread Malaka Silva
So the fix needs to come from IS side I guess? On Fri, Nov 11, 2016 at 4:44 PM, Maduranga Siriwardena wrote: > Hi Thulasika, > > This issue is already reported with [1]. > > As a fix we are planning to add the custom grant types also to the OAuth > application configuration

Re: [Dev] [APIM][UUF] - Client-side Rendering

2016-11-11 Thread SajithAR Ariyarathna
[+Kishanthan] On Fri, Nov 11, 2016 at 5:08 PM, Chanaka Jayasena wrote: > +1 for reusing the same template in both client side and server side. For > that I think we need the support from UUF side. > > If there is handebars helper method we defined such way that it will >

Re: [Dev] [APIM][UUF] - Client-side Rendering

2016-11-11 Thread Chanaka Jayasena
+1 for reusing the same template in both client side and server side. For that I think we need the support from UUF side. If there is handebars helper method we defined such way that it will render the server side template. But before doing that it copies an uncompiled copy of the template to a

Re: [Dev] [APIM][UUF] - Client-side Rendering

2016-11-11 Thread SajithAR Ariyarathna
> > IMO it would be good if we can re-use the server side templates/partials > in the client side as well. This is on UUF roadmap. Will be available in a future milestone. On Fri, Nov 11, 2016 at 3:44 PM, Yasima Dewmini wrote: > Hi Joseph, > > Thank you for your thought. Yes

Re: [Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-11 Thread Maduranga Siriwardena
Hi Thulasika, This issue is already reported with [1]. As a fix we are planning to add the custom grant types also to the OAuth application configuration page to enable or disable. Thanks, Maduranga. [1] https://wso2.org/jira/browse/IDENTITY-5260 On Nov 11, 2016 4:23 PM, "Thulasika

[Dev] JWT Bearer Grant not working with IS 5.2.0

2016-11-11 Thread Thulasika Vijayanathan
Hi , I have checked the JWT grant type[1] in IS 5.2.0. It does not work, when validating the grant type it throws the exception[2]. We need to get the Allowed grant types as JWT, but there is no option to thick the JWT grant type in UI. is there any way to get the JWT grant type? [image:

Re: [Dev] [APIM][UUF] - Client-side Rendering

2016-11-11 Thread Yasima Dewmini
Hi Joseph, Thank you for your thought. Yes it would be great if we can re use those templates. I will have a chat with other members and come to a conclusion. Regards, Yasima On Fri, Nov 11, 2016 at 3:26 PM, Joseph Fonseka wrote: > IMO it would be good if we can re-use the

[Dev] Loading cron expressions dynamically for scheduled tasks

2016-11-11 Thread Shazni Nazeer
Hi, I have an ESB scheduled task with a cron expression. The artifact is deployed using a CAR file. I was trying to figure out a way to dynamically read the configuration to change the cron expression as and when needed to avoid the redeployment of the CAR. But seems it's not possible. Is there a

Re: [Dev] [APIM][UUF] - Client-side Rendering

2016-11-11 Thread Yasima Dewmini
Thank you Sajith for your input. On Fri, Nov 11, 2016 at 2:26 PM, SajithAR Ariyarathna wrote: > UUF does not do client-side rendering (as per 1.0.0-m7 release). What you > can do is, put the Handlebars template (that you want in the client-side) > inside the public directory

Re: [Dev] [APIM][UUF] - Client-side Rendering

2016-11-11 Thread SajithAR Ariyarathna
UUF does not do client-side rendering (as per 1.0.0-m7 release). What you can do is, put the Handlebars template (that you want in the client-side) inside the public directory e.g. .../public/templates/my-template.hbs and in the client-side, get that template using AJAX and render it. On Fri, Nov

[Dev] [APIM][UUF] - Client-side Rendering

2016-11-11 Thread Yasima Dewmini
Hi, I'm working on UUF for API Manager. I need to do some client-side rendering. The only solution I found is to have handlebar templates for the items that need to be rendered in client-side. My question is, is there any standard way to write those templates (Eg. inside public folder?)? OR Are