[Dev] [DevStudio] Please review and merged the PR

2015-06-24 Thread Nuwan Pallewela
Hi, Please review and merge PR[1] - Fixing TOOLS-2837 Server role is not clickable until the particular artifact is selected in CAPP editor [1] https://github.com/wso2/developer-studio/pull/53 Thanks, Nuwan. -- -- *Nuwan Chamara

[Dev] [DevStudio] Please review and merge the PR

2015-06-29 Thread Nuwan Pallewela
Hi, Please review and merge PR [1] and [2] - Fixing TOOLS-2928 https://wso2.org/jira/browse/TOOLS-2928 When adding a proxy service using the wizard, even when all fields are filled 'Give a name for the proxy service' is shown. [1] https://github.com/wso2/developer-studio/pull/54 [2]

[Dev] [DEV][DevStudio] Please review and merge the PR

2015-07-06 Thread Nuwan Pallewela
Hi, Please review and merge PR [1] and [2] - Fixing Tools-2900 -'Advanced Configuration' option does not list any advanced options for HTTP/HTTPS Inbound Endpoints Fixing Tools-2673-Typo in XPath [1] https://github.com/wso2/developer-studio/pull/57 [2]

Re: [Dev] [DevStudio] Please review and merge the PR

2015-06-30 Thread Nuwan Pallewela
/developer-studio/pull/54 https://github.com/wso2/developer-studio/pull/54* [2] *https://github.com/wso2/developer-studio/pull/55 https://github.com/wso2/developer-studio/pull/55* Thanks, On Mon, Jun 29, 2015 at 6:16 PM, Nuwan Pallewela nuw...@wso2.com wrote: Hi, Please review and merge PR [1

[Dev] How OSGi Bundle Activation Policy Works in Runtime

2015-06-26 Thread Nuwan Pallewela
If a plug-in's Bundle Activation Policy is configured as lazy, will another plug-in which depends on it can use it if the current state of the first plug-in is in RESOLVED state? Will it come to ACTIVE state because of the second plug-In's invocation? --

[Dev] [DevStudio] Fix for artifact.xml file corruption when deleting multiple ESB artifact files at once

2015-07-31 Thread Nuwan Pallewela
Hi, Please review and merge following PRs [1] and [2] which will fix Tools-2967 and $subject [1]https://github.com/wso2/developer-studio/pull/92 [2]https://github.com/wso2/developer-studio/pull/93 Following are the changes this PR adds - User can select multiple ESB artifact files from one

[Dev] [DEV][DevStudio] Please review and merge the PR

2015-07-14 Thread Nuwan Pallewela
Hi, Please review and merge PR [1] and [2]- Tools-2961 : Restrict switching from source view to design view when source view has errors [1] https://github.com/wso2/developer-studio/pull/67 [2] https://github.com/wso2/developer-studio/pull/66 -- Thanks,

Re: [Dev] [DEV][DevStudio] Please review and merge the PR

2015-07-14 Thread Nuwan Pallewela
Hi Rajeevan, Thank you for your comments and I have done some changes. Thanks, On Tue, Jul 14, 2015 at 1:17 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Hi Nuwan, I have added few comments to the PR. Please have a look. Thanks, Rajeevan On Tue, Jul 14, 2015 at 12:02 PM, Nuwan

Re: [Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2899

2015-07-16 Thread Nuwan Pallewela
Thanks, Nuwan On Thu, Jul 16, 2015 at 5:28 PM, Kavith Lokuhewage kav...@wso2.com wrote: Hi Nuwan, Merged the pull request. Thanks, On Thu, Jul 16, 2015 at 5:03 PM, Nuwan Pallewela nuw...@wso2.com wrote: Hi, Please review and merge PR [1] and [2]- Tools-2899 : When artifact name

[Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2899

2015-07-16 Thread Nuwan Pallewela
Hi, Please review and merge PR [1] and [2]- Tools-2899 : When artifact name already exists, meaningless error given in UI for Inbound endpints. [1] https://github.com/wso2/developer-studio/pull/72 [2] https://github.com/wso2/developer-studio/pull/73 Thanks, Nuwan --

Re: [Dev] [DEV][DevStudio] Please review and merge the PR

2015-07-15 Thread Nuwan Pallewela
Thanks, Nuwan On Wed, Jul 15, 2015 at 1:26 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Merged! Thanks, Rajeevan On Tue, Jul 14, 2015 at 2:41 PM, Nuwan Pallewela nuw...@wso2.com wrote: Hi Rajeevan, Thank you for your comments and I have done some changes. Thanks, On Tue, Jul

[Dev] [DEV][DevStudio] Please review and merge the PR

2015-07-15 Thread Nuwan Pallewela
Hi, Please review and merge PR [1] and [2] - Tools-2932 : Importing existing registry project throws an exception [1] https://github.com/wso2/developer-studio/pull/70 [2] https://github.com/wso2/developer-studio/pull/71 -- -- *Nuwan

[Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2869

2015-07-20 Thread Nuwan Pallewela
Hi , Please review and merge PR [1] and [2]- Tools-2869-When a CAR file is generated, artifacts with dependencies comes up in order than its dependancies [1] https://github.com/wso2/developer-studio/pull/75 [2] https://github.com/wso2/developer-studio/pull/74 --

Re: [Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2869

2015-07-20 Thread Nuwan Pallewela
Thanks, Nuwan On Mon, Jul 20, 2015 at 4:26 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Merged! Thanks, Rajeevan On Mon, Jul 20, 2015 at 3:08 PM, Nuwan Pallewela nuw...@wso2.com wrote: Hi , Please review and merge PR [1] and [2]- Tools-2869-When a CAR file is generated

[Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2981

2015-07-20 Thread Nuwan Pallewela
Hi , Please review and merge PR [1] and [2]- Tools-2981 : Inbound Endpoints folder in ESB Config project, doesn't contain new Inbound End point option in it's menu [1] https://github.com/wso2/developer-studio/pull/76 [2] https://github.com/wso2/developer-studio/pull/77 Thanks, Nuwan --

[Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2926

2015-07-21 Thread Nuwan Pallewela
Hi , Please review and merge PR [1] and [2]- Tools-2926 : Cannot browse security policies from workspace for BPEL Apply security wizard. [1] https://github.com/wso2/developer-studio/pull/79 [2] https://github.com/wso2/developer-studio/pull/78 Following are the major changes done in this pull

Re: [Dev] [DEV][DevStudio] Please review and merge the PR for Fixing Tools-2926

2015-07-21 Thread Nuwan Pallewela
Hi, Please consider the following [3] and [4] pull requests for the above issue and don't merge above [1] and [2] pull requests. [3] https://github.com/wso2/developer-studio/pull/80 [4] https://github.com/wso2/developer-studio/pull/81 Thanks, Nuwan On Tue, Jul 21, 2015 at 6:26 PM, Nuwan

Re: [Dev] [DEV][DevStudio] Please review and merge the PR

2015-07-15 Thread Nuwan Pallewela
Thanks, Nuwan On Wed, Jul 15, 2015 at 5:05 PM, Rajeevan Vimalanathan rajeev...@wso2.com wrote: Merged! Thanks, Rajeevan On Wed, Jul 15, 2015 at 2:30 PM, Nuwan Pallewela nuw...@wso2.com wrote: Hi, Please review and merge PR [1] and [2] - Tools-2932 : Importing existing registry

[Dev] Dependency Inject not working to get IEclipseContext Object

2015-11-03 Thread Nuwan Pallewela
Hi Devs, I'm trying to get a IEclipseContext object to get IEventBroker. DI method to get IEventBroker instance always gives a null. Alternative method to get IEventBroker is through IEclipseContext instance. DI method to get it also not working. Is there any way to get a instance of

Re: [Dev] Dependency Inject not working to get IEclipseContext Object

2015-11-03 Thread Nuwan Pallewela
Broker; > > public YourClass(){} > > } > > Then, inject reference while instantiating. > > BundleContext bundleContext = > FrameworkUtil.getBundle(YourClass.class).getBundleContext(); > IEclipseContext eclipseContext = > EclipseContextFactory.getServiceContext(bundleConte

Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC 4

2015-10-14 Thread Nuwan Pallewela
Hi All, I have tested following areas, - ESB basic fuctionalities - App Server service classes - Registry Resources - CApp creation and deployments in servers - Connector importing and removing - Servers No blocking issues found. So +1 On Wed, Oct 14, 2015 at 3:30 PM, Sajith

Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC 2

2015-10-08 Thread Nuwan Pallewela
I have tested the following areas, App server tools ESB Basic Functionalities Registry Basic Functionalities Carbon servers instances BRS drl file importing Capp deployment And found following issues https://wso2.org/jira/browse/TOOLS-3235

Re: [Dev] WSO2 Committers += Sasikala Kottegoda

2015-10-11 Thread Nuwan Pallewela
Congrats Sasikala! On Mon, Oct 12, 2015 at 10:59 AM, Ramith Jayasinghe 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

Re: [Dev] Is "defaultValue" field in the Publish Event Mediator always expected to be Empty?

2015-10-06 Thread Nuwan Pallewela
Hi Awanthika, I think this defaultValue can be any value. It is assigned for the attribute if the expression can not find a property value. Thanks, Nuwan On Wed, Oct 7, 2015 at 9:29 AM, Awanthika Senarath wrote: > Hi all, > > On testing the developer studio 3.8.0 I could

Re: [Dev] Documentation for Developer Studio JAXWS and JAXRS Samples

2015-10-13 Thread Nuwan Pallewela
Hi, Following link [2] contain draft sample documentation for JAX-RS sample project [2] https://docs.google.com/a/wso2.com/document/d/1iE9qJtR6yPs193VtF6EwlklC1v-ZOwqRaBKqF5ZZSNU/edit?usp=sharing Thanks, Nuwan On Tue, Oct 13, 2015 at 11:37 AM, Nuwan Pallewela <nuw...@wso2.com> wrote:

[Dev] [DEV][GREG] Unable to import registry resources from a dump file

2015-10-06 Thread Nuwan Pallewela
Hi Devs, I'm trying to test importing registry files using a dump file. I have created a dump file using following command [1]. [1] sh checkin-client.sh co https://localhost:9443/registry/ -u admin -p admin -f 10-06-2015_test2.dump Dump file is successfully created in the bin folder. Then when

Re: [Dev] [DEV][GREG] Unable to import registry resources from a dump file

2015-10-06 Thread Nuwan Pallewela
, 2015 at 3:16 PM, Nuwan Pallewela <nuw...@wso2.com> wrote: > Hi Devs, > > I'm trying to test importing registry files using a dump file. I have > created a dump file using following command [1]. > [1] sh checkin-client.sh co https://localhost:9443/registry/ -u admin -p > a

Re: [Dev] [VOTE] Release WSO2 Developer Studio 3.8.0 RC

2015-10-06 Thread Nuwan Pallewela
Hi All, I have tested following scenarios. - JAX-WS service classes with App Server. - JAX-RS service classes with App Server. - Created ESB artifacts ,car files and with connectors. - Tested most of the security scenarios with proxy services. - Tested MMM project creation and

[Dev] Documentation for Developer Studio JAXWS and JAXRS Samples

2015-10-13 Thread Nuwan Pallewela
Hi, Following link [1] contain draft sample documentation for JAX-WS sample project. [1] https://docs.google.com/a/wso2.com/document/d/1LRCeJfcczAIZFi6UD2SCgZT5Q7LWjp8DFrdHj6zpAGE/edit?usp=sharing Thanks, Nuwan -- -- *Nuwan Chamara

[Dev] [DEV][DevStudio][Connector] Correct place to read Connector Operation name from a imported connector file

2015-09-30 Thread Nuwan Pallewela
Current implementation in Developer Studio reads the connector operation names from component.xml files in the imported files. Is this the correct position to read it? Do we have to read it from specific component xml file? I found that in salesforce connector, getUserInformation component have

Re: [Dev] Finding the feature that pack a particular bundle

2015-09-24 Thread Nuwan Pallewela
Hi Maduranga, I also wanted this some time back. I could not find any way to do it using osgi console. So what I did was grep the source code folder which contains the .pom files. grep -r "bundle_name" . Thanks, Nuwan On Wed, Sep 23, 2015 at 12:37 PM, Thusitha Thilina Dayaratne <

Re: [Dev] [DEV][GREG] Unable to import registry resources from a dump file

2015-10-06 Thread Nuwan Pallewela
the repo? > > Thank you, > SameeraK. > > > > On Tue, Oct 6, 2015 at 3:23 PM, Nuwan Pallewela <nuw...@wso2.com> wrote: > >> Hi, >> >> After i tried to checkout the dump file , following error is show in >> command line when i try to browse regist

Re: [Dev] [Architecture] WSO2 ESB 4.10.0 - Milestone 1 Released!

2015-12-06 Thread Nuwan Pallewela
Hi, In this pack user have to manually modify the synapse.properties file to start in mediation debug mode. Wouldn't it be more suitable that if default event and command ports for ESB Mediation debugger was included in synapse.properties file with the pack. Thanks, Nuwan On Fri, Dec 4, 2015 at

Re: [Dev] [Architecture] WSO2 ESB 4.10.0 - Milestone 1 Released!

2015-12-07 Thread Nuwan Pallewela
his [1], this will be fixed for next milestone >> release. >> [1] https://wso2.org/jira/browse/ESBJAVA-4354 >> Regards >> Kevin >> >> On Mon, Dec 7, 2015 at 12:36 PM, Nuwan Pallewela <nuw...@wso2.com> wrote: >> >>> Hi, >>> >>&g

Re: [Dev] [BPS][BPMN] New REST API for BPMN statistics

2015-12-09 Thread Nuwan Pallewela
Hi Natasha, Great work. What happens if an invalid request or request with an illegal argument sent to the API ? It is better to have those response messages or response status code also in the documentation. Thanks, Nuwan On Wed, Dec 9, 2015 at 5:08 PM, Natasha Wijesekara

Re: [Dev] Web Application Statistics Monitoring for Application Server 6.0.0

2015-12-15 Thread Nuwan Pallewela
[Moving to Architecture group] On Tue, Dec 15, 2015 at 3:31 PM, Nuwan Pallewela <nuw...@wso2.com> wrote: > [Moving thread to Architecture group] > > Hi Nathasha, > > Is statistics information get update per minute? > Do we have the capability to update the statistic

Re: [Dev] Web Application Statistics Monitoring for Application Server 6.0.0

2015-12-15 Thread Nuwan Pallewela
[Moving thread to Architecture group] Hi Nathasha, Is statistics information get update per minute? Do we have the capability to update the statistics using a refresh button or some other way without waiting for one minute? It will be great if you could provide a simple diagram which describes

Re: [Dev] How to get Maven Home for java implementation

2015-12-13 Thread Nuwan Pallewela
Hi Devs, Found the reason. Environment variable was not registered at that point. After restarting the system it got updated. @Rajjaz thanks. You are correct. Modified the config. Thanks, Nuwan On Mon, Dec 14, 2015 at 12:25 PM, Rajjaz Mohammed wrote: > > > > export

[Dev] How to get Maven Home for java implementation

2015-12-13 Thread Nuwan Pallewela
Hi Devs, I need to get the *Maven Home* value to execute maven goal eclipse:eclipse for a created project. I tried to use *java.lang.System* class to retrieve it by executing following code. But Maven Home in not listed in there either properties or process environment. if

Re: [Dev] WSO2 Committers += Sachith Withana

2015-11-30 Thread Nuwan Pallewela
Congratz sachith On Tue, Dec 1, 2015 at 11:00 AM, Malintha Adikari wrote: > Congratulations Sachith... > > On Tue, Dec 1, 2015 at 10:59 AM, Dunith Dhanushka wrote: > >> Congrats Sachith! >> >> On Tue, Dec 1, 2015 at 10:54 AM, Anjana Fernando

Re: [Dev] [Architecture] Nullable Support for JSON schema - Visual Data Mapper Editor

2016-06-06 Thread Nuwan Pallewela
are optional. > > On Tue, Jun 7, 2016 at 10:52 AM, Nuwan Pallewela <nuw...@wso2.com> wrote: > >> Hi Malaka, >> >> On Tue, Jun 7, 2016 at 10:45 AM, Malaka Silva <mal...@wso2.com> wrote: >> >>> Hi Sohani, >>> >>> I guess we are dealing with

Re: [Dev] [Architecture] Nullable Support for JSON schema - Visual Data Mapper Editor

2016-06-06 Thread Nuwan Pallewela
Hi Malaka, On Tue, Jun 7, 2016 at 10:45 AM, Malaka Silva wrote: > Hi Sohani, > > I guess we are dealing with optional input/output here. So in that case > are we showing those in a different color or anyway to distinguish? > > On execution side this needs to be handled from

Re: [Dev] Developer Studio changes ordering of XML attributes

2016-06-09 Thread Nuwan Pallewela
Hi Rajeevan, This behavior happens when we try to format the configuration. We use javax DocumentBuilder to parse and format and it does not care about the attribute order, since it's meaningless as far as the standard is concerned. This for sure we can fix by manually editing the source

Re: [Dev] [ESB][Tooling]Unable to set the scope as registry for the property mediator in ESB Tooling

2016-06-14 Thread Nuwan Pallewela
Hi Kesavan, Currently ESB tool doesn't have a scope as "registry". So it will reset it to default when you switch the views. We have to add it in ESB tool. Open a JIRA for esb tooling to track this. Meanwhile to continue with the development keep it to the last moment and edit it in source view

Re: [Dev] ClassCastException when using datamapper

2016-06-20 Thread Nuwan Pallewela
Hi Keerthika, What is the ESB version you are using? Thanks, Nuwan On Mon, Jun 20, 2016 at 4:03 PM, Keerthika Mahendralingam < keerth...@wso2.com> wrote: > Hi All, > > I am getting the following error when I used data mapper to create an > integration scenario. I installed the tool from >

Re: [Dev] WSO2 ESB tests

2016-06-17 Thread Nuwan Pallewela
Hi Abhishek, You can find the existing test cases from the product-esb source[1]. What you may basically have to do is save proxy or API configs as files and then deploy them in ESB server and test by sending requests. By referring to already written test cases you can easily understand. [1]

Re: [Dev] ClassCastException when using datamapper

2016-06-21 Thread Nuwan Pallewela
; : { > "key" : { > "id" : " > http://wso2jsonschema.org/issueFields/fields/project/key;, > "type" : "string" > } > }, > "type" :

Re: [Dev] Maintaining the order for XML payloads in JSON schema - Data Mapper

2016-06-20 Thread Nuwan Pallewela
Hi Harsha, On Tue, Jun 21, 2016 at 9:27 AM, Harsha Thirimanna wrote: > Hi Sohani, > Just wanted to know one thing and please make me correct if i am wrong > here. > > Normally, XML elements don't have an order and any implementation should > not depend on the order of the

Re: [Dev] Maintaining the order for XML payloads in JSON schema - Data Mapper

2016-06-20 Thread Nuwan Pallewela
://twitter.com/ <http://twitter.com/afkham_azeez>* > *harshathirimannlinked-in: **http: > <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 > <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>* > > *Lean . Enterprise . Middleware

Re: [Dev] Maintaining the order for XML payloads in JSON schema - Data Mapper

2016-06-20 Thread Nuwan Pallewela
://twitter.com/afkham_azeez>* > *harshathirimannlinked-in: **http: > <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 > <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>* > > *Lean . Enterprise . Middleware* > >

Re: [Dev] ESB 5 - Beta - Issue with the docs on installing tooling plugins

2016-06-28 Thread Nuwan Pallewela
Hi All, Yes. The given link contains the main P2, not the composite. So the image should be changed according to that. And the steps are also needed to be changed as before installing main p2 user should install the developer studio kernel[1] and platform bundle[2]. RC release will have both

[Dev] How to add patch improvements for Developer Studio update site

2016-01-31 Thread Nuwan Pallewela
Hi All, What is the process for adding improvements done for a patch, to Developer Studio update site? Thanks, Nuwan -- -- *Nuwan Chamara Pallewela* *Software Engineer* *WSO2, Inc. *http://wso2.com *lean . enterprise . middleware*

Re: [Dev] No such method when loading third party jar in eclipse

2016-02-29 Thread Nuwan Pallewela
Hi Awanthika, Have you exported the packages you need to use? Thanks, Nuwan On Mon, Feb 29, 2016 at 3:47 PM, Awanthika Senarath wrote: > The issue is, > > We are using two jackson jars in our source namely, > > jackson-mapper-asl-1.9.3.jar and

[Dev] Efficient way to represent tree data structure

2016-01-20 Thread Nuwan Pallewela
Hi All, I 'am currently working on Data Mapper feature, data mapping algorithm development. While implementing I want to store input data in a tree data structure so that I could access data efficiently. This tree *will not restructured* *or write *often. But it will be *read heavily*. I'm

[Dev] Including Data Mapper Mediator in ESB 5.0 Release

2016-02-15 Thread Nuwan Pallewela
Hi All, Data Mapper feature is planned to release with ESB 5.0 and initially it was done by team developer studio as a POC. There are three components in data mapper implementation. They are 1. Data Mapper Tool 2. Data Mapper Mediator 3. Data Mapper Engine Data Mapper Tool should be

Re: [Dev] Including Data Mapper Mediator in ESB 5.0 Release

2016-02-16 Thread Nuwan Pallewela
.com> > wrote: > >> Hi Nuwan, >> >> +1 for keeping the Data mapper engine in a separate repo. That will make >> it easy to maintain and reuse by other components if there is a requirement >> in the future. >> >> >> On Tue, Feb 16, 2016 at 10:06 AM

Re: [Dev] [ESB/Tooling] Support JSON, CSV, Java, Excel and Web services formats in Data Mapper tool

2016-03-18 Thread Nuwan Pallewela
Hi , We are sorry that we could not give the necessary information before. Data mapper design has been changed in the previous week after several technical discussions regarding using AVRO. Now we are moving towards JSON schema to define input and output message formats. So the project will

Re: [Dev] Namespaces and Attributes in JSON Schema

2016-03-15 Thread Nuwan Pallewela
Hi sohani, I think we do not need to include new type called "attr" to define it as a attribute. We can name the field with a prefix like "@" or "attr_". Eg: "@firstname": { "id": "http://jsonschema.net/employee/0/firstname;, "type": "string" }, or

Re: [Dev] Namespaces and Attributes in JSON Schema

2016-03-15 Thread Nuwan Pallewela
quot;firstname", > "lastname", > "address" > ] > }, > "required": [ > "0" > ] > } > }, > "required": [ > "employee" > ]

Re: [Dev] Namespaces and Attributes in JSON Schema

2016-03-16 Thread Nuwan Pallewela
: {* "id": "http://jsonschema.net/employee/0/address/no;, "type": "string" }, "road": { "id": "http://jsonschema.net/employee/0/address/road;, "

Re: [Dev] Namespaces and Attributes in JSON Schema

2016-03-16 Thread Nuwan Pallewela
inghe > Software Engineer > WSO2, Inc: http://wso2.com > > Mobile : +94 716439774 > Blog :http://christinetechtips.blogspot.com/ > Twitter : https://twitter.com/sohanichristine > > On Wed, Mar 16, 2016 at 11:35 AM, Nuwan Pallewela <nuw...@wso2.com> wrote: > >>

Re: [Dev] Issues with JSON Schema in representing data types and in representing an array which contains non identical elements

2016-04-10 Thread Nuwan Pallewela
Hi Sohani, +1 for the above approaches. We have to decide on how to represent non identical elements with same name. Viraj is working on it. Thanks, Nuwan On Mon, Apr 11, 2016 at 10:44 AM, Sohani Weerasinghe wrote: > Hi Viraj/Nuwan, > > Really appreciate your input on this >

Re: [Dev] Deciding a file type for Json Schema

2016-03-19 Thread Nuwan Pallewela
Hi All, I also think that it is not required to introduce a new extension for json schema files. The common method to differentiate JSON files from JSON Schema files is the "$schema" field in the json. Eg: { "$schema": "http://json-schema.org/draft-04/schema#;, "id":

Re: [Dev] Namespaces and Attributes in JSON Schema

2016-03-21 Thread Nuwan Pallewela
quot;: { >> "firstname": { >> "id": "http://jsonschema.net/employee/0/firstname;, >> "type": "string" >> }, >> "lastname": { >>

Re: [Dev] Libraries to process JSON schema

2016-03-07 Thread Nuwan Pallewela
Hi Sohani, Currently ESB use StAXON library for JSON parsing. So I think we need to compare it too. However another important factor for deciding the library is will it support to manipulate JSON schema. Because may we need to validate the JSON object with the given schema's. Will JSON.simple

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Nuwan Pallewela
>>> >>>>>>> On Tue, Mar 1, 2016 at 9:07 PM, Sohani Weerasinghe <soh...@wso2.com> >>>>>>> wrote: >>>>>>> >>>>>>>> Thanks Nuwan for the response. >>>>>>>> >>>>>>>> Whe

Re: [Dev] Issue in representing avro records with multiple namespaces

2016-03-01 Thread Nuwan Pallewela
On Tue, Mar 1, 2016 at 7:34 PM, Sohani Weerasinghe wrote: > Hi All, > > If we consider an XML which has multiple namespaces as below , > > > http://www.w3.org/TR/html4/;> > Asian Coffee Table > 74 > 129 > > http://www.w3schools.com/furniture;> > African Coffee Table >

Re: [Dev] [DEV] [ESB] Change payload response (LDAP Connector)

2016-04-25 Thread Nuwan Pallewela
Hi Willian, Do you want to change the message structure? If you don't need to change the message structure, you can change the axis2 messageType property to "json/application" and esb formatters will convert it to JSON. Eg: If you want to change the message structure you can use FastXSLT

Re: [Dev] Representing a JSON payload with null values - visual datamapper editor

2016-05-18 Thread Nuwan Pallewela
Hi All, @Vivekanathan : If we need to process/map any value in the payload though it is optional we have to know the type when generating the schema. So the sample pay load should not contain null values first place. We need to modify the sample payload with expected values so that in the schema

Re: [Dev] Representing a JSON payload with a single parameter - visual datamapper editor

2016-05-17 Thread Nuwan Pallewela
Hi Sohani, This looks fine. +1 for this approach. Thanks, Nuwan On Wed, May 18, 2016 at 9:49 AM, Sohani Weerasinghe wrote: > > ​ > > Sohani Weerasinghe > Software Engineer > WSO2, Inc: http://wso2.com > > Mobile : +94 716439774 > Blog

[Dev] [ESB Tooling] Freezing repositories for ESB Tooling Beta release

2016-05-20 Thread Nuwan Pallewela
Hi All, We are moving towards to release ESB Tooling 5.0.0 beta and please let us know if you have any improvement to merge before the release. Thanks, Nuwan -- -- *Nuwan Chamara Pallewela* *Software Engineer* *WSO2, Inc.

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Kernel RC3

2016-05-18 Thread Nuwan Pallewela
Hi All, I have tested and following issues were found. https://wso2.org/jira/browse/TOOLS-3413 https://wso2.org/jira/browse/TOOLS-3412 https://wso2.org/jira/browse/TOOLS-3411 Thanks, Nuwan On Thu, May 19, 2016 at 9:48 AM, Awanthika Senarath wrote: > Thanks all, > > We are

Re: [Dev] Unable to load file for schema generation

2016-05-11 Thread Nuwan Pallewela
Hi Shakila, Yes. This JSON message format is not yet supported in DataMapper schema generator. We will inform you when it is fixed[1]. [1] https://wso2.org/jira/browse/DEVTOOLESB-158 Thanks, Nuwan On Wed, May 11, 2016 at 4:51 PM, Shakila Sivagnanarajah wrote: > Hi all, > >

Re: [Dev] [Vote] Developer Studio Kernel RC 2 released !

2016-05-11 Thread Nuwan Pallewela
Hi All, There is an issue reported when creating pass though proxy services[1]. This is because a template file in org.wso2.developerstudio.eclipse.platform.core/resources/templates/ proxyservices/*pass-through-proxy.xml.* I think we should fix this. I have sent a PR to fix this issue[2]. [1]

Re: [Dev] Unable to generate the schema if the payload does not contain root element

2016-05-17 Thread Nuwan Pallewela
Hi Shakila, The JSON schema for above mention payload [1] should be as follows. { "id":"http:\/\/wso2jsonschema.org", "title":"root", "$schema":"http:\/\/json-schema.org\/draft-04\/schema#", "items":[ { "id":"http:\/\/wso2jsonschema.org\/ids\/0",

Re: [Dev] Unable to generate the schema if the payload does not contain root element

2016-05-17 Thread Nuwan Pallewela
k...@wso2.com> wrote: > Thanks Nuwan, > > In the id of the items element, the *ids *is the name of the root > element. So what would be the id here? > > "id":"http:\/\/wso2jsonschema.org\/*ids*\/0", > > Thanks > > On Tue, May 17, 2016 at

Re: [Dev] Allowing to map the leaf nodes - json schema

2016-05-17 Thread Nuwan Pallewela
Hi Sohani, I think we should support to map attributes too. Thanks, Nuwan On Tue, May 17, 2016 at 4:15 PM, Chanaka Fernando wrote: > Hi Sohani, > > How will it look like if we expand the array item in the "input" window? I > guess it will expand and show the attribute and

Re: [Dev] Output Schema generation for Data Mapper - Byte generated as String

2016-05-18 Thread Nuwan Pallewela
ile that I used to create the output schema for > listTheHistory method for Gmail REST connector. > > On Wed, May 18, 2016 at 3:42 PM, Nuwan Pallewela <nuw...@wso2.com> wrote: > >> Hi Hariprasath, >> >> How did you generate the schema and what is the payload you used to

Re: [Dev] Representing a JSON payload with null values - visual datamapper editor

2016-05-18 Thread Nuwan Pallewela
neer >> WSO2, Inc: http://wso2.com >> >> Mobile : +94 716439774 >> Blog :http://christinetechtips.blogspot.com/ >> Twitter : https://twitter.com/sohanichristine >> >> On Wed, May 18, 2016 at 12:00 PM, Nuwan Pallewela <nuw...@wso2.com> >> wrot

Re: [Dev] Output Schema generation for Data Mapper - Byte generated as String

2016-05-18 Thread Nuwan Pallewela
Hi Hariprasath, How did you generate the schema and what is the payload you used to generate it? Thanks, Nuwan On Wed, May 18, 2016 at 3:32 PM, Hariprasath Thanarajah < haripras...@wso2.com> wrote: > Hi All, > > Currently I am doing the schema generation for Gmail REST connector. In > most of

Re: [Dev] [ESB Tooling][Mediation Debugger] Does not debug APIs

2016-05-03 Thread Nuwan Pallewela
Hi Dilshani, Can you send me the api configuration file and the breakpoints you marked? Thanks, Nuwan On Tue, May 3, 2016 at 2:22 PM, Dilshani Subasinghe wrote: > Hi ESB Team, > > As I found, mediation debugging feature does not work for APIs. I didn't > even see any

Re: [Dev] [ESB 5.0.0][Mediation Debugger]After restarting debug process, it will not take previous debug points

2016-05-09 Thread Nuwan Pallewela
Hi Dilshani, Thank you for pointing out this. ESB will forget the registered debug points when synapse configuration changes or server gets restarts. So when one of those happens user need to use the *"Resend ESB Debug Points"* command to re-register the debug-points in the server. But I think

Re: [Dev] [ESB 5.0.0][Mediation Debugger]After restarting debug process, it will not take previous debug points

2016-05-09 Thread Nuwan Pallewela
Hi Chanaka, This is not reported as a public JIRA yet. Thanks, Nuwan On Mon, May 9, 2016 at 12:51 PM, Chanaka Fernando wrote: > Is there any public JIRA already created? > > On Mon, May 9, 2016 at 12:46 PM, Isabelle Mauny wrote: > >> +1 - Can we fix this

Re: [Dev] JSON schema for JSON payloads without a root element - visual datamapper editor

2016-05-25 Thread Nuwan Pallewela
Hi Sohani, On Wed, May 25, 2016 at 11:03 AM, Sohani Weerasinghe wrote: > Hi All, > > Since there can be JSON payloads without a root element as shown below, we > are in a process of generating the JSON schema for such payloads. Please > find the implementation details > > eg 1:

Re: [Dev] [DEV] [VOTE] WSO2 Developer Studio Tooling for Platform RC2

2016-05-25 Thread Nuwan Pallewela
Hi All, I have noticed following issues while testing. https://wso2.org/jira/browse/TOOLS-3412 https://wso2.org/jira/browse/TOOLS-3416 Thanks, Nuwan On Wed, May 25, 2016 at 3:08 PM, Heshitha Hettihewa wrote: > Hi all, > > I have tested BPS Tooling with the new platform and

Re: [Dev] [DEV][ESB Tooling] Improvement needed for operators that manipulates values using both input and configuration

2016-07-25 Thread Nuwan Pallewela
Hi Chathurika, Yes. We have discussed it and going to do it[1]. We will provide a editable drop down with the configuration need to provide to select the input and operator description in the configure dialog about it. [1] https://wso2.org/jira/browse/DEVTOOLESB-655 Thanks, Nuwan On Mon, Jul

Re: [Dev] [DEV][ESB Tooling] Data mapper interprets multiplication of negative integers by zero results in signed zero

2016-07-22 Thread Nuwan Pallewela
Hi Chanaka, On Fri, Jul 22, 2016 at 12:47 PM, Chanaka Fernando wrote: > Hi Chathurika, > > We understand your point. But this is not a functional blocker. We will > reduce the priority of this issue and as NuwanP mentioned in the ticket, > this needs to be fixed from the JS

Re: [Dev] [DEV][ESB Tooling] Compare Operator behaviour for String Values

2016-07-21 Thread Nuwan Pallewela
Hi All, On Thu, Jul 21, 2016 at 8:31 PM, Chanaka Fernando wrote: > Hi Erandi, > > Appreciate your feedback on improving the DM. The existing compare > operator checks for the equality (==) of the values passed into the > operator. If you passed in 2 String values, it will

Re: [Dev] [DEV][ESB Tooling] Compare Operator behaviour for String Values

2016-07-21 Thread Nuwan Pallewela
standard to our data mapper. The correct way should be moving with the JS standard as we are moving with JS underline engine. Otherwise what we would be doing is building a mapping based on JAVA/WSO2 standard using JavaScript language. WDYT? Thanks, Nuwan On Fri, Jul 22, 2016 at 9:33 AM, Nuwan Pallewela

Re: [Dev] [ESB] Unable to aggregate the XML messages by using Aggregate mediator

2016-07-17 Thread Nuwan Pallewela
Hi Pubudu, What you have mentioned in the [1] is not an valid SOAP message. It do not have the name space specified. That may be the case. Thanks, Nuwan On Thu, Jul 14, 2016 at 7:21 AM, Shafreen Anfar wrote: > Hi Pubudu, > > It seems for some reason back-end response does

Re: [Dev] Is it best practice to return null or an empty object from a method in DAO layer?

2016-07-17 Thread Nuwan Pallewela
Hi, On Wed, Jul 13, 2016 at 10:15 AM, Sabra Ossen wrote: > Hi, > > Thank you all for your prompt responses :) > > So if it's an ArrayList/Map it's better to return an empty object rather > than null. Got it. > > Regarding a POJO object IMO the usage of null, empty object or

Re: [Dev] [ESB] DataMapper issue

2016-07-18 Thread Nuwan Pallewela
Adding Sohani On Tue, Jul 19, 2016 at 12:42 AM, Godwin Shrimal wrote: > Hi All, > > When load following xml file in to data mapper (input/output), the add1 > data type takes as NUMBER as in screenshot . It looks when there is at > least one record in the array with NUMBER it

Re: [Dev] Is it best practice to return null or an empty object from a method in DAO layer?

2016-07-18 Thread Nuwan Pallewela
liable* >> applications over bad-performance. >> >> Thanks, >> Rasika >> >> [1] http://wolfie.github.io/2010/03/14/exceptional-heresy.html >> [2] >> https://www.infoq.com/presentations/Null-References-The-Billion-Dollar-Mistake-Tony-Hoare >> >>

[Dev] Introducing Custom JSON Schema version identifier for WSO2 Data Mapper schema

2016-07-10 Thread Nuwan Pallewela
Hi All, As you know we use JSON-schema to define message format of the input and output of the WSO2 Data Mapper. And we have introduce several new keywords to meet the requirements to handle complexities of define different (JSON/XML/CSV) formats, we need to define a *custom URI* for "$schema".

Re: [Dev] Introducing Custom JSON Schema version identifier for WSO2 Data Mapper schema

2016-07-10 Thread Nuwan Pallewela
Hi All, On Mon, Jul 11, 2016 at 10:44 AM, Nuwan Pallewela <nuw...@wso2.com> wrote: > Hi All, > > As you know we use JSON-schema to define message format of the input and > output of the WSO2 Data Mapper. And we have introduce several new keywords > to meet the requirements t

Re: [Dev] [VOTE] Release WSO2 Enterprise Service Bus 5.0.0 RC4

2016-08-19 Thread Nuwan Pallewela
Hi , I have tested following, - Data Mapper scenarios objects and arrays - Data Mapper scenarios with optional elements [+] Stable - go ahead and release Thanks, Nuwan On Fri, Aug 19, 2016 at 11:30 AM, Nadeeshaan Gunasinghe wrote: > Hi all, > > Tested the

Re: [Dev] SalesForce Connection Inbound Endpoint Config

2016-08-24 Thread Nuwan Pallewela
/src/main/java/org/wso2/carbon/ > inbound/salesforce/poll/SoapLoginUtil.java > > -- Forwarded message -- > From: Nuwan Pallewela <nuw...@wso2.com> > Date: Wed, Aug 24, 2016 at 3:37 PM > Subject: Re: SalesForce Connection Inbound Endpoint Config > To: Malaka

Re: [Dev] SalesForce Connection Inbound Endpoint Config

2016-08-24 Thread Nuwan Pallewela
Hi Malaka, Actual error is about the TLS 1.0 How can I configure inbound endpoint to use TLS 1.1 or higher. Thanks, Nuwan On Wed, Aug 24, 2016 at 4:27 PM, Nuwan Pallewela <nuw...@wso2.com> wrote: > > > On Wed, Aug 24, 2016 at 4:15 PM, Malaka Silva <mal...@wso2.com>

Re: [Dev] SalesForce Connection Inbound Endpoint Config

2016-08-24 Thread Nuwan Pallewela
Hi All, It got resolved as I used Java 1.8 as Kesavan suggested. Thanks, Nuwan On Wed, Aug 24, 2016 at 4:35 PM, Nuwan Pallewela <nuw...@wso2.com> wrote: > Hi Malaka, > > Actual error is about the TLS 1.0 > How can I configure inbound endpoint to use TLS 1.1 or higher. &

Re: [Dev] [ESB] 5.0 - DataMapper input xml loading.

2016-08-29 Thread Nuwan Pallewela
On Tue, Aug 30, 2016 at 10:19 AM, Chanuka Dissanayake wrote: > Hi All, > > I have came across an issue when loading sample input xml to data mapper. > Sample input xml can not have namespaces as default namespaces and same > namespace should be given with the same namespace

  1   2   >