Re: [Dev] Could not locate library smooks-libs/antlr-2.7.7.jar in bundle org.wso2.developerstudio.eclipse.esb.libraries, when adding library

2018-01-16 Thread Sewmini Jayaweera
[Adding NipuniC]

Sewmini Jayaweera
*Software Engineer - Support Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Dec 14, 2016 at 6:56 PM, Schürpf, Thomas <thomas.schue...@koch-it.ch
> wrote:

> We are using the WSO2 ESB Tooling 5.0 and installed it as described at
> https://docs.wso2.com/display/ESB500/Installing+WSO2+ESB+Tooling .
>
>
>
> I am using the description from this link: https://docs.wso2.com/display/
> ESB500/Working+with+ESB+Artifacts .
>
>
> Following the instructions in section "Creating a Smooks configuration
> artifact" I get the following error when trying to add the libraries from
> the Smooks framework to my registry resources project:
>
>
> "Could not locate library smooks-libs/antlr-2.7.7.jar in bundle
> org.wso2.developerstudio.eclipse.esb.libraries."
>
>
> I checked each runtime library individually, but each of them resulted in
> the same error.
>
> It is also strange, that the entry "WSO2 Classpath Libraries" is twice in
> the list of the "Add Library" dialogue.
>
>
> Any information on how to proceed is appreciated .
>
>
> Regards,
>
> Thomas
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What is the difference between ACS URL and Recipient in SAML2?

2017-03-07 Thread Sewmini Jayaweera
ping

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Mar 7, 2017 at 10:58 PM, Sewmini Jayaweera <sewm...@wso2.com> wrote:

> Hi,
>
> As per the SAML core specification [1], below were the definitions given
> for ACS URL and Recipient.
>
>- *AssertionConsumerServiceURL: *Specifies by value the location to
>which the  message MUST be returned to the
>requester. The responder MUST ensure by some means that the value
>specified is in fact associated with the requester. [SAMLMeta] provides one
>possible mechanism; signing the enclosing  message is
>another. This attribute is mutually exclusive with the
>AssertionConsumerServiceIndex attribute and is typically accompanied by the
>ProtocolBinding attribute.
>
>
>- *Recipient [Optional]: *A URI specifying the entity or location to
>which an attesting entity can present the assertion. For
>example, this attribute might indicate that the assertion must be
>delivered to a particular network endpoint in order to prevent an
>intermediary from redirecting it someplace else
>
> *Question*
>
>1. Should AssertionConsumerServiceURL and Recipient always be the same?
>2. When exactly do we need to specify a recipient? Appreciate if you
>can explain with a sample use case.
>
> [1]. https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf
>
> Cheers!
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250 <+94%2077%20338%201250>
> sewm...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] What is the difference between ACS URL and Recipient in SAML2?

2017-03-07 Thread Sewmini Jayaweera
Hi,

As per the SAML core specification [1], below were the definitions given
for ACS URL and Recipient.

   - *AssertionConsumerServiceURL: *Specifies by value the location to
   which the  message MUST be returned to the
   requester. The responder MUST ensure by some means that the value
   specified is in fact associated with the requester. [SAMLMeta] provides one
   possible mechanism; signing the enclosing  message is
   another. This attribute is mutually exclusive with the
   AssertionConsumerServiceIndex attribute and is typically accompanied by the
   ProtocolBinding attribute.


   - *Recipient [Optional]: *A URI specifying the entity or location to
   which an attesting entity can present the assertion. For
   example, this attribute might indicate that the assertion must be
   delivered to a particular network endpoint in order to prevent an
   intermediary from redirecting it someplace else

*Question*

   1. Should AssertionConsumerServiceURL and Recipient always be the same?
   2. When exactly do we need to specify a recipient? Appreciate if you can
   explain with a sample use case.

[1]. https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf

Cheers!

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS 6.0.0] [User Portal] Challenge Questions in Self sign-up page of user portal

2017-01-18 Thread Sewmini Jayaweera
Hi Indunil,

I noticed that there is already added epic [1] for challenge question and
the two user stories added are in 'Design review completed' and
'implementation' started state. EE team members have already derived user
scenarios and almost completed adding test cases into TestLink [2].

Is there a possibility that already created user stories getting redundant?

It would be greate if you can let us know the user stories that would get
changed in earliest possible so that we can stop progressing on them and
move on to the other stories.

[1]. https://redmine.wso2.com/issues/5483
[2].
https://testlink.wso2.com/linkto.php?tprojectPrefix=IAM=testsuite=65913

Cheers
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Jan 18, 2017 at 5:37 PM, Nuwan Dias <nuw...@wso2.com> wrote:

>
>
> On Wed, Jan 18, 2017 at 5:10 PM, Indunil Upeksha Rathnayake <
> indu...@wso2.com> wrote:
>
>> Hi,
>>
>> Currently we are working on implementing C5 user portal in IS. Appreciate
>> your suggestions/ideas for the following concerns regarding challenge
>> questions.
>>
>> *1)  Is it necessary to include challenge questions in IS 6.0.0 as a
>> recovery option?*
>> Seems like secret questions are neither secure nor reliable enough to be
>> used as a account recovery mechanism. And also most of the vendors has
>> completely removed support for security questions including google. In C5,
>> security question sets will be some what strengthen the recovery and makes
>> it hard to guess the questions. But seems like need to consider whether it
>> need to be implemented or not.
>>
>
> I personally have never used a security question to recover any of the
> accounts of which I forgot passwords. Its always a recovery through email
> or mobile. Therefore I don't see this as a valuable feature.
>
>>
>> *2)  Is it necessary to include security questions in user self sign-up
>> page? If needed, following way is appropriate?*
>> As we have planned, in C5, admin can create several security question
>> sets and can configure the minimum number of questions that need to be
>> answered by a user. So that in self sign up UI when populating security
>> questions to a user,
>>
>>- security questions need to be categorized according to the security
>>question sets
>>- all the sets need to be populated for the user
>>- user can select any number of security questions from different
>>sets not from a same set
>>- need to validate whether the user has answered for the minimum
>>number of questions
>>
>> When an answer to a question is personal, the question itself is probably
> personal too. Therefore I don't think an admin can decide on what questions
> to be asked from you. Its unlikely you'll remember an answer to a question
> which is not very relevant to you. If we're doing this (I'm negative on
> implementing the feature itself too :)), I think we should let the user
> decide his own questions and answers.
>
>
>> Appreciate your ideas on this.
>>
>> Thanks and Regards
>> --
>> Indunil Upeksha Rathnayake
>> Software Engineer | WSO2 Inc
>> Emailindu...@wso2.com
>> Mobile   0772182255
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Dias
>
> Software Architect - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729 <+94%2077%20777%205729>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Extensive amount of warning logs are printed once the IS520-Analytics server starts up.

2016-08-18 Thread Sewmini Jayaweera
+1 For disabling  that at log4j level if possible. Since it is harmless if
we can hide the log or stop printing the log repetitively that would be so
much better.

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Thu, Aug 18, 2016 at 9:18 PM, Mohanadarshan Vivekanandalingam <
mo...@wso2.com> wrote:

>
>
> On Thu, Aug 18, 2016 at 3:55 PM, Tanya Madurapperuma <ta...@wso2.com>
> wrote:
>
>> This warning is coming from shindig which is the underlying library that
>> we used for gadget rendering and is a 3rd party library. Quick solution for
>> this is to increase maxDepth value as mentioned in [1] by Mohan.
>> If not we will have to analyze EhCache memory for memory consuming
>> objects [2] [3]
>>
>> [1] https://wso2.org/jira/browse/ANLYIS-48
>> [2] https://cwiki.apache.org/confluence/display/SHINDIG/Debuggin
>> g+EhCache's+SizeOfEngine
>> [3] https://cwiki.apache.org/confluence/display/SHINDIG/EhCache+
>> Memory+Analysis
>>
>
> @Tanya, Thanks for the response.. I think, increasing the maxDepth value
> is not helpful all the time.. Whether you guys, explored about this more ?
> Since it is observed in various products/cases. If this log does not
> reflect any useful info then can, we disable that at log4j level ?
>
> Thanks,
> Mohan
>
>
>>
>> Thanks,
>> Tanya
>>
>> On Thu, Aug 18, 2016 at 3:40 PM, Mohanadarshan Vivekanandalingam <
>> mo...@wso2.com> wrote:
>>
>>> [Moving to DEV]
>>>
>>> Related UES/DS jira is [1]..
>>>
>>> @Sewmini, above logs are only printed once for a user (When loading a
>>> gadget for first time - once for each gadget)..
>>>
>>> [1] https://wso2.org/jira/browse/UES-658
>>>
>>>
>>> Thanks,
>>> Mohan
>>>
>>>
>>> On Thu, Aug 18, 2016 at 3:34 PM, Sewmini Jayaweera <sewm...@wso2.com>
>>> wrote:
>>>
>>>> Hi DS team,
>>>>
>>>> I observed the same issue reported in [1] in the latest Analytics pack
>>>> given. I reopened the issue since repeatedly printed warning may mislead
>>>> user thinking it's a critical issue eve,n though it is harmless and it
>>>> doesn't give a good impression to the user.
>>>>
>>>> It would be great if we can get this fixed. If it is difficult to fix
>>>> it in this release can we change it to an improvement and fix it later
>>>> without having it as won't fix?
>>>>
>>>> [1]. https://wso2.org/jira/browse/ANLYIS-48
>>>>
>>>> Thank you in advance.
>>>> Kind regards,
>>>>
>>>> Sewmini Jayaweera
>>>> *Software Engineer - QA Team*
>>>> Mobile: +94 (0) 773 381 250
>>>> sewm...@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> *V. Mohanadarshan*
>>> *Associate Tech Lead,*
>>> *Data Technologies Team,*
>>> *WSO2, Inc. http://wso2.com <http://wso2.com> *
>>> *lean.enterprise.middleware.*
>>>
>>> email: mo...@wso2.com
>>> phone:(+94) 771117673
>>>
>>
>>
>>
>> --
>> Tanya Madurapperuma
>>
>> Senior Software Engineer,
>> WSO2 Inc. : wso2.com
>> Mobile : +94718184439
>> Blog : http://tanyamadurapperuma.blogspot.com
>>
>
>
>
> --
> *V. Mohanadarshan*
> *Associate Tech Lead,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com <http://wso2.com> *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Clarification on "-Dsetup" option for IS 5.2.0 with MySQL 5.7

2016-08-08 Thread Sewmini Jayaweera
Hi IS team,

I pointed carbon, registry and user DBs to MySQL 5.7 and tried starting
with -dsetup. What I observed was;

- In order to registry and user tables to get created with -Dsetup,
'mysql5.7.sql'  script should be renamed to mysql.sql. But in order for
identity tables to get created it requires 'mysql-5.7+.sql' script.

Reason why I renamed script which creates registry and user tables is Jira
[1] and mail thread [2]. According to mail thread [2] Kapila has initially
done the fix to work -Dsetup without renaming the script but he has revered
it.

How are we going to handle above?


[1]. https://wso2.org/jira/browse/DOCUMENTATION-3604
[2]. WSO2 Carbon Kernel 4.4.6 throws exceptions when rinning Oracle DB
script

Thank you.
Kind Regards,

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [MySql5.7] Concern about MySql 5.7 scripts running with -Dsetup

2016-07-13 Thread Sewmini Jayaweera
Hi Pubudu,

As per the chat I had with Kalpa he has initially fixed Jira [1] to work
with -Dsetup. As a result of discussion [2] they have reverted the fix.

[1]. https://wso2.org/jira/browse/CARBON-15913
[2]. "WSO2 Carbon Kernel 4.4.6 throws exceptions when rinning Oracle DB
script"

Cheers!

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Jul 13, 2016 at 11:49 AM, Sewmini Jayaweera <sewm...@wso2.com>
wrote:

> Hi Pubudu,
>
> When we tested API manager 1.10.0 - MySQL 5.7 compatibility  for a
> customer issue we fixed the MySQL scripts but we didn't give '-Dsetup'
> functionality support rather delivered the working scripts.
>
> In the current API manager 2.0.0 release, also we have working scripts for
> MySQL 5.7 yet '-Dsetup' support is not there.
>
> As Nuwan said it would be good if we remove the -Dsetup functionality than
> having it only for some of the versions of a database  so that we can gain
> consistency.
>
> Regards,
> Sewmini
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> On Wed, Jul 13, 2016 at 11:42 AM, Pubudu Priyashan <pubu...@wso2.com>
> wrote:
>
>> +1 to Nuwan's suggestion.
>>
>> I too have experienced inconsistencies in the past while using the
>> -Dsetup when configuring the databases where we still have to manually
>> execute the scripts. Since we are not using this feature in production
>> environments I think it wouldn't hurt to get rid of this all together.
>> Since we can always run the relevant scripts manually, if there is no
>> significant advantage of keeping this feature I think it's a good idea to
>> remove it. Just my personal opinion.
>>
>> Cheers,
>> Pubudu.
>>
>> Pubudu D.P
>> Senior Software Engineer - QA Team | WSO2 inc.
>> Mobile : +94775464547
>>
>> Linkedin: https://uk.linkedin.com/in/pubududp
>> Medium: https://medium.com/@pubududp
>>
>>
>> On Wed, Jul 13, 2016 at 11:35 AM, Nuwan Dias <nuw...@wso2.com> wrote:
>>
>>> Practically the -Dsetup option is never used in production. All "real"
>>> users of our products have DB admins and all that who carefully evaluate
>>> and execute our DB scripts on their Database servers. They would never
>>> allow a product startup process to create tables and indexes at will on
>>> their database servers.
>>>
>>> So I think we should just remove this option all together. I know we've
>>> done that on C5 but it probably makes sense to remove this option in C4
>>> products as well. We sometimes even have to make design changes to our
>>> features to support this option (when two features have their own DB
>>> scripts). And I think its a complete waste because we're compromising the
>>> design of our products to support a feature thats never used in the real
>>> world.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>> On Wed, Jul 13, 2016 at 11:05 AM, Pubudu Priyashan <pubu...@wso2.com>
>>> wrote:
>>>
>>>>
>>>> Hi all,
>>>>
>>>> When we use MySql 5.7 as the DB and start the server with -Dsetup
>>>> without manually executing the scripts at DB level, we have observed the
>>>> issue logged at [1] while testing wso2esb-5.0.0-PRE-BETA2-PACK1.zip pack.
>>>> The reason behind this is, by default the pack is picking up mysql.sql
>>>> script located at [$HOME]/dbscripts directory when started with -Dsetup. A
>>>> solution was suggested in this comment [2] to rename the mysql5.7.sql
>>>> scripts as mysql.sql when using MySql 5.7 db and we have verified that this
>>>> suggestion fixed the issue. We have logged a doc JIRA to include that
>>>> information at [3] for now.
>>>>
>>>> Our concern is since this is going to affect all the products when
>>>> using MySql5.7 do we have a better solution to automatically select the
>>>> mysql version without having to rename the script? Is it possible to add a
>>>> property to define the db version somewhere and then point to the relevant
>>>> script without renaming the script when starting with -Dsetup? Or any
>>>> better solution if possible. Appreciate your feedback on this. Thanks!
>>>>
>>>>
>>>> [1] https://wso2.org/jira/browse/ESBJAVA-4748
>>>> [2]
>>>> https://wso2.org/jira/browse/ESBJAVA-4748?focusedCommentId=123463=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-123

Re: [Dev] [MySql5.7] Concern about MySql 5.7 scripts running with -Dsetup

2016-07-13 Thread Sewmini Jayaweera
Hi Pubudu,

When we tested API manager 1.10.0 - MySQL 5.7 compatibility  for a customer
issue we fixed the MySQL scripts but we didn't give '-Dsetup' functionality
support rather delivered the working scripts.

In the current API manager 2.0.0 release, also we have working scripts for
MySQL 5.7 yet '-Dsetup' support is not there.

As Nuwan said it would be good if we remove the -Dsetup functionality than
having it only for some of the versions of a database  so that we can gain
consistency.

Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Jul 13, 2016 at 11:42 AM, Pubudu Priyashan <pubu...@wso2.com> wrote:

> +1 to Nuwan's suggestion.
>
> I too have experienced inconsistencies in the past while using the -Dsetup
> when configuring the databases where we still have to manually execute the
> scripts. Since we are not using this feature in production environments I
> think it wouldn't hurt to get rid of this all together. Since we can always
> run the relevant scripts manually, if there is no significant advantage of
> keeping this feature I think it's a good idea to remove it. Just my
> personal opinion.
>
> Cheers,
> Pubudu.
>
> Pubudu D.P
> Senior Software Engineer - QA Team | WSO2 inc.
> Mobile : +94775464547
>
> Linkedin: https://uk.linkedin.com/in/pubududp
> Medium: https://medium.com/@pubududp
>
>
> On Wed, Jul 13, 2016 at 11:35 AM, Nuwan Dias <nuw...@wso2.com> wrote:
>
>> Practically the -Dsetup option is never used in production. All "real"
>> users of our products have DB admins and all that who carefully evaluate
>> and execute our DB scripts on their Database servers. They would never
>> allow a product startup process to create tables and indexes at will on
>> their database servers.
>>
>> So I think we should just remove this option all together. I know we've
>> done that on C5 but it probably makes sense to remove this option in C4
>> products as well. We sometimes even have to make design changes to our
>> features to support this option (when two features have their own DB
>> scripts). And I think its a complete waste because we're compromising the
>> design of our products to support a feature thats never used in the real
>> world.
>>
>> Thanks,
>> NuwanD.
>>
>> On Wed, Jul 13, 2016 at 11:05 AM, Pubudu Priyashan <pubu...@wso2.com>
>> wrote:
>>
>>>
>>> Hi all,
>>>
>>> When we use MySql 5.7 as the DB and start the server with -Dsetup
>>> without manually executing the scripts at DB level, we have observed the
>>> issue logged at [1] while testing wso2esb-5.0.0-PRE-BETA2-PACK1.zip pack.
>>> The reason behind this is, by default the pack is picking up mysql.sql
>>> script located at [$HOME]/dbscripts directory when started with -Dsetup. A
>>> solution was suggested in this comment [2] to rename the mysql5.7.sql
>>> scripts as mysql.sql when using MySql 5.7 db and we have verified that this
>>> suggestion fixed the issue. We have logged a doc JIRA to include that
>>> information at [3] for now.
>>>
>>> Our concern is since this is going to affect all the products when using
>>> MySql5.7 do we have a better solution to automatically select the
>>> mysql version without having to rename the script? Is it possible to add a
>>> property to define the db version somewhere and then point to the relevant
>>> script without renaming the script when starting with -Dsetup? Or any
>>> better solution if possible. Appreciate your feedback on this. Thanks!
>>>
>>>
>>> [1] https://wso2.org/jira/browse/ESBJAVA-4748
>>> [2]
>>> https://wso2.org/jira/browse/ESBJAVA-4748?focusedCommentId=123463=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-123463
>>> [3] https://wso2.org/jira/browse/DOCUMENTATION-3604
>>>
>>>
>>> Cheers,
>>> Pubudu D.P
>>> Senior Software Engineer - QA Team | WSO2 inc.
>>> Mobile : +94775464547
>>>
>>> Linkedin: https://uk.linkedin.com/in/pubududp
>>> Medium: https://medium.com/@pubududp
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> 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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM 2.0.0] Shouldn't Update application go through workflow approval process?

2016-07-01 Thread Sewmini Jayaweera
Any thoughts ?

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Thu, Jun 30, 2016 at 10:31 AM, Sewmini Jayaweera <sewm...@wso2.com>
wrote:

> Hi Nuwan,
>
> My mistake that I misunderstood the type of use cases we support with
> application creation workflow we provide out of the box.
>
> By going through your explanation a possible use case I could think of is
> a scenario where the organisation allows a specific developer group (EX:
> developers in their different departments) to create applications. In other
> words allowing application creation to a restricted audience, not to all
> users who have login permission to the API store. (Please correct me if I'm
> wrong)
>
> The reason why I thought that administrator validates application details
> and grant permission, is that; when an application creator adds an
> application, until administrator approves the particular application, edit
> option is being removed from the 'Actions' column on API store >
> applications page. I thought reason why we don't allow inactive
> applications to be edited is that application details would be considered
> in approval human task.
>
> [1]
> Is there any specific reason why we have removed edit option from the
> inactive application's 'Actions' column?
>
> [2]Also I noticed that the rejected applications are given a view option
> and once user clicks on the view link an edit option is also available for
> the user. (When user edits a rejected application changes will not get
> saved) Since we are not providing a functionality to resubmit application
> creation request after changing the content why don't we just have delete
> link so it is more straight forward to the user that request cannot be
> resubmitted?
>
> Regards,
> Sewmini
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> On Wed, Jun 29, 2016 at 5:05 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>
>> Yes, it is ideal to have a feature which allows you to have workflows for
>> Updates as well. And you are free to contribute the feature too :).
>>
>> Anyhow, this is not a bug but rather a request for a new feature
>> (Application Update Workflow). I think you see this as a bug is because the
>> sample workflow is for a "Approval" process. Workflows have many other use
>> cases and even in the case of approvals, they operate in many contexts.
>> Most see this on the angle of the permission to create an App and not
>> really validate the App details. After all, these details effect the
>> developers own App. Its unlikely someone would put details that harm his
>> own Application.
>>
>> On Wed, Jun 29, 2016 at 4:46 PM, Sewmini Jayaweera <sewm...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Your answers will be highly appreciated.
>>>
>>> I have also logged a Jira [1] in order to track this issue.
>>>
>>> [1]. https://wso2.org/jira/browse/APIMANAGER-5148
>>>
>>> Kind regards,
>>> Sewmini
>>>
>>> Sewmini Jayaweera
>>> *Software Engineer - QA Team*
>>> Mobile: +94 (0) 773 381 250
>>> sewm...@wso2.com
>>>
>>> On Tue, Jun 28, 2016 at 8:05 PM, Sewmini Jayaweera <sewm...@wso2.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> When I tested application creation workflow I observed below.
>>>>
>>>> - When application creation request is submitted, until admin user
>>>> approves, the request editoption is not enabled for the inactive
>>>> application.
>>>>
>>>> - Once Application creation request is approved user can edit the
>>>> application and change  'Application name', 'Per token quota', callback
>>>> URL and description as desired andupdate application doesn't  go
>>>> through any approval process.
>>>>
>>>>
>>>> [1]. If user wants to change application name or 'per token quota'
>>>> shouldn't it go through an workflow approval process?
>>>>
>>>> Thank You.
>>>> Kind regards,
>>>> Sewmini
>>>>
>>>> Sewmini Jayaweera
>>>> *Software Engineer - QA Team*
>>>> Mobile: +94 (0) 773 381 250
>>>> sewm...@wso2.com
>>>>
>>>
>>>
>>
>>
>> --
>> 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


Re: [Dev] [APIM 2.0.0] Shouldn't Update application go through workflow approval process?

2016-06-29 Thread Sewmini Jayaweera
Hi Nuwan,

My mistake that I misunderstood the type of use cases we support with
application creation workflow we provide out of the box.

By going through your explanation a possible use case I could think of is a
scenario where the organisation allows a specific developer group (EX:
developers in their different departments) to create applications. In other
words allowing application creation to a restricted audience, not to all
users who have login permission to the API store. (Please correct me if I'm
wrong)

The reason why I thought that administrator validates application details
and grant permission, is that; when an application creator adds an
application, until administrator approves the particular application, edit
option is being removed from the 'Actions' column on API store >
applications page. I thought reason why we don't allow inactive
applications to be edited is that application details would be considered
in approval human task.

[1]
Is there any specific reason why we have removed edit option from the
inactive application's 'Actions' column?

[2]Also I noticed that the rejected applications are given a view option
and once user clicks on the view link an edit option is also available for
the user. (When user edits a rejected application changes will not get
saved) Since we are not providing a functionality to resubmit application
creation request after changing the content why don't we just have delete
link so it is more straight forward to the user that request cannot be
resubmitted?

Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Jun 29, 2016 at 5:05 PM, Nuwan Dias <nuw...@wso2.com> wrote:

> Yes, it is ideal to have a feature which allows you to have workflows for
> Updates as well. And you are free to contribute the feature too :).
>
> Anyhow, this is not a bug but rather a request for a new feature
> (Application Update Workflow). I think you see this as a bug is because the
> sample workflow is for a "Approval" process. Workflows have many other use
> cases and even in the case of approvals, they operate in many contexts.
> Most see this on the angle of the permission to create an App and not
> really validate the App details. After all, these details effect the
> developers own App. Its unlikely someone would put details that harm his
> own Application.
>
> On Wed, Jun 29, 2016 at 4:46 PM, Sewmini Jayaweera <sewm...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> Your answers will be highly appreciated.
>>
>> I have also logged a Jira [1] in order to track this issue.
>>
>> [1]. https://wso2.org/jira/browse/APIMANAGER-5148
>>
>> Kind regards,
>> Sewmini
>>
>> Sewmini Jayaweera
>> *Software Engineer - QA Team*
>> Mobile: +94 (0) 773 381 250
>> sewm...@wso2.com
>>
>> On Tue, Jun 28, 2016 at 8:05 PM, Sewmini Jayaweera <sewm...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> When I tested application creation workflow I observed below.
>>>
>>> - When application creation request is submitted, until admin user
>>> approves, the request editoption is not enabled for the inactive
>>> application.
>>>
>>> - Once Application creation request is approved user can edit the
>>> application and change  'Application name', 'Per token quota', callback
>>> URL and description as desired andupdate application doesn't  go
>>> through any approval process.
>>>
>>>
>>> [1]. If user wants to change application name or 'per token quota'
>>> shouldn't it go through an workflow approval process?
>>>
>>> Thank You.
>>> Kind regards,
>>> Sewmini
>>>
>>> Sewmini Jayaweera
>>> *Software Engineer - QA Team*
>>> Mobile: +94 (0) 773 381 250
>>> sewm...@wso2.com
>>>
>>
>>
>
>
> --
> 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


Re: [Dev] [APIM 2.0.0] Shouldn't Update application go through workflow approval process?

2016-06-29 Thread Sewmini Jayaweera
Hi All,

Your answers will be highly appreciated.

I have also logged a Jira [1] in order to track this issue.

[1]. https://wso2.org/jira/browse/APIMANAGER-5148

Kind regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Jun 28, 2016 at 8:05 PM, Sewmini Jayaweera <sewm...@wso2.com> wrote:

> Hi All,
>
> When I tested application creation workflow I observed below.
>
> - When application creation request is submitted, until admin user
> approves, the request editoption is not enabled for the inactive
> application.
>
> - Once Application creation request is approved user can edit the
> application and change  'Application name', 'Per token quota', callback
> URL and description as desired andupdate application doesn't  go
> through any approval process.
>
>
> [1]. If user wants to change application name or 'per token quota'
> shouldn't it go through an workflow approval process?
>
> Thank You.
> Kind regards,
> Sewmini
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM 2.0.0] Shouldn't Update application go through workflow approval process?

2016-06-28 Thread Sewmini Jayaweera
Hi All,

When I tested application creation workflow I observed below.

- When application creation request is submitted, until admin user
approves, the request editoption is not enabled for the inactive
application.

- Once Application creation request is approved user can edit the
application and change  'Application name', 'Per token quota', callback
URL and description as desired andupdate application doesn't  go
through any approval process.


[1]. If user wants to change application name or 'per token quota'
shouldn't it go through an workflow approval process?

Thank You.
Kind regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [GREG] Invalid value error for REG_CREATED_TIME column in REG_RESOURCE with mysql 5.7

2016-06-12 Thread Sewmini Jayaweera
Adding [Yumani and Jagath]

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Mon, Jun 13, 2016 at 9:28 AM, Uvindra Dias Jayasinha <uvin...@wso2.com>
wrote:

> The same tables are present in both scripts, can you confirm if all the
> tables in the IS script are present in the APIM script? If so then only
> running the APIM script will be sufficient and we will need to update the
> documnetation
>
> On 10 June 2016 at 17:41, Sewmini Jayaweera <sewm...@wso2.com> wrote:
>
>> Hi Uvindra,
>>
>> I used pre configured IS to configure IS as key manager. But due to [1] I
>> could not start api manager using -Dsetup. Therefore I sourced tables
>> manually by following [2]. According to [2] we need to source
>> /dbscripts/apimgt/mysql.sql and
>> /dbscripts/identity/mysql.sql. in order to create tables in AM
>> DB.
>>
>> As you told I get above errors for the db script I source after the first
>> script. When using IS preconfigured pack should I source both?
>>
>> [1]. https://wso2.org/jira/browse/CARBON-15913
>> [2].
>> https://docs.wso2.com/display/CLUSTER44x/Configuring+the+Identity+Server+5.1.0+as+a+Key+Manager+with+API+Manager+1.10.0
>>
>> Sewmini Jayaweera
>> *Software Engineer - QA Team*
>> Mobile: +94 (0) 773 381 250
>> sewm...@wso2.com
>>
>> On Fri, Jun 10, 2016 at 5:02 PM, Uvindra Dias Jayasinha <uvin...@wso2.com
>> > wrote:
>>
>>> So this has nothing to do with the TIMESTAMP issue, this is because you
>>> have already run the script once before and now its failing because primary
>>> keys are being duplicated
>>>
>>> On 10 June 2016 at 16:56, Sewmini Jayaweera <sewm...@wso2.com> wrote:
>>>
>>>> Hi Uvindra,
>>>>
>>>> As per my observation in some mysql servers the script attached in my
>>>> previous mail works but for me I had to add 'DEFAULT CURRENT_TIMESTAMP'
>>>> option for REG_LAST_UPDATED_TIME and REG_CREATED_TIME columns of
>>>> 'REG_RESOURCE_HISTORY' tables in addition to   'REG_RESOURCE' table.
>>>>
>>>>  I could fix mysql.sql script inside IS yet when I change TIMESTAMP
>>>> columns by given DEFAULT CURRENT_TIMESTAMP' option for mysql.sql script in
>>>> /dbscripts/apimgt/mysql.sql I got below error at the time I
>>>> sourced it.
>>>>
>>>>
>>>> source /Users/sewmini/Desktop/wso2am-1.10.0/dbscripts/apimgt/mysql.sql;
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> ERROR 1062 (23000): Duplicate entry 'WSO2 Identity Server' for key
>>>> 'PRIMARY'
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.01 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> ERROR 1061 (42000): Duplicate key name 'IDX_AT_CK_AU'
>>>>
>>>> ERROR 1061 (42000): Duplicate key name 'IDX_TC'
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> ERROR 1061 (42000): Duplicate key name 'APPLICATION_NAME_CONSTRAINT'
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>>>
>>>> ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'
>>>>
>>>> Query OK, 0 r

Re: [Dev] [GREG] Invalid value error for REG_CREATED_TIME column in REG_RESOURCE with mysql 5.7

2016-06-10 Thread Sewmini Jayaweera
Hi Uvindra,

I used pre configured IS to configure IS as key manager. But due to [1] I
could not start api manager using -Dsetup. Therefore I sourced tables
manually by following [2]. According to [2] we need to source
/dbscripts/apimgt/mysql.sql and
/dbscripts/identity/mysql.sql. in order to create tables in AM DB.

As you told I get above errors for the db script I source after the first
script. When using IS preconfigured pack should I source both?

[1]. https://wso2.org/jira/browse/CARBON-15913
[2].
https://docs.wso2.com/display/CLUSTER44x/Configuring+the+Identity+Server+5.1.0+as+a+Key+Manager+with+API+Manager+1.10.0

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Fri, Jun 10, 2016 at 5:02 PM, Uvindra Dias Jayasinha <uvin...@wso2.com>
wrote:

> So this has nothing to do with the TIMESTAMP issue, this is because you
> have already run the script once before and now its failing because primary
> keys are being duplicated
>
> On 10 June 2016 at 16:56, Sewmini Jayaweera <sewm...@wso2.com> wrote:
>
>> Hi Uvindra,
>>
>> As per my observation in some mysql servers the script attached in my
>> previous mail works but for me I had to add 'DEFAULT CURRENT_TIMESTAMP'
>> option for REG_LAST_UPDATED_TIME and REG_CREATED_TIME columns of
>> 'REG_RESOURCE_HISTORY' tables in addition to   'REG_RESOURCE' table.
>>
>>  I could fix mysql.sql script inside IS yet when I change TIMESTAMP
>> columns by given DEFAULT CURRENT_TIMESTAMP' option for mysql.sql script in
>> /dbscripts/apimgt/mysql.sql I got below error at the time I
>> sourced it.
>>
>>
>> source /Users/sewmini/Desktop/wso2am-1.10.0/dbscripts/apimgt/mysql.sql;
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1062 (23000): Duplicate entry 'WSO2 Identity Server' for key
>> 'PRIMARY'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.01 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1061 (42000): Duplicate key name 'IDX_AT_CK_AU'
>>
>> ERROR 1061 (42000): Duplicate key name 'IDX_TC'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1061 (42000): Duplicate key name 'APPLICATION_NAME_CONSTRAINT'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 1 row affected (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query OK, 0 rows affected, 1 warning (0.00 sec)
>>
>> Query O

Re: [Dev] [GREG] Invalid value error for REG_CREATED_TIME column in REG_RESOURCE with mysql 5.7

2016-06-10 Thread Sewmini Jayaweera
Hi Uvindra,

As per my observation in some mysql servers the script attached in my
previous mail works but for me I had to add 'DEFAULT CURRENT_TIMESTAMP'
option for REG_LAST_UPDATED_TIME and REG_CREATED_TIME columns of
'REG_RESOURCE_HISTORY' tables in addition to   'REG_RESOURCE' table.

 I could fix mysql.sql script inside IS yet when I change TIMESTAMP columns
by given DEFAULT CURRENT_TIMESTAMP' option for mysql.sql script in
/dbscripts/apimgt/mysql.sql I got below error at the time I
sourced it.


source /Users/sewmini/Desktop/wso2am-1.10.0/dbscripts/apimgt/mysql.sql;

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1062 (23000): Duplicate entry 'WSO2 Identity Server' for key 'PRIMARY'

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.01 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1061 (42000): Duplicate key name 'IDX_AT_CK_AU'

ERROR 1061 (42000): Duplicate key name 'IDX_TC'

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1061 (42000): Duplicate key name 'APPLICATION_NAME_CONSTRAINT'

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'

Query OK, 0 rows affected, 1 warning (0.00 sec)

ERROR 1022 (23000): Can't write; duplicate key in table '#sql-72cd_8'

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 1 row affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 1 row affected (0.00 sec)

Query OK, 1 row affected (0.00 sec)

Query OK, 1 row affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 1 row affected (0.00 sec)

Query OK, 1 row affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.01 sec)

Query OK, 1 row affected (0.00 sec

Query OK, 1 row affected (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected, 1 warning (0.00 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.01 sec)

Query OK, 0 rows affected (0.00 sec)

Records: 0  Duplicates: 0  Warnings: 0
I have also attached the script I used.

Regards,
Sewmini


Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Fri, Jun 10, 2016 at 11:47 AM, Uvindra Dias Jayasinha <uvin...@wso2.com>
wrote:

> 

Re: [Dev] [GREG] Invalid value error for REG_CREATED_TIME column in REG_RESOURCE with mysql 5.7

2016-06-09 Thread Sewmini Jayaweera
[Adding Uvindra and Maduranga]

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Thu, Jun 9, 2016 at 12:16 PM, Sewmini Jayaweera <sewm...@wso2.com> wrote:

> Hi All,
>
> I get "ERROR 1067 (42000): Invalid default value for
> 'REG_LAST_UPDATED_TIME' error when sourcing
> '/dbscripts/mysql.sql, even after removing 'DEFAULT 0'
>  Please find further information below.
>
> *1. Issue description*
>
> CREATE TABLE IF NOT EXISTS REG_RESOURCE(
> REG_PATH_ID INTEGER NOT NULL,
> REG_NAMEVARCHAR(256),
> REG_VERSION INTEGER NOT NULL AUTO_INCREMENT,
> REG_MEDIA_TYPE  VARCHAR(500),
> REG_CREATOR VARCHAR(31) NOT NULL,
> REG_CREATED_TIMETIMESTAMP NOT NULL,
> REG_LAST_UPDATORVARCHAR(31),
> REG_LAST_UPDATED_TIMETIMESTAMP NOT NULL,
> REG_DESCRIPTION VARCHAR(1000),
> REG_CONTENT_ID  INTEGER,
> REG_TENANT_ID INTEGER DEFAULT 0,
> REG_UUID VARCHAR(100) NOT NULL,
> CONSTRAINT PK_REG_RESOURCE PRIMARY KEY(REG_VERSION,
> REG_TENANT_ID)
> )ENGINE INNODB;
>
> When creating above table "ERROR 1067 (42000): Invalid default value for
> 'REG_LAST_UPDATED_TIME' error occurred and table didn't get created. Please
> note that this error shows *only when there are two timestamp columns* 
> (REG_CREATED_TIME
> and REG_LAST_UPDATED_TIME) in the table.
>
> *2. What happens when there are two time stamp columns?*
>
> According to [1] when we have two timestamp columns not declared an
> explicit 'DEFAULT' or 'ON UPDATE' clause, first column is automatically
> assigned the DEFAULT CURRENT_TIMESTAMP and ON UPDATE CURRENT_TIMESTAMP
> attributes, while the second one is assigned the '-00-00 00:00:00' (the
> “zero” timestamp).
>
> *3. Why are we getting the Error explained In issue description?*
>
> When 'strict SQL mode' and ' NO_ZERO_DATE' mode is enabled in MySQL server
> the “zero” timestamp is not allowed and it gives an error [2]. In MySQL 5.7
> by default 'NO_ZERO_DATE' mode is enabled.
>
> *4.Question*
>
> As a fix I found below
>  1. Setting MySQL mode to  'ALLOW_INVALID_DATES' [3].
> EX: SET SQL_MODE='ALLOW_INVALID_DATES';
>
> *Is it okay to use this or is there a much more appropriate way of doing
> that? *
>
> [1].
> http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_explicit_defaults_for_timestamp
> [2].
> http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_zero_date
> [3].
> http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_allow_invalid_dates
>
>
> Thank You,
> Best Regards,
> Sewmini.
>
>
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> On Wed, May 25, 2016 at 12:13 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> We can verify and fix this for 4.4.6.
>>
>> On Tue, May 24, 2016 at 3:17 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>>
>>> This issue is still open.
>>>
>>> If we don't fix this before kernel 4.4.6, none of our new products are
>>> going to be compatible with MySQL 5.7. Which would be a major limitation in
>>> the platform.
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>> On Tue, May 10, 2016 at 4:15 PM, Chandana Napagoda <chand...@wso2.com>
>>> wrote:
>>>
>>>> Hi Janaka,
>>>>
>>>> Please note that, this fix will be available in the next kernel release.
>>>>
>>>> Regards,
>>>> Chandana
>>>> On May 10, 2016 3:14 PM, "Thilini Cooray" <thili...@wso2.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> A public JIRA is raised in [1].
>>>>>
>>>>> [1] https://wso2.org/jira/browse/REGISTRY-3610
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Tue, May 10, 2016 at 12:11 PM, Janaka Ranabahu <jan...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Thushara
>>>>>>
>>>>>> On Tue, May 10, 2016 at 12:06 PM, Thushara Ranawaka <
>>>>>> thusha...@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Thilini,
>>>>>>>
>>>>>>> AFAIU you workaround need to be updated with the current
>>>>>>> timestamp[1][2]. Setting default value to zero is not nice. You might 
>>>>>>> ha

Re: [Dev] [GREG] Invalid value error for REG_CREATED_TIME column in REG_RESOURCE with mysql 5.7

2016-06-09 Thread Sewmini Jayaweera
Hi All,

I get "ERROR 1067 (42000): Invalid default value for
'REG_LAST_UPDATED_TIME' error when sourcing
'/dbscripts/mysql.sql, even after removing 'DEFAULT 0'
 Please find further information below.

*1. Issue description*

CREATE TABLE IF NOT EXISTS REG_RESOURCE(
REG_PATH_ID INTEGER NOT NULL,
REG_NAMEVARCHAR(256),
REG_VERSION INTEGER NOT NULL AUTO_INCREMENT,
REG_MEDIA_TYPE  VARCHAR(500),
REG_CREATOR VARCHAR(31) NOT NULL,
REG_CREATED_TIMETIMESTAMP NOT NULL,
REG_LAST_UPDATORVARCHAR(31),
REG_LAST_UPDATED_TIMETIMESTAMP NOT NULL,
REG_DESCRIPTION VARCHAR(1000),
REG_CONTENT_ID  INTEGER,
REG_TENANT_ID INTEGER DEFAULT 0,
REG_UUID VARCHAR(100) NOT NULL,
CONSTRAINT PK_REG_RESOURCE PRIMARY KEY(REG_VERSION,
REG_TENANT_ID)
)ENGINE INNODB;

When creating above table "ERROR 1067 (42000): Invalid default value for
'REG_LAST_UPDATED_TIME' error occurred and table didn't get created. Please
note that this error shows *only when there are two timestamp columns*
(REG_CREATED_TIME
and REG_LAST_UPDATED_TIME) in the table.

*2. What happens when there are two time stamp columns?*

According to [1] when we have two timestamp columns not declared an
explicit 'DEFAULT' or 'ON UPDATE' clause, first column is automatically
assigned the DEFAULT CURRENT_TIMESTAMP and ON UPDATE CURRENT_TIMESTAMP
attributes, while the second one is assigned the '-00-00 00:00:00' (the
“zero” timestamp).

*3. Why are we getting the Error explained In issue description?*

When 'strict SQL mode' and ' NO_ZERO_DATE' mode is enabled in MySQL server
the “zero” timestamp is not allowed and it gives an error [2]. In MySQL 5.7
by default 'NO_ZERO_DATE' mode is enabled.

*4.Question*

As a fix I found below
 1. Setting MySQL mode to  'ALLOW_INVALID_DATES' [3].
EX: SET SQL_MODE='ALLOW_INVALID_DATES';

*Is it okay to use this or is there a much more appropriate way of doing
that? *

[1].
http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_explicit_defaults_for_timestamp
[2].
http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_no_zero_date
[3].
http://dev.mysql.com/doc/refman/5.7/en/sql-mode.html#sqlmode_allow_invalid_dates


Thank You,
Best Regards,
Sewmini.



Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, May 25, 2016 at 12:13 PM, Kishanthan Thangarajah <
kishant...@wso2.com> wrote:

> We can verify and fix this for 4.4.6.
>
> On Tue, May 24, 2016 at 3:17 PM, Nuwan Dias <nuw...@wso2.com> wrote:
>
>> This issue is still open.
>>
>> If we don't fix this before kernel 4.4.6, none of our new products are
>> going to be compatible with MySQL 5.7. Which would be a major limitation in
>> the platform.
>>
>> Thanks,
>> NuwanD.
>>
>> On Tue, May 10, 2016 at 4:15 PM, Chandana Napagoda <chand...@wso2.com>
>> wrote:
>>
>>> Hi Janaka,
>>>
>>> Please note that, this fix will be available in the next kernel release.
>>>
>>> Regards,
>>> Chandana
>>> On May 10, 2016 3:14 PM, "Thilini Cooray" <thili...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> A public JIRA is raised in [1].
>>>>
>>>> [1] https://wso2.org/jira/browse/REGISTRY-3610
>>>>
>>>> Thanks.
>>>>
>>>> On Tue, May 10, 2016 at 12:11 PM, Janaka Ranabahu <jan...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Thushara
>>>>>
>>>>> On Tue, May 10, 2016 at 12:06 PM, Thushara Ranawaka <
>>>>> thusha...@wso2.com> wrote:
>>>>>
>>>>>> Hi Thilini,
>>>>>>
>>>>>> AFAIU you workaround need to be updated with the current
>>>>>> timestamp[1][2]. Setting default value to zero is not nice. You might 
>>>>>> have
>>>>>> to figure out the correct syntax for other DB types and test against 
>>>>>> them.
>>>>>>
>>>>> ​What Thilini is pointing is an issue in the Registry database
>>>>> creation script. Hence we will create a public JIRA and assign it to you
>>>>> guys. Please fix them.
>>>>>
>>>>> We can not modify the Registry database creation script since API
>>>>> Manager would not capture the complete scenarios of G-Reg.
>>>>>
>>>>> Thanks,
>>>>> Janaka​
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>&g

[Dev] Integrity Constraint Violation Exception occurs when generating an access token when token partitioning is enabled.

2016-06-08 Thread Sewmini Jayaweera
@carbon.super and scopes: am_application_scope default

TID: [-1] [] [2016-06-08 09:53:09,782] ERROR
{org.wso2.carbon.identity.oauth2.dao.TokenPersistenceTask} -  Error
occurred while persisting access token
:ZGQyMTRmOTA1ZjY2Yzg5MWRmMmJhZTNkYTIyOTkxMDE6YWRtaW5AY2FyYm9uLnN1cGVy

org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception: Access Token for
consumer key : bLft4f3sLgh4QJDuS7z4Jgf4_7Qa, user : admin@carbon.super and
scope : am_application_scope defaultalready exists

at
org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:242)

at
org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.persistAccessToken(TokenMgtDAO.java:292)

at
org.wso2.carbon.identity.oauth2.dao.TokenPersistenceTask.run(TokenPersistenceTask.java:52)

at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

at java.lang.Thread.run(Thread.java:745)

Caused by:
com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException:
Cannot add or update a child row: a foreign key constraint fails
(`apim110`.`IDN_OAUTH2_ACCESS_TOKEN_SCOPE`, CONSTRAINT
`IDN_OAUTH2_ACCESS_TOKEN_SCOPE_ibfk_1` FOREIGN KEY (`TOKEN_ID`) REFERENCES
`IDN_OAUTH2_ACCESS_TOKEN` (`TOKEN_ID`) ON DELETE CASCADE)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)

at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

at java.lang.reflect.Constructor.newInstance(Constructor.java:422)

at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)

at com.mysql.jdbc.Util.getInstance(Util.java:387)

at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:932)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3878)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3814)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2478)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2625)

at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2551)

at
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1861)

at com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1192)

at
org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO.storeAccessToken(TokenMgtDAO.java:234)

... 5 more
*[4]. Base64 decrypted token*

dd214f905f66c891df2bae3da2299101:admin@carbon.super

Thank you.
Kind Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unexpected error occured when generating SAML2 bearer token using API manager- IS integrated setup.

2016-06-03 Thread Sewmini Jayaweera
Hi Bhathiya,

SAML2 bearer token generation for tenant user was successful when sending
domain query parameter in token endpoint. Furthermore It fixed issue [1]
occurred when invoking an API using the generated access token.

Furthermore I could overcome getting an 'access forbidden' when invoking an
api using a token generated using OAuth2 custom grant type by adding the
scope in the curl command. Below I have shared steps how I tested OAuth2
custom grant type in API manager - IS as key manager  setup.

*Test Steps*

1. Configure IS by following documentation [2].
2. Create an application in API store and generate production keys. (SP
relevant to the application will get created in IS)
3. Use below curl command and generate an access token. (Make sure that we
specify the scope accurately)

*Curl command*

curl --user 97XddkX6TBOtSRUoaMB0MStxo8oa:jVYekhO2oEbRUjxYfuHA4_rIfpka -k -d
"grant_type=mobile=0333444=PRODUCTION" -H "Content-Type:
application/x-www-form-urlencoded" https://localhost:9443/oauth2/token
[1]. https://wso2.org/jira/browse/APIMANAGER-4930
[2].
https://docs.wso2.com/display/IS510/Writing+a+Custom+OAuth+2.0+Grant+Type


Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Thu, Jun 2, 2016 at 7:29 PM, Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> Hi Sewmini,
>
> Could you please confirm your observations after using tenantDomain only
> with samlsso URL (for tenants)?
>
> Thanks,
> Bhathiya
>
> On Thu, Jun 2, 2016 at 10:16 AM, Nuwan Dias <nuw...@wso2.com> wrote:
>
>> Ok thanks, if there is no API change we don't have to worry.
>>
>> Thanks,
>> NuwanD.
>>
>> On Thu, Jun 2, 2016 at 10:10 AM, Johann Nallathamby <joh...@wso2.com>
>> wrote:
>>
>>> Hi Nuwan,
>>>
>>> For SAML2 SSO this is how it has been all this time. Because we can't
>>> guarantee the issuer will be unique across tenants unlike the client id in
>>> oauth2, which is a UUID.
>>>
>>> In IS even for OAuth2 we were sending the tenantDomain to token endpoint
>>> for all the grant types. However later found that in APIM it has been
>>> working without sending it due to a different reason, and that is why we
>>> did a fix to make tenant domain optional to token endpoint.
>>>
>>> I don't think in SAML2 SSO we can change it that way.
>>>
>>> Johann.
>>>
>>> On Thu, Jun 2, 2016 at 9:40 AM, Nuwan Dias <nuw...@wso2.com> wrote:
>>>
>>>> So for tenant users, the samlsso url has changed (requires tenantDomain
>>>> query param)? Does this mean that for tenant users who are migrating to the
>>>> new version, they have to change their Application's SSO handling code?
>>>>
>>>> Thanks,
>>>> NuwanD.
>>>>
>>>> On Thu, Jun 2, 2016 at 8:48 AM, Farasath Ahamed <farasa...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Chamara,
>>>>>
>>>>> Sorry, I missed out some details. I tested the SAML Bearer Grant with
>>>>> an Identity Server 5.3.0 M1 pack.  I had to change the samlsso URL to 
>>>>> *https://localhost:9443/samlsso?tenantDomain=wso2.com
>>>>> <https://localhost:9443/samlsso?tenantDomain=wso2.com> *to log in as
>>>>> a user in the tenant domain in the travelocity App. Thereafter the SAML2
>>>>> Bearer grant was sent to https://localhost:9443/oauth2/token
>>>>> <https://localhost:9443/oauth2/token?tenantDomain=> endpoint without
>>>>> passing the tenantDomain as a query param in the URL.
>>>>>
>>>>> The fix [1] was done after Identity Server 5.2.0-beta so if we are
>>>>> testing with a 5.2.0-beta or earlier IS pack we would have to send in the
>>>>> tenantDomain as a query param (ie.
>>>>> https://localhost:9443/oauth2/token?tenantDomain=) to
>>>>> the token endpoint for SPs in a tenantDomain  as Pushpalanka has pointed
>>>>> out earlier .Otherwise, it will be taken as cabon.super.
>>>>>
>>>>>
>>>>> [1] https://wso2.org/jira/browse/IDENTITY-4531
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Farasath Ahamed
>>>>> Software Engineer,
>>>>> WSO2 Inc.; http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>>
>>>>> Email: farasa...@wso2.com
>>>>> Mobile: +94777603866
>>>>> Blog: blog.farazath.com
>>>>> Twitter: @fa

Re: [Dev] Unexpected error occured when generating SAML2 bearer token using API manager- IS integrated setup.

2016-06-01 Thread Sewmini Jayaweera
Adding dev@wso2.org

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Jun 1, 2016 at 8:13 PM, Sewmini Jayaweera <sewm...@wso2.com> wrote:

> Hi APIM / IS teams,
>
> I am testing 'Exchanging SAML2 Bearer Tokens with OAuth2' (SAML Extension
> Grant Type) scenario for tenant user. I followed API manager documentation
> available [1] and scenario worked fine for the super tenant. When I try the
> tenant scenario I noticed when service provider and IDP created in IS
> tenant domain token generation fails. Reason is that even though SP is in
> the tenant domain system expects IDP in carbon.super tenant.
>
> Are there any specific configurations which should be done, in order to
> get the tenant scenario working ?
>
> I have also reported a Jira [2] on this explaining full scenario.
>
> [2]. https://wso2.org/jira/browse/APIMANAGER-4929
> [1].
> https://docs.wso2.com/display/AM1100/Exchanging+SAML2+Bearer+Tokens+with+OAuth2+-+SAML+Extension+Grant+Type
>
> Kind Regards,
> Sewmini.
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] APIM 1.9.0 nightly build pack - 12-06-2015

2015-06-12 Thread Sewmini Jayaweera
Hi,

Please note that API creation is blocked when mssql databases are used [1].

https://wso2.org/jira/browse/APIMANAGER-3867

Thanks and regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Fri, Jun 12, 2015 at 2:16 PM, Nuwan Dias nuw...@wso2.com wrote:

 Sorry about that, wrong UI validation done to fix [1]. Will issue a fix to
 continue testing.

 [1] - https://wso2.org/jira/browse/APIMANAGER-3720

 Thanks,
 NuwanD.

 On Fri, Jun 12, 2015 at 2:12 PM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi,

 Please note that new feature introduced in API Manager 1.9.0 (Pluggable
 version context) is broken and cannot test it in the latest pack given (API
 manager 1.9.0 nightly build pack 12-06-2015). Please refer to the Jira below

 https://wso2.org/jira/browse/APIMANAGER-3866

 Thanks  Regards
 sewmini

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 On Fri, Jun 12, 2015 at 12:04 PM, Lakmali Baminiwatta lakm...@wso2.com
 wrote:

 Hi,

 Please find $subject from [1]

 [1]http://builder1.us1.wso2.org/~apim/12-06-2015/

 Thanks,
 Lakmali

 --
 Lakmali Baminiwatta
  Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com





 --
 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


Re: [Dev] APIM 1.9.0 nightly build pack - 12-06-2015

2015-06-12 Thread Sewmini Jayaweera
Hi,

Please note that new feature introduced in API Manager 1.9.0 (Pluggable
version context) is broken and cannot test it in the latest pack given (API
manager 1.9.0 nightly build pack 12-06-2015). Please refer to the Jira below

https://wso2.org/jira/browse/APIMANAGER-3866

Thanks  Regards
sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Fri, Jun 12, 2015 at 12:04 PM, Lakmali Baminiwatta lakm...@wso2.com
wrote:

 Hi,

 Please find $subject from [1]

 [1]http://builder1.us1.wso2.org/~apim/12-06-2015/

 Thanks,
 Lakmali

 --
 Lakmali Baminiwatta
  Senior Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware
 mobile:  +94 71 2335936
 blog : lakmali.com


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Clarification on Require re-subscription functionality

2015-05-19 Thread Sewmini Jayaweera
Hi,

In API manager documentation [1] Require Re-Subscription functionality is
being described as Invalidates current user subscriptions, forcing the
users to subscribe again.

In the product When user publish a new version given 'Require
re-subscription' option doesn't invalidates original API subscriptions.

There is a mismatch between the functionality and the documentation. I have
already reported a documentation jira [2]

 Will you please confirm that the functionality is correct.

[1]
https://docs.wso2.com/display/AM190/Publish+the+new+Version+and+Deprecate+the+old
[2] https://wso2.org/jira/browse/DOCUMENTATION-1742

Thanks  Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Clarification on Key validator and Key manager server profiles.

2015-05-07 Thread Sewmini Jayaweera
Hi All,

As per the offline discussion, Key validator server profile is acting as
Key manager when there is no third party Auth server is used.

In the API Manager 1.9.0 pack AM_HOME/repository/conf/api-manager.xml
 Key validator is enabled and Key manager is being commented out by
default.

1. Is there a reason why Key Manager configuration is there?
2. If so when should we enable Key manager instead of Key validator?
3. When we are clustering instead of changing Key manager configurations
should we change key validation configurations and what are the
configurations?

Thanks  Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] API Manager 1.9.0: Publisher profile throws a java.lang.ClassNotFoundException exception.

2015-05-06 Thread Sewmini Jayaweera
Hi All,

While setting up a distributed setup [1],
java.lang.ClassNotFoundException was observed when starting the publisher
node given -Dprofile=api-publisher. Please refer to the [2] issue
reported.

[1]. https://docs.wso2.com/display/CLUSTER420/Clustering+API+Manager
[2]. https://wso2.org/jira/browse/APIMANAGER-3518


Thanks  Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API manager throttling requirement clarification.

2015-04-30 Thread Sewmini Jayaweera
Hi,

As per the offline discussion. I can explain Nirdesha what I meant by
successful hits so that she can improve document in a way user can clearly
understand how throttling works.

Cheers!

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Thu, Apr 30, 2015 at 11:21 AM, Nirdesha Munasinghe nirde...@wso2.com
wrote:

 Sewmini, will look into the JIRA. Thanks for the info.

 On Thu, Apr 30, 2015 at 11:16 AM, Nirdesha Munasinghe nirde...@wso2.com
 wrote:

 Thanks for the clarification, Ushani. I missed that it is the same API
 being invoked.

 On Thu, Apr 30, 2015 at 8:38 AM, Ushani Balasooriya ush...@wso2.com
 wrote:

 Hi Nirdesha,

 In this use case, the same API is being invoked but 2 different
 resources. E.g., GET, PUT
 So for the first resource (Bronze) it will count as 1 and next 2
 requests for the same resource  will exceed the resource level throttling.

 Next invocation for the 2nd resource will accept only 4 requests in the
 same minute since the whole API level throttling is silver (5)
 So the 5th request will not be successful due to the API level
 throttling (4+1)


 On Wed, Apr 29, 2015 at 10:06 PM, Nirdesha Munasinghe nirde...@wso2.com
  wrote:

 Hi Ushani,

 Why would the last request (5th one) fail to resource 2 please? Silver
 throttling tier allows 5 requests per minute, isn't it?

 Thanks,
 -Nirdesha

 On Wed, Apr 29, 2015 at 3:36 PM, Ushani Balasooriya ush...@wso2.com
 wrote:

 Hi Sewmini,

 I think it should work like,

 1st 3 requests to Resource  1 = 1st request successful, Next 2
 requests unsuccessful due to resource level throttling.
 Next 5 requests 2 Resource 2 = 1st 4 requests should be successful and
 last one should be unsucessful due to API level throttling.



 On Wed, Apr 29, 2015 at 3:23 PM, Chathurika De Silva 
 chathuri...@wso2.com wrote:

 Hi Sewmini

 In your case since you have sent 5 requests to the both of the
 resources these will be successful due to your API level throttling tier
 being 5. After that requests will be terminated.

 Please find the below documentation that will be a help to you

 https://docs.wso2.com/display/AM180/Key+Concepts#KeyConcepts-Throttlingtiers

 Thank You
 Erandi


 On Wed, Apr 29, 2015 at 3:14 PM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi Ushani,

 When I say unsuccessful, what i meant was request fails due to
 resource level throttling exceeding.
 Say I have given

 API level throttling - silver (5)
 App level throttling - unlimited
 API resource 1 throttling - bronze (1)
 API resource 2 throttling - unlimited

 When I send first three requests to resource 1 and next 5 requests
 to resource 2, my last 3 request should fail due to API level 
 throttling is
 it ?

 Thanks  Regards,
 Sewmini

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 On Wed, Apr 29, 2015 at 2:48 PM, Ushani Balasooriya ush...@wso2.com
  wrote:

 Hi Sewmini,

 AFAIK, throttling count will start when the API is invoked.
 Therefore it should be a successful invocation. First it checks API 
 level
 throttling limit and then Application level throttling limit and then 
 it
 goes to resource level throttling check.

 Regards,
 Ushani


 On Wed, Apr 29, 2015 at 1:59 PM, Sewmini Jayaweera 
 sewm...@wso2.com wrote:

 Hi,

 In API manager throttling functionality, How exactly the
 throttling tier exceed?

 1. At the end of 20 successful invocations/hits or
 2. When total number of hits (successful and faulty) exceeds 20?

 When I test this in both API manager 1.8.0 and 1.9.0 packs, count
 was taken using number of successful hits. Therefore I reported [1]
 documentation Jira.

 Please do verify and let me know if the functionality is wrong.

 [1].  https://wso2.org/jira/browse/DOCUMENTATION-1665
 https://wso2.org/jira/browse/DOCUMENTATION-1665

 Thanks  Regards,
 Sewmini

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Ushani Balasooriya*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Chathurika Erandi*
 Software Engineer,
 WSO2 Inc.

 *E-mail:* chathuri...@wso2.com
 *Mobile: *+94714 328 612
 *Blog*: chathurikaerandi.blogspot.com




 --
 *Ushani Balasooriya*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 Thanks,

 Nirdesha Munasinghe,
 WSO2 Inc.
 Web:http://wso2.com

 Mobile: +94 776321920




 --
 *Ushani Balasooriya*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796




 --

 Thanks,

 Nirdesha

[Dev] API manager throttling requirement clarification.

2015-04-29 Thread Sewmini Jayaweera
Hi,

In API manager throttling functionality, How exactly the throttling tier
exceed?

1. At the end of 20 successful invocations/hits or
2. When total number of hits (successful and faulty) exceeds 20?

When I test this in both API manager 1.8.0 and 1.9.0 packs, count was taken
using number of successful hits. Therefore I reported [1] documentation
Jira.

Please do verify and let me know if the functionality is wrong.

[1].  https://wso2.org/jira/browse/DOCUMENTATION-1665
https://wso2.org/jira/browse/DOCUMENTATION-1665

Thanks  Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API manager throttling requirement clarification.

2015-04-29 Thread Sewmini Jayaweera
Hi Ushani,

When I say unsuccessful, what i meant was request fails due to resource
level throttling exceeding.
Say I have given

API level throttling - silver (5)
App level throttling - unlimited
API resource 1 throttling - bronze (1)
API resource 2 throttling - unlimited

When I send first three requests to resource 1 and next 5 requests to
resource 2, my last 3 request should fail due to API level throttling is it
?

Thanks  Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 29, 2015 at 2:48 PM, Ushani Balasooriya ush...@wso2.com wrote:

 Hi Sewmini,

 AFAIK, throttling count will start when the API is invoked. Therefore it
 should be a successful invocation. First it checks API level throttling
 limit and then Application level throttling limit and then it goes to
 resource level throttling check.

 Regards,
 Ushani


 On Wed, Apr 29, 2015 at 1:59 PM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi,

 In API manager throttling functionality, How exactly the throttling tier
 exceed?

 1. At the end of 20 successful invocations/hits or
 2. When total number of hits (successful and faulty) exceeds 20?

 When I test this in both API manager 1.8.0 and 1.9.0 packs, count was
 taken using number of successful hits. Therefore I reported [1]
 documentation Jira.

 Please do verify and let me know if the functionality is wrong.

 [1].  https://wso2.org/jira/browse/DOCUMENTATION-1665
 https://wso2.org/jira/browse/DOCUMENTATION-1665

 Thanks  Regards,
 Sewmini

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Ushani Balasooriya*
 Senior Software Engineer - QA;
 WSO2 Inc; http://www.wso2.com/.
 Mobile; +94772636796


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Sewmini Jayaweera
Hi Saneth,

As per my knowledge this is used once we have a backend which is secured.

For an example;
say you have hello service hosted in WSO2 application server which is
secured using UsernameToken and your API is pointing to that service. In an
intense like that you need to give user credentials which you used to
secure back end (It will be a user's credentials registered in AS).

When a client is accessing this service through the API, he should be
invoke the API as usual. (Since we have given user credentials of the
secured backend when creating the API )

Cheers!
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 Hi APIM team,

 When we configure a API endpoint as a secure endpoint,Is there any
 conditions regarding the password?


 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Sewmini Jayaweera
Hi Nadeesha,

Will you please check whether documentation or READ ME file hasn't
mentioned which Java version to be used. If not please open a doc Jira

Thanks  Regards,
Sewmini



Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 29, 2015 at 9:50 AM, Chathura Priyankara chathu...@wso2.com
wrote:

 Hi Nadeesha,

 I think similar exception is discussed in [1].
 According to that you need to set the JVM option -XX:-UseSplitVerifier
 before executing the binding compiler.

 [1]
 https://wso2.org/jira/si/jira.issueviews:issue-html/CARBON-12931/CARBON-12931.html

 Thanks!
 Best Regards,
 Chathura.

 On Wed, Apr 29, 2015 at 8:42 AM, Nadeesha Meegoda nadees...@wso2.com
 wrote:

 Hi,

 I am running these AS samples, currently running the JiBX and the build
 fails. Has anyone come across this before?

  [bind] Error running binding compiler
  [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
 target 12
  [bind] Exception Details:
  [bind]   Location:
  [bind]
 org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
 @1: ifnonnull
  [bind]   Reason:
  [bind]Expected stackmap frame at this location.
  [bind] Bytecode:
  [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
  [bind]
  [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
  [bind] at
 java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
  [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
  [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
  [bind] at
 org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
  [bind] at
 org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
  [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
 Source)
  [bind] at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [bind] at java.lang.reflect.Method.invoke(Method.java:606)
  [bind] at
 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
  [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
  [bind] at
 org.apache.tools.ant.Target.performTasks(Target.java:456)
  [bind] at
 org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
  [bind] at
 org.apache.tools.ant.Project.executeTarget(Project.java:1364)
  [bind] at
 org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  [bind] at
 org.apache.tools.ant.Project.executeTargets(Project.java:1248)
  [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
  [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
  [bind] at
 org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
  [bind] at
 org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
  [bind]

 BUILD FAILED
 /home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
 JiBXException in JiBX binding compilation


 Any Input regarding this is highly appreciated.

 Thanks
 --
 *Nadeesha Meegoda*
 Software Engineer - QA
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 email : nadees...@wso2.com
 mobile: +94783639540
 %2B94%2077%202273555

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Query on the logic used to display statistics relevant to a given time range functionality.

2015-04-24 Thread Sewmini Jayaweera
Adding Lalaji to the thread.

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Thu, Apr 23, 2015 at 3:30 PM, Sewmini Jayaweera sewm...@wso2.com wrote:

 Hi,

 I'm working on test cases related to API manager runtime statistics. Since
 I'm using a new set up I do not have data to observe how API manager
 display statistics relevant to a specified time duration.

 Can someone please tell me how the calculation is implemented?

 Say there are two published APIs (API1 and API2) created by creator1.
  - In day one Subscriber1 got subscribed to both APIs
  - In day two  Subscriber2 got subscribed to API2

 *1.* When creator1 select only day one as the duration,

 *1.1* What should be observation when user goes to APIs  All statistics
  API subscriptions page?
 Is it implemented like (Number of subscriptions of a particular API during
 the day) / (Total number of subscriptions took place during the day) ?

 *1.2. *What should be observation when user goes to My APIs  statistics
  API subscriptions page?

 2. When creator1 set duration selecting both day one and two.

 *2.1.* What should be observation when user goes to APIs  All statistics
  API subscriptions page?

 *2.2.* What should be observation when user goes to My APIs  statistics
  API subscriptions page?

 Thanks  Regards,
 Sewmini

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM] Query on the logic used to display statistics relevant to a given time range functionality.

2015-04-23 Thread Sewmini Jayaweera
Hi,

I'm working on test cases related to API manager runtime statistics. Since
I'm using a new set up I do not have data to observe how API manager
display statistics relevant to a specified time duration.

Can someone please tell me how the calculation is implemented?

Say there are two published APIs (API1 and API2) created by creator1.
 - In day one Subscriber1 got subscribed to both APIs
 - In day two  Subscriber2 got subscribed to API2

*1.* When creator1 select only day one as the duration,

*1.1* What should be observation when user goes to APIs  All statistics 
API subscriptions page?
Is it implemented like (Number of subscriptions of a particular API during
the day) / (Total number of subscriptions took place during the day) ?

*1.2. *What should be observation when user goes to My APIs  statistics 
API subscriptions page?

2. When creator1 set duration selecting both day one and two.

*2.1.* What should be observation when user goes to APIs  All statistics 
API subscriptions page?

*2.2.* What should be observation when user goes to My APIs  statistics 
API subscriptions page?

Thanks  Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APIM] API subscription statistics cannot be viewed until user invokes an API.

2015-04-22 Thread Sewmini Jayaweera
Hi,

I have configured API manager in order to view runtime statistics using
[1].

When I publish an API and subscribe to it I could not view API
subscriptions statistics until the API got invoked. Please refer [2] in
order to see the jira.

It is highly appreciated if someone can explain me following queries I have.

1. As I understood API subscription related data is not stored in
'WSO2AM_STATS_DB'. If so from where does API manager read those information
in order to depict them.

2. How exactly API manager statistics get updated? Since it's not happening
real time, is there a time interval where the update happens? If so is it
configurable ?

[1] https://docs.wso2.com/display/AM180/Publishing+API+Runtime+Statistics
[2] https://wso2.org/jira/browse/APIMANAGER-3460

Thanks  Regards!
Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] API subscription statistics cannot be viewed until user invokes an API.

2015-04-22 Thread Sewmini Jayaweera
Hi Sanjeewa,

Yes I can see the subscription in API publisher  My APIs  Subscriptions
page.

Thanks  Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 22, 2015 at 5:27 PM, Sanjeewa Malalgoda sanje...@wso2.com
wrote:



 On Wed, Apr 22, 2015 at 5:18 PM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi,

 I have configured API manager in order to view runtime statistics using
 [1].

 When I publish an API and subscribe to it I could not view API
 subscriptions statistics until the API got invoked. Please refer [2] in
 order to see the jira.

 It is highly appreciated if someone can explain me following queries I
 have.

 1. As I understood API subscription related data is not stored in
 'WSO2AM_STATS_DB'. If so from where does API manager read those information
 in order to depict them.

 Subscription data will be pulled out from AM_DB and show them in publisher
 UI.
 Can you go to subscriptions(its the main subscription menu item and not
 the one under Statistics) menu and see active subscriptions?


 2. How exactly API manager statistics get updated? Since it's not
 happening real time, is there a time interval where the update happens? If
 so is it configurable ?

 Hive query runs for each 2 minutes and write data to stats database. If
 need you can change that frequency(we normally dont change this as 2
 minutes is reasonable time)


 [1] https://docs.wso2.com/display/AM180/Publishing+API+Runtime+Statistics
 [2] https://wso2.org/jira/browse/APIMANAGER-3460


 Thanks,
 sanjeewa.


 Thanks  Regards!
 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com




 --

 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/
 http://sanjeewamalalgoda.blogspot.com/



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Error in building IS from the source

2015-04-20 Thread Sewmini Jayaweera
Hi Indunil,

Can you share the full error log?


Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Apr 21, 2015 at 7:21 AM, Indunil Upeksha Rathnayake 
indu...@wso2.com wrote:

 Hi all,

 The following error occurs when trying to build IS from the source. I have
 built the chunk11 by getting the source from [1].
 And also tried to build it, after building orbit and all the kernel
 patches, but still get the same error. Please help me to fix this.

 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
 (3-p2-profile-generation) on project identity-profile-gen: P2 publisher
 return code was 13 - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
 goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
 (3-p2-profile-generation) on project identity-profile-gen: P2 publisher
 return code was 13

 [1]
 https://svn.wso2.com/wso2/custom/projects/projects/carbon/turing/platform/trunk/

 Thanks and Regards
 --
 Indunil Upeksha Rathnayake
 Software Engineer | WSO2 Inc
 Emailindu...@wso2.com
 Mobile  +94713695179

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Error in building IS from the source

2015-04-20 Thread Sewmini Jayaweera
Also I found similar issue is being discussed in the dev mail thread [1]
related to chunk 08. Will you please have a look at that as well

[1] http://mail.wso2.org/mailarchive/dev/2014-February/027583.html
http://mail.wso2.org/mailarchive/dev/2014-February/027583.html

Cheers!

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Apr 21, 2015 at 9:38 AM, Sewmini Jayaweera sewm...@wso2.com wrote:

 Hi Indunil,

 Can you share the full error log?


 Sewmini

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 On Tue, Apr 21, 2015 at 7:21 AM, Indunil Upeksha Rathnayake 
 indu...@wso2.com wrote:

 Hi all,

 The following error occurs when trying to build IS from the source. I
 have built the chunk11 by getting the source from [1].
 And also tried to build it, after building orbit and all the kernel
 patches, but still get the same error. Please help me to fix this.

 [ERROR] Failed to execute goal
 org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
 (3-p2-profile-generation) on project identity-profile-gen: P2 publisher
 return code was 13 - [Help 1]
 org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
 goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-profile-gen
 (3-p2-profile-generation) on project identity-profile-gen: P2 publisher
 return code was 13

 [1]
 https://svn.wso2.com/wso2/custom/projects/projects/carbon/turing/platform/trunk/

 Thanks and Regards
 --
 Indunil Upeksha Rathnayake
 Software Engineer | WSO2 Inc
 Emailindu...@wso2.com
 Mobile  +94713695179

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [API Manager] Adding an API with the context wso2

2015-04-20 Thread Sewmini Jayaweera
Hi Prabath,

I tried creating an API given context as wso2 using API manager 1.8.0
standalone fresh pack. I didn't come across any issue. I could also invoke
the API successfully.

Have you done any additional configurations ?

Regards,

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Fri, Feb 27, 2015 at 4:32 AM, Prabath Siriwardena prab...@wso2.com
wrote:

 This is directly from the Publisher. It looks like something to do with
 the name.. When I created an new API with mywso2 it got published
 successfully...

 Thanks  regards,
 -Prabath

 On Thu, Feb 26, 2015 at 2:58 PM, Ajith Vitharana aji...@wso2.com wrote:



 On Thu, Feb 26, 2015 at 5:22 PM, Prabath Siriwardena prab...@wso2.com
 wrote:

 Created an API with the context wso2 and published it...

 This appears in store - and anyone can subscribe.. But not in the
 Gateway..

 Is this a known issue...


 If you try with the Publisher REST API make sure to pass the* 
 publishToGateway=true
 *parameter while Change API State. If not all the things success but
 API not in GW.
 No way to recover(push back to GW) such an API, if you missed to pass at
 first place . :) . That is known bug.

  [1]
 https://docs.wso2.com/display/AM180/Publisher+APIs#PublisherAPIs-ChangeAPIStatus


 Thanks  Regards,
 Prabath

 Twitter : @prabath
 LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

 Mobile : +1 650 625 7950

 http://blog.facilelogin.com
 http://blog.api-security.org

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +1-812-360-5335




 --
 Thanks  Regards,
 Prabath

 Twitter : @prabath
 LinkedIn : http://www.linkedin.com/in/prabathsiriwardena

 Mobile : +1 650 625 7950

 http://blog.facilelogin.com
 http://blog.api-security.org

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] User Manager MySQL Exception

2015-04-07 Thread Sewmini Jayaweera
Hi Kasun,

I clustered IS 5.0.0 recently using mysql-connector-java-5.1.34-bin.jar and
mysql version I used was 5.5.35. I didn't get an exception as such.


Cheers!

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Apr 7, 2015 at 11:12 AM, Inshaf Mahath ins...@wso2.com wrote:

 Hi Kasun,

 Did you try on mysql-connector-java-5.1.30.jar? I faced some issues
 because of different version of jars. But 5.1.30 worked for me.

 On Tue, Apr 7, 2015 at 1:26 AM, Kasun Dananjaya Delgolla kas...@wso2.com
 wrote:

 Hi All,

 I'm getting a MySQL Error
 (com.mysql.jdbc.exceptions.MySQLSyntaxErrorException) when I'm trying to
 manager users via Carbon console. MySQL version in the server is 5.5.41 and
 the connectorJ version is 5.1.35. I have tried the solution suggested by
 Darshana in [1] and it did not work for me.

 Any idea how to resolve this?

 [1] - https://wso2.org/jira/browse/IDENTITY-1641

 Thanks
 --
 Kasun Dananjaya Delgolla

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Tel:  +94 11 214 5345
 Fax: +94 11 2145300
 Mob: + 94 771 771 015
 Blog: http://kddcodingparadise.blogspot.com
 Linkedin: *http://lk.linkedin.com/in/kasundananjaya
 http://lk.linkedin.com/in/kasundananjaya*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Inshaf Mahath
 Associate Software Engineer
 Mobile: +94775907181
 WSO2 Inc.
 Lean . Enterprise . Middleware


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] issue with changing application level tier is not working 1.9.0 SNAPSHOT.

2015-04-01 Thread Sewmini Jayaweera
Hi Saneth,

APMK once the EnableGatewayResourceCache is set to false system should no
longer keep throttling cache. Therefore Once your change the throttling
tier It should reflect the change immediately. Please refer to [1] and [2]
for more clarifications.

In APIM 1.8.0 there is an issue reported [3] for this scenario and
according to [3] the fix will come in 1.9.0 pack.

Further more after setting EnableGatewayResourceCache to false did you
restart the server? If not you need to restart in order to reflect changes.
If this still doesn't work In the 1.9.0 pack as a work around you will have
to restart the saver once you edit throttling tier prior to invoking or
invoke after 15 to 20 mins of the change.

[1] https://wso2.org/jira/browse/APIMANAGER-2701
[2]
https://docs.wso2.com/display/AM180/Configuring+Caching#ConfiguringCaching-Resourcecaching
[3] https://wso2.org/jira/browse/APIMANAGER-3171

Thank you.
Best Regards
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Thu, Mar 19, 2015 at 12:34 PM, Saneth Dharmakeerthi sane...@wso2.com
wrote:

 Hi APIM team,

 I created a API with gold tier with resource  with unlimited tier. Then I
 subscribed  the API via Silver  level tier application. If I invoke the
 API, the throttling is working correctlly, only the amount in silver tier
 is allowed.

 Then I change the application to gold tier  and test the throttling, it is
 still working for the amount in silver tier.

 Is this a issue or do I miss any steps here?

 Note:   EnableGatewayKeyCache and EnableGatewayResourceCache both set to
 false


 Thanks and Best Regards,

 Saneth Dharmakeerthi
 Senior Software Engineer
 WSO2, Inc.
 Mobile: +94772325511

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need a clarification on APIM resource Auth Type functionality.

2015-03-31 Thread Sewmini Jayaweera
Hi Amila and Sanjeewa,

Thank you for the clarifications.

Best Regards,

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Mar 31, 2015 at 11:23 AM, Sanjeewa Malalgoda sanje...@wso2.com
wrote:

 If application owner requested user token for his own application he will
 get application token instead of user token.
 So you may consider as application owner and token will be application
 token.
 Then you may not be able to access resource specified with application
 user access level.
 And application owner accessing APIs as application user is very rare in
 real use cases.

 Thanks,
 sanjeewa.

 On Tue, Mar 31, 2015 at 11:18 AM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi Amila,

 Once we have specified resource auth type as 'application user', can
 application owner invoke token API get a access token and invoke the
 particular resource? In that scenario application owner will also be
 considered as another application user and should be able to invoke the
 resource is it?

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 On Tue, Mar 31, 2015 at 10:59 AM, Amila De Silva ami...@wso2.com wrote:

 Hi Sewmini,

 On Tue, Mar 31, 2015 at 10:39 AM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi,

 When adding an API in the manage stage user has an option to set an
 auth type for each resource [1].

 Below I have mentioned the auth types available and the functionality
 of auth types as i understood;

1. *Application* - once resource is given application auth type
only the access token of the application owner can be used to access the
particular resource.

 Once a resource is given Application auth type, it can only be accessed
 by an Application Access Token. If the Application Creator gets a token
 through the store UI, then the token becomes an Application Access Token.
 But if the same user gets it by calling token API, token is considered as a
 User Token.


1. *Application user* - Any registered user other *than application
owner* can generate access token using consumer key and secret of
the application and particular user's user credentials and can invoke
resource using the access token.
2. *None * - No access tokens are required in order to access
resources having non auth type.

 Can someone please tell me whether above mentioned functionality is
 correct, if so in a scenario where resource is given 'application user'
 auth type why can't application owner act as an application user ?

 [1]
 https://docs.wso2.com/download/attachments/41747085/API-resources.png?version=1modificationDate=1410272431000api=v2

 ThankS  Regards,
 Sewmini


 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com




 --
 *Amila De Silva*

 WSO2 Inc.
 mobile :(+94) 775119302





 --

 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/
 http://sanjeewamalalgoda.blogspot.com/



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Need a clarification on APIM resource Auth Type functionality.

2015-03-30 Thread Sewmini Jayaweera
Hi,

When adding an API in the manage stage user has an option to set an auth
type for each resource [1].

Below I have mentioned the auth types available and the functionality of
auth types as i understood;

   1. *Application* - once resource is given application auth type only the
   access token of the application owner can be used to access the particular
   resource.
   2. *Application user* - Any registered user other *than application
   owner* can generate access token using consumer key and secret of the
   application and particular user's user credentials and can invoke resource
   using the access token.
   3. *None * - No access tokens are required in order to access resources
   having non auth type.

Can someone please tell me whether above mentioned functionality is
correct, if so in a scenario where resource is given 'application user'
auth type why can't application owner act as an application user ?

[1]
https://docs.wso2.com/download/attachments/41747085/API-resources.png?version=1modificationDate=1410272431000api=v2

ThankS  Regards,
Sewmini


Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Need a clarification on APIM resource Auth Type functionality.

2015-03-30 Thread Sewmini Jayaweera
Hi Amila,

Once we have specified resource auth type as 'application user', can
application owner invoke token API get a access token and invoke the
particular resource? In that scenario application owner will also be
considered as another application user and should be able to invoke the
resource is it?

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Mar 31, 2015 at 10:59 AM, Amila De Silva ami...@wso2.com wrote:

 Hi Sewmini,

 On Tue, Mar 31, 2015 at 10:39 AM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi,

 When adding an API in the manage stage user has an option to set an auth
 type for each resource [1].

 Below I have mentioned the auth types available and the functionality of
 auth types as i understood;

1. *Application* - once resource is given application auth type only
the access token of the application owner can be used to access the
particular resource.

 Once a resource is given Application auth type, it can only be accessed
 by an Application Access Token. If the Application Creator gets a token
 through the store UI, then the token becomes an Application Access Token.
 But if the same user gets it by calling token API, token is considered as a
 User Token.


1. *Application user* - Any registered user other *than application
owner* can generate access token using consumer key and secret of the
application and particular user's user credentials and can invoke resource
using the access token.
2. *None * - No access tokens are required in order to access
resources having non auth type.

 Can someone please tell me whether above mentioned functionality is
 correct, if so in a scenario where resource is given 'application user'
 auth type why can't application owner act as an application user ?

 [1]
 https://docs.wso2.com/download/attachments/41747085/API-resources.png?version=1modificationDate=1410272431000api=v2

 ThankS  Regards,
 Sewmini


 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com




 --
 *Amila De Silva*

 WSO2 Inc.
 mobile :(+94) 775119302


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Amila Godwin Shrimal

2015-03-29 Thread Sewmini Jayaweera
Congratulations Godwin! :)

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Sun, Mar 29, 2015 at 10:28 PM, Lakshani Gamage laksh...@wso2.com wrote:

 Congratzz Godwin!!!

 On Sat, Mar 28, 2015 at 10:23 PM, CD Athuraliya chathur...@wso2.com
 wrote:

 Congratulations! :)

 On Sat, Mar 28, 2015 at 9:12 PM, Hasanthi Purnima Dissanayake 
 hasan...@wso2.com wrote:

 Congradz Godwin ...:)

 Regards,

 Hasanthi Dissanayake

 Software Engineer | WSO2

 E: hasan...@wso2.com nirosh...@wso2.com
 M :0718407133| http://wso2.com http://wso2.com/

 On Sat, Mar 28, 2015 at 8:45 PM, Pirinthapan Mahendran 
 pirintha...@wso2.com wrote:

 Congrats Godwin !!



 Mahendran Pirinthapan
 Software Engineer | WSO2 Inc.
 Mobile +94772378732.

 On Sat, Mar 28, 2015 at 3:16 PM, Indunil Upeksha Rathnayake 
 indu...@wso2.com wrote:

 Congratz Godwin!

 Regards
 --
 Indunil Upeksha Rathnayake
 Software Engineer | WSO2 Inc
 Emailindu...@wso2.com
 Mobile  +94713695179

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *CD Athuraliya*
 Software Engineer
 WSO2, Inc.
 lean . enterprise . middleware
 Mobile: +94 716288847 94716288847
 LinkedIn http://lk.linkedin.com/in/cdathuraliya | Twitter
 https://twitter.com/cdathuraliya | Blog
 http://cdathuraliya.tumblr.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Lakshani Gamage

 *Software Engineer*
 Mobile : +94 (0) 71 5478184 %2B94%20%280%29%20773%20451194

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Announce] WSO2 Committers += Dulitha Wijewantha

2015-03-09 Thread Sewmini Jayaweera
Congratulations Dulitha!

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Mon, Mar 9, 2015 at 11:36 AM, Shiroshica Kulatilake sh...@wso2.com
wrote:

 Congrats Dulitha !



 On Mon, Mar 9, 2015 at 11:32 AM, Tharik Kanaka tha...@wso2.com wrote:

 Congratulations Dulitha

 On Mon, Mar 9, 2015 at 11:24 AM, Isuruwan Herath isuru...@wso2.com
 wrote:

 Congratz Dulitha!

 On Mon, Mar 9, 2015 at 11:22 AM, Kalpa Welivitigoda kal...@wso2.com
 wrote:

 Congratulations Dulitha !

 On Mon, Mar 9, 2015 at 11:21 AM, Kasun Dananjaya Delgolla 
 kas...@wso2.com wrote:

 Congratz Chan! :)

 On Mon, Mar 9, 2015 at 10:03 AM, Damith Wickramasinghe 
 dami...@wso2.com wrote:

 Congrats Dulitha...!!!

 On Mon, Mar 9, 2015 at 10:01 AM, Aiyadurai Rajeevan 
 rajeev...@wso2.com wrote:

 Congrats Dulitha... :)

 Thanks  Regards,
 S.A.Rajeevan
 Software Engineer WSO2 Inc
 E-Mail: rajeev...@wso2.com | Mobile : +94776411636

 On Mon, Mar 9, 2015 at 9:18 AM, Inosh Perera ino...@wso2.com
 wrote:

 Congrats Dulitha!

 On Mon, Mar 9, 2015 at 8:53 AM, Harsha Kumara hars...@wso2.com
 wrote:

 Congratulations Dulitha!

 On Mon, Mar 9, 2015 at 7:36 AM, Gayan Gunawardana ga...@wso2.com
 wrote:

 Congratulations, Dulitha...!

 On Mon, Mar 9, 2015 at 6:49 AM, Dilan Udara Ariyaratne 
 dil...@wso2.com wrote:

 Congratulations, Dulitha!!!


 *Dilan U. Ariyaratne*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 Mobile: +94775149066
 lean . enterprise . middleware

 On Mon, Mar 9, 2015 at 5:23 AM, Dakshika Jayathilaka 
 daksh...@wso2.com wrote:

 Congratulations Dulitha...!

 *Dakshika Jayathilaka*
 Software Engineer
 WSO2, Inc.
 lean.enterprise.middleware
 0771100911

 On Sun, Mar 8, 2015 at 8:27 PM, Sameera Perera 
 samee...@wso2.com wrote:

 Hi all,

 It is with great pleasure that WSO2 welcomes Dulitha
 Wijewantha as a WSO2 committer!

 Congratulations!


 --
 ​​

 --

 *Sameera Perera*
 Director of Engineering
 gtalk: samee...@wso2.com
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 *WSO2, Inc.* http://wso2.com/
 lean.enterprise.middleware



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Gayan Gunawardana
 Software Engineer; WSO2 Inc.; http://wso2.com/
 Email: ga...@wso2.com
 Mobile: +94 (71) 8020933

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Harsha Kumara
 Software Engineer, WSO2 Inc.
 Mobile: +94775505618
 Blog:harshcreationz.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Inosh Perera
 Software Engineer, WSO2 Inc.
 Tel: 0785293686

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Software Engineer
 WSO2 Inc.; http://wso2.com
 http://www.google.com/url?q=http%3A%2F%2Fwso2.comsa=Dsntz=1usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg
 lean.enterprise.middleware

 mobile: *+94728671315 %2B94728671315*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Kasun Dananjaya Delgolla

 Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware
 Tel:  +94 11 214 5345
 Fax: +94 11 2145300
 Mob: + 94 771 771 015
 Blog: http://kddcodingparadise.blogspot.com
 Linkedin: *http://lk.linkedin.com/in/kasundananjaya
 http://lk.linkedin.com/in/kasundananjaya*

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 Kalpa Welivitigoda
 Software Engineer, WSO2 Inc. http://wso2.com
 Email: kal...@wso2.com
 Mobile: +94776509215

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Isuruwan Herath
 Technical Lead

 Contact: +94 776 273 296

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Tharik Kanaka* | Associate Software Engineer

 WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

 Email: tha...@wso2.com | Web: www.wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [Carbon] Carbon Component Implementation : Exception in generating service stub

2015-02-23 Thread Sewmini Jayaweera
Hi Indunil,

What;s given in [1] and see.

[1]  http://www.coderanch.com/t/637456/tools/Maven-find-pom-jar-local

Best Regards,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Mon, Feb 23, 2015 at 8:48 AM, Indunil Upeksha Rathnayake 
indu...@wso2.com wrote:

 Hi Chathura,
 Thanks for sharing, it was really helpful.

 Best Regards
 --
 Indunil Upeksha Rathnayake
 Software Engineer | WSO2 Inc
 Emailindu...@wso2.com
 Mobile  +94713695179

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [FYI] - For folks who are new to ESB

2015-02-12 Thread Sewmini Jayaweera
Hi,

When I was going through the ESB I found this article very helpful to
understand how mediators work. Hope this will help for who ever who is
interested in leaning ESB :)

http://wso2.com/library/articles/2011/01/wso2-esb-by-example-service-chaining/#scenario


Thanks  Regards
Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] User permission update for Runtime Configs

2015-02-10 Thread Sewmini Jayaweera
Hi Amalka,

 How about delete permission?
As I understand it should be only admin, application owner, developer can
delete from development environment is it ?


Thank You,
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Tue, Feb 10, 2015 at 12:05 PM, Chathurika De Silva chathuri...@wso2.com
wrote:

 Hi

 One QA resource will be unavailable on 12th and 13th. So there will be a
 deviation around one day to the original estimate of one week because only
 one resource will be working on the above mentioned two days.

 Thank You
 Erandi

 On Tue, Feb 10, 2015 at 11:39 AM, Dimuthu Leelarathne dimut...@wso2.com
 wrote:

 Hi,

 We'll give a new setup tomorrow morning. Meanwhile please cover the
 breath in other areas that have not changed.

 thanks,
 dimuthu

 On Tue, Feb 10, 2015 at 11:20 AM, Chathurika De Silva 
 chathuri...@wso2.com wrote:

 Hi All

 Considering the above changes and the bug fixes that will be
 incorporated in the latest pack, there should be a new qa cycle on the
 latest pack. While considering the amount of test cases we have as well as
 the available qa resources (#2) it will take around one week to complete
 the test cycle after the pack release date.

 Thank You
 Erandi

 On Tue, Feb 10, 2015 at 11:18 AM, Manjula Rathnayake manju...@wso2.com
 wrote:

 Hi all,

 Please note that only change with respect to existing permission model
 is that, appOwner is not allowed to create runtime configs in Testing and
 Production stages. Configs will be copied at the time of
 promotion/deployment of application in Testing and Production stages.

 However, the permissions related to databases will not be changed from
 existing model where each stake holders of runtime environments are allowed
 to create databases in their environments. eg. QA can create databases on
 Testing but not in Production.

 thank you.


 On Tue, Feb 10, 2015 at 11:04 AM, Amalka Subasinghe ama...@wso2.com
 wrote:

 Hi All,

 I'm going to do the following changes to the runtime configs
 (datasources, properties, external apis)

 - Create/update/read permissions will be as shown in the table after
 this fix.

 - The tenant admin also have similar permissions as appowner; he can
 only create in development stage and then resources will be propagated to
 the testing and production environments via promoting.
 So, create resources in all environments checkbox, is not valid
 anymore, I'm removing it.




 development testing production
  appowner create x



 update x x x

 read x x x






  dev create x



 update x



 read x x







  qa create




 update
 x


 read x x







  devops create




 update

 x

 read
 x x






  admin create x



 update x x x

 read x x x

 Thanks
 Amalka


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987




 --
 *Chathurika Erandi*
 Software Engineer,
 WSO2 Inc.

 *E-mail:* chathuri...@wso2.com
 *Mobile: *+94714 328 612
 *Blog*: chathurikaerandi.blogspot.com




 --
 Dimuthu Leelarathne
 Architect  Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




 --
 *Chathurika Erandi*
 Software Engineer,
 WSO2 Inc.

 *E-mail:* chathuri...@wso2.com
 *Mobile: *+94714 328 612
 *Blog*: chathurikaerandi.blogspot.com

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Documentation visibility feature is not there even though the API Manager documentation contains information about it.

2014-12-08 Thread Sewmini Jayaweera
Hi,

API manager 180 documentation[1] explains a feature on documentation
visibility.  API manager 180 RC1 pack doesn't contain that feature.  Is the
feature missing or the document should get updated?

[1]. https://docs.wso2.com/display/AM180/Key+Concepts


Thank You
Best Regards,

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Documentation visibility feature is not there even though the API Manager documentation contains information about it.

2014-12-08 Thread Sewmini Jayaweera
Thank you

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Mon, Dec 8, 2014 at 1:44 PM, Sanjeewa Malalgoda sanje...@wso2.com
wrote:

 I think this feature is there in pack. But to enable it you need to set
 following in api-manager.xml and restart server.
 Then only it will appear.

 EnableAPIDocVisibilityLevelstrue/EnableAPIDocVisibilityLevels

 Thanks,
 sanjeewa.

 On Mon, Dec 8, 2014 at 1:34 PM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi,

 API manager 180 documentation[1] explains a feature on documentation
 visibility.  API manager 180 RC1 pack doesn't contain that feature.  Is the
 feature missing or the document should get updated?

 [1]. https://docs.wso2.com/display/AM180/Key+Concepts


 Thank You
 Best Regards,

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/
 http://sanjeewamalalgoda.blogspot.com/



___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Documentation visibility feature is not there even though the API Manager documentation contains information about it.

2014-12-08 Thread Sewmini Jayaweera
Yes got it. Thank you Udara and Kala :) my mistake I didn't notice the
config.


Thank you.
Best Regards

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Mon, Dec 8, 2014 at 5:52 PM, Kala Weerawardana k...@wso2.com wrote:

 Hi,

 This is mentioned in the API documentation :


 https://docs.wso2.com/display/AM180/Add+API+Documentation+In-line%2C+using+a+URL+or+a+File
 https://docs.wso2.com/display/AM180/Add+API+Documentation+In-line%2C+using+a+URL+or+a+File



 https://docs.wso2.com/display/AM180/Key+Concepts#KeyConcepts-APIdocumentationvisibility

 Thanks  Regards,
 Kala

 On Mon, Dec 8, 2014 at 1:44 PM, Sanjeewa Malalgoda sanje...@wso2.com
 wrote:

 I think this feature is there in pack. But to enable it you need to set
 following in api-manager.xml and restart server.
 Then only it will appear.

 EnableAPIDocVisibilityLevelstrue/EnableAPIDocVisibilityLevels

 Thanks,
 sanjeewa.

 On Mon, Dec 8, 2014 at 1:34 PM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi,

 API manager 180 documentation[1] explains a feature on documentation
 visibility.  API manager 180 RC1 pack doesn't contain that feature.  Is the
 feature missing or the document should get updated?

 [1]. https://docs.wso2.com/display/AM180/Key+Concepts


 Thank You
 Best Regards,

 Sewmini Jayaweera
 *Software Engineer - QA Team*
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --

 *Sanjeewa Malalgoda*
 WSO2 Inc.
 Mobile : +94713068779

  http://sanjeewamalalgoda.blogspot.com/blog
 :http://sanjeewamalalgoda.blogspot.com/
 http://sanjeewamalalgoda.blogspot.com/



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Kala C. Weerawardana
 *Software Engineer - QA Team*
 *WSO2 Inc. *
 Mobile :  +94 (0) 716189886 +94 (0) 772877683
 k...@wso2.com

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Distributed setup BAM 250 - Erorr java.lang.NoClassDefFoundError: org/wso2/carbon/stratos/common/listeners/TenantMgtListener

2014-11-13 Thread Sewmini Jayaweera
Hi,

I am trying to set up a distributed set up locally using 2 BAM packs having
analyser, receiver and Hadoop running on one pack and cassandra on the
other pack.

when i start cassandra node it successfully starts.  But when I try to
start BAM using './wso2server.sh -Dsetup' I get an exception as mentioned
below. furthermore I have attached the configurations steps and full error
logs. Highly appreciate it if someone help me with this issue.

Error
---

[2014-11-14 07:52:11,436] ERROR
{org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent} -
 Error occurred while initializing Cassandra Server component
java.lang.NoClassDefFoundError:
org/wso2/carbon/stratos/common/listeners/TenantMgtListener
at
org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent.activate(CassandraServerDSComponent.java:123)


Thank you in advance.
~Sewmi~

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
[2014-11-14 07:51:53,692]  INFO 
{org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -  Successfully 
deployed Agent Client
[2014-11-14 07:52:11,436] ERROR 
{org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent} -  Error 
occurred while initializing Cassandra Server component
java.lang.NoClassDefFoundError: 
org/wso2/carbon/stratos/common/listeners/TenantMgtListener
at 
org.wso2.carbon.cassandra.server.internal.CassandraServerDSComponent.activate(CassandraServerDSComponent.java:123)
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:347)
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.identity.authentication.internal.AuthenticationServiceComponent.activate(AuthenticationServiceComponent.java:57)
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:347)
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

[Dev] Issue with BAM Message Tracer Handler

2014-11-03 Thread Sewmini Jayaweera
Hi,

As an integration scenario I Installed BAM Message Tracer Handler Aggregate
feature into ESB (version 4.8.1) and configured message tracing by giving
correct thrift port and IP as the Receiver URL. When invoking echo service
I got following error in esb log.

[2014-11-03 14:56:25,376] ERROR - AsyncDataPublisher Stream definition
already exist
org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException:
Same stream id with different definition already defined before sending
this event definitions to TCP,127.0.0.1:7611,TCP,127.0.0.1:7711

Following Jira is also addresses this issue

https://wso2.org/jira/browse/BAM-1579

What should be done to overcome this issue?

Thank you
Best Regards,
Sewmi

Sewmini Jayaweera
Software Engineer - QA Team
Mobile: +94 (0) 773 381 250
sewm...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Issue with BAM Message Tracer Handler

2014-11-03 Thread Sewmini Jayaweera
Thanks

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Mon, Nov 3, 2014 at 3:28 PM, Gihan Anuruddha gi...@wso2.com wrote:

 Hi Sewmini,

 We changed the stream definition of the Message tracer. BAM 2.5.0 only
 compatible with Message Tracer version 4.2.3 or later. This 4.2.3 version
 going to release with chunk-13. You can find the 4.2.3 version in this p2-
 repo [1].

 [1] - https://svn.wso2.org/repos/wso2/scratch/chunk13-release/20-10-2014/

 On Mon, Nov 3, 2014 at 3:21 PM, Sewmini Jayaweera sewm...@wso2.com
 wrote:

 Hi,

 As an integration scenario I Installed BAM Message Tracer Handler
 Aggregate feature into ESB (version 4.8.1) and configured message tracing
 by giving correct thrift port and IP as the Receiver URL. When invoking
 echo service I got following error in esb log.

 [2014-11-03 14:56:25,376] ERROR - AsyncDataPublisher Stream definition
 already exist
 org.wso2.carbon.databridge.commons.exception.DifferentStreamDefinitionAlreadyDefinedException:
 Same stream id with different definition already defined before sending
 this event definitions to TCP,127.0.0.1:7611,TCP,127.0.0.1:7711

 Following Jira is also addresses this issue

 https://wso2.org/jira/browse/BAM-1579

 What should be done to overcome this issue?

 Thank you
 Best Regards,
 Sewmi

 Sewmini Jayaweera
 Software Engineer - QA Team
 Mobile: +94 (0) 773 381 250
 sewm...@wso2.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 W.G. Gihan Anuruddha
 Senior Software Engineer | WSO2, Inc.
 M: +94772272595

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] BAM 2.5.0 Release testing

2014-10-26 Thread Sewmini Jayaweera
Hi Aparna,

I tested following issues,

[1] https://wso2.org/jira/browse/BAM-1611
[2] https://wso2.org/jira/browse/BAM-1515
[3] https://redmine.wso2.com/issues/3186

Issue [1] and [2] were fixed.

in order to test issue [3] I created an email adaptor and when sending a
email contains text as e-mail body got following error

 [2014-10-27 10:23:36,317]  INFO {org.apache.axis2.builder.BuilderUtil} -
OMException in getSOAPBuilder
org.apache.axiom.om.OMException:
com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'm'
(code 109) in prolog; expected ''
 at [row,col {unknown-source}]: [1,1]
at
org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at
org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
at java.lang.Thread.run(Thread.java:745)

Similar issue is being reported by Shavantha -
https://wso2.org/jira/browse/BAM-1830

Thank You.



Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Fri, Oct 24, 2014 at 5:52 PM, Shavantha Weerasinghe shavan...@wso2.com
wrote:

 Hi Inosh

 When we create a stream the payload is generated in xml format as below[1]
 however, when the email is sent with this in the body the BAM throws an
 exception INFO {org.apache.axis2.builder.BuilderUtil} -  OMException in
 getSOAPBuilder
 org.apache.axiom.soap.SOAPProcessingException: First Element must contain
 the local name, Envelope , but found events. If we send the payload on
 email as [2] the exception is not thrown. Is this the expected behaviour

 [1] system generated payload
 events
 event
 metaData
 tenant_id45/tenant_id
 http_methoddata1/http_method
 character_set_encodingdata4/character_set_encoding
 remote_addressdata4/remote_address
 transport_in_urldata2/transport_in_url
 message_typedata3/message_type
 remote_hostdata1/remote_host
 service_prefixdata3/service_prefix
 hostdata2/host
 /metaData
 correlationData
 activity_iddata5/activity_id
 /correlationData
 payloadData
 message_directiondata5/message_direction
 service_namedata3/service_name
 operation_namedata4/operation_name
 message_iddata1/message_id
 timestamp645565/timestamp
 /payloadData
 /event
 /events

 [2] with soap envelope
 soap:Envelope xmlns:soap=http://www.w3.org/2003/05/soap-envelope;
 xmlns:ser=http://services.samples;
 xmlns:xsd=http://services.samples/xsd;
 soap:Header/
 soap:Body
 events
 event
 metaData
 tenant_id100/tenant_id
 http_methoddata3/http_
 method
 character_set_encodingdata5
 /character_set_encoding
 remote_addressdata5/remote_
 address
 transport_in_urldata3/transport_in_url
 message_typedata1/message_type
 remote_hostdata2/remote_host
 service_prefixdata4/service_prefix
 hostdata1/host
 /metaData
 correlationData
 activity_iddata2/activity_id
 /correlationData
 payloadData
 message_directiondata3/message_direction
 service_namedata1/service_name
 operation_namedata1/operation_name
 message_iddata4/message_id
 timestamp323232/timestamp
 /payloadData
 /event
 /events
 /soap:Body
 /soap:Envelope


 Shavantha Weerasinghe
 Senior Software Engineer QA
 WSO2, Inc.
 lean.enterprise.middleware.
 http://wso2.com
 http://wso2.org
 Tel : 94 11 214 5345
 Fax :94 11 2145300


 On Thu, Oct 23, 2014 at 2:10 PM, Shavantha Weerasinghe shavan...@wso2.com
  wrote:

 Hi Aparna/Asanthi

 Hi Guys

 The attachment on google drive has all that is needed to try MQTT flow

 regards,​
  mqttex.zip
 https://docs.google.com/a/wso2.com/file/d/0B3pVKBDCKX9lYTgxcXM2QlFDMEE/edit?usp=drive_web
 ​

 Shavantha Weerasinghe
 Senior Software Engineer QA
 WSO2, Inc.
 lean.enterprise.middleware.
 http://wso2.com
 http://wso2.org
 Tel : 94 11 214 5345
 Fax :94 11 2145300


 On Wed, Oct 22, 2014 at 3:12 PM, Anjana Fernando anj...@wso2.com wrote:

 Hi Aparna,

 First, use the versions by default mentioned in the puppet setup. Then
 after that, you can move into Apache Cassandra 2.0.x and DSE Cassandra 2.0
 based one. Hadoop use the same mentioned in the puppet setup, that is the
 stable v1 version.

 Cheers,
 Anjana.

 On Wed, Oct 22, 2014 at 11:40 AM, Aparna Karunarathna apa...@wso2.com
 wrote:

 Hi Anjana,

 As we discussed(Anjana, Evanthika  myself), due to the limited time
 frame we have to prioritize the testing scope. BAM Cluster should be
 configured using puppet scripts. Therefore can you please specify the exact
 Cassandra  hadoop versions to test.

 Regards,
 Aparna.

 On Wed, Oct 22, 2014 at 11:26 AM, Asanthi Kulasinghe asan...@wso2.com
 wrote:

 Hi,

 Can we please have a p2