Re: [Dev] carbon-mediation-4.6.9 Staged

2016-12-09 Thread Geesara Prathap
alasekara >> Associate Technical Lead >> WSO2, Inc.: http://wso2.com >> lean. enterprise. middleware >> >> phone: +94 71 668 4620 <071%20668%204620> >> >> >> >> > > > -- > Nuwan Wimalasekara > Associate Technical Le

Re: [Dev] Create a gadget via REST datasource

2016-09-07 Thread Geesara Prathap
gt; >> >> Hi, >> >> I want to create a gadget in DAS via rest datasource >> What are the urls I need to provide for Data Retrieve URL * and Schema >> Retrieve URL * ? >> >> I want execute following kind of queries >> curl -GET 'http://w

Re: [Dev] [IoTS] Errors when creating the device plugin with carbon-device-mgt-maven-plugin and deploy in IoTS alpha release

2016-09-02 Thread Geesara Prathap
UAL device section. > > Do you know what’s the problem? > -- > Zhanwen Zhou (Jason), > +86 13922218435 > zhanwen.z...@smartcloudex.com > Guangzhou Smart Cloudex Technology Co., Ltd. > Business: IOT, API Management > > On Sep 2, 2016, at 5:08 PM, Geesara Prathap

Re: [Dev] [IoTS] Errors when creating the device plugin with carbon-device-mgt-maven-plugin and deploy in IoTS alpha release

2016-09-02 Thread Geesara Prathap
to create your own sensor type and deploy into the server in details. 1. https://medium.com/@GPrathap/maven-archetype-for-creating-a-device-plugin-for-wso2-iot-server-34f0d6309e18#.ieom887a5 Thanks, Geesara On Fri, Sep 2, 2016 at 2:24 PM, Geesara Prathap <gees...@wso2.com> wrote: >

Re: [Dev] [IoTS] Errors when creating the device plugin with carbon-device-mgt-maven-plugin and deploy in IoTS alpha release

2016-09-02 Thread Geesara Prathap
; Guangzhou Smart Cloudex Technology Co., Ltd. > Business: IOT, API Management > > On Sep 2, 2016, at 1:11 PM, Geesara Prathap <gees...@wso2.com> wrote: > > Hi Jason, > > I think you are not using the correct version of carbon-device-mgt-maven > plugin. Since you are working w

Re: [Dev] [Jaggery] Path/query parameter support in Jaggery Websocket Server

2016-08-24 Thread Geesara Prathap
cket client to send parameters to a > server? > > Thanks, > Dilini > > -- > *Dilini Muthumala* > Senior Software Engineer, > WSO2 Inc. > > *E-mail :* dil...@wso2.com > *Mobile: *+94 713-400-029 > > ___ > Dev maili

Re: [Dev] WSO2 Committers += Rasika Perera

2016-07-20 Thread Geesara Prathap
https://wso2.com/signature> > > -- > You received this message because you are subscribed to the Google Groups > "WSO2 Engineering Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to engineering-group+unsubscr...@wso2.c

Re: [Dev] Best way to access an osgi service from an AdminService

2016-06-01 Thread Geesara Prathap
0773655496> > <%2B94%20%280%29%20773%20451194> > dilha...@wso2.com <madha...@wso2.com> > > ___________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Geesara Prathap Kulathunga Software Engi

Re: [Dev] Help setup SSO in APIM

2016-05-31 Thread Geesara Prathap
ioEndpoint.java:1708) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >> at >> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.

Re: [Dev] How do we call "sendOAuthRequest" method of Jaggery's "OAuth" module with payload

2016-05-16 Thread Geesara Prathap
nks, > Raj. > > On Mon, May 16, 2016 at 7:36 PM, Geesara Prathap <gees...@wso2.com> wrote: > >> Hi Rajkumar, >> >> >> I hope this[1] <http://jaggeryjs.org/documentation.jag?api=oauth> will >> help. >> >> 1. http://jaggeryjs.org/d

Re: [Dev] How can we manually create a "Token" object and pass it to "sendOAuthRequest" method of Jaggery's "OAuth" module?

2016-05-16 Thread Geesara Prathap
el/Token.java#Token.0token > [3] > https://github.com/wso2/jaggery-extensions/blob/master/oauth/resources/org.jaggeryjs.modules.oauth/src/main/java/org/jaggeryjs/modules/oauth/OAuthHostObject.java#L149 > > Thanks, > Raj. > > -- > Rajkumar Rajaratnam > Committer & PMC

Re: [Dev] How do we call "sendOAuthRequest" method of Jaggery's "OAuth" module with payload

2016-05-16 Thread Geesara Prathap
;> >> -- >> Rajkumar Rajaratnam >> Committer & PMC Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/l

Re: [Dev] How to exchange a SAML2 bearer token with OAuth2 token

2016-04-17 Thread Geesara Prathap
eesara 2016-04-18 7:52 GMT+05:30 Geesara Prathap <gees...@wso2.com>: > Hi All, > > As an example, I enabled SSO in Dashboard Server and registered the portal > app with the Identity Server by creating a service provider. So I was able > to get SAML bearer assertion in

[Dev] How to exchange a SAML2 bearer token with OAuth2 token

2016-04-17 Thread Geesara Prathap
2FtbDI6QXNzZXJ0aW9uPg%3D%3D=PRODUCTION" -H "Authorization: Basic VWhXczlIN2xPaTlOMGJZM1pfdUswVW41OU93YTpKcTdMNFdzZHg5SER3TGx3TnVERVkxdVl4UUFh, Content-Type: application/x-www-form-urlencoded" https://localhost:8243/token But I am getting this response: *{"error":"invalid_client","error_description":"Client

Re: [Dev] [IOT] How to start building device types in IoTS using Developer Studio

2016-04-12 Thread Geesara Prathap
veloper Studio? Is that WYSIWYG design interface with Developer Studio? > > Thanks. > > -- > Zhanwen Zhou (Jason) > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > -

Re: [Dev] [DEV][IOT][CDMF] Errors when building new device type in IoTS using cdmf-devicetype-archetype-master

2016-04-11 Thread Geesara Prathap
on) > > 在 2016年4月11日,下午4:14,Geesara Prathap <gees...@wso2.com> 写道: > > Hi Zhou, > > Is that right to select 4 in below step? You should select 2 > > What’s the difference between 2 and 4 archetype selection? In maven > archetype plugin groupId renamed from m3 to

Re: [Dev] [DEV][IOT][CDMF] Errors when building new device type in IoTS using cdmf-devicetype-archetype-master

2016-04-11 Thread Geesara Prathap
ld deduce why the device-deployer actually failed. > > Regards > > ----- > *Shabir Mohamed* > *Software Engineer* > WSO2 Inc.; http://wso2.com > Email: sha...@wso2.com <ayy...@wso2.com> > Mobile: +94 77 3516019 | +94 71 6583393 >

Re: [Dev] [DEV][IOT][CDMF] Errors when building new device type in IoTS using cdmf-devicetype-archetype-master

2016-04-11 Thread Geesara Prathap
ch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, >> please read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn -rf :devicetype-feature-installation >> -- >> Zhanwen Zhou (Jason) >> >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Charitha Goonetilleke* > Software Engineer > WSO2 Inc.; http://wso2.com > lean.enterprise.middleware > > mobile: +94 77 751 3669 <%2B94777513669> > Twitter:@CharithaWs <https://twitter.com/CharithaWs>, fb: charithag > <https://www.facebook.com/charithag>, linkedin: charithag > <http://www.linkedin.com/in/charithag> > -- Geesara Prathap Kulathunga Software Engineer WSO2 Inc; http://wso2.com Mobile : +940772684174 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [DAS] Is there a way to retrieve selected fields from a given table

2016-04-03 Thread Geesara Prathap
;> Gihan, >>> Can't we implement the same functionality for REST API? >>> >>> This will help to prevent maintaining two client logics for REST API & >>> Admin API. >>> >>> On Wed, Mar 23, 2016 at 1:27 PM, Gihan Anuruddha <gi...@wso2.com>

Re: [Dev] [DAS] Is there a way to retrieve selected fields from a given table

2016-03-23 Thread Geesara Prathap
Wed, Mar 23, 2016 at 10:39 AM, Geesara Prathap <gees...@wso2.com> > wrote: > >> Hi All, >> >> As an example, *ORG_WSO2_IOT_DEVICES_TEMPERATURE *table consists of five >> fields: META_OWNER, META_DEVICETYPE, META_DEVICEID, META_TIME, TEMPERATURE >> and _TIMESTA

[Dev] [DAS] Is there a way to retrieve selected fields from a given table

2016-03-22 Thread Geesara Prathap
AND meta_time:[1456467843079 TO 1456468494817]* which retrieved all fields it contains. So how to get selected some of the fields only which are required? Thanks, Geesara -- Geesara Prathap Kulathunga Software Engineer WSO2 Inc; http://wso2.com Mobile : +940772684174

Re: [Dev] WSO2 Committers += Hasunie Adhikari

2016-02-24 Thread Geesara Prathap
ushanka Jayawardena > Software Engineering Intern > men...@wso2.com > Mobile:- +94 71 8851183/ +94 71 3505470 > LinkedIn - Menaka Jayawardena > <https://lk.linkedin.com/in/menakajayawardena> > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.o

Re: [Dev] WSO2 Committers += Kamidu Sachith Punchihewa

2016-02-24 Thread Geesara Prathap
ka Madushanka Jayawardena > Software Engineering Intern > men...@wso2.com > Mobile:- +94 71 8851183/ +94 71 3505470 > LinkedIn - Menaka Jayawardena > <https://lk.linkedin.com/in/menakajayawardena> > > ___ > Dev mailing list > Dev@wso2.org > http://wso2

Re: [Dev] [GSoC 2016][CDMF][IOT] IOT SDK for creating device agents.

2016-02-22 Thread Geesara Prathap
e Engineering Intern >>> men...@wso2.com >>> Mobile:- +94 71 8851183/ +94 71 3505470 >>> LinkedIn - Menaka Jayawardena >>> <https://lk.linkedin.com/in/menakajayawardena> >>> >> >> > > > -- > Menaka Madushanka Ja

[Dev] p2-repo-generation failure

2016-02-22 Thread Geesara Prathap
/blob/master/modules/samples/installer/device-deployer.xml 2. https://gist.github.com/GPrathap/3265c496f85c0f916b25#file-installation-process-of-sample-device-type Thank you, Geesara -- Geesara Prathap Kulathunga Software Engineer WSO2 Inc; http://wso2.com Mobile : +

Re: [Dev] WSO2 Committers += Fazlan Nazeem

2016-01-12 Thread Geesara Prathap
middleware >>>>>> >>>>>> Email: as...@wso2.com >>>>>> Mobile: +94 716042995 <94716042995> >>>>>> LinkedIn: >>>>>> *http://lk.linkedin.com/in/ashenweerathunga >>>>>> <http://lk.linkedin.c

Re: [Dev] Output directory for maven-bundle-plugin

2015-11-19 Thread Geesara Prathap
em with having spaces in the path, for > folders. > But not sure whether it was for this plugin. > > Thanks. > > On Tue, Nov 10, 2015 at 9:16 PM, Geesara Prathap <gees...@wso2.com> wrote: > >> Hi All, >> >> I started creating an OSGI bundle. So It works

[Dev] Output directory for maven-bundle-plugin

2015-11-10 Thread Geesara Prathap
ectory-to-pom Thanks, -- Geesara Prathap Kulathunga Software Engineer WSO2 Inc; http://wso2.com Mobile : +940772684174 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [DEV] Integration tests run before deploying web app

2015-11-10 Thread Geesara Prathap
> Thanks, > Nuwanw > > > > On Tue, Nov 10, 2015 at 11:52 AM, Amalka Subasinghe <ama...@wso2.com> > wrote: > >> We can read the carbon log and check whether there's a web app deployed >> log. >> >> Automation team might know some more options :) &

Re: [Dev] [DEV] Integration tests run before deploying web app

2015-11-10 Thread Geesara Prathap
, Amalka Subasinghe <ama...@wso2.com> wrote: > You can implement some waiting logic to check whether the web app deployed > in the server and invoke it in @BeforeClass method > > > On Mon, Nov 9, 2015 at 10:25 PM, Geesara Prathap <gees...@wso2.com> wrote: > >> Hi All,

[Dev] [DEV] Integration tests run before deploying web app

2015-11-09 Thread Geesara Prathap
on the server to execute integration test cases. Thanks, -- Geesara Prathap Kulathunga Software Engineer WSO2 Inc; http://wso2.com phone: +940772684174 ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation

2015-02-16 Thread Geesara Prathap
Hi , Here is the second part of the project[1] https://github.com/GPrathap/REST_API_in_C. [1].https://github.com/GPrathap/REST_API_in_C Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com Email:++gees...@wso2.com +940772684174 On Mon

Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation

2015-02-15 Thread Geesara Prathap
Hi , Yes, I agree with you. I updated project structure[1] https://github.com/GPrathap/REST_API_in_C as you said. Thank you. Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com Email:++gees...@wso2.com +940772684174 On Fri, Feb 13, 2015 at 11

Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation

2015-02-09 Thread Geesara Prathap
all routers └── test - api testing ├── generateUsers.js ├── test.js └── user.js I just created a new project structure :https://github.com/GPrathap/REST_API_in_C How about this way ? Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University

Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation

2015-01-27 Thread Geesara Prathap
. Is this correct method ? Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com Email:++gees...@wso2.com +940772684174 On Wed, Jan 28, 2015 at 7:12 AM, Geesara Prathap gees...@wso2.com wrote: Hi All, The cookie should be set in this way COOKIE

Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation

2015-01-27 Thread Geesara Prathap
Hi All, The cookie should be set in this way COOKIE = JSESSIONID=1F2469D0FA739E730B15F694D015BBB2; Path=/publisher/; HttpOnly I forgot to remove \r\n . This is wrong COOKIE = JSESSIONID=1F2469D0FA739E730B15F694D015BBB2; Path=/publisher/; HttpOnly \r\n Thanks, Geesara Prathap Kulathunga

Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation

2015-01-25 Thread Geesara Prathap
to relevant client. my sample configuration file is here : https://gist.github.com/GPrathap/20d2ab2a62e7bf0198cd#file-test-con https://gist.github.com/GPrathap/20d2ab2a62e7bf0198cd#file-test-conff Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2

Re: [Dev] [DEV] Supporting IoT hub architecture via Node implementation

2015-01-25 Thread Geesara Prathap
. But when I check from Wireshark actually those post data are sent. But when I remove curl_easy_setopt(curl, CURLOPT_COOKIE,cookie); I can access the post data in the server side. If I make any mistake in my post request please correct me. Thanks, Geesara Prathap Kulathunga, Software

[Dev] [DEV] Supporting IoT hub architecture via Node implementation

2015-01-06 Thread Geesara Prathap
a client can do all those operations which were mentioned above except REST API generation part. Here is the code repository[1] what I did so far. [1] https://github.com/GPrathap/wso2nodeserver Thanks Geesara Prathap Kulathunga Software Engineer Intern University of Peradeniya gees...@wso2