Re: [Dev] carbon-mediation-4.6.9 Staged

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

Re: [Dev] Create a gadget via REST datasource

2016-09-07 Thread Geesara Prathap
ant 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://wso2.inf

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
t; > 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 wrote: > > Hi Jason, >

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 wrote: > Hi Jason, > > But I

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
ex Technology Co., Ltd. > Business: IOT, API Management > > On Sep 2, 2016, at 1:11 PM, Geesara Prathap wrote: > > Hi Jason, > > I think you are not using the correct version of carbon-device-mgt-maven > plugin. Since you are working with IoTS Alpha pack, you need to clone and > b

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

2016-08-24 Thread Geesara Prathap
ent 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 mailing list

Re: [Dev] WSO2 Committers += Rasika Perera

2016-07-20 Thread Geesara Prathap
> 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.com. > For more options, visit https://groups.google.com/a/wso2.com/d/optout. > -- 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] Best way to access an osgi service from an AdminService

2016-06-01 Thread Geesara Prathap
4%20%280%29%20773655496> > <%2B94%20%280%29%20773%20451194> > dilha...@wso2.com > > _______ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Geesara Prathap Kulathunga Software Engineer WSO2 Inc; http://wso2.com Mobile : +9407726

Re: [Dev] Help setup SSO in APIM

2016-05-31 Thread Geesara Prathap
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.run(TaskThread.java:61) >> at java.

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

2016-05-16 Thread Geesara Prathap
y 17, 2016 at 12:15 AM, Rajkumar Rajaratnam wrote: > Hi Geesara, > > No, it doesn't help. I am asking how we can pass a payload and send a POST > request using "sendOAuthRequest" method. I don't think it is documented in > above link. > > Thanks, > Raj

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
.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 Member, Apache Stratos > Software Engineer, WSO2 > > Mobile : +94777568639 > -- 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] How do we call "sendOAuthRequest" method of Jaggery's "OAuth" module with payload

2016-05-16 Thread Geesara Prathap
Member, Apache Stratos >> Software Engineer, WSO2 >> >> Mobile : +94777568639 >> >> ___ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >&g

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 : > 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 SAML response. Then created an

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

2016-04-17 Thread Geesara Prathap
ror_description":"Client Authentication failed."}* Is there any particular reason which causes this problem? Thanks, Geesara -- 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] [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/lis

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

2016-04-11 Thread Geesara Prathap
Hi Zhou, Seems like you are on the right track now! Regards, Geesara On Mon, Apr 11, 2016 at 7:08 PM, 云展智创 wrote: > Geesara, > > Thank you very much! I can pass the building process of the new device > types. > > -- > Zhanwen Zhou (Jason) > > 在 2016年4月11日

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

2016-04-11 Thread Geesara Prathap
> > Regards > > - > *Shabir Mohamed* > *Software Engineer* > WSO2 Inc.; http://wso2.com > Email: sha...@wso2.com > Mobile: +94 77 3516019 | +94 71 6583393 > > On Mon, Apr 11, 2016 at 12:27 PM, Geesara Prathap > wrote: > &

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

2016-04-10 Thread Geesara Prathap
ype-feature-installation: P2 publisher return code was 13 -> >> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the >> -e switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >

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

2016-04-03 Thread Geesara Prathap
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 wrote: >>> >>>> There is a parameter that you can specify which

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

2016-03-22 Thread Geesara Prathap
2016 at 10:39 AM, Geesara Prathap > 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 _TIMESTAMP. But interested only less number of

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

2016-03-22 Thread Geesara Prathap
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
...@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.org/cgi-bin/mailman/listinfo/dev > > -- 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] WSO2 Committers += Kamidu Sachith Punchihewa

2016-02-24 Thread Geesara Prathap
.@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.org/cgi-bin/mailman/listinfo/dev > > -- 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] [GSoC 2016][CDMF][IOT] IOT SDK for creating device agents.

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

[Dev] p2-repo-generation failure

2016-02-22 Thread Geesara Prathap
erver/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 Mobil

Re: [Dev] WSO2 Committers += Fazlan Nazeem

2016-01-12 Thread Geesara Prathap
t;>>> *http://lk.linkedin.com/in/ashenweerathunga >>>>>> <http://lk.linkedin.com/in/ashenweerathunga>* >>>>>> >>>>>> ___ >>>>>> Dev mailing list >>>>>> Dev@wso2.org >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Nipuna Marcus >>>>> *Software Engineer* >>>>> WSO2 Inc. >>>>> http://wso2.com/ - "lean . enterprise . middleware" >>>>> Mobile : +94 (0) 713 667906 >>>>> nipu...@wso2.com >>>>> >>>>> ___ >>>>> Dev mailing list >>>>> Dev@wso2.org >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> ___ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> ___ >>> Dev mailing list >>> Dev@wso2.org >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Menaka 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.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thanks & Regards > > *Sajith Dimal* > Software Engineer - Intern > WSO2 Inc.: http://wso2.com > lean.enterprise.middleware > > Email: saji...@wso2.com > Mobile: +94 783101496 <94783101496> > LinkedIn: https://lk.linkedin.com/pub/sajith-dimal/b8/1b1/25b > <https://lk.linkedin.com/pub/sajith-dimal/b8/1b1/25b> > > > ___ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- 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] Output directory for maven-bundle-plugin

2015-11-19 Thread Geesara Prathap
ces 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 wrote: > >> Hi All, >> >> I started creating an OSGI bundle. So It works fine. But when I add >> output directory

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

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

[Dev] Output directory for maven-bundle-plugin

2015-11-10 Thread Geesara Prathap
irectory-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
, Amalka Subasinghe 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 wrote: > >> Hi All, >> >> I wrote some integration te

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

2015-11-09 Thread Geesara Prathap
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 +940772684174 On Mon, Feb 16, 2015 at 9

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 +940772684174 On Fri, Feb 13, 2015 at 11:04 PM, P

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

2015-02-09 Thread Geesara Prathap
gt; this is the one that handle 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,

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

2015-01-27 Thread Geesara Prathap
etter that FastCGI in this case. Is this correct method ? Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees...@wso2.com +940772684174 On Wed, Jan 28, 2015 at 7:12 AM, Geesara Prathap wrote: > Hi All, > > The cookie shou

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

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

2015-01-25 Thread Geesara Prathap
server side when I retrieved post data they seem to be null. 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 c

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

2015-01-25 Thread Geesara Prathap
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-conf>f Thanks, Geesara Prathap Kulathunga, Software Engineering Intern, University of Peradeniya. gees..

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

2015-01-06 Thread Geesara Prathap
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