Re: [Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-05 Thread Madhawa Vidanapathirana
Hi Ramindu, Thank you for the postman samples and quick fix. After following the procedure you mentioned, I am getting a proper JSON response from DAS 4. Regards, Madhawa On Wed, Jul 5, 2017 at 12:59 PM, Ramindu De Silva wrote: > Hi Madhawa, > > Please find some postman samples. In some you ma

Re: [Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-05 Thread Ramindu De Silva
Hi Madhawa, You'll have to clone carbon analytics repo[1]. And then, in the root pom file of product das[2], you will have to change the carbon.analytics.version in the properties section. eg: 2.0.45-SNAPSHOT You will be able to find the version in the carbon analytics from the carbon analytics r

Re: [Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-05 Thread Ramindu De Silva
Hi Madhawa, Please find some postman samples. In some you may have to change the "executionPlanName" to "siddhiAppName" is several JSON request bodies. Best Regards, Ramindu. On Wed, Jul 5, 2017 at 12:47 PM, Ramindu De Silva wrote: > Hi Madhawa, > > You'll have to clone carbon analytics repo[1

Re: [Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-05 Thread Madhawa Vidanapathirana
Hi Ramindu, I am working with the* product das *repository [1] and the* issue is still there*. I did a new clone from master branch and did a mvn install. The steps I took are as follows. 1. Obtained a new clone of repository 2. mvn install 3. Unzipped wso2das-4.0.0-SNAPSHOT.zip created

Re: [Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-04 Thread Ramindu De Silva
Hi Madhawa, We have fixed the issue. Please check and let us know. Thanks, Ramindu. On Wed, Jul 5, 2017 at 10:33 AM, Ramindu De Silva wrote: > Hi Madhawa, > > Yes, Simulation configuration should be within inverted commas. I will > fix it and let you know. > > Best Regards, > Ramindu. > > On W

Re: [Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-04 Thread Ramindu De Silva
Hi Madhawa, Yes, Simulation configuration should be within inverted commas. I will fix it and let you know. Best Regards, Ramindu. On Wed, Jul 5, 2017 at 9:49 AM, Madhawa Vidanapathirana < madhawavidanapathir...@gmail.com> wrote: > Hi, > Small correction to my previous mail, actually I was usin

Re: [Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-04 Thread Madhawa Vidanapathirana
Hi, Small correction to my previous mail, actually I was using *GET* http:// :/simulation/feed/{simulationName}, and got the mentioned response from it. I was *not* using /simulation/single endpoint. Any help you can provide is most welcome! On Wed, Jul 5, 2017 at 9:41 AM, Sriskandarajah Suhotha

Re: [Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-04 Thread Sriskandarajah Suhothayan
I don't think you can send a simulation config by calling http:// :/simulation/single/ @Mohan/Ramindu can you guide him on the API of DAS 4.0 Event Simulation On Tue, Jul 4, 2017 at 9:48 PM, Madhawa Vidanapathirana < madhawavidanapathir...@gmail.com> wrote: > Hi, > > I am currently working on de

[Dev] [GSOC][DAS][DEV] Incorrect response from DAS 4.0 Event Simulator

2017-07-04 Thread Madhawa Vidanapathirana
Hi, I am currently working on developing a Python Client for DAS 4.0 Event Simulator as a part of my GSOC project with WSO2. When I used the REST endpoint *GET* http:// :/simulation/single/{simulationName}, I get a JSON response with an incorrect field value. The JSON response consist of two str