Re: Deployment section in cartridge definition is not getting saved?

2015-09-03 Thread Anuruddha Premalal
ssue. >> >> >> { >> "name": "payload_parameter.APP_PATH", >> "value": "/opt/tomcat/webapps" >> } >> >> On Wed, Sep 2, 2015 at 10:28 AM, Anuruddha Premalal < >> anuruddhaprema...@gmail

Deployment section in cartridge definition is not getting saved?

2015-09-01 Thread Anuruddha Premalal
Hi Devs, I'm trying to add the following[1] single tenant tomcat cartridge to stratos 4.1.1 via both api and UI. Even though it added successfully deployment section is missing from the definition(I got the definition using API). What would be the cause?. [1] { "type": "tomcat", "category": "fra

niginx.conf generated via niginx extension contains a https directive.

2015-08-24 Thread Anuruddha Premalal
Hi Devs, I tried $subject and while starting the nginx server, it encountered the following error[1]. I tried to find corresponding nginx docs to configure https directive but I wasn't able to find one, the one available to configure ssl support is [2] there's no mentioning of a https directive.

Re: Nginx extension issue when handling single tenant applications?

2015-08-24 Thread Anuruddha Premalal
equest if you were able to fix this > problem. > > Thanks > > On Mon, Aug 24, 2015 at 3:00 PM, Anuruddha Premalal < > anuruddhaprema...@gmail.com> wrote: > >> Hi Devs, >> >> I tried-out the nginx extension 4.1.0 for single tenant application >&

Nginx extension issue when handling single tenant applications?

2015-08-24 Thread Anuruddha Premalal
Hi Devs, I tried-out the nginx extension 4.1.0 for single tenant application scenario. I created 2 tomcat applications and ran the extension. Generated nginx.conf file looks lie below[1]. Here the issue is port mappings for both the http servers are same. In org.apache.stratos.nginx.extension.Ngin

Re: [Improvement] Single tenant application deletion via single method call

2015-08-21 Thread Anuruddha Premalal
plementation and try to find out the > possible approach to improve the forceful undeployment. > > Thanks, > Reka > > > On Fri, Aug 21, 2015 at 3:43 PM, Anuruddha Premalal < > anuruddhaprema...@gmail.com> wrote: > >> Hi Devs, >> >> When we want to delete

[Improvement] Single tenant application deletion via single method call

2015-08-21 Thread Anuruddha Premalal
Hi Devs, When we want to delete a single tenant application user have to first undeploy the application and then delete it. If a user wants to do it programatically, one way is to undepoy and wait for a certain period and then delete this is not reliable since the waiting time is uncertain. Other

Re: Use signed JWT token for rest api authentication

2015-08-11 Thread Anuruddha Premalal
da, >>> >>> The similar scenario came up when we create Oauth token when application >>> creation. AS needed to call IS in order to create the token. There we >>> overcome this by using JWT authenticator which validates the username. >>> However you

Re: Use signed JWT token for rest api authentication

2015-08-11 Thread Anuruddha Premalal
se explain your requirement in more detail so we can point > you to extension places. > > On Tue, Aug 11, 2015 at 12:28 PM, Anuruddha Premalal < > anuruddhaprema...@gmail.com> wrote: > >> Hi Devs, >> >> Is it possible to invoke the Stratos rest api using a sig

Use signed JWT token for rest api authentication

2015-08-10 Thread Anuruddha Premalal
Hi Devs, Is it possible to invoke the Stratos rest api using a signedJWT token instead of BasicAuth?. Does this comes OOB? If not, is there any extension point provided for a custom authentication handleri? Regards, -- *Anuruddha Premalala (MIEEE)Mobile : +94710461070E-mail : anuruddhaprema...@

Re: org.apache.stratos.rest.endpoint is not present in wso2 nexus repo

2015-08-09 Thread Anuruddha Premalal
Hi, org.apache.stratos.rest.endpoint is packaged as a war that might be the case for not presenting it in wso2 nexus. Thanks, Anuruddha. On Mon, Aug 10, 2015 at 10:22 AM, Anuruddha Premalal < anuruddhaprema...@gmail.com> wrote: > Hi Akila, > > However there are some 4.1.0 artif

Re: org.apache.stratos.rest.endpoint is not present in wso2 nexus repo

2015-08-09 Thread Anuruddha Premalal
.endpoint/4.1.0 > > Thanks. > > On Mon, Aug 10, 2015 at 10:02 AM, Anuruddha Premalal < > anuruddhaprema...@gmail.com> wrote: > >> Hi, >> >> I'm trying to use org.apache.stratos.rest.endpoint package for a rest api >> calls. However that jar is not prese

org.apache.stratos.rest.endpoint is not present in wso2 nexus repo

2015-08-09 Thread Anuruddha Premalal
Hi, I'm trying to use org.apache.stratos.rest.endpoint package for a rest api calls. However that jar is not present in[1] only the SNAPSHOT version is available there. Do I need to point to a different repo to get 4.1.0 released jars? [1] http://maven.wso2.org/nexus/content/groups/wso2-public/or

[jira] [Resolved] (STRATOS-1487) Cluster Monitors were not created because CompleteTopologyEvent was published before AutoscalerComponent was activated

2015-08-03 Thread Anuruddha Premalal (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anuruddha Premalal resolved STRATOS-1487. - Resolution: Fixed Fix Version/s: 4.1.0 4.1.0 M1 This

[jira] [Updated] (STRATOS-1487) Cluster Monitors were not created because CompleteTopologyEvent was published before AutoscalerComponent was activated

2015-08-03 Thread Anuruddha Premalal (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anuruddha Premalal updated STRATOS-1487: Attachment: wso2carbon.log > Cluster Monitors were not created beca

[jira] [Created] (STRATOS-1487) Cluster Monitors were not created because CompleteTopologyEvent was published before AutoscalerComponent was activated

2015-08-03 Thread Anuruddha Premalal (JIRA)
Anuruddha Premalal created STRATOS-1487: --- Summary: Cluster Monitors were not created because CompleteTopologyEvent was published before AutoscalerComponent was activated Key: STRATOS-1487 URL: https