Re: [Dev] [Vote] Release WSO2 Enterprise Integrator 6.1.1 RC1

2017-05-03 Thread Isuru Wijesinghe
Hi All,

Tested and verified following

Proxy services, APIs
CAR file deployment through management console
JMS (Message Store/Processor, JMS Consumerand Producer scenarios)
BPMN basic functionality
BPMN Explorer
BPMN samples

No issues found.
[x] Stable - go ahead and release

Thanks,
Isuru.

On Wed, May 3, 2017 at 12:08 PM, Vinod Kavinda <vi...@wso2.com> wrote:

> Hi All,
> Tested the BPEL and BPMN functionality including BPMN explorer in BPS
> profile.
>
> [+] Stable - go ahead and release
>
> Regards,
> Vinod
>
> On Tue, May 2, 2017 at 4:31 PM, Sasikala Kottegoda <sasik...@wso2.com>
> wrote:
>
>> Hi all,
>>
>> I have tested distributed transactions for the broker profile of WSO2
>> Enterprise Integrator 6.1.1 for the following scenarios:
>> - dtx commit - Publish message to queue. Transactionally receive and
>> publish to another queue
>> - dtx rollback - Publish message to the same queue. Rollback the message
>> continuously and and verify that it ends up in DLC.
>> - dtx recover - Recover before and after preparing
>> - Session joining
>>
>> [+] Stable - go ahead and release
>>
>> Thank you,
>> Sasikala
>>
>> On Fri, Apr 28, 2017 at 5:50 PM, Milinda Perera <milin...@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> This is the first release candidate of WSO2 Enterprise Integrator 6.1.1.
>>>
>>> The vote will be open for 24 hours or as needed. Please download, test
>>> the product and vote.
>>>
>>> Source & binary distribution files:
>>>
>>> *Product-EI:*
>>>
>>> https://svn.wso2.org/repos/wso2/scratch/EI/Votes/6.1.1-RC1/w
>>> so2ei-6.1.1-rc1.zip
>>>
>>> *Tooling pack to be used for EI runtime testing:*
>>>
>>> https://svn.wso2.org/repos/wso2/people/erandac/ei_610_tooling/
>>>
>>>
>>>
>>> *The tag to be voted upon:*https://github.com/wso2/produc
>>> t-ei/releases/tag/v6.1.1-rc1
>>>
>>> [-] Broken - do not release (explain why)
>>> [+] Stable - go ahead and release
>>>
>>> Thanks,
>>> Integration Team
>>>
>>> --
>>> Milinda Perera
>>> Senior Software Engineer;
>>> WSO2 Inc. http://wso2.com ,
>>> Mobile: (+94) 714 115 032 <+94%2071%20411%205032>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Sasikala Kottegoda
>> *Senior Software Engineer*
>> WSO2 Inc., http://wso2.com/
>> lean. enterprise. middleware
>> Mobile: +94 774835928 <+94%2077%20483%205928>
>>
>> [image: https://wso2.com/signature] <https://wso2.com/signature>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vinod Kavinda
> Senior Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
> [image: http://wso2.com/signature]
> <http://wso2.com/signature>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-07-06 Thread Isuru Wijesinghe
Hi Heshan,

Please add only *general*, *main config* and *form* properties for each
component as you mentioned in your proposal.

Thanks,
Isuru.

On Wed, Jul 6, 2016 at 9:42 AM, Heshan Jayasinghe <shanu...@gmail.com>
wrote:

> Hi,
> As we discussed in last meeting this week we plan to finish
>
>- flow reposition when BPMN element position changes.
>- task resizing
>- text attaching
>- changing task/event/gateway type using property (element icon
>changed with property)
>
>
> I created "flow reposition when BPMN element position changes" and "task
> resizing" but not totally completed.I think i can finish it with in this
> week.Can you please send me what are the properties you need for each
> element.Then i can complete it with in this week.
>
> github url = https://github.com/heshanjse/BPMNEditor  ( last week update)
>
> Thank You!
> regards,
> Heshan Jayasinghe
>
> On Tue, Jun 21, 2016 at 6:59 AM, Heshan Jayasinghe <shanu...@gmail.com>
> wrote:
>
>> github url - https://github.com/heshanjse/BPMNEditor
>>
>> On Tue, Jun 21, 2016 at 6:57 AM, Heshan Jayasinghe <shanu...@gmail.com>
>> wrote:
>>
>>> Hi Isuru,
>>>
>>> This is the milestone plan we discussed in the last week.
>>>
>>> 24/6  - draw flows when moving a node
>>>  - add properties to the flow
>>>  - create delete functionality to every node.
>>>  - add arrow and text to the toolbox
>>> 1/7- add text to the task
>>>  - task resizing
>>>  - change task/event/gateway icon according to the selected
>>> property type
>>> 8/7- change flow shape from start and end point
>>>  - add mutiple connection points in the nodes
>>> 15/7  - add zoom event to svg and scroll
>>> 29/7  - create property list
>>> 5/8- export json in to BPMN
>>> 19/8  - redraw element using json array after upload a BPMN file
>>>
>>> Thanks
>>> regards,
>>> Heshan Jayasinghe
>>>
>>>
>>>
>>> On Mon, Jun 20, 2016 at 2:32 PM, Isuru Wijesinghe <isur...@wso2.com>
>>> wrote:
>>>
>>>> Hi Heshan,
>>>>
>>>> Please update the meeting notes. In addition to that can you please
>>>> share with us the milestone plan as we discussed in the last week.
>>>>
>>>> Thanks,
>>>> Isuru.
>>>>
>>>> On Thu, May 26, 2016 at 11:04 PM, Heshan Jayasinghe <shanu...@gmail.com
>>>> > wrote:
>>>>
>>>>> github url - https://github.com/heshanjse/BPMNEditor
>>>>>
>>>>> On Thu, May 19, 2016 at 12:52 PM, Heshan Jayasinghe <
>>>>> shanu...@gmail.com> wrote:
>>>>>
>>>>>> Hi Isuru,
>>>>>> I completed Start Event,End Event,Gateways and Task.Currently these
>>>>>> component can move in the canvas.As we discussed in our last meeting I am
>>>>>> working for packaging the current source code,drawing flows,component
>>>>>> re-sizing,creating property window and adding text areas to Task
>>>>>> component.After I applying packaging structure i will share my
>>>>>> github code.Hope I can send it soon.
>>>>>> Thank you,
>>>>>> Regards,
>>>>>> Heshan Jayasinghe
>>>>>>
>>>>>> On Wed, May 18, 2016 at 10:04 AM, Isuru Wijesinghe <isur...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Heshan,
>>>>>>>
>>>>>>> Any update on your progress? Could you please share with us your
>>>>>>> code through github. Then we can give some feedback.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Isuru
>>>>>>>
>>>>>>> On Thu, Mar 24, 2016 at 1:23 PM, Heshan Jayasinghe <
>>>>>>> shanu...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>> I submit my final proposal through GSOC site.Could you please read
>>>>>>>> my proposal and add some comments.
>>>>>>>> Thank you!
>>>>>>>> regards,
>>>>>>>> Heshan Jayasinghe
>>>>>>>>
>>>>>>>> On Wed, Mar 23, 2016 at 8:38 AM, Isuru Wijesinghe <isur...@wso2.com
>>>>>&g

Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-06-20 Thread Isuru Wijesinghe
Hi Heshan,

Please update the meeting notes. In addition to that can you please share
with us the milestone plan as we discussed in the last week.

Thanks,
Isuru.

On Thu, May 26, 2016 at 11:04 PM, Heshan Jayasinghe <shanu...@gmail.com>
wrote:

> github url - https://github.com/heshanjse/BPMNEditor
>
> On Thu, May 19, 2016 at 12:52 PM, Heshan Jayasinghe <shanu...@gmail.com>
> wrote:
>
>> Hi Isuru,
>> I completed Start Event,End Event,Gateways and Task.Currently these
>> component can move in the canvas.As we discussed in our last meeting I am
>> working for packaging the current source code,drawing flows,component
>> re-sizing,creating property window and adding text areas to Task
>> component.After I applying packaging structure i will share my github
>> code.Hope I can send it soon.
>> Thank you,
>> Regards,
>> Heshan Jayasinghe
>>
>> On Wed, May 18, 2016 at 10:04 AM, Isuru Wijesinghe <isur...@wso2.com>
>> wrote:
>>
>>> Hi Heshan,
>>>
>>> Any update on your progress? Could you please share with us your code
>>> through github. Then we can give some feedback.
>>>
>>> Thanks,
>>> Isuru
>>>
>>> On Thu, Mar 24, 2016 at 1:23 PM, Heshan Jayasinghe <shanu...@gmail.com>
>>> wrote:
>>>
>>>> Hi,
>>>> I submit my final proposal through GSOC site.Could you please read my
>>>> proposal and add some comments.
>>>> Thank you!
>>>> regards,
>>>> Heshan Jayasinghe
>>>>
>>>> On Wed, Mar 23, 2016 at 8:38 AM, Isuru Wijesinghe <isur...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Heshan,
>>>>>
>>>>> We have already added few comments. Could you please fix them and
>>>>> share the updated proposal ?
>>>>>
>>>>> Thanks and Best Regards,
>>>>>
>>>>> On Fri, Mar 18, 2016 at 9:48 PM, Isuru Wijesinghe <isur...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Heshan,
>>>>>>
>>>>>> We appreciate your quick response. The main deliverable of this
>>>>>> project is a javascript/D3 based BPMN editor which allows Process Center
>>>>>> users to define business processes using a graphical notation from the 
>>>>>> *web
>>>>>> UI*. (No server side involvement). Keep on progressing on the
>>>>>> project and if you get stuck at any point, don't hesitate to contact us.
>>>>>>
>>>>>> Thanks and Best Regards,
>>>>>>
>>>>>>
>>>>>> On Fri, Mar 18, 2016 at 11:35 AM, Heshan Jayasinghe <
>>>>>> shanu...@gmail.com> wrote:
>>>>>>
>>>>>>> HI,
>>>>>>> Could you please tell me how server side involve in this project?
>>>>>>> Web Editor can developed as a single page application and we can run it 
>>>>>>> in
>>>>>>> java server.hope this application haven't any server side
>>>>>>> development.Please let me know if there server side development 
>>>>>>> involve.if
>>>>>>> there any server side development i willing to complete that task too.
>>>>>>>
>>>>>>> I already complete my proposal and now I am doing final fine tuning
>>>>>>> of my proposal.I will send it tomorrow.from today onwards I start my
>>>>>>> development  for first iteration.
>>>>>>>
>>>>>>> Thank you!
>>>>>>> regards,
>>>>>>> Heshan Jayasinghe
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Mar 15, 2016 at 9:37 AM, Isuru Wijesinghe <isur...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Great. My contact number :
>>>>>>>>
>>>>>>>>
>>>>>>>> *0710933706*
>>>>>>>> Thanks and Best Regards,
>>>>>>>>
>>>>>>>> On Tue, Mar 15, 2016 at 9:30 AM, Heshan Jayasinghe <
>>>>>>>> shanu...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Isuru,
>>>>>>>>> My proposal 70% over now.I will send you copy soon.could you
>>>>>>>>> please send me your contact number to get more information.
>>>>>>>>> Thank you!
>>>>>>>>> regards,
>>>>>>>>> Heshan jayasinghe
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Isuru Wijesinghe
>>>>>>>> *Software Engineer*
>>>>>>>> WSO2 inc : http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>> Mobile: 0710933706
>>>>>>>> isur...@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Isuru Wijesinghe
>>>>>> *Software Engineer*
>>>>>> WSO2 inc : http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>> Mobile: 0710933706
>>>>>> isur...@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Isuru Wijesinghe
>>>>> *Software Engineer*
>>>>> WSO2 inc : http://wso2.com
>>>>> lean.enterprise.middleware
>>>>> Mobile: 0710933706
>>>>> isur...@wso2.com
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Isuru Wijesinghe
>>> *Software Engineer*
>>> WSO2 inc : http://wso2.com
>>> lean.enterprise.middleware
>>> Mobile: 0710933706
>>> isur...@wso2.com
>>>
>>
>>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-05-17 Thread Isuru Wijesinghe
Hi Heshan,

Any update on your progress? Could you please share with us your code
through github. Then we can give some feedback.

Thanks,
Isuru

On Thu, Mar 24, 2016 at 1:23 PM, Heshan Jayasinghe <shanu...@gmail.com>
wrote:

> Hi,
> I submit my final proposal through GSOC site.Could you please read my
> proposal and add some comments.
> Thank you!
> regards,
> Heshan Jayasinghe
>
> On Wed, Mar 23, 2016 at 8:38 AM, Isuru Wijesinghe <isur...@wso2.com>
> wrote:
>
>> Hi Heshan,
>>
>> We have already added few comments. Could you please fix them and share
>> the updated proposal ?
>>
>> Thanks and Best Regards,
>>
>> On Fri, Mar 18, 2016 at 9:48 PM, Isuru Wijesinghe <isur...@wso2.com>
>> wrote:
>>
>>> Hi Heshan,
>>>
>>> We appreciate your quick response. The main deliverable of this project
>>> is a javascript/D3 based BPMN editor which allows Process Center users to
>>> define business processes using a graphical notation from the *web UI*.
>>> (No server side involvement). Keep on progressing on the project and if you
>>> get stuck at any point, don't hesitate to contact us.
>>>
>>> Thanks and Best Regards,
>>>
>>>
>>> On Fri, Mar 18, 2016 at 11:35 AM, Heshan Jayasinghe <shanu...@gmail.com>
>>> wrote:
>>>
>>>> HI,
>>>> Could you please tell me how server side involve in this project? Web
>>>> Editor can developed as a single page application and we can run it in java
>>>> server.hope this application haven't any server side development.Please let
>>>> me know if there server side development involve.if there any server side
>>>> development i willing to complete that task too.
>>>>
>>>> I already complete my proposal and now I am doing final fine tuning of
>>>> my proposal.I will send it tomorrow.from today onwards I start my
>>>> development  for first iteration.
>>>>
>>>> Thank you!
>>>> regards,
>>>> Heshan Jayasinghe
>>>>
>>>>
>>>>
>>>> On Tue, Mar 15, 2016 at 9:37 AM, Isuru Wijesinghe <isur...@wso2.com>
>>>> wrote:
>>>>
>>>>> Great. My contact number :
>>>>>
>>>>>
>>>>> *0710933706*
>>>>> Thanks and Best Regards,
>>>>>
>>>>> On Tue, Mar 15, 2016 at 9:30 AM, Heshan Jayasinghe <shanu...@gmail.com
>>>>> > wrote:
>>>>>
>>>>>> Hi Isuru,
>>>>>> My proposal 70% over now.I will send you copy soon.could you please
>>>>>> send me your contact number to get more information.
>>>>>> Thank you!
>>>>>> regards,
>>>>>> Heshan jayasinghe
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Isuru Wijesinghe
>>>>> *Software Engineer*
>>>>> WSO2 inc : http://wso2.com
>>>>> lean.enterprise.middleware
>>>>> Mobile: 0710933706
>>>>> isur...@wso2.com
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Isuru Wijesinghe
>>> *Software Engineer*
>>> WSO2 inc : http://wso2.com
>>> lean.enterprise.middleware
>>> Mobile: 0710933706
>>> isur...@wso2.com
>>>
>>
>>
>>
>> --
>> Isuru Wijesinghe
>> *Software Engineer*
>> WSO2 inc : http://wso2.com
>> lean.enterprise.middleware
>> Mobile: 0710933706
>> isur...@wso2.com
>>
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [Analytics] Removing FACET from Indexing data types

2016-04-21 Thread Isuru Wijesinghe
Hi Gimantha,

How can we denote a given field in any data type as a facet in *spark-sql.*
Lets say as an example I have a field called processDefinitionId (string
data-type) and I need to define it as a facet as well (see below example).

CREATE TEMPORARY TABLE PROCESS_USAGE_SUMMARY USING CarbonAnalytics OPTIONS
(tableName "PROCESS_USAGE_SUMMARY_DATA",
schema "processDefinitionId string -i *-f*,
processVersion string -i,
processInstanceId string -i,,
primaryKeys "processInstanceId"
);

is this the way that we can define it in newer version ?


On Fri, Apr 22, 2016 at 2:39 AM, Gimantha Bandara <giman...@wso2.com> wrote:

> Hi all,
>
> We are planning to remove "FACET" (this type is used to categorize/group,
> to get unique values and to drill-down) from indexing data types and we
> will introduce an attribute to mark other data types as a FACET or not.
> Earlier FACETs can be defined only for STRING fields and even if we define
> a STRING as a FACET, then we will not be able to search it as a STRING
> field. With this change, any data type field can be marked as a FACET and
> then the field can be used as a FACET and as the usual data type as well.
> This change will not affect the older DAS capps or event-store
> configurations; It will be backward compatible with previous DAS versions
> (3.0.0 and 3.0.1). However if you try to get the Schema of a table using JS
> APIs, REST APIs or the Webservice, FACET type will not be there. A
> attribute called "isFacet" is used to identify the FACETed fields. See
> below for an example.
>
>
>
> *Older schema*
> {
> "columns" : {
>"logFile" : { "type" : "STRING", "isIndex" : true,
> "isScoreParam" : false },
>"level" : { "type" : "DOUBLE", "isIndex" : true, "isScoreParam"
> : false },
>"location" : { "type" : "FACET", "isIndex" : true,
> "isScoreParam" : false } },
> "primaryKeys" : ["logFile", "level"]
> }
>
>
> *Equivalent new schema*
>
>
> *{ "columns" : {   "logFile" : { "type" : "STRING", "isIndex"
> : true, "isScoreParam" : false, **, isFacet : *false
> * },   "*level*" : { "type" : "DOUBLE", "isIndex" : true,
> "isScoreParam" : false, **, isFacet : *false* },*
> *   "location" : { "type" : "*STRING*", "isIndex" : true,
> "isScoreParam" : false, isF*acet : true
> * } },//FACET field is removed "primaryKeys" : ["logFile", "*level
>
>
> *"] }*
> --
>
>
> ___
> Architecture mailing list
> architect...@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-03-22 Thread Isuru Wijesinghe
Hi Heshan,

We have already added few comments. Could you please fix them and share the
updated proposal ?

Thanks and Best Regards,

On Fri, Mar 18, 2016 at 9:48 PM, Isuru Wijesinghe <isur...@wso2.com> wrote:

> Hi Heshan,
>
> We appreciate your quick response. The main deliverable of this project is
> a javascript/D3 based BPMN editor which allows Process Center users to
> define business processes using a graphical notation from the *web UI*.
> (No server side involvement). Keep on progressing on the project and if you
> get stuck at any point, don't hesitate to contact us.
>
> Thanks and Best Regards,
>
>
> On Fri, Mar 18, 2016 at 11:35 AM, Heshan Jayasinghe <shanu...@gmail.com>
> wrote:
>
>> HI,
>> Could you please tell me how server side involve in this project? Web
>> Editor can developed as a single page application and we can run it in java
>> server.hope this application haven't any server side development.Please let
>> me know if there server side development involve.if there any server side
>> development i willing to complete that task too.
>>
>> I already complete my proposal and now I am doing final fine tuning of my
>> proposal.I will send it tomorrow.from today onwards I start my development
>>  for first iteration.
>>
>> Thank you!
>> regards,
>> Heshan Jayasinghe
>>
>>
>>
>> On Tue, Mar 15, 2016 at 9:37 AM, Isuru Wijesinghe <isur...@wso2.com>
>> wrote:
>>
>>> Great. My contact number :
>>>
>>>
>>> *0710933706*
>>> Thanks and Best Regards,
>>>
>>> On Tue, Mar 15, 2016 at 9:30 AM, Heshan Jayasinghe <shanu...@gmail.com>
>>> wrote:
>>>
>>>> Hi Isuru,
>>>> My proposal 70% over now.I will send you copy soon.could you please
>>>> send me your contact number to get more information.
>>>> Thank you!
>>>> regards,
>>>> Heshan jayasinghe
>>>>
>>>>
>>>
>>>
>>> --
>>> Isuru Wijesinghe
>>> *Software Engineer*
>>> WSO2 inc : http://wso2.com
>>> lean.enterprise.middleware
>>> Mobile: 0710933706
>>> isur...@wso2.com
>>>
>>
>>
>
>
> --
> Isuru Wijesinghe
> *Software Engineer*
> WSO2 inc : http://wso2.com
> lean.enterprise.middleware
> Mobile: 0710933706
> isur...@wso2.com
>



-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Gsoc2016] [PC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-03-19 Thread Isuru Wijesinghe
Hi Heshan,

We appreciate your quick response. The main deliverable of this project is
a javascript/D3 based BPMN editor which allows Process Center users to
define business processes using a graphical notation from the *web UI*. (No
server side involvement). Keep on progressing on the project and if you get
stuck at any point, don't hesitate to contact us.

Thanks and Best Regards,


On Fri, Mar 18, 2016 at 11:35 AM, Heshan Jayasinghe <shanu...@gmail.com>
wrote:

> HI,
> Could you please tell me how server side involve in this project? Web
> Editor can developed as a single page application and we can run it in java
> server.hope this application haven't any server side development.Please let
> me know if there server side development involve.if there any server side
> development i willing to complete that task too.
>
> I already complete my proposal and now I am doing final fine tuning of my
> proposal.I will send it tomorrow.from today onwards I start my development
>  for first iteration.
>
> Thank you!
> regards,
> Heshan Jayasinghe
>
>
>
> On Tue, Mar 15, 2016 at 9:37 AM, Isuru Wijesinghe <isur...@wso2.com>
> wrote:
>
>> Great. My contact number :
>>
>>
>> *0710933706*
>> Thanks and Best Regards,
>>
>> On Tue, Mar 15, 2016 at 9:30 AM, Heshan Jayasinghe <shanu...@gmail.com>
>> wrote:
>>
>>> Hi Isuru,
>>> My proposal 70% over now.I will send you copy soon.could you please send
>>> me your contact number to get more information.
>>> Thank you!
>>> regards,
>>> Heshan jayasinghe
>>>
>>>
>>
>>
>> --
>> Isuru Wijesinghe
>> *Software Engineer*
>> WSO2 inc : http://wso2.com
>> lean.enterprise.middleware
>> Mobile: 0710933706
>> isur...@wso2.com
>>
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC 2016

2016-03-19 Thread Isuru Wijesinghe
Hi Nitesh,

Thank you for your interest in this project.

Basically this BPMN
<https://en.wikipedia.org/wiki/Business_Process_Model_and_Notation>
(Business Process Model and Notation) editor has two sections called
component-palette section and drawing section. In component-palette
section, need to be included set of components like user task, service
task, exclusive, parallel gateways, etc [see the attached image (
*pallet.png*)]. And then clone the selected competent/item in the palette
section when clicking on it by the user to drawing section to model a
work-flow. (see *editor.jpeg*)

You can start looking at the example available in [1]. This example
describes templates and relationships typically used in BPMN. Please also
go through the samples mentioned in [2], [3] and [4].

[1]. http://demo.bpmn.io/
[2]. Interactive tool for creating directed graphs using D3 -
https://bl.ocks.org/cjrd/6863459
[3]. State diagram editor example  using D3 -
http://bl.ocks.org/lgersman/5311202
[4]. D3.js custom shapes - http://bl.ocks.org/explunit/4659227

Please do not hesitate to contact us if you have any further questions.

Thanks and Best Regards,


On Fri, Mar 18, 2016 at 12:14 AM, Nitesh Agarwal <niteshagarwal...@gmail.com
> wrote:

> Dear sir,
>
> I am Nitesh Agarwal, a junior undergraduate in B.Tech Computer Science and
> Engineering student of Heritage Institute of Technology, Kolkata and I am
> looking for potential projects in this year's version of GSoC.
>
> I have previously worked on D3 in my previous year's summer internship at
> CodeNation. I was hoping that we could chat/talk a bit more in relation to
> this project.
>
>
> https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal19:[PC]Web(Javascript/D3)basedBPMNeditortosupportasubsetofcommonlyusedBPMNconstructs
>
> P.S.: Here's a link to my linkedin profile:
> https://in.linkedin.com/in/nitesh-agarwal-b4493855
>
> Sincerely,
> Nitesh.
>



-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] GSoC - Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-03-07 Thread Isuru Wijesinghe
Hi monish,

Thank you for your interest in this project.

Basically this BPMN
<https://en.wikipedia.org/wiki/Business_Process_Model_and_Notation>
(Business Process Model and Notation) editor has two sections called
component-palette section and drawing section. In component-palette
section, need to be included set of components like user task, service
task, exclusive, parallel gateways, etc [see the attached image (
*pallet.png*)]. And then clone the selected competent/item in the palette
section when clicking on it by the user to drawing section to model a
work-flow. (see *editor.jpeg*)

You can start looking at the example available in [1]. This example
describes templates and relationships typically used in BPMN. Please also
go through the samples mentioned in [2], [3] and [4].

[1]. http://demo.bpmn.io/
[2]. Interactive tool for creating directed graphs using D3 -
https://bl.ocks.org/cjrd/6863459
[3]. State diagram editor example  using D3 -
http://bl.ocks.org/lgersman/5311202
[4]. D3.js custom shapes - http://bl.ocks.org/explunit/4659227

Please do not hesitate to contact us if you have any further questions.

Thanks and Best Regards,

On Sun, Mar 6, 2016 at 1:57 PM, monish godhia <monish1...@gmail.com> wrote:

> Sir,
>   My name is Monish Godhia and I am a third year B.E. Hons Computer
> Science undergraduate student from BITS Pilani Hyderabad, India. My
> proficiency revolves around the areas of machine learning, virtual reality
> (developing apps using leap motion controller), C/C++, python, java, web
> development (frontend and backend). Many of my developments can be checked
> through my github profile - *https://github.com/share-with-me/
> <https://github.com/share-with-me/>*
> I have successfully completed my projects with Google India
> (code for India) and also been a part of the idea that was appreciated by
> the elite panel of internet.org challenge by Facebook.
> I would love to contribute to the 2016 GSoC by being a part of
> the project - Web (Javascript / D3) based BPMN editor to support a subset
> of commonly used BPMN constructs. I have developed numerous websites (for
> my college fests) using frontend tools- HTML, CSS , Javascript and Jquery
> (on bootstrap framework) and used PHP, SQL, AngularJS for the vaildation of
> backend. I have also developed a decision support system for the college
> department using the above tools(ongoing and the live progress can be
> tracked live on *http://hcig7.esy.es <http://hcig7.esy.es>*). It would be
> great if you could get mentor me to understand the idea in an elaborated
> manner so it can be worked upon.
>Thanks and Regards,
>Monish Godhia
>



-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [PC][GSoC] Web (Javascript / D3) based BPMN editor to support a subset of commonly used BPMN constructs

2016-02-20 Thread Isuru Wijesinghe
Hi Natasha,

Thank you for your interest in this project. You can start looking at the
example available in [1]. This example describes templates and
relationships typically used in Business Process Model and Notation
(BPMN). Please
go through the samples mentioned in [2], [3] and [4].

[1]. http://demo.bpmn.io/
[2]. Interactive tool for creating directed graphs using D3 -
https://bl.ocks.org/cjrd/6863459
[3]. state diagram editor example  using D3 -
http://bl.ocks.org/lgersman/5311202
[4]. D3.js custom shapes - http://bl.ocks.org/explunit/4659227

Basically this BPMN editor has two sections called component-palette
section and drawing section. In component-palette section, need to be
included set of components like user task, service task, exclusive,
parallel gateways, etc [see the attached image (pallet.png)]. And then
clone the selected competent/item in the palette section when clicking on
it by the user to drawing section to model a work-flow. (see editor.jpeg)

Please do not hesitate to contact us if you have any further questions.

Thanks and Best Regards,

On Sat, Feb 20, 2016 at 6:07 PM, Natasha Wijesekare <nwijesek...@gmail.com>
wrote:

> Dear Sir,
>
> I am a third year Software Engineering undergraduate at Informatics
> Institute of Technology. I would like to contribute to the open source
> community by taking part in GSoC 2016. I have gone through WSO2 GSoC
> Project Proposals for 2016 and I'm interested in contributing to Proposal
> 19: [PC] Web (Javascript / D3) based BPMN editor to support a subset of
> commonly used BPMN constructs
> <https://docs.wso2.com/display/GSoC/Project+Proposals+for+2016#ProjectProposalsfor2016-Proposal19:[PC]Web(Javascript/D3)basedBPMNeditortosupportasubsetofcommonlyusedBPMNconstructs>
> .
>
> Through prior experience I have been able to gather a sound knowledge in
> javascript which has helped me in developing many front-end applications.
> I'm familiar with BPMN and have experiance of designing bpmn
> processes/models to define business processes.
> Currently I'm tasked with carrying out a study about  D3 which is the
> required javascript library to create the editor.
> Please kindly make any suggestions on how I could proceed.
>
> Best Regards,
> Natasha Wijesekare
> Software Engineering Undergarduate,
> Informatice Institute of Technology, Sri Lanka
> mobile : +94771358651
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Malintha Amarasinghe

2016-01-30 Thread Isuru Wijesinghe
Congratzz Malintha :)

On Sat, Jan 30, 2016 at 1:38 PM, Nuwan Dias <nuw...@wso2.com> wrote:

> Hi,
>
> It is with great pleasure we welcome Malintha Amarasinghe as a
> WSO2 Committer. @Malintha, congratulations and keep up the good work!
>
> Thanks,
> NuwanD.
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Dev] [VOTE] Release WSO2 Business Process Server 3.5.1 RC2

2016-01-28 Thread Isuru Wijesinghe
Hi All,

I've tested the following features for h2 and postgreSQL.

1.) BPMN-Explorer
2.) HumanTask-Explorer
3.) BPMN Data Publisher

No issues found.
[x] Stable - go ahead and release

Thanks and Regards,


On Thu, Jan 28, 2016 at 8:00 PM, Firzhan Naqash <firz...@wso2.com> wrote:

> Hi Devs,
>
> This is the second release candidate of WSO2 Business Process Server 3.5.1
>
> The vote will be open for 72 hours or as needed. Please download, test the
> product and vote.
>
> ​​This release fixes the following issues:
> https://wso2.org/jira/secure/IssueNavigator.jspa?mode=hide=12625
>
> Binary distribution is available here:
>
> https://github.com/wso2/product-bps/releases/download/v3.5.1-RC2/wso2bps-3.5.1.zip
>
> ​​Source is available here:
> https://github.com/wso2/product-bps/archive/v3.5.1-RC2.zip
>
> ​​Maven staging repo:
> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-312/
>
> ​​The tag to be voted upon:
> ​​https://github.com/wso2/product-bps/releases/tag/v3.5.1-RC2
>
>
> [ ] Broken - do not release (explain why)
> [ ] Stable - go ahead and release
>
>
> ​Thanks,
> ​WSO2 BPS Team,
>
> Regards,
> Firzhan
>
>
> --
> *Firzhan Naqash*
> Senior Software Engineer - Integration Platform Team
> WSO2 Inc. http://wso2.com
>
> email: firz...@wso2.com
> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
> blog: http://firzhanblogger.blogspot.com/
> <http://firzhanblogger.blogspot.com/>  <http://suhothayan.blogspot.com/>*
> *twitter: https://twitter.com/firzhan007
> <https://twitter.com/firzhan007> | linked-in: 
> **https://www.linkedin.com/in/firzhan
> <https://www.linkedin.com/in/firzhan>*
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 BRS 2.2.0 RC

2015-12-22 Thread Isuru Wijesinghe
I have tested all the samples. No issues found.

[x] - Stable - Go ahead and release.

On Wed, Dec 23, 2015 at 11:02 AM, Vinod Kavinda <vi...@wso2.com> wrote:

> I have tested following,
> In single node and tenant mode:
>-rsl deployment
>-aar deployment
>-capp deployment
>-capp with security policy
> In cluster mode
>-registry key mode rule creation
>-aar deployment
>
> No issues found.
>
> [x] - Stable - Go ahead and release.
>
> Regards,
> Vinod
>
>
> On Wed, Dec 23, 2015 at 10:57 AM, Firzhan Naqash <firz...@wso2.com> wrote:
>
>>
>> I have tested following in single node as well as cluster
>>
>>  - aar deployment
>>  - aar deployment with security policy
>>
>> No issues found.
>>
>> [x] - Stable - Go ahead and release.
>>
>>
>> Regards,
>> Firzhan
>>
>>
>> --
>> *Firzhan Naqash*
>> Senior Software Engineer - Integration Platform Team
>> WSO2 Inc. http://wso2.com
>>
>> email: firz...@wso2.com
>> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
>> blog: http://firzhanblogger.blogspot.com/
>> <http://firzhanblogger.blogspot.com/>  <http://suhothayan.blogspot.com/>*
>> *twitter: https://twitter.com/firzhan007
>> <https://twitter.com/firzhan007> | linked-in: 
>> **https://www.linkedin.com/in/firzhan
>> <https://www.linkedin.com/in/firzhan>*
>>
>> On Wed, Dec 23, 2015 at 10:25 AM, Himasha Guruge <himas...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> I have tested following.
>>> [1]. Load testing against stateless rule services.
>>>
>>> No issues found.
>>>
>>> [x] - Stable - Go ahead and release.
>>>
>>>
>>> Thanks,
>>> Himasha
>>>
>>> On Tue, Dec 22, 2015 at 8:48 PM, Milinda Perera <milin...@wso2.com>
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> WSO2 BRS 2.2.0 RC Release Vote
>>>>
>>>> This release fixes the following issues:
>>>> https://wso2.org/jira/browse/BRS-134?filter=12526
>>>>
>>>> Please download BRS 2.2.0 RC and test the functionality and vote. Vote
>>>> will be open for 72 hours or as needed.
>>>>
>>>> Binary distribution at:
>>>>
>>>> https://svn.wso2.org/repos/wso2/people/milindap/BRS/releases/RC/wso2brs-2.2.0.zip
>>>>
>>>> Maven staging repository:
>>>> http://maven.wso2.org/nexus/content/repositories/orgwso2brs-233/
>>>>
>>>> The tag to be voted upon :
>>>> https://github.com/wso2/product-brs/tree/v2.2.0-RC
>>>>
>>>>
>>>> [-] Broken - do not release (explain why)
>>>> [+] Stable - go ahead and release
>>>>
>>>> Thanks and Regards,
>>>> WSO2 BPS/BRS Team
>>>>
>>>> --
>>>> Milinda Perera
>>>> Software Engineer;
>>>> WSO2 Inc. http://wso2.com ,
>>>> Mobile: (+94) 714 115 032
>>>>
>>>>
>>>
>>>
>>> --
>>> Himasha Guruge
>>> *Software Engineer*
>>> WS*O2* *Inc.*
>>> Mobile: +94 777459299
>>> himas...@wso2.com
>>>
>>
>>
>
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DS][DAS] Sample for DashboardServer - How to get back-end url, username, password for DAS to invoke DAS rest API from jaggery file

2015-12-18 Thread Isuru Wijesinghe
Hi Rajeenthini,

Can't you hold a configuration file at the back-end side for this ?? Here
what I mean is something similar to below example. In the url tag you
should have to keep the base url of the DAS. The rest of the part of the
url u can append from the code. (Please note that if you keep a property
file like below, you should have to add secure vault also. It  is used to
secure plain text password which is contains in configuration  files of
WSO2 products).  And then you can read it from your jaggery code . (see
http://jaggeryjs.org/documentation.jag?api=file)
eg:

http://wso2.org/pc/config;>

https://localhost:9445/
admin
admin




On Fri, Dec 18, 2015 at 12:33 PM, Supun Sethunga <sup...@wso2.com> wrote:

> Hi Rajeenthini,
>
> Instead of the DAS REST API, you can use the "Analytics javascript API"
> [1]. This should eliminate the requirement of needing user-credentials. (or
> doesn't need to send an Authorization header)
>
> [1] https://docs.wso2.com/display/DAS300/Analytics+JavaScript+(JS)+API
>
> Regards,
> Supun
>
> On Fri, Dec 18, 2015 at 10:41 AM, Rajeenthini Satkunam <
> rajeenth...@wso2.com> wrote:
>
>> Hi all,
>>
>> Currently I am working on creating sample for dashboard server with DAS
>> integration.I need to invoke DAS rest API from Jaggery file(sample.jag) to
>> get some data.As per documentation[1] of DAS rest API we need to send
>> authorization header along with request to fetch data from DAS. So for
>> workaround I have hard-coded the username password values to variable and
>> concatenate them as username + ":" + password and encoded them then send as
>> a authorization header.Here I need to get server username and
>> password(credentials).IMHO it is not good practice that hard-coding
>> credentials of server.
>> I have shared my Jaggery code below
>>
>> try {
>> var username = "admin";//hard-coded value of username
>> var password = "admin";//hard-coded value of password
>> var tableName = request.getParameter("tableName");
>> var query = request.getParameter("query");
>> var url = "https://localhost:9465/analytics/search;;
>> var encoderJavaPkg = Packages.javax.xml.bind.DatatypeConverter;
>> var bytes = [];
>> var encodeString = username + ":" + password;
>> for (var i = 0; i < encodeString.length; ++i) {
>> bytes.push(encodeString.charCodeAt(i));
>> }
>> var authHeader = "Basic " + encoderJavaPkg.printBase64Binary(bytes);
>> var result = post(url, stringify({
>> "tableName": tableName,
>> "start": 0,
>> "count": 100,
>> "query": query
>> }), {"Authorization": authHeader, "Content-Type": "application/json"}, 
>> "application/json");
>> print(result.data);
>> } catch (e) {
>> log.info(e);
>> }
>>
>> [1] - 
>> https://docs.wso2.com/display/DAS300/Retrieving+All+Records+Matching+the+Given+Search+Query+via+REST+API
>>
>> As for now to start both server (DAS and DS) I have changed offset value for 
>> DAS as "2" in carbon.xml.I can successfully start both server 
>> simultaneously.It will be very useful if I can get the back-end URL and 
>> server credentials of DAS and get rid of hard-coding those values.Can anyone 
>> please help me and your suggestions mostly appreciate?
>>
>>
>>
>>
>> --
>>
>> *Thank You.*
>>
>> *Rajeenthini Satkunam*
>>
>> *Associate Software Engineer | WSO2*
>>
>>
>> *E:rajeenth...@wso2.com <rajeenth...@wso2.com>*
>>
>> *M :+94770832823 <%2B94770832823>   *
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> http://wso2.com/
> lean | enterprise | middleware
> Mobile : +94 716546324
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [BPS][DAS] Sorting feature and range faceting for the aggregated records

2015-11-20 Thread Isuru Wijesinghe
Hi All,

We're currently developing the dashboard for BPS statistics data and we
encounter some problems mentioned below.

1.) Does DAS already support a sorting feature to retrieve the aggregated
data in the ascending order ?

Why we need sorting feature here because let's say as an example,  if we
are analyzing the involvement of different users in a particular process,
we have to provide the process ID as the primary filter. There can be a
large number of users in the system which could result in too many entries
in the X axis. To overcome this, most graphs have to provide a secondary
filter to obtain only top X or bottom X entries (asc or dsc ordering).

When retrieving the records through the faceted search for the columns
which have the aggregated values(eg: avg, sum, etc) from the DAS REST API,
the data is usually listed in random order. As a solution for that, need to
provide a mechanism in the DAS side to sort the records in the column such
a way that they will be retrieved in a specific order so that it can be
used to sort in ascending order, descending order according to the given
column or multiple columns.

eg: {
"tableName": "USER_INVOLVE_SUMMARY_DATA",
"groupByField": "processDefKey",
"query": "assignee:admin",
*"sort":"totalInvolvedTime asc"*,
"aggregateFields": [
{
"fieldName": "duration",
"aggregate": "SUM",
"alias": "totalInvolvedTime"
}
]
}

2.) Is it possible to do range faceting in DAS?

(Here the range facet produces multiple range buckets over numeric fields
or date fields.)
Let's say as an example we have a field called *price* in one of the
summarized tables and we have that field faceted. We want to get the facets
as ranges of values (*eg:* *0-100, 100-500, 500-1000, etc* - these are the
ranges that prices fall into). Is it possible to calculate the ranges
(facet counts for the ranges of prices - eg: say for 5 values) based on the
values in the table ?

-- 
Isuru Wijesinghe
*Software Engineer*
WSO2 inc : http://wso2.com
lean.enterprise.middleware
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 Data Analytics Server 3.0.0 RC3

2015-10-28 Thread Isuru Wijesinghe
I've tested with the BPMN data publisher and found no issues.

[x] Stable - Go ahead and release

Thanks and Regards,

On Wed, Oct 28, 2015 at 12:03 PM, Gokul Balakrishnan <go...@wso2.com> wrote:

> I tested the following using both RDBMS and HBase/HDFS DAL components:
>
> - Installing Smart Home sample CApp
> - Publishing data
> - Running Spark queries (manual + scheduled)
> - Data Explorer and Analytics Dashboard
> - Index search
> - Publishing events to external sources (HTTP, logger) from DAS
>
> My vote - [X] Stable - go ahead and release
>
> Thanks,
>
> On 27 October 2015 at 17:53, Gokul Balakrishnan <go...@wso2.com> wrote:
>
>> Hi all,
>>
>> This is the third release candidate of WSO2 DAS 3.0.0. Please download,
>> test and vote. The vote will be open for 72 hours or as needed.
>>
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/issues/?filter=12485
>>
>> Source & binary distribution files:
>> https://svn.wso2.org/repos/wso2/people/gokul/das/rc3/
>>
>> Maven staging repo:
>> http://maven.wso2.org/nexus/content/repositories/orgwso2das-077/
>>
>> The tag to be voted upon:
>> https://github.com/wso2/product-das/tree/v3.0.0-RC3
>>
>>
>> [ ] Broken - do not release (explain why)
>> [ ] Stable - go ahead and release
>>
>>
>> Thanks,
>> The WSO2 DAS Team.
>>
>> --
>> Gokul Balakrishnan
>> Senior Software Engineer,
>> WSO2, Inc. http://wso2.com
>> Mob: +94 77 593 5789 | +1 650 272 9927
>>
>
>
>
> --
> Gokul Balakrishnan
> Senior Software Engineer,
> WSO2, Inc. http://wso2.com
> Mob: +94 77 593 5789 | +1 650 272 9927
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Sasikala Kottegoda

2015-10-12 Thread Isuru Wijesinghe
Congratulations :)

On Mon, Oct 12, 2015 at 12:10 PM, Malintha Amarasinghe <malint...@wso2.com>
wrote:

> Congratulations Sasikala!! :)
>
> On Mon, Oct 12, 2015 at 11:28 AM, Kirishanthy Tharmalingam <
> kirishan...@wso2.com> wrote:
>
>> Congrats Sasikala !
>>
>> On Mon, Oct 12, 2015 at 11:13 AM, Sasikala Kottegoda <sasik...@wso2.com>
>> wrote:
>>
>>> Thanks all... :)
>>>
>>> And special thanks to the MB team for the help that I've received so
>>> far... :)
>>>
>>> On Mon, Oct 12, 2015 at 10:59 AM, Ramith Jayasinghe <ram...@wso2.com>
>>> wrote:
>>>
>>>> Hi Sasikala,
>>>> Congratulations!
>>>> It is with great pleasure that we welcome you as a WSO2 committer. Keep
>>>> up the good work!
>>>> regards,
>>>>
>>>> --
>>>> Ramith Jayasinghe
>>>> Technical Lead
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Sasikala Kottegoda
>>> *Software Engineer*
>>> WSO2 Inc., http://wso2.com/
>>> lean. enterprise. middleware
>>> Mobile: +94 774835928/712792401
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>> Kirishanthy
>> Associate Software Engineer
>> Mobile : +94 778333939
>> kirishan...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Malintha Amarasinghe
> Software Engineer
> *WSO2, Inc. - lean | enterprise | middleware*
> http://wso2.com/
>
> Mobile : +94 712383306
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Isuru Wijesinghe
Hi Gimantha,

using the aggregate API [1], I passed the below lucene object. But it gives
me an error (Internal server error). Does the COUNT function disable from a
configuration file due to performance issues?

{
"tableName": "PROCESS_USAGE_SUMMARY_DATA",
"groupByField": "processDefKey",
"aggregateFields": [
{
"fieldName": "processInstanceId",
"aggregate": "COUNT",
"alias": "processInstanceCount"
}
]
}

[1]
https://docs.wso2.com/display/DAS300/Retrieving+Aggregated+Values+of+Given+Records+via+REST+API

On Wed, Oct 7, 2015 at 10:06 AM, Nirmal Fernando <nir...@wso2.com> wrote:

> Hi Isuru,
>
> Just happened to see that you are using "???" :-) You can easily save some
> time by using "?" :-)
>
> On Tue, Oct 6, 2015 at 10:59 PM, Isuru Wijesinghe <isur...@wso2.com>
> wrote:
>
>> Hi Anjana,
>>
>> I think the link [1] given something similar to *where* clause in sql (I
>> mean the *query *part is something similar to *where *clause). Here what
>> I really need to do is, use the count operation with *group by. * In
>> addition to that does luicene support for ascending and descending order
>> ???
>>
>> On Tue, Oct 6, 2015 at 3:54 PM, Anjana Fernando <anj...@wso2.com> wrote:
>>
>>> Hi Isuru,
>>>
>>> You can use the REST APIs search count [1] operation.
>>>
>>> [1]
>>> https://docs.wso2.com/display/DAS300/Retrieving+the+Number+of+Records+Matching+the+Given+Search+Query+via+REST+API
>>>
>>> Cheers,
>>> Anjana.
>>>
>>> On Tue, Oct 6, 2015 at 1:04 PM, Isuru Wijesinghe <isur...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I need to perform COUNT() operation through DAS REST API (an example is
>>>> shown below). I tried to pass COUNT() from a luciene object. But it didn't
>>>> work for me. Does DAS support COUNT operation through luciene ???  if not
>>>> how can I enable it in DAS side???
>>>>
>>>> eg: *SELECT startedTime, processDefinitionId, COUNT(processInstanceId)
>>>> AS processInstanceCount FROM PROCESS_USAGE_SUMMARY GROUP BY startedTime,
>>>> processDefinitionId;*
>>>>
>>>> In addition to that, is that possible to pass more than one parameter
>>>> to the query part in luicene object, because most graphs have to provide a
>>>> secondary filter to get the result. As an example I need to filter the
>>>> result from date range as well as process id.  I need something like this.
>>>>
>>>>  *"query" : "timestamp : [1243214324532 TO 4654365223], processId :
>>>> 10035" *
>>>>
>>>> Any help will be appreciated.
>>>>
>>>> --
>>>> Isuru Wijesinghe
>>>> *Software Engineer*
>>>> Mobile: 0710933706
>>>> isur...@wso2.com
>>>>
>>>> _______
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Anjana Fernando*
>>> Senior Technical Lead
>>> WSO2 Inc. | http://wso2.com
>>> lean . enterprise . middleware
>>>
>>
>>
>>
>> --
>> Isuru Wijesinghe
>> *Software Engineer*
>> Mobile: 0710933706
>> isur...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Team Lead - WSO2 Machine Learner
> Associate Technical Lead - Data Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Isuru Wijesinghe
Hi Thanuja,

The problem is not in the luciene *group by. *It works perfectly with
aggregate functions such as*  SUM, MIN, MAX, AVG . *But actually it didn't
work with *COUNT *function.

Thanks and Regards,

On Wed, Oct 7, 2015 at 12:07 AM, Thanuja Uruththirakodeeswaran <
thanu...@wso2.com> wrote:

> Hi Isuru,
>
> I think Gimantha has already discussed about this in this thread [1]. The
> link suggests to do lucene 'group by' queries using writing a custom facet
> collector.
>
> [1].
> http://mail-archives.apache.org/mod_mbox/lucene-java-user/201508.mbox/%3CCAPz8bx2j3eM9L6q=r0_XV-8=rskwct84+m3vkchhwk-hopc...@mail.gmail.com%3E
>
> Thanks.
>
> On Tue, Oct 6, 2015 at 10:59 PM, Isuru Wijesinghe <isur...@wso2.com>
> wrote:
>
>> Hi Anjana,
>>
>> I think the link [1] given something similar to *where* clause in sql (I
>> mean the *query *part is something similar to *where *clause). Here what
>> I really need to do is, use the count operation with *group by. * In
>> addition to that does luicene support for ascending and descending order
>> ???
>>
>> On Tue, Oct 6, 2015 at 3:54 PM, Anjana Fernando <anj...@wso2.com> wrote:
>>
>>> Hi Isuru,
>>>
>>> You can use the REST APIs search count [1] operation.
>>>
>>> [1]
>>> https://docs.wso2.com/display/DAS300/Retrieving+the+Number+of+Records+Matching+the+Given+Search+Query+via+REST+API
>>>
>>> Cheers,
>>> Anjana.
>>>
>>> On Tue, Oct 6, 2015 at 1:04 PM, Isuru Wijesinghe <isur...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I need to perform COUNT() operation through DAS REST API (an example is
>>>> shown below). I tried to pass COUNT() from a luciene object. But it didn't
>>>> work for me. Does DAS support COUNT operation through luciene ???  if not
>>>> how can I enable it in DAS side???
>>>>
>>>> eg: *SELECT startedTime, processDefinitionId, COUNT(processInstanceId)
>>>> AS processInstanceCount FROM PROCESS_USAGE_SUMMARY GROUP BY startedTime,
>>>> processDefinitionId;*
>>>>
>>>> In addition to that, is that possible to pass more than one parameter
>>>> to the query part in luicene object, because most graphs have to provide a
>>>> secondary filter to get the result. As an example I need to filter the
>>>> result from date range as well as process id.  I need something like this.
>>>>
>>>>  *"query" : "timestamp : [1243214324532 TO 4654365223], processId :
>>>> 10035" *
>>>>
>>>> Any help will be appreciated.
>>>>
>>>> --
>>>> Isuru Wijesinghe
>>>> *Software Engineer*
>>>> Mobile: 0710933706
>>>> isur...@wso2.com
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Anjana Fernando*
>>> Senior Technical Lead
>>> WSO2 Inc. | http://wso2.com
>>> lean . enterprise . middleware
>>>
>>
>>
>>
>> --
>> Isuru Wijesinghe
>> *Software Engineer*
>> Mobile: 0710933706
>> isur...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanuja Uruththirakodeeswaran
> Software Engineer
> WSO2 Inc.;http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 774363167
>



-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Isuru Wijesinghe
Hi,

I need to perform COUNT() operation through DAS REST API (an example is
shown below). I tried to pass COUNT() from a luciene object. But it didn't
work for me. Does DAS support COUNT operation through luciene ???  if not
how can I enable it in DAS side???

eg: *SELECT startedTime, processDefinitionId, COUNT(processInstanceId) AS
processInstanceCount FROM PROCESS_USAGE_SUMMARY GROUP BY startedTime,
processDefinitionId;*

In addition to that, is that possible to pass more than one parameter to
the query part in luicene object, because most graphs have to provide a
secondary filter to get the result. As an example I need to filter the
result from date range as well as process id.  I need something like this.

 *"query" : "timestamp : [1243214324532 TO 4654365223], processId : 10035" *

Any help will be appreciated.

-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Performing SQL COUNT() operation through luciene

2015-10-06 Thread Isuru Wijesinghe
Hi Anjana,

I think the link [1] given something similar to *where* clause in sql (I
mean the *query *part is something similar to *where *clause). Here what I
really need to do is, use the count operation with *group by. * In addition
to that does luicene support for ascending and descending order ???

On Tue, Oct 6, 2015 at 3:54 PM, Anjana Fernando <anj...@wso2.com> wrote:

> Hi Isuru,
>
> You can use the REST APIs search count [1] operation.
>
> [1]
> https://docs.wso2.com/display/DAS300/Retrieving+the+Number+of+Records+Matching+the+Given+Search+Query+via+REST+API
>
> Cheers,
> Anjana.
>
> On Tue, Oct 6, 2015 at 1:04 PM, Isuru Wijesinghe <isur...@wso2.com> wrote:
>
>> Hi,
>>
>> I need to perform COUNT() operation through DAS REST API (an example is
>> shown below). I tried to pass COUNT() from a luciene object. But it didn't
>> work for me. Does DAS support COUNT operation through luciene ???  if not
>> how can I enable it in DAS side???
>>
>> eg: *SELECT startedTime, processDefinitionId, COUNT(processInstanceId)
>> AS processInstanceCount FROM PROCESS_USAGE_SUMMARY GROUP BY startedTime,
>> processDefinitionId;*
>>
>> In addition to that, is that possible to pass more than one parameter to
>> the query part in luicene object, because most graphs have to provide a
>> secondary filter to get the result. As an example I need to filter the
>> result from date range as well as process id.  I need something like this.
>>
>>  *"query" : "timestamp : [1243214324532 TO 4654365223], processId :
>> 10035" *
>>
>> Any help will be appreciated.
>>
>> --
>> Isuru Wijesinghe
>> *Software Engineer*
>> Mobile: 0710933706
>> isur...@wso2.com
>>
>> _______
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Anjana Fernando*
> Senior Technical Lead
> WSO2 Inc. | http://wso2.com
> lean . enterprise . middleware
>



-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Vinod Kavinda

2015-10-05 Thread Isuru Wijesinghe
Congratulations 

On Mon, Oct 5, 2015 at 2:57 PM, Viraj Senevirathne <vir...@wso2.com> wrote:

> Congrats Vinod..!
>
> On Mon, Oct 5, 2015 at 12:28 PM, Nandika Jayawardana <nand...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> Its my pleasure to welcome Vinod Kavinda as a WSO2 committer. Vinod is a
>> member of the BPS team and is a valuable contributor to BPS product. Vinod,
>> Welcome aboard and keep up the good work.
>>
>> Regards
>> Nandika
>> --
>> Nandika Jayawardana
>> WSO2 Inc ; http://wso2.com
>> lean.enterprise.middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Viraj Senevirathne
> Software Engineer; WSO2, Inc.
>
> Mobile : +94 71 958 0269
> Email : vir...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [VOTE] Release WSO2 BPS 3.5.0 RC2

2015-10-01 Thread Isuru Wijesinghe
Hi,
I tested all the samples.

   - BPMN samples
   - BPEL Samples
   - HumanTask Samples

[x] Stable - go ahead and release

Thanks and Regards,

On Wed, Sep 30, 2015 at 3:40 PM, Vinod Kavinda <vi...@wso2.com> wrote:

> Hi,
> I tested the HumanTask and BPEL functionalities.
>
> [x] Stable - go ahead and release
>
> Regards,
> Vinod
>
> On Wed, Sep 30, 2015 at 11:03 AM, Firzhan Naqash <firz...@wso2.com> wrote:
>
>>
>> Hi Devs,
>>
>> *WSO2 BPS 3.5.0 RC2 Release Vote*
>>
>> This release fixes the following issues:
>> https://wso2.org/jira/browse/BPS-604?filter=12415
>>
>> Please download BPS 3.5.0 RC2 and test the functionality and vote. Vote
>> will be open for 72 hours or as needed.
>>
>> Binary distribution at:
>> http://svn.wso2.org/repos/wso2/people/firzhan/packs/bps/3.5.0/RC2/
>>
>> Maven staging repository:
>> http://maven.wso2.org/nexus/content/repositories/orgwso2bps-158/
>>
>> The tag to be voted upon :
>> https://github.com/wso2/product-bps/releases/tag/v3.5.0-RC2
>>
>>
>> [-] Broken - do not release (explain why)
>> [+] Stable - go ahead and release
>>
>> Thanks and Regards,
>> WSO2 BPS Team
>>
>>
>>
>> Regards,
>> Firzhan
>>
>>
>> --
>> *Firzhan Naqash*
>> Senior Software Engineer - Integration Platform Team
>> WSO2 Inc. http://wso2.com
>>
>> email: firz...@wso2.com <lasan...@wso2.com>
>> mobile: (+94) 77 9785674 <%28%2B94%29%2071%205247551>*|
>> blog: http://firzhanblogger.blogspot.com/
>> <http://firzhanblogger.blogspot.com/>  <http://suhothayan.blogspot.com/>*
>> *twitter: https://twitter.com/firzhan007
>> <https://twitter.com/firzhan007> | linked-in: 
>> **https://www.linkedin.com/in/firzhan
>> <https://www.linkedin.com/in/firzhan>*
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vinod Kavinda
> Software Engineer
> *WSO2 Inc. - lean . enterprise . middleware <http://www.wso2.com>.*
> Mobile : +94 (0) 712 415544
> Blog : http://soatechflicks.blogspot.com/
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Creating user Define Functions in spark-sql

2015-09-24 Thread Isuru Wijesinghe
Hi Thanuja,

Thanks a lot. It is really helpful :)

On Thu, Sep 24, 2015 at 2:25 PM, Thanuja Uruththirakodeeswaran <
thanu...@wso2.com> wrote:

> Hi Isuru,
>
> Yes, it is not possible to query date directly from spark-sql. I also had
> a requirement to get current time when executing a query in spark ( similar
> to mysql NOW()) and formatting a timestamp which is in milli-second to some
> data format.
>
> You can write User Defined Function(UDF) in spark-sql and use it in DAS
> spark environment as described in this blog [1].
>
> [1].
> http://thanu912.blogspot.com/2015/08/using-user-defined-function-udf-in.html
>
> Thanks.
>
> On Thu, Sep 24, 2015 at 1:56 PM, Isuru Wijesinghe <isur...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I was trying to query on process and task instance data using spark-sql
>> which published from BPMNDataPublisher to the DAS. Here I need to convert
>> the date string (eg: Thu Sep 24 09:35:56 IST 2015) into one of the
>> datetime format that allows in spark. I think it is not possible to query
>> date directly from spark-sql so I'm thinking of writing a user define
>> function for it.
>>
>> Is it possible to write udf in spark-SQL (like in hive) and if possible
>> how can I import it into das to run the script?
>>
>> (Please find the attached image of the sample data which stored in the
>> das side)
>>
>>
>> --
>> Isuru Wijesinghe
>> *Software Engineer*
>> Mobile: 0710933706
>> isur...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thanuja Uruththirakodeeswaran
> Software Engineer
> WSO2 Inc.;http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 774363167
>



-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Creating user Define Functions in spark-sql

2015-09-24 Thread Isuru Wijesinghe
Hi,

I was trying to query on process and task instance data using spark-sql
which published from BPMNDataPublisher to the DAS. Here I need to convert
the date string (eg: Thu Sep 24 09:35:56 IST 2015) into one of the datetime
format that allows in spark. I think it is not possible to query date
directly from spark-sql so I'm thinking of writing a user define function
for it.

Is it possible to write udf in spark-SQL (like in hive) and if possible how
can I import it into das to run the script?

(Please find the attached image of the sample data which stored in the das
side)


-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ERROR - {org.wso2.carbon.core.internal.CarbonCoreDataHolder} Error in getting RegistryService from CarbonCoreDataHolder: Before activating Carbon Core bundle, an instance of RegistryService

2015-08-10 Thread Isuru Wijesinghe
Hi,
I solved the issue. I added
org.wso2.carbon.base.api.ServerConfigurationService as src reference and
then pass the registryService as well as serverConfigurationService to the
CryptoUtil.getDefaultCryptoUtil() method. Now it works.


CryptoUtil.getDefaultCryptoUtil(BPMNAnalyticsHolder.getInstance().getServerConfigurationService(),
BPMNAnalyticsHolder.getInstance().getRegistryService()).base64DecodeAndDecrypt(encryptedPassword);

Thank you very much Thusitha and Akila.

On Mon, Aug 10, 2015 at 10:24 AM, Isuru Wijesinghe isur...@wso2.com wrote:

 Hi,
 I'm accessing that method from the OSGi component.   Please find the
 service component class attached herewith.

 On Mon, Aug 10, 2015 at 10:09 AM, Thusitha Thilina Dayaratne 
 thusit...@wso2.com wrote:

 Hi Isuru,

 Are you trying to execute the CryptoUtil.getDefaultCryptoUtil().
 base64DecodeAndDecrypt(encryptedPassword) from OSGi component running on
 the kernel or outside the OSGi environment?

 Thanks
 /Thusitha

 On Mon, Aug 10, 2015 at 10:03 AM, Isuru Wijesinghe isur...@wso2.com
 wrote:

 Hi,
 I already added those src references and defined set and unset methods
 to my service as well . But still getting the same issue.

 On Mon, Aug 10, 2015 at 8:50 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Hi Isuru,

 Add the following src references to your service and update.

  * @scr.reference name=realm.service
  * interface=org.wso2.carbon.user.core.service.RealmService 
 cardinality=1..1
  * policy=dynamic bind=setRealmService unbind=unsetRealmService
  * @scr.reference name=registry.service
  * interface=org.wso2.carbon.registry.core.service.RegistryService 
 cardinality=1..1
  * policy=dynamic bind=setRegistryService unbind=unsetRegistryService

 Thanks



 On Mon, Aug 10, 2015 at 8:39 AM, Isuru Wijesinghe isur...@wso2.com
 wrote:

 Hi,

 When I invoke
 CryptoUtil.getDefaultCryptoUtil().base64DecodeAndDecrypt(encryptedPassword)
 method I’m getting this error.  Can anyone suggest how to solve it.

 TID: [-1234] [] [2015-08-10 08:19:54,565] ERROR
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder} -  Before activating
 Carbon Core bundle, an instance of ServerConfigurationService should be in
 existance {org.wso2.carbon.core.internal.CarbonCoreDataHolder}
 TID: [-1234] [] [2015-08-10 08:19:54,565] ERROR
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder} -  Before activating
 Carbon Core bundle, an instance of RegistryService should be in existance
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder}
 TID: [-1234] [] [2015-08-10 08:19:54,566] ERROR
 {org.wso2.carbon.core.util.CryptoUtil} -  Error in getting RegistryService
 from CarbonCoreDataHolder: Before activating Carbon Core bundle, an
 instance of RegistryService should be in existance
 {org.wso2.carbon.core.util.CryptoUtil}
 java.lang.Exception: Before activating Carbon Core bundle, an instance
 of RegistryService should be in existance
 at
 org.wso2.carbon.core.internal.CarbonCoreDataHolder.getRegistryService(CarbonCoreDataHolder.java:107)
 at
 org.wso2.carbon.core.util.CryptoUtil.lookupRegistryService(CryptoUtil.java:66)
 at
 org.wso2.carbon.core.util.CryptoUtil.getDefaultCryptoUtil(CryptoUtil.java:60)
 at
 org.wso2.carbon.bpmn.analytics.publisher.utils.BPMNDataReceiverConfig.getPassword(BPMNDataReceiverConfig.java:97)
 at
 org.wso2.carbon.bpmn.analytics.publisher.AnalyticsPublisher.createDataPublisher(AnalyticsPublisher.java:281)
 at
 org.wso2.carbon.bpmn.analytics.publisher.AnalyticsPublisher.initialize(AnalyticsPublisher.java:58)
 at
 org.wso2.carbon.bpmn.analytics.publisher.internal.BPMNAnalyticsServiceComponent.activate(BPMNAnalyticsServiceComponent.java:36)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230

[Dev] ERROR - {org.wso2.carbon.core.internal.CarbonCoreDataHolder} Error in getting RegistryService from CarbonCoreDataHolder: Before activating Carbon Core bundle, an instance of RegistryService shou

2015-08-09 Thread Isuru Wijesinghe
(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent.activate(RegistryCoreServiceComponent.java:126)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
at
org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
at
org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
at
org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
at
org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
at
org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
at
org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
at
org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:69)
at
org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at
org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at
org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at
org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at
org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ERROR - {org.wso2.carbon.core.internal.CarbonCoreDataHolder} Error in getting RegistryService from CarbonCoreDataHolder: Before activating Carbon Core bundle, an instance of RegistryService

2015-08-09 Thread Isuru Wijesinghe
Hi,
I already added those src references and defined set and unset methods to
my service as well . But still getting the same issue.

On Mon, Aug 10, 2015 at 8:50 AM, Prasanna Dangalla prasa...@wso2.com
wrote:

 Hi Isuru,

 Add the following src references to your service and update.

  * @scr.reference name=realm.service
  * interface=org.wso2.carbon.user.core.service.RealmService 
 cardinality=1..1
  * policy=dynamic bind=setRealmService unbind=unsetRealmService
  * @scr.reference name=registry.service
  * interface=org.wso2.carbon.registry.core.service.RegistryService 
 cardinality=1..1
  * policy=dynamic bind=setRegistryService unbind=unsetRegistryService

 Thanks



 On Mon, Aug 10, 2015 at 8:39 AM, Isuru Wijesinghe isur...@wso2.com
 wrote:

 Hi,

 When I invoke
 CryptoUtil.getDefaultCryptoUtil().base64DecodeAndDecrypt(encryptedPassword)
 method I’m getting this error.  Can anyone suggest how to solve it.

 TID: [-1234] [] [2015-08-10 08:19:54,565] ERROR
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder} -  Before activating
 Carbon Core bundle, an instance of ServerConfigurationService should be in
 existance {org.wso2.carbon.core.internal.CarbonCoreDataHolder}
 TID: [-1234] [] [2015-08-10 08:19:54,565] ERROR
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder} -  Before activating
 Carbon Core bundle, an instance of RegistryService should be in existance
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder}
 TID: [-1234] [] [2015-08-10 08:19:54,566] ERROR
 {org.wso2.carbon.core.util.CryptoUtil} -  Error in getting RegistryService
 from CarbonCoreDataHolder: Before activating Carbon Core bundle, an
 instance of RegistryService should be in existance
 {org.wso2.carbon.core.util.CryptoUtil}
 java.lang.Exception: Before activating Carbon Core bundle, an instance of
 RegistryService should be in existance
 at
 org.wso2.carbon.core.internal.CarbonCoreDataHolder.getRegistryService(CarbonCoreDataHolder.java:107)
 at
 org.wso2.carbon.core.util.CryptoUtil.lookupRegistryService(CryptoUtil.java:66)
 at
 org.wso2.carbon.core.util.CryptoUtil.getDefaultCryptoUtil(CryptoUtil.java:60)
 at
 org.wso2.carbon.bpmn.analytics.publisher.utils.BPMNDataReceiverConfig.getPassword(BPMNDataReceiverConfig.java:97)
 at
 org.wso2.carbon.bpmn.analytics.publisher.AnalyticsPublisher.createDataPublisher(AnalyticsPublisher.java:281)
 at
 org.wso2.carbon.bpmn.analytics.publisher.AnalyticsPublisher.initialize(AnalyticsPublisher.java:58)
 at
 org.wso2.carbon.bpmn.analytics.publisher.internal.BPMNAnalyticsServiceComponent.activate(BPMNAnalyticsServiceComponent.java:36)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
 at
 org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.registerServices(DataSourceServiceComponent.java:126)
 at
 org.wso2.carbon.ndatasource.core.internal.DataSourceServiceComponent.initSuperTenantUserDataSources(DataSourceServiceComponent.java

Re: [Dev] ERROR - {org.wso2.carbon.core.internal.CarbonCoreDataHolder} Error in getting RegistryService from CarbonCoreDataHolder: Before activating Carbon Core bundle, an instance of RegistryService

2015-08-09 Thread Isuru Wijesinghe
Hi,
I'm accessing that method from the OSGi component.   Please find the
service component class attached herewith.

On Mon, Aug 10, 2015 at 10:09 AM, Thusitha Thilina Dayaratne 
thusit...@wso2.com wrote:

 Hi Isuru,

 Are you trying to execute the CryptoUtil.getDefaultCryptoUtil().
 base64DecodeAndDecrypt(encryptedPassword) from OSGi component running on
 the kernel or outside the OSGi environment?

 Thanks
 /Thusitha

 On Mon, Aug 10, 2015 at 10:03 AM, Isuru Wijesinghe isur...@wso2.com
 wrote:

 Hi,
 I already added those src references and defined set and unset methods to
 my service as well . But still getting the same issue.

 On Mon, Aug 10, 2015 at 8:50 AM, Prasanna Dangalla prasa...@wso2.com
 wrote:

 Hi Isuru,

 Add the following src references to your service and update.

  * @scr.reference name=realm.service
  * interface=org.wso2.carbon.user.core.service.RealmService 
 cardinality=1..1
  * policy=dynamic bind=setRealmService unbind=unsetRealmService
  * @scr.reference name=registry.service
  * interface=org.wso2.carbon.registry.core.service.RegistryService 
 cardinality=1..1
  * policy=dynamic bind=setRegistryService unbind=unsetRegistryService

 Thanks



 On Mon, Aug 10, 2015 at 8:39 AM, Isuru Wijesinghe isur...@wso2.com
 wrote:

 Hi,

 When I invoke
 CryptoUtil.getDefaultCryptoUtil().base64DecodeAndDecrypt(encryptedPassword)
 method I’m getting this error.  Can anyone suggest how to solve it.

 TID: [-1234] [] [2015-08-10 08:19:54,565] ERROR
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder} -  Before activating
 Carbon Core bundle, an instance of ServerConfigurationService should be in
 existance {org.wso2.carbon.core.internal.CarbonCoreDataHolder}
 TID: [-1234] [] [2015-08-10 08:19:54,565] ERROR
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder} -  Before activating
 Carbon Core bundle, an instance of RegistryService should be in existance
 {org.wso2.carbon.core.internal.CarbonCoreDataHolder}
 TID: [-1234] [] [2015-08-10 08:19:54,566] ERROR
 {org.wso2.carbon.core.util.CryptoUtil} -  Error in getting RegistryService
 from CarbonCoreDataHolder: Before activating Carbon Core bundle, an
 instance of RegistryService should be in existance
 {org.wso2.carbon.core.util.CryptoUtil}
 java.lang.Exception: Before activating Carbon Core bundle, an instance
 of RegistryService should be in existance
 at
 org.wso2.carbon.core.internal.CarbonCoreDataHolder.getRegistryService(CarbonCoreDataHolder.java:107)
 at
 org.wso2.carbon.core.util.CryptoUtil.lookupRegistryService(CryptoUtil.java:66)
 at
 org.wso2.carbon.core.util.CryptoUtil.getDefaultCryptoUtil(CryptoUtil.java:60)
 at
 org.wso2.carbon.bpmn.analytics.publisher.utils.BPMNDataReceiverConfig.getPassword(BPMNDataReceiverConfig.java:97)
 at
 org.wso2.carbon.bpmn.analytics.publisher.AnalyticsPublisher.createDataPublisher(AnalyticsPublisher.java:281)
 at
 org.wso2.carbon.bpmn.analytics.publisher.AnalyticsPublisher.initialize(AnalyticsPublisher.java:58)
 at
 org.wso2.carbon.bpmn.analytics.publisher.internal.BPMNAnalyticsServiceComponent.activate(BPMNAnalyticsServiceComponent.java:36)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:606)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
 at
 org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
 at
 org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
 at
 org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
 at
 org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
 at
 org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
 at
 org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
 at
 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
 at
 org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
 at
 org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService

[Dev] How to define the streams with same stream name with different versions for data publishing (Versioning streams)???

2015-08-01 Thread Isuru Wijesinghe
Hi All,

I already designed a front end component which provides the configuration
to select set of attributes which belongs to the both process and task
instances to create two steams for publishing  the attributes as events to
DAS. (One stream for task instance attributes and the other is for process
instance attributes)

Here it has predefined set of check boxes with attribute names and user can
able to select attributes separately for both task and process instances.
Once a user selected some attributes to initialize the two streams those
are automatically disabled from the UI and stored in the configuration
registry as properties. From the back-end side read those properties and
create streams to publish data as events to DAS.

In this case according to the selection of attributes by the user the
stream definitions are different because the user can select additional
attributes in later publishes(through the selection of check-boxes).

According to the above scenario how can I define the stream with the
different version and with the same stream name (In this case the generated
streamId will be different from the earlier one.)???
Any help will be appreciated.

(I already implemented the back-end component to publish the predefined set
of attributes through both two types of streams).

-- 
Isuru Wijesinghe
*Software Engineer*
Mobile: 0710933706
isur...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev