Thanks Shaheed for the update! We will update the documentation with the latest changes soon.
Thanks On Fri, Mar 13, 2015 at 11:14 PM, Shaheedur Haque (shahhaqu) < shahh...@cisco.com> wrote: > Ah yes, good catch. Thanks! > > > > *From:* Rajkumar Rajaratnam [mailto:rajkum...@wso2.com] > *Sent:* 13 March 2015 17:04 > *To:* dev@stratos.apache.org > *Cc:* Imesh Gunaratne > *Subject:* Re: [Discuss] Artifact Comparison - Stratos 4.0.0 Vs Stratos > 4.1.0 > > > > Hi Saheedur, > > > > On Fri, Mar 13, 2015 at 9:25 PM, Shaheedur Haque (shahhaqu) < > shahh...@cisco.com> wrote: > > Recording the outcome… > > > > Imesh and I discussed things, and it seems I had not understood that the > new Application was a bit like the old Subscription; it is a singleton by > design and so even though the API looks like you can specify the same > applicationId combined with different applicationPolicyId, that does not, > in fact, work. > > > > As for the API, it has the form > > > > /application/{applicationId}/deploy/{applicationPolicyId} > > /application/{applicationId}/undeploy/{applicationPolicyId} > > > > Application undeployment API has the form > /application/{applicationId}/undeploy. We are not passing application > policy id when we undeploy an application. > > Thanks. > > > > Etc. > > > > Thanks, Shaheed > > > > *From:* Shaheedur Haque (shahhaqu) > *Sent:* 12 March 2015 19:03 > *To:* Imesh Gunaratne; dev > *Subject:* RE: [Discuss] Artifact Comparison - Stratos 4.0.0 Vs Stratos > 4.1.0 > > > > I’m missing the new Application Deployment object, or whatever you are > going to call it. I assume it looks like this: > > > > { > > *"id"*: *"application-deployment-1"*, > > *"applicationId"*: *"application-1"*, > > *"applicationPolicyId"*: *"application-policy-1"* > > } > > > > Also, what is the API endpoint model? I assume something like this perhaps: > > > > POST applicationDeployment # Deploy an application > > GET applicationDeployment # List all deployed applications > > GET applicationDeployment/{id} # Show one deployed application > > DELETE applicationDeployment/{id} # Stop a deployed application > > > > > > *From:* Imesh Gunaratne [mailto:im...@apache.org <im...@apache.org>] > *Sent:* 06 March 2015 07:02 > *To:* dev; Shaheedur Haque (shahhaqu) > *Subject:* [Discuss] Artifact Comparison - Stratos 4.0.0 Vs Stratos 4.1.0 > > > > Hi Devs, > > > > I have started doing $subject on a Google document. Please feel free to > update it and add your your feedback. > > > > *[image: Image removed by sender.] Artifact Comparison - Stratos 4.0.0 Vs > Stratos 4.1.0 > <https://docs.google.com/document/d/1AYLAAXySvh24JZw0NQixlKg4yX8jqD3Vtc_Pz-zmHaw/edit?usp=drive_web>* > > > > Thanks > > > > -- > > Imesh Gunaratne > > > > Technical Lead, WSO2 > > Committer & PMC Member, Apache Stratos > > > > > -- > > Rajkumar Rajaratnam > > Committer & PMC Member, Apache Stratos > > Software Engineer, WSO2 > > Mobile : +94777568639 > > Blog : rajkumarr.com > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos