Doc on payload parameters

2015-01-24 Thread Udara Liyanage
Hi, Do we have $subject? If so is it updated with recent changes. Otherwise better we create one

Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-24 Thread Dakshika Jayathilaka
Thank you Imesh *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sun, Jan 25, 2015 at 8:47 AM, Imesh Gunaratne wrote: > I'm sorry I couldn't send it in the previous mail, you could find it here > Dakshika: > > https://github.com/apache/stratos/blob/ma

Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-24 Thread Imesh Gunaratne
I'm sorry I couldn't send it in the previous mail, you could find it here Dakshika: https://github.com/apache/stratos/blob/master/samples/single-cartridge/mock/artifacts/network-partition.json We have also added a sample curl command in the above sample application. Thanks On Sun, Jan 25, 2015 a

NPE at application deployment

2015-01-24 Thread Lahiru Sandaruwan
Hi, $subject([1]) at master. Sample "/single-cartridge/mock". Did we change rest API(addApplication)? Thanks. [1] [2015-01-25 08:16:06,584] ERROR {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} - Exception occurred while trying to invoke service method addApplication java.lang.Null

Re: [Discuss] Removing Unused Components

2015-01-24 Thread Lakmal Warusawithana
Some are already implemented with new architecture On Sunday, January 25, 2015, Lakmal Warusawithana wrote: > These are came with initial donation and now not valid. We may need to > implement according to new architecture. > > On Saturday, January 24, 2015, Imesh Gunaratne > wrote: > >> Hi Dev

Re: [Discuss] Removing Unused Components

2015-01-24 Thread Lakmal Warusawithana
These are came with initial donation and now not valid. We may need to implement according to new architecture. On Saturday, January 24, 2015, Imesh Gunaratne wrote: > Hi Devs, > > I found a set of components which were not used in our product: > > org.apache.stratos.usage > org.apache.stratos.u

[jira] [Created] (STRATOS-1133) Issues with samples/group-scaling/mock/ sample

2015-01-24 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1133: - Summary: Issues with samples/group-scaling/mock/ sample Key: STRATOS-1133 URL: https://issues.apache.org/jira/browse/STRATOS-1133 Project: Stratos

Re: Creating sample applications

2015-01-24 Thread Dakshika Jayathilaka
Hi David, Seems issue arise due to the certificate of the backend that you is not trusted and the certificate of that backend server should be added to the Stratos product servers client-truststore.jks Steps: 1. Go to your server ( https://myserver.com ) an

Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-24 Thread Dakshika Jayathilaka
Hi Imesh, can i have sample for network partition. (networkPartition.json) ? Thank you, *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Sat, Jan 24, 2015 at 9:26 PM, Lakmal Warusawithana wrote: > Thanks Imesh take care if it > > > On Saturday, Janu

Re: Creating sample applications

2015-01-24 Thread david hbase
Got the following error: [2015-01-25 01:08:18,032] ERROR {org.apache.stratos.cloud.controller.iaases.JcloudsIaasUtil} - Could not build iaas of type: openstack com.google.common.util.concurrent.UncheckedExecutionException: org.jclouds.http.HttpResponseException: sun.security.validator.ValidatorEx

[jira] [Updated] (STRATOS-1124) Missing JSON in some samples directory

2015-01-24 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1124: -- Description: The tomcat cartridge has been mentioned in the app_single_group.JSON and

[jira] [Updated] (STRATOS-1124) Missing JSON in some samples directory

2015-01-24 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1124: -- Summary: Missing JSON in some samples directory (was: Missing JSON in samples/single-

[jira] [Updated] (STRATOS-1132) Unnecessary file in samples folder

2015-01-24 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1132: -- Summary: Unnecessary file in samples folder (was: Unnecessary file app_single_group.j

[jira] [Updated] (STRATOS-1132) Unnecessary file app_single_group.json-para in samples folder

2015-01-24 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1132: -- Summary: Unnecessary file app_single_group.json-para in samples folder (was: Unnecess

[jira] [Created] (STRATOS-1132) Unnecessary file (app_single_group.json-para) in samples folder

2015-01-24 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1132: - Summary: Unnecessary file (app_single_group.json-para) in samples folder Key: STRATOS-1132 URL: https://issues.apache.org/jira/browse/STRATOS-1132 Project:

[jira] [Comment Edited] (STRATOS-1131) Do not directly invoke Runnable.run() method

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290798#comment-14290798 ] Imesh Gunaratne edited comment on STRATOS-1131 at 1/24/15 7:56 PM: ---

[jira] [Resolved] (STRATOS-1131) Do not directly invoke Runnable.run() method

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-1131. -- Resolution: Fixed Fixed with commit revision: 602a6622855c2b108daf89c973af58ad1adc5fcb

[jira] [Updated] (STRATOS-1131) Do not directly invoke Runnable.run() method

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-1131: - Affects Version/s: 4.1.0 Alpha > Do not directly invoke Runnable.run() method >

[jira] [Updated] (STRATOS-1131) Do not directly invoke Runnable.run() method

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-1131: - Fix Version/s: 4.1.0 RC1 > Do not directly invoke Runnable.run() method > --

[jira] [Created] (STRATOS-1131) Do not directly invoke Runnable.run() method

2015-01-24 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-1131: Summary: Do not directly invoke Runnable.run() method Key: STRATOS-1131 URL: https://issues.apache.org/jira/browse/STRATOS-1131 Project: Stratos Issu

Re: Adding cartridge method throws exception in the latest pack

2015-01-24 Thread Gayan Gunarathne
This is fixed with commit 7df77c8de3d498c0270934b7452a8da0cc1de402 by introducing new wrapper method to handle the above exception. Thanks, Gayan On Sun, Jan 25, 2015 at 12:22 AM, Gayan Gunarathne wrote: > Getting the following exception when adding the cartridge with the fresh > pack. > > org.

[jira] [Assigned] (STRATOS-1130) Adding cartridge method throws exception

2015-01-24 Thread Gayan Gunarathne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gayan Gunarathne reassigned STRATOS-1130: - Assignee: Gayan Gunarathne > Adding cartridge method throws exception > --

[jira] [Created] (STRATOS-1130) Adding cartridge method throws exception

2015-01-24 Thread Gayan Gunarathne (JIRA)
Gayan Gunarathne created STRATOS-1130: - Summary: Adding cartridge method throws exception Key: STRATOS-1130 URL: https://issues.apache.org/jira/browse/STRATOS-1130 Project: Stratos Issue

[jira] [Resolved] (STRATOS-1129) Replace Throwable catch statements with Exception

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-1129. -- Resolution: Fixed Fix Version/s: 4.1.0 RC1 Fixed with commit revision: 51e50310

[jira] [Created] (STRATOS-1129) Replace Throwable catch statements with Exception

2015-01-24 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-1129: Summary: Replace Throwable catch statements with Exception Key: STRATOS-1129 URL: https://issues.apache.org/jira/browse/STRATOS-1129 Project: Stratos

Adding cartridge method throws exception in the latest pack

2015-01-24 Thread Gayan Gunarathne
Getting the following exception when adding the cartridge with the fresh pack. org.apache.stratos.cloud.controller.stub.CloudControllerServiceCartridgeNotFoundExceptionException: CloudControllerServiceCartridgeNotFoundExceptionException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nat

[Discuss] Removing Unused Service Stubs

2015-01-24 Thread Imesh Gunaratne
Hi Devs, As I found following service stubs are not used any more: org.apache.stratos.account.mgt.stub org.apache.stratos.adc.instanceinfo.mgt.stub org.apache.stratos.adc.reponotification.service.stub org.apache.stratos.billing.mgt.stub org.apache.stratos.cartridge.agent.stub org.apache.stratos.m

Re: [Discuss] AccessURLs property in Cluster class

2015-01-24 Thread Imesh Gunaratne
Great! Thanks Gayan! On Sat, Jan 24, 2015 at 10:59 PM, Gayan Gunarathne wrote: > Yeah. We can use the List as access urls is always a list of > strings.I will update it. > > Thanks. > > > On Sat, Jan 24, 2015 at 10:19 PM, Imesh Gunaratne > wrote: > >> Hi Gayan, >> >> I can see that you have add

[jira] [Resolved] (STRATOS-1128) Remove Unused Service Stubs

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-1128. -- Resolution: Fixed Fix Version/s: 4.1.0 RC1 Fixed with commit revision: 11b9d636

[jira] [Created] (STRATOS-1128) Remove Unused Service Stubs

2015-01-24 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-1128: Summary: Remove Unused Service Stubs Key: STRATOS-1128 URL: https://issues.apache.org/jira/browse/STRATOS-1128 Project: Stratos Issue Type: Improveme

[GitHub] stratos pull request: Validate removal of cartridges and cartridge...

2015-01-24 Thread imesh
Github user imesh commented on the pull request: https://github.com/apache/stratos/pull/183#issuecomment-71329590 @shirolk Would you mind resolving the conflicts? Thanks --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well.

Re: [Discuss] AccessURLs property in Cluster class

2015-01-24 Thread Gayan Gunarathne
Yeah. We can use the List as access urls is always a list of strings.I will update it. Thanks. On Sat, Jan 24, 2015 at 10:19 PM, Imesh Gunaratne wrote: > Hi Gayan, > > I can see that you have added $subject as a generic List type [1]. May be > we could change this to a specific List type: List

[Discuss] Removing Unused Components

2015-01-24 Thread Imesh Gunaratne
Hi Devs, I found a set of components which were not used in our product: org.apache.stratos.usage org.apache.stratos.usage.ui org.apache.stratos.usage.summary org.apache.stratos.usage.agent org.apache.stratos.throttling org.apache.stratos.throttling.agent org.apache.stratos.throttling.manager org

[Discuss] AccessURLs property in Cluster class

2015-01-24 Thread Imesh Gunaratne
Hi Gayan, I can see that you have added $subject as a generic List type [1]. May be we could change this to a specific List type: List, otherwise developers would not know which type of a list to set. WDYT? [1] https://github.com/apache/stratos/blob/fea9104848525bc9148d253e69bf66380c62ebbd/compon

[jira] [Updated] (STRATOS-1126) Remove Unused Components

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-1126: - Fix Version/s: 4.1.0 RC1 > Remove Unused Components > > >

[jira] [Updated] (STRATOS-1127) Autoscaler Service is named as AutoScaler not Autoscaler

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-1127: - Fix Version/s: 4.1.0 RC1 > Autoscaler Service is named as AutoScaler not Autoscaler > --

[jira] [Created] (STRATOS-1127) Autoscaler Service is named as AutoScaler not Autoscaler

2015-01-24 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-1127: Summary: Autoscaler Service is named as AutoScaler not Autoscaler Key: STRATOS-1127 URL: https://issues.apache.org/jira/browse/STRATOS-1127 Project: Stratos

[jira] [Resolved] (STRATOS-1127) Autoscaler Service is named as AutoScaler not Autoscaler

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-1127. -- Resolution: Fixed Fixed with commit revision: 07c19f667c22006c9966ee6c67adbab649c1e788

[jira] [Resolved] (STRATOS-1126) Remove Unused Components

2015-01-24 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne resolved STRATOS-1126. -- Resolution: Fixed Fixed with commit revision: ee5e9639b5984c5ddf0964debf00ccf1e5d38aa

[jira] [Created] (STRATOS-1126) Remove Unused Components

2015-01-24 Thread Imesh Gunaratne (JIRA)
Imesh Gunaratne created STRATOS-1126: Summary: Remove Unused Components Key: STRATOS-1126 URL: https://issues.apache.org/jira/browse/STRATOS-1126 Project: Stratos Issue Type: Bug Affe

[jira] [Updated] (STRATOS-1125) Add an API method to update a cartridge

2015-01-24 Thread Gayan Gunarathne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gayan Gunarathne updated STRATOS-1125: -- Affects Version/s: 4.1.0 Alpha Fix Version/s: 4.1.0 > Add an API method to upd

Re: [Discuss] [Improvement] Manage Network Partitions Globally and Reuse them in Deployment Policy

2015-01-24 Thread Lakmal Warusawithana
Thanks Imesh take care if it On Saturday, January 24, 2015, Imesh Gunaratne wrote: > I have now added logic to validate partitions of the network partition in > the following API method: > POST /networkPartitions -d {networkPartition.json} > > Thanks > > On Sat, Jan 24, 2015 at 10:10 AM, Imesh G

[jira] [Created] (STRATOS-1125) Add an API method to update a cartridge

2015-01-24 Thread Gayan Gunarathne (JIRA)
Gayan Gunarathne created STRATOS-1125: - Summary: Add an API method to update a cartridge Key: STRATOS-1125 URL: https://issues.apache.org/jira/browse/STRATOS-1125 Project: Stratos Issue T

Re: Is the app_single_group.json-para file needed in samples?

2015-01-24 Thread Gayan Gunarathne
Seems it is backup of the application json file and we can remove it as currently that is not use for deploy the application. Thanks,d Gayan On Sat, Jan 24, 2015 at 4:26 PM, Mariangela Hills wrote: > I noticed that there was a file named app_single_group.json-para in the > /samples/single-group

[jira] [Updated] (STRATOS-1124) Missing JSON in samples/single-group-v1/mock/ directory

2015-01-24 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1124: -- Description: The tomcat cartridge has been mentioned in the app_single_group.JSON and

[jira] [Updated] (STRATOS-1124) Missing JSON in samples/single-group-v1/mock/ directory

2015-01-24 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1124: -- Summary: Missing JSON in samples/single-group-v1/mock/ directory (was: Mistake in sam

Is the app_single_group.json-para file needed in samples?

2015-01-24 Thread Mariangela Hills
I noticed that there was a file named app_single_group.json-para in the /samples/single-group-v1/mock/artifacts/ directory. Is this file required or has it been added by mistake? Regards, Mariangela *--* Mariangela Hills Senior Technical Writer *WSO2, Inc.*lean.enterprise.middleware. w: htt

[jira] [Created] (STRATOS-1124) Mistake in samples/single-group-v1/mock/deploy.sh file

2015-01-24 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1124: - Summary: Mistake in samples/single-group-v1/mock/deploy.sh file Key: STRATOS-1124 URL: https://issues.apache.org/jira/browse/STRATOS-1124 Project: Stratos

[jira] [Created] (STRATOS-1123) Wiki - Document Available Stratos Samples

2015-01-24 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1123: - Summary: Wiki - Document Available Stratos Samples Key: STRATOS-1123 URL: https://issues.apache.org/jira/browse/STRATOS-1123 Project: Stratos Issue

[jira] [Created] (STRATOS-1122) Application name incorrect in Kubernetes - single-cartridge sample

2015-01-24 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1122: - Summary: Application name incorrect in Kubernetes - single-cartridge sample Key: STRATOS-1122 URL: https://issues.apache.org/jira/browse/STRATOS-1122 Projec