Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2796B11424 for ; Thu, 5 Jun 2014 02:46:28 +0000 (UTC) Received: (qmail 69118 invoked by uid 500); 5 Jun 2014 02:46:27 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 69064 invoked by uid 500); 5 Jun 2014 02:46:27 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 69057 invoked by uid 99); 5 Jun 2014 02:46:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 02:46:27 +0000 X-ASF-Spam-Status: No, hits=3.4 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,HTTP_ESCAPED_HOST,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nirmal070125@gmail.com designates 209.85.212.176 as permitted sender) Received: from [209.85.212.176] (HELO mail-wi0-f176.google.com) (209.85.212.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jun 2014 02:46:23 +0000 Received: by mail-wi0-f176.google.com with SMTP id n15so9459386wiw.9 for ; Wed, 04 Jun 2014 19:46:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ZBhjbqxO68hYTcXcWu3QcQq/8zotIaHW58/qqL7qEvM=; b=Lo8TKUYq7rSJixWyAW77verOLvrZd2fT+5YsfK6IfL0zx72yneGDD0HCc63GqhhzSs hP94yir8bZw1iTcr0rCN77kRIIuy5GstOb4y6DQI0lbrRq5m0HCbHTgCbigZEJBy0mUC LO/CuZ0iqdcOPeGbuluTM6ZVMuI3Ntl6AXrZ2kJW6VAlksAK0ig3vFZDxP0cqc4sVTPh aJqVS99L5jAfexqwIs5P4/JKhaB1A72OBc/rNtYpoacAwcYPpWbGw/YElDNsDv7j5jLa XfYcA7iooYb91MIpSu0QKjCjfDtz3XhCuoFpue8jEQa5do0QNKm/BbasxScCrufHYzTc hEWQ== MIME-Version: 1.0 X-Received: by 10.194.87.170 with SMTP id az10mr22796518wjb.1.1401936361726; Wed, 04 Jun 2014 19:46:01 -0700 (PDT) Received: by 10.194.140.104 with HTTP; Wed, 4 Jun 2014 19:46:01 -0700 (PDT) In-Reply-To: <07110D8A7AC60C49AE2432100017A3F62774528D@xmb-rcd-x12.cisco.com> References: <07110D8A7AC60C49AE2432100017A3F6237BC1E8@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F6237BC205@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F6237BC658@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F627744631@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F6277447E5@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F627744807@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F62774481F@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F627744861@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F6277448DF@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F627744D94@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F627744E7E@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F627745105@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F62774514F@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F6277451E3@xmb-rcd-x12.cisco.com> <07110D8A7AC60C49AE2432100017A3F62774528D@xmb-rcd-x12.cisco.com> Date: Thu, 5 Jun 2014 08:16:01 +0530 Message-ID: Subject: Re: adding the groupId to a member event ... RE: [Discuss] Grouping of services (cartridges) From: Nirmal Fernando To: dev Content-Type: multipart/alternative; boundary=089e010d867cd6b2da04fb0dbe2c X-Virus-Checked: Checked by ClamAV on apache.org --089e010d867cd6b2da04fb0dbe2c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Awesome! On Thu, Jun 5, 2014 at 8:01 AM, Martin Eppel (meppel) wrote: > It worked, > > > > Thanks > > > > Martin > > > > > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Wednesday, June 04, 2014 4:03 PM > > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > > > > > On Thu, Jun 5, 2014 at 3:24 AM, Martin Eppel (meppel) > wrote: > > Ok, I see =E2=80=93 I think I don=E2=80=99t understand the correct proce= ss to add a new > interface to the CloudController. > > > > Is this the correct procedure to develop the SOAP API for the could > controller : ? > > > > 1. Implement the new API in CloudControllerServiceImpl > > 2. Recompile cloud controller project and patch the server > > 3. Retrieve the wsdl (Cloudcontroller.wsdl) and place it in my > build environment > > 3.2 place it in the corresponding service stub and replace the existing > wsdl under src/main/resurces and build the project. > > 4. Implement the API in CloudControllerServiceClient, recompile > all projects and redeploy binaries > > Correct. > > > > > > Thanks > > > > Martin > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Wednesday, June 04, 2014 2:34 PM > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > Hi Martin, > > That is a risky thing to do :-) I suggest you to start the product with > your patch and then access the auto-generated wsdl using > https://:/services/CloudControllerService?wsdl > > > > On Thu, Jun 5, 2014 at 1:31 AM, Martin Eppel (meppel) > wrote: > > I edited my changes manually =E2=80=A6 > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Wednesday, June 04, 2014 12:16 PM > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > How did you generate the WSDL, Martin? > > > > On Thu, Jun 5, 2014 at 12:35 AM, Isuru Haththotuwa > wrote: > > Hi Martin, > > Can you send the locally built Cloud Controller jar (with your changes), > so that we can try to generate the WSDL. > > > > On Thu, Jun 5, 2014 at 12:24 AM, Martin Eppel (meppel) > wrote: > > I patched it but still see the same issue, what=E2=80=99s the best way to= debug > this ? > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Wednesday, June 04, 2014 11:20 AM > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > I remember you faced a similar issue earlier. So, just to make sure :-) > > > > On Wed, Jun 4, 2014 at 11:41 PM, Martin Eppel (meppel) > wrote: > > I recompiled all jars, generated the zips and installed the system from > the installer zip files, you think it is still necessary ? > > (but I=E2=80=99ll try anyway - recompile service stub and patch) > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Wednesday, June 04, 2014 10:58 AM > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > Can you try to patch the CC service stub to the running product and check= ? > > > > On Wed, Jun 4, 2014 at 11:18 PM, Martin Eppel (meppel) > wrote: > > Here we go, see attached files: > > > > ServiceUtils invokes the API > > CloudControllerClient, CloudControllerServiceImpl for implementation > > > > Thanks > > > > Martin > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Wednesday, June 04, 2014 9:45 AM > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > > > > > On Wed, Jun 4, 2014 at 10:14 PM, Nirmal Fernando > wrote: > > I am sorry Martin, but it'll easy for me, if you can attach the code diff > of CC component. > > Thanks. > > > > On Wed, Jun 4, 2014 at 10:07 PM, Martin Eppel (meppel) > wrote: > > Attached to the email, > > > > Thanks > > > > Martin > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Tuesday, June 03, 2014 10:20 PM > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > Can you please send a diff over? > > > > On Wed, Jun 4, 2014 at 10:46 AM, Martin Eppel (meppel) > wrote: > > No, but I modeled / followed the deployCartridgeDefinition API which I > think passes a bean as parameter ? > > > > Is it required to define a bean ? Where and how ? > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Tuesday, June 03, 2014 8:57 PM > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > Hi Martin, > > Did you introduce a new bean class? > > > > On Wed, Jun 4, 2014 at 9:19 AM, Martin Eppel (meppel) > wrote: > > Actually, > > > > Below are all the changes I made to the wsdl for the new API, all I want > at this point is to pass a string parameter in the API: > > > > > > soapAction=3D"urn:deployCompositeApplicationDefinition" > style=3D"document"> > > > > > > > > name=3D"CloudControllerServiceInvalidCompositeApplicationDefinitionExcept= ion"> > > name=3D"CloudControllerServiceInvalidCompositeApplicationDefinitionExcept= ion"> > > > > name=3D"CloudControllerServiceInvalidIaasProviderException"> > > name=3D"CloudControllerServiceInvalidIaasProviderException"> > > > > > > > > > > soapAction=3D"urn:deployCompositeApplicationDefinition" > style=3D"document"> > > > > > > > > name=3D"CloudControllerServiceInvalidCompositeApplicationDefinitionExcept= ion"> > > name=3D"CloudControllerServiceInvalidCompositeApplicationDefinitionExcept= ion"> > > > > name=3D"CloudControllerServiceInvalidIaasProviderException"> > > name=3D"CloudControllerServiceInvalidIaasProviderException"> > > > > > > > > name=3D"deployCompositeApplicationDefinition"> > > location=3D"deployCompositeApplicationDefinition"> > > > > part=3D"parameters"> > > > > > > > > > > name=3D"deployCompositeApplicationDefinition"> > > > > > > name=3D"compositeApplicationConfig" nillable=3D"true" > type=3D"xs:string"> > > > > > > > > > > > > > > name=3D"deployCompositeApplicationDefinitionRequest"> > > element=3D"ns:deployCompositeApplicationDefinition"> > > > > > > name=3D"deployCompositeApplicationDefinition"> > > message=3D"ns:deployCompositeApplicationDefinitionRequest" > wsaw:Action=3D"urn:deployCompositeApplicationDefinition"> > > message=3D"ns:CloudControllerServiceInvalidCompositeApplicationDefinition= Exception" > name=3D"CloudControllerServiceInvalidCompositeApplicationDefinitionExcept= ion" > wsaw:Action=3D"urn:deployCompositeApplicationDefinitionCloudControllerSer= viceInvalidCompositeApplicationDefinitionException"> > > message=3D"ns:CloudControllerServiceInvalidIaasProviderException" > name=3D"CloudControllerServiceInvalidIaasProviderException" > wsaw:Action=3D"urn:deployCompositeApplicationDefinitionCloudControllerSer= viceInvalidIaasProviderException"> > > > > > > > > name=3D"CloudControllerServiceInvalidCompositeApplicationDefinitionExcept= ion"> > > > > > > name=3D"InvalidCompositeApplicationDefinitionException" nillable=3D"true" > type=3D"ax219:InvalidCompositeApplicationDefinitionException"> > > > > > > > > > > name=3D"CloudControllerServiceInvalidCompositeApplicationDefinitionExcept= ion"> > > element=3D"ns:CloudControllerServiceInvalidCompositeApplicationDefinition= Exception"> > > > > > > *From:* Martin Eppel (meppel) > *Sent:* Tuesday, June 03, 2014 8:47 PM > *To:* dev@stratos.apache.org > *Cc:* dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* RE: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > Yes, > > > > I did add the new api in the cloudcontroller.wsdl and regenerated the stu= b > (recompiled successfully all projects, including service-stub, etc =E2=80= =A6). The > error happens during run time when I invoke the API, are there any debug > traces I can turn on for axis which might help ? > > > > > > > > *From:* isuruh@wso2.com [mailto:isuruh@wso2.com] *On Behalf Of *Isuru > Haththotuwa > *Sent:* Tuesday, June 03, 2014 8:11 PM > *To:* dev@stratos.apache.org > *Cc:* dev@stratos.incubator.apache.org; Isuru Haththotuwa; Lakmal > Warusawithana; Melan Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > Hi Marin, > > If you have changed the CloudController interface, you will need to use > the new cloud controller WSDL and re-generate the Cloud Controller servic= e > stub code. This error can be a result of this. Let me know if you have no= t > done this so that I can give some guide lines. > > > > On Wed, Jun 4, 2014 at 8:21 AM, Martin Eppel (meppel) > wrote: > > When I invoke my soap API I get the following exception, what =E2=80=98s = the best > way to troublshoot / debug this ? What could be the issue ? > > > > Thanks > > > > Martin > > > > TID: [0] [STRATOS] [2014-06-04 02:30:40,030] ERROR > {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} - Exception > occurred while trying to invoke service method > deployCompositeApplicationDefinition > {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} > > java.lang.ArrayIndexOutOfBoundsException: 1 > > at > org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:639= ) > > at > org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:153) > > at > org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:20= 6) > > at > org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLog= ic(RPCInOnlyMessageReceiver.java:66) > > at > org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessag= eReceiver.java:110) > > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180= ) > > at > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest= (HTTPTransportUtils.java:172) > > at > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) > > at > org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:2= 31) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > > at > org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(Ser= vletRegistration.java:61) > > at > org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(Proxy= Servlet.java:128) > > at > org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServl= et.java:68) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) > > at > org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationSe= rvlet.java:68) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= ionFilterChain.java:305) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= rChain.java:210) > > at > org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSe= tFilter.java:61) > > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= ionFilterChain.java:243) > > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= rChain.java:210) > > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve= .java:222) > > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve= .java:123) > > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorB= ase.java:472) > > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 171) > > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:= 99) > > at > org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(Compo= siteValve.java:178) > > at > org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1.invoke(CarbonTomcat= Valve.java:47) > > at > org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invoke(TenantLazyLoaderV= alve.java:56) > > at > org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(Tomca= tValveContainer.java:47) > > at > org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.ja= va:141) > > at > org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(= CarbonStuckThreadDetectionValve.java:156) > > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) > > at > org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(Carbon= ContextCreatorValve.java:52) > > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j= ava:118) > > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:40= 7) > > at > org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Pr= ocessor.java:1004) > > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abst= ractProtocol.java:589) > > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.ja= va:1653) > > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java= :1145) > > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.jav= a:615) > > at java.lang.Thread.run(Thread.java:745) > > TID: [0] [STRATOS] [2014-06-04 02:30:40,039] ERROR > {org.apache.stratos.rest.endpoint.services.ServiceUtils} - Exception > occurred while trying to invoke service method > deployCompositeApplicationDefinition > {org.apache.stratos.rest.endpoint.services.ServiceUtils} > > org.apache.axis2.AxisFault: Exception occurred while trying to invoke > service method deployCompositeApplicationDefinition > > at > org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:= 531) > > at > org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOper= ationClient.handleResponse(RobustOutOnlyAxisOperation.java:91) > > at > org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOpera= tion.java:445) > > at > org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAx= isOperation.java:225) > > at > org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) > > at > org.apache.stratos.cloud.controller.stub.CloudControllerServiceStub.deplo= yCompositeApplicationDefinition(CloudControllerServiceStub.java:389) > > at > org.apache.stratos.manager.client.CloudControllerServiceClient.deployComp= ositeApplicationDefinition(CloudControllerServiceClient.java:118) > > at > org.apache.stratos.rest.endpoint.services.ServiceUtils.deployCompositeApp= licationDefinition(ServiceUtils.java:227) > > at > org.apache.stratos.rest.endpoint.services.ServiceUtils.deployApplication(= ServiceUtils.java:198) > > at > org.apache.stratos.rest.endpoint.services.StratosAdmin.deployApplicationD= efinition(StratosAdmin.java:120) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > > *From:* Nirmal Fernando [mailto:nirmal070125@gmail.com] > *Sent:* Tuesday, June 03, 2014 2:30 PM > *To:* dev > *Cc:* dev@stratos.incubator.apache.org; Isuru Haththotuwa; Lakmal > Warusawithana; Melan Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: adding the groupId to a member event ... RE: [Discuss] > Grouping of services (cartridges) > > > > Hi Martin, > > Who knows about this group id? Who's suppose to set it to the topology? > > > > On Wed, Jun 4, 2014 at 2:21 AM, Martin Eppel (meppel) > wrote: > > Hi Isuru, > > > > As part of the grouping I need to add the groupId to a Member event (e.g. > MemberStartedEvent, MemberActivatedEvent). > > Currently I added the composite application data to the Topology by > generating a event and respective event processor (similar to Service) > which works fine for the autoscaler. > > However it seems that the CloudController uses its own registry and the > application info is missing when the topology is restored so it seems I > have to push the application data also to the cloud controller. > > The only interface available seems to be the soap api > (CloudControllerService.wsdl) which I would like to avoid (complicated an= d > time intensive). Is there a better way to push the data, can I use a > topology event, share the manager registry or do you have any other > recommendations ? > > In case the soap API is the only option, is there a better way to > generate the CloudControllerService .wsdl or do I have to manually edit i= n > my API changes ? > > > > Thanks > > > > Martin > > > > *From:* Martin Eppel (meppel) > *Sent:* Tuesday, May 20, 2014 9:15 AM > *To:* Isuru Haththotuwa > *Cc:* Lakmal Warusawithana; dev@stratos.incubator.apache.org; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* RE: [Discuss] Grouping of services (cartridges) > > > > Sounds good > > > > *From:* isuruh@wso2.com [mailto:isuruh@wso2.com] *On Behalf Of *Isuru > Haththotuwa > *Sent:* Tuesday, May 20, 2014 4:41 AM > *To:* Martin Eppel (meppel) > *Cc:* Lakmal Warusawithana; dev@stratos.incubator.apache.org; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: [Discuss] Grouping of services (cartridges) > > > > Hi Martin, > > > > On Tue, May 20, 2014 at 12:17 AM, Martin Eppel (meppel) > wrote: > > Can you give me a quick json example to make sure I won=E2=80=99t misunde= rstand ? > > We would still be using the component JSON definitions as per your > proposal, since if we put everything inline it would be one large JSON > file. In the top level Composite Application Definition (which is the mor= e > appropriate name for subscription Plan, as suggested by Lakmal), you can > refer the previously deployed groups by using the alias. So, the last > example that you have given in the doc would be a valid JSON sample. Hope > this is clear. Do let me know if its not. > > > > > > > > *From:* Lakmal Warusawithana [mailto:lakmal@wso2.com] > *Sent:* Monday, May 19, 2014 11:33 AM > *To:* Martin Eppel (meppel) > *Cc:* dev@stratos.incubator.apache.org; Isuru Haththotuwa; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* Re: [Discuss] Grouping of services (cartridges) > > > > > > > > On Mon, May 19, 2014 at 11:55 PM, Martin Eppel (meppel) > wrote: > > Lakmal, > > > > A few clarifications: > > > > I think based on the last proposal we can consolidate the definition of > components, dependencies in one definition and deploy all at once as > subscription plan, correct (simplifies the deployment) ? > > > > > > Yes, but as the first step, will have separate deployers for groups, > components and then composite application (which is you have mention > subscription plan). > > > > Also, Isuru pointed out that the term application might be confusing so > I suggested subscription plan (or something similar), do we still want to > go with it ? > > > > > > What i suggest to call it composite application. > > > > And composite application can refer, previous deployed group, components. > components can refer cartridge definitions. And dependancies (start order= , > kill order) should be defined in the top level, which is in composite > application definition. > > > > > > > > Thanks > > > > Martin > > > > *From:* Martin Eppel (meppel) > *Sent:* Monday, May 19, 2014 10:58 AM > *To:* Martin Eppel (meppel); Lakmal Warusawithana > *Cc:* dev@stratos.incubator.apache.org; Isuru Haththotuwa; Melan > Jayasingha; Shaheedur Haque (shahhaqu) > *Subject:* RE: [Discuss] Grouping of services (cartridges) > > > > Sorry, hit the send button to soon: > > > > Ok, I=E2=80=99ll work on the deployment. I=E2=80=99ll send you guys the c= ode as patch to > checkin. > > > > Do we have already a planned date for 4.1 Milestone 1 ? > > > > Thanks > > > > ... > > [Message clipped] --=20 Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/ --089e010d867cd6b2da04fb0dbe2c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Awesome!


On Thu, Jun 5, 2014 at 8:01 AM, Martin Eppel (meppel)= <meppel@cisco.com> wrote:

It worked,

=C2=A0

Thanks

=C2=A0

Martin

=C2=A0

=C2= =A0

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Wednesday, June 04, 2014 4:03 PM


To: dev
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

=C2=A0

=C2=A0<= /p>

On Thu, Jun 5, 2014 at 3:24 AM, Martin Eppel (meppel= ) <meppel@cisco.co= m> wrote:

Ok, I see =E2=80=93 I thi= nk I=C2=A0 don=E2=80=99t understand the correct process to add a new interf= ace to the CloudController.

=C2=A0

Is this the correct proce= dure to develop the SOAP API for the could controller : ?<= /u>

=C2=A0

1.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Implement the new API in CloudControllerS= erviceImpl

2.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Recompile cloud controller project and pa= tch the server

3.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Retrieve the wsdl (Cloudcontroller.wsdl) = and place it in my build environment

3.2 place it in the corresponding service stub and r= eplace the existing wsdl under src/main/resurces=C2=A0 and build the projec= t.

4.=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Implement the API in CloudControllerServi= ceClient, recompile all projects and redeploy binaries=

Correct.

=C2=A0

=C2=A0

Thanks

=C2=A0

Martin

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Wednesday, June 04, 2014 2:34 PM
To: dev
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

Hi Martin,<= /u>

That is a risky thing to do :-) I suggest you to sta= rt the product with your patch and then access the auto-generated wsdl usin= g https://<host>:<port>/services/CloudContr= ollerService?wsdl

=C2=A0<= /p>

On Thu, Jun 5, 2014 at 1:31 AM, Martin Eppel (meppel= ) <meppel@cisco.co= m> wrote:

I edited my changes manua= lly =E2=80=A6

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Wednesday, June 04, 2014 12:16 PM
To: dev
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

How did you generate the WSDL, Martin?=

=C2=A0<= /p>

On Thu, Jun 5, 2014 at 12:35 AM, Isuru Haththotuwa &= lt;isuruh@apache.org= > wrote:

Hi Martin,

Can you send the locally built Cloud Controller jar = (with your changes), so that we can try to generate the WSDL.

=C2=A0<= /p>

On Thu, Jun 5, 2014 at 12:24 AM, Martin Eppel (meppe= l) <meppel@cisco.c= om> wrote:

I patched it but still se= e the same issue, what=E2=80=99s the best way to debug this ?=

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Wednesday, June 04, 2014 11:20 AM
To: dev
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

I remember you faced a similar issue earlier. So, ju= st to make sure :-)

=C2=A0<= /p>

On Wed, Jun 4, 2014 at 11:41 PM, Martin Eppel (meppe= l) <meppel@cisco.c= om> wrote:

I recompiled all jars, ge= nerated the zips and installed the system from the installer zip files, you think it is still necessary ?

(but I=E2=80=99ll =C2=A0t= ry anyway - recompile service stub and patch)

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Wednesday, June 04, 2014 10:58 AM
To: dev
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

Can you try to patch the CC service stub to the runn= ing product and check?

=C2=A0<= /p>

On Wed, Jun 4, 2014 at 11:18 PM, Martin Eppel (meppe= l) <meppel@cisco.c= om> wrote:

Here we go, see attached = files:

=C2=A0

ServiceUtils invokes the = API

CloudControllerClient, Cl= oudControllerServiceImpl for implementation

=C2=A0

Thanks

=C2=A0

Martin

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Wednesday, June 04, 2014 9:45 AM
To: dev
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

=C2=A0

=C2=A0<= /p>

On Wed, Jun 4, 2014 at 10:14 PM, Nirmal Fernando <= ;nirmal070125@g= mail.com> wrote:

I am sorry Martin, bu= t it'll easy for me, if you can attach the code diff of CC component.

Thanks.

=C2=A0<= /p>

On Wed, Jun 4, 2014 at 10:07 PM, Martin Eppel (meppe= l) <meppel@cisco.c= om> wrote:

Attached to the email,

=C2=A0

Thanks

=C2=A0

Martin

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Tuesday, June 03, 2014 10:20 PM
To: dev
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

Can you please send a diff over?

=C2=A0<= /p>

On Wed, Jun 4, 2014 at 10:46 AM, Martin Eppel (meppe= l) <meppel@cisco.c= om> wrote:

No, but I modeled / follo= wed the deployCartridgeDefinition API which I think passes a bean as parame= ter ?

=C2=A0

Is it required to define = a bean ? Where and how ?

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Tuesday, June 03, 2014 8:57 PM
To: dev
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

Hi Martin,<= /u>

Did you introduce a new bean class?

=C2=A0<= /p>

On Wed, Jun 4, 2014 at 9:19 AM, Martin Eppel (meppel= ) <meppel@cisco.co= m> wrote:

Actually,

=C2=A0

Below are all the changes= I made to the wsdl for the new API, all I want at this point is to pass a string parameter in the API:

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 <wsdl:operation name=3D"deployCompositeApplicati= onDefinition">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <soap:operation soapAction=3D= "urn:deployCompositeApplicationDefinition" style=3D"document= "></soap:operation>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:input>=

=C2=A0=C2=A0=C2=A0 =C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0<soap:= body use=3D"literal"></soap:body>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl:input>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:fault name=3D"Clou= dControllerServiceInvalidCompositeApplicationDefinitionException"><= /span>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <soap= :fault use=3D"literal" name=3D"CloudControllerServiceInvalid= CompositeApplicationDefinitionException"></soap:fault>=

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl:fault>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:fault name=3D"Clou= dControllerServiceInvalidIaasProviderException">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <soap= :fault use=3D"literal" name=3D"CloudControllerServiceInvalid= IaasProviderException"></soap:fault>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl:fault>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 </wsdl:operation>

=C2=A0

<wsdl:operation name= =3D"deployCompositeApplicationDefinition">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <soap12:operation soapAction= =3D"urn:deployCompositeApplicationDefinition" style=3D"docum= ent"></soap12:operation>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0<wsdl:input><= u>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <soap= 12:body use=3D"literal"></soap12:body><= /u>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl:input>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:fault name=3D"Clou= dControllerServiceInvalidCompositeApplicationDefinitionException"><= /span>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <soap= 12:fault use=3D"literal" name=3D"CloudControllerServiceInval= idCompositeApplicationDefinitionException"></soap12:fault>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl:fault>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:fault name=3D"Clou= dControllerServiceInvalidIaasProviderException">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <soap= 12:fault use=3D"literal" name=3D"CloudControllerServiceInval= idIaasProviderException"></soap12:fault>=

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl:fault>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 </wsdl:operation>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 <wsdl:operation name=3D"deployCompositeApplicationDefi= nition">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <http:operation location=3D&q= uot;deployCompositeApplicationDefinition"></http:operation>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:input>=

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <mime= :content type=3D"text/xml" part=3D"parameters"></= mime:content>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </wsdl:input>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 </wsdl:operation>

=C2=A0=C2=A0=C2=A0=C2=A0 = =C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 <xs:element name=3D"deployCompositeApplicationDefiniti= on">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <xs:c= omplexType>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 <xs:sequence>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <xs:element minOccurs=3D"0&= quot; name=3D"compositeApplicationConfig" nillable=3D"true&q= uot; type=3D"xs:string"></xs:element>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 </xs:sequence>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </xs:= complexType>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </xs:element>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 <wsdl:message name=3D"deployCompositeApplicationDefini= tionRequest">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 <wsdl:part name=3D"parameters" element=3D&q= uot;ns:deployCompositeApplicationDefinition"></wsdl:part>

=C2=A0=C2=A0=C2=A0 </w= sdl:message>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl= :operation name=3D"deployCompositeApplicationDefinition">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:input message=3D"n= s:deployCompositeApplicationDefinitionRequest" wsaw:Action=3D"urn= :deployCompositeApplicationDefinition"></wsdl:input>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:fault message=3D"n= s:CloudControllerServiceInvalidCompositeApplicationDefinitionException"= ; name=3D"CloudControllerServiceInvalidCompositeApplicationDefinitionEx= ception" wsaw:Action=3D"urn:deployCompositeApplicationDefinitionC= loudControllerServiceInvalidCompositeApplicationDefinitionException"&g= t;</wsdl:fault>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <wsdl:fault message=3D"n= s:CloudControllerServiceInvalidIaasProviderException" name=3D"Clo= udControllerServiceInvalidIaasProviderException" wsaw:Action=3D"urn:deployCompositeApplicationDefinitionCloudControlle= rServiceInvalidIaasProviderException"></wsdl:fault>=

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 </wsdl:operation>

=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 <xs:element name=3D"CloudControllerServiceInvalidCompo= siteApplicationDefinitionException">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <xs:c= omplexType>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 <xs:sequence>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 <xs:element minOccurs=3D"0&= quot; name=3D"InvalidCompositeApplicationDefinitionException" nillable=3D"true" type=3D"ax219:InvalidCompositeApplication= DefinitionException"></xs:element>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 </xs:sequence>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </xs:= complexType>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 </xs:element>

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 <wsdl:message name=3D"CloudControllerServiceInvalidCom= positeApplicationDefinitionException">

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 <wsdl:part name=3D"parameters" element=3D&q= uot;ns:CloudControllerServiceInvalidCompositeApplicationDefinitionException= "></wsdl:part>

=C2=A0=C2=A0=C2=A0 </w= sdl:message>

=C2=A0

From: Martin E= ppel (meppel)
Sent: Tuesday, June 03, 2014 8:47 PM
To: dev@= stratos.apache.org
Cc: dev@stratos.incubator.apache.org; Lakmal Warusawithana; Melan Jay= asingha; Shaheedur Haque (shahhaqu)
Subject: RE: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

Yes,

=C2=A0

I did add the new api in = the cloudcontroller.wsdl and regenerated the stub (recompiled successfully all projects, including service-stub, etc =E2=80=A6). The error happens du= ring run time when I invoke the API, are there any debug traces I can turn = on for axis which might help ?

=C2=A0

=C2=A0

=C2=A0

From: isuruh@wso2.com [m= ailto:isuruh@wso2.com<= /a>] On Behalf Of Isuru Haththotuwa
Sent: Tuesday, June 03, 2014 8:11 PM
To:
dev@= stratos.apache.org
Cc: dev@stratos.incubator.apache.org; Isuru Haththotuwa; Lakmal Warus= awithana; Melan Jayasingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

Hi Marin,

If you have changed the CloudController interface, y= ou will need to use the new cloud controller WSDL and re-generate the Cloud= Controller service stub code. This error can be a result of this. Let me know if you have not done this so that I can give s= ome guide lines.

=C2=A0<= /p>

On Wed, Jun 4, 2014 at 8:21 AM, Martin Eppel (meppel= ) <meppel@cisco.co= m> wrote:

When I invoke my soap API= I get the following exception, what =E2=80=98s the best way to troublshoot= / debug this ? What could be the issue ?

=C2=A0

Thanks

=C2=A0

Martin

=C2=A0

TID: [0] [STRATOS] [2014-= 06-04 02:30:40,030] ERROR {org.apache.axis2.rpc.receivers.RPCInOnlyMessageR= eceiver} -=C2=A0 Exception occurred while trying to invoke service method deployCom= positeApplicationDefinition {org.apache.axis2.rpc.receivers.RPCInOnlyMessag= eReceiver}

java.lang.ArrayIndexOutOf= BoundsException: 1

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.databinding.utils.BeanUtil.deseriali= ze(BeanUtil.java:639)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.rpc.receivers.RPCUtil.processRequest= (RPCUtil.java:153)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceC= lass(RPCUtil.java:206)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiv= er.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.receivers.AbstractMessageReceiver.re= ceive(AbstractMessageReceiver.java:110)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine= .java:180)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.transport.http.HTTPTransportUtils.pr= ocessHTTPPostRequest(HTTPTransportUtils.java:172)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.transport.http.AxisServlet.doPost(Ax= isServlet.java:146)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.core.transports.CarbonServlet.doPost(= CarbonServlet.java:231)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at javax.servlet.http.HttpServlet.service(HttpServlet.ja= va:755)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at javax.servlet.http.HttpServlet.service(HttpServlet.ja= va:848)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.eclipse.equinox.http.servlet.internal.ServletRegi= stration.service(ServletRegistration.java:61)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.eclipse.equinox.http.servlet.internal.ProxyServle= t.processAlias(ProxyServlet.java:128)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.eclipse.equinox.http.servlet.internal.ProxyServle= t.service(ProxyServlet.java:68)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at javax.servlet.http.HttpServlet.service(HttpServlet.ja= va:848)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.= service(DelegationServlet.java:68)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.core.ApplicationFilterChain.inter= nalDoFilter(ApplicationFilterChain.java:305)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.core.ApplicationFilterChain.doFil= ter(ApplicationFilterChain.java:210)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.= doFilter(CharacterSetFilter.java:61)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.core.ApplicationFilterChain.inter= nalDoFilter(ApplicationFilterChain.java:243)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.core.ApplicationFilterChain.doFil= ter(ApplicationFilterChain.java:210)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.core.StandardWrapperValve.invoke(= StandardWrapperValve.java:222)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.core.StandardContextValve.invoke(= StandardContextValve.java:123)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.authenticator.AuthenticatorBase.i= nvoke(AuthenticatorBase.java:472)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.core.StandardHostValve.invoke(Sta= ndardHostValve.java:171)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.valves.ErrorReportValve.invoke(Er= rorReportValve.java:99)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.tomcat.ext.valves.CompositeValve.cont= inueInvocation(CompositeValve.java:178)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.tomcat.ext.valves.CarbonTomcatValve$1= .invoke(CarbonTomcatValve.java:47)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.webapp.mgt.TenantLazyLoaderValve.invo= ke(TenantLazyLoaderValve.java:56)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.tomcat.ext.valves.TomcatValveContaine= r.invokeValves(TomcatValveContainer.java:47)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invo= ke(CompositeValve.java:141)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDe= tectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)=

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.valves.AccessLogValve.invoke(Acce= ssLogValve.java:936)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreato= rValve.invoke(CarbonContextCreatorValve.java:52)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.core.StandardEngineValve.invoke(S= tandardEngineValve.java:118)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.catalina.connector.CoyoteAdapter.service(C= oyoteAdapter.java:407)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.coyote.http11.AbstractHttp11Processor.proc= ess(AbstractHttp11Processor.java:1004)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.coyote.AbstractProtocol$AbstractConnection= Handler.process(AbstractProtocol.java:589)

=C2=A0=C2=A0 =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor= .run(NioEndpoint.java:1653)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at java.util.concurrent.ThreadPoolExecutor.runWorker(Thr= eadPoolExecutor.java:1145)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Th= readPoolExecutor.java:615)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at java.lang.Thread.run(Thread.java:745)

TID: [0] [STRATOS] [2014-= 06-04 02:30:40,039] ERROR {org.apache.stratos.rest.endpoint.services.Servic= eUtils} -=C2=A0 Exception occurred while trying to invoke service method deployCom= positeApplicationDefinition {org.apache.stratos.rest.endpoint.services.Serv= iceUtils}

org.apache.axis2.AxisFaul= t: Exception occurred while trying to invoke service method deployComposite= ApplicationDefinition

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.util.Utils.getInboundFaultFromMessag= eContext(Utils.java:531)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.description.RobustOutOnlyAxisOperati= on$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.j= ava:91)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.description.OutInAxisOperationClient= .send(OutInAxisOperation.java:445)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.description.OutInAxisOperationClient= .executeImpl(OutInAxisOperation.java:225)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.axis2.client.OperationClient.execute(Opera= tionClient.java:149)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.stratos.cloud.controller.stub.CloudControl= lerServiceStub.deployCompositeApplicationDefinition(CloudControllerServiceS= tub.java:389)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.stratos.manager.client.CloudControllerServ= iceClient.deployCompositeApplicationDefinition(CloudControllerServiceClient= .java:118)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.stratos.rest.endpoint.services.ServiceUtil= s.deployCompositeApplicationDefinition(ServiceUtils.java:227)=

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.stratos.rest.endpoint.services.ServiceUtil= s.deployApplication(ServiceUtils.java:198)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at org.apache.stratos.rest.endpoint.services.StratosAdmi= n.deployApplicationDefinition(StratosAdmin.java:120)

=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M= ethod)

=C2=A0

From: Nirmal F= ernando [mailto:nirmal070125@gmail.com]
Sent: Tuesday, June 03, 2014 2:30 PM
To: dev
Cc: dev@stratos.incubator.apache.org; Isuru Haththotuwa; Lakmal Warus= awithana; Melan Jayasingha; Shaheedur Haque (shahhaqu)
Subject: Re: adding the groupId to a member event ... RE: [Discuss] = Grouping of services (cartridges)

=C2=A0

Hi Martin,<= /u>

Who knows about this group id? Who's suppose to = set it to the topology?

=C2=A0<= /p>

On Wed, Jun 4, 2014 at 2:21 AM, Martin Eppel (meppel= ) <meppel@cisco.co= m> wrote:

Hi Isuru,

=C2=A0

As part of the grouping I= need to add the groupId to a Member event (e.g. MemberStartedEvent, Member= ActivatedEvent).

Currently I added the com= posite application data =C2=A0to the Topology by generating a event and res= pective event processor (similar to Service) which works fine for the autoscaler. =

However it seems that =C2= =A0the CloudController uses its own registry and the application info is mi= ssing when the topology is restored so it seems I have to push the application d= ata also to the cloud controller.

The only interface availa= ble seems to be the soap api (CloudControllerService.wsdl) which I would like to avoid (complicated and time intensive). Is there a better way to p= ush the data, can I use a topology event, share the manager registry or do = you have any other recommendations ?

In case=C2=A0 the soap AP= I is the only option, is there a better way to generate the CloudController= Service .wsdl or do I have to manually edit in my API changes ?

=C2=A0

Thanks

=C2=A0

Martin

=C2=A0

From: Martin E= ppel (meppel)
Sent: Tuesday, May 20, 2014 9:15 AM
To: Isuru Haththotuwa
Cc: Lakmal Warusawithana; dev@stratos.incubator.apache.org; Melan Jayasingha; Shaheedur Haque (sh= ahhaqu)
Subject: RE: [Discuss] Grouping of services (cartridges)

=C2=A0

Sounds good=

=C2=A0

=C2=A0

Hi Martin,

=C2=A0<= /p>

On Tue, May 20, 2014 at 12:17 AM, Martin Eppel (mepp= el) <meppel@cisco.= com> wrote:

Can you give me a quick j= son example to make sure I won=E2=80=99t misunderstand ?

We would still be using the component JSON definitio= ns as per your proposal, since if we put everything inline it would be one = large JSON file. In the top level Composite Application Definition (which is the more appropriate name for subscription Plan, as s= uggested by Lakmal), you can refer the previously deployed groups by using = the alias. So, the last example that you have given in the doc would be a v= alid JSON sample. Hope this is clear. Do let me know if its not.

=C2=A0

=C2=A0

=C2=A0

From: Lakmal W= arusawithana [mailto:l= akmal@wso2.com]
Sent: Monday, May 19, 2014 11:33 AM
To: Martin Eppel (meppel)
Cc: dev@stratos.incubator.apache.org; Isuru Haththotuwa; Melan Jayasi= ngha; Shaheedur Haque (shahhaqu)
Subject: Re: [Discuss] Grouping of services (cartridges)

=C2=A0

=C2=A0

=C2=A0<= /p>

On Mon, May 19, 2014 at 11:55 PM, Martin Eppel (mepp= el) <meppel@cisco.= com> wrote:

Lakmal,<= /u>

=C2=A0

A few clarifications:

=C2=A0

I think based on the last= proposal we can consolidate the definition of components, dependencies in one definition and deploy all at once as subscription plan, correct (si= mplifies the deployment) ?

=C2=A0

=C2=A0

Yes, but as the first step, will have separate deplo= yers for groups, components and then composite application (which is you ha= ve mention subscription plan).=C2=A0

=C2=A0

Also, Isuru pointed out t= hat the term application might be =C2=A0confusing so I suggested subscripti= on plan (or something similar), do we still want to go with it ?

=C2=A0

=C2=A0

What i suggest to call it composite application.<= /u>

=C2=A0

And composite application can refer, previous deploy= ed group, components. components can refer cartridge definitions. And depen= dancies (start order, kill order) should be defined in the top level, which is in composite application definition.<= /u>

=C2=A0

=C2=A0

=C2=A0

Thanks

=C2=A0

Martin

=C2=A0

From: Martin E= ppel (meppel)
Sent: Monday, May 19, 2014 10:58 AM
To: Martin Eppel (meppel); Lakmal Warusawithana
Cc: dev@stratos.incubator.apache.org; Isuru Haththotuwa; Melan Jayasi= ngha; Shaheedur Haque (shahhaqu)
Subject: RE: [Discuss] Grouping of services (cartridges)

=C2=A0

Sorry, hit the send butto= n to soon:

=C2=A0

Ok, I=E2=80=99ll work on = the deployment. I=E2=80=99ll send you guys the code as patch to checkin.

=C2=A0

Do we have already a plan= ned date for 4.1 Milestone 1 ?

=C2=A0

Thanks

=C2=A0

<= /div>
...

[Message clippe= d]=C2=A0=C2=A0



--
Best Regards,
Ni= rmal

Nirmal Fernando.
PPMC Member & Committer of Apache Strat= os,
Senior Software Engineer, WSO2 Inc.

--089e010d867cd6b2da04fb0dbe2c--