Re: [Discuss] [Question] Why did we introduce Application Clusters Created event while having Cluster Created event

2015-02-19 Thread Reka Thirunavukkarasu
Hi Raj, On Thu, Feb 19, 2015 at 11:25 PM, Rajkumar Rajaratnam wrote: > > > On Sat, Feb 7, 2015 at 11:47 PM, Reka Thirunavukkarasu > wrote: > >> Hi Imesh, >> >> Since we have introduced the Composite Application model where more than >> one clusters present, we are no longer using cluster create

Re: [Discuss] [Question] Why did we introduce Application Clusters Created event while having Cluster Created event

2015-02-19 Thread Rajkumar Rajaratnam
On Sat, Feb 7, 2015 at 11:47 PM, Reka Thirunavukkarasu wrote: > Hi Imesh, > > Since we have introduced the Composite Application model where more than > one clusters present, we are no longer using cluster created event in order > to avoid unnecessary complication when registering the Application

Re: [Dev] [Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-19 Thread Udara Liyanage
Hi Mari, Issue still exist in other IaaSes such as Openstack. Need to fix them too. On Wed, Feb 18, 2015 at 3:55 PM, Mariangela Hills wrote: > This has been fixed in [1]. Thanks, for reporting! > > [1] https://issues.apache.org/jira/browse/STRATOS-1198 > > Regards, > Mariangela > > > > > *--* >

Re: QUESTION: onApplicationSignUpRemovedEvent in python cartridge agent compares serivceName with application Id

2015-02-19 Thread Imesh Gunaratne
Hi Martin, Great! Thanks for fixing it! I reviewed the diff and it looks good. Thanks On Fri, Feb 20, 2015 at 6:00 AM, Martin Eppel (meppel) wrote: > forgot to attach the diff > > > > *From:* Martin Eppel (meppel) > *Sent:* Thursday, February 19, 2015 2:23 PM > *To:* dev@stratos.apache.org >

[jira] [Updated] (STRATOS-1192) missing commits in 4.1 (currently in 4.0. private branch)

2015-02-19 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-1192: -- Description: There are several improvements / commits which were made in a private 4.0 based

RE: QUESTION: onApplicationSignUpRemovedEvent in python cartridge agent compares serivceName with application Id

2015-02-19 Thread Martin Eppel (meppel)
forgot to attach the diff From: Martin Eppel (meppel) Sent: Thursday, February 19, 2015 2:23 PM To: dev@stratos.apache.org Subject: RE: QUESTION: onApplicationSignUpRemovedEvent in python cartridge agent compares serivceName with application Id Thanks Imesh, I still see an issue in the respecti

RE: QUESTION: onApplicationSignUpRemovedEvent in python cartridge agent compares serivceName with application Id

2015-02-19 Thread Martin Eppel (meppel)
Thanks Imesh, I still see an issue in the respective ApplicationSignUpMessageProcessorChain.java which, IMHO doesn’t handle the ApplicationSignUpRemovedEvent because of the missing ApplicationSignUp<…>EventListener. I fixed the issue and checked it in (commit ddd6a1bd6d875d55bf8ca7a98b45160b6

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-19 Thread chamilad
Github user chamilad closed the pull request at: https://github.com/apache/stratos/pull/233 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is e

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-19 Thread chamilad
GitHub user chamilad opened a pull request: https://github.com/apache/stratos/pull/236 PCA - Fixed PCA integration test to be parameterized on artifact updated event objects This fix enables to test the authenticated git clone on PCA and also fixes minor issues in test structure.

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-19 Thread chamilad
Github user chamilad commented on the pull request: https://github.com/apache/stratos/pull/233#issuecomment-75126487 Solved merge conflicts and re opened PR236. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your proj

Re: [Discuss] Writing Cartridge Agent Extensions in Python

2015-02-19 Thread Chamila De Alwis
Hi Imesh, On Thu, Feb 19, 2015 at 2:47 PM, Imesh Gunaratne wrote: > I think we can introduce a packaging model for plugins using zip. PCA can > provide a folder to copy plugin zip files (a deploy folder: plugins/deploy) > and at the startup those can be extracted to a different folder > (plugins

Re: [Discuss] Writing Cartridge Agent Extensions in Python

2015-02-19 Thread Imesh Gunaratne
Hi Chamila, It looks good! I have now merged this pull request to master branch. I think we can introduce a packaging model for plugins using zip. PCA can provide a folder to copy plugin zip files (a deploy folder: plugins/deploy) and at the startup those can be extracted to a different folder (p

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-19 Thread imesh
Github user imesh commented on the pull request: https://github.com/apache/stratos/pull/233#issuecomment-75017599 @chamilad There are some conflicts in your change. Can you please fix them? Thanks --- If your project is set up for it, you can reply to this email and have your repl

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-19 Thread imesh
Github user imesh commented on a diff in the pull request: https://github.com/apache/stratos/pull/233#discussion_r24972772 --- Diff: components/org.apache.stratos.python.cartridge.agent/src/test/java/org/apache/stratos/python.cartridge.agent/test/PythonCartridgeAgentTest.java ---

[jira] [Commented] (STRATOS-1180) Modify extension execution structure in Python Cartridge Agent

2015-02-19 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327131#comment-14327131 ] ASF GitHub Bot commented on STRATOS-1180: - Github user imesh commented on the pu

[GitHub] stratos pull request: [STRATOS-1180] - Yapsy based plugin architec...

2015-02-19 Thread imesh
Github user imesh commented on the pull request: https://github.com/apache/stratos/pull/234#issuecomment-75016467 Thanks for the pull request @chamilad! It looks good! IMO it would be better to introduce a packaging model for plugins using zip to make it easier to distribute and deplo

[jira] [Commented] (STRATOS-1180) Modify extension execution structure in Python Cartridge Agent

2015-02-19 Thread ASF GitHub Bot (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327128#comment-14327128 ] ASF GitHub Bot commented on STRATOS-1180: - Github user asfgit closed the pull re

[GitHub] stratos pull request: [STRATOS-1180] - Yapsy based plugin architec...

2015-02-19 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/234 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[GitHub] stratos pull request: Fixed CLI command for deactivate tenant

2015-02-19 Thread imesh
Github user imesh commented on the pull request: https://github.com/apache/stratos/pull/235#issuecomment-75015706 Thanks for the fix @dinithis! I have now merged this to 4.1.0-beta-deployment-policy-fix branch. --- If your project is set up for it, you can reply to this email and hav

[GitHub] stratos pull request: Fixed CLI command for deactivate tenant

2015-02-19 Thread imesh
Github user imesh commented on the pull request: https://github.com/apache/stratos/pull/235#issuecomment-75015403 @dinithis Thanks for the fix! It seems like the merge process fails with the below error: Falling back to patching base and 3-way merge... Auto-merging servic

Re: Purpose of ArtifactCopyTask and RepositoryFileListener classes in JCA

2015-02-19 Thread Chamila De Alwis
Hi Isuru, Udara, Thanks for the responses. I will clean this code. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Thu, Feb 19, 2015 at 1:44 PM, Udara Liyanage wrote: > Hi Chamila, > > Cleaner to remove if not used since we have no intentio

Re: GSoC 2015 introduction

2015-02-19 Thread Imesh Gunaratne
Hi Nisala, It's nice to hear from you. First you could go through the existing CLI code as mentioned by Chamila. You could find the API reference here [1]. The idea is to implement the existing Java based CLI in python. If you are interested in doing this project. Please provide a project proposa

Re: Purpose of ArtifactCopyTask and RepositoryFileListener classes in JCA

2015-02-19 Thread Udara Liyanage
Hi Chamila, Cleaner to remove if not used since we have no intention of removing git based dep sync. On Thu, Feb 19, 2015 at 1:40 PM, Chamila De Alwis wrote: > Hi, > > In the Java cartridge agent there is an unused class, ArifactCopyTask > class, which seems to be copying a given source folder

Re: Purpose of ArtifactCopyTask and RepositoryFileListener classes in JCA

2015-02-19 Thread Isuru Haththotuwa
On Thu, Feb 19, 2015 at 1:40 PM, Chamila De Alwis wrote: > Hi, > > In the Java cartridge agent there is an unused class, ArifactCopyTask > class, which seems to be copying a given source folder to a given > destination. It is evident from the commented out code that this was used > to copy reposi

Purpose of ArtifactCopyTask and RepositoryFileListener classes in JCA

2015-02-19 Thread Chamila De Alwis
Hi, In the Java cartridge agent there is an unused class, ArifactCopyTask class, which seems to be copying a given source folder to a given destination. It is evident from the commented out code that this was used to copy repository artifacts from a temporary location to the super tenant applicati

Re: CLI commands added for adding and updating deployment policies

2015-02-19 Thread Dinithi De Silva
Hi all, I have fixed the CLI command for "activate-tenant" in the same PR. Thanks On Thu, Feb 19, 2015 at 1:01 PM, Dinithi De Silva wrote: > I have fixed the CLI command for deactivate tenant. Please review and > merge the PR [1]. > > [1] - https://github.com/apache/stratos/pull/235 > > On Wed