[Dev] WSO2 Committers += Ashen Weerathunga

2016-10-03 Thread Nirmal Fernando
Hi all,

It is my pleasure to welcome Ashen Weerathunga as a WSO2 Committer. In
recognition of Ashen's contributions to ML, Siddhi and IoT analytics, he
has been voted as a Committer.

Ashen, welcome aboard and keep up the good work.

-- 

Thanks & regards,
Nirmal

Team Lead - WSO2 Machine Learner
Associate Technical Lead - Data Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Haththotuwa
Thanks IsuruU.

On Tue, Oct 4, 2016 at 6:38 AM, Isuru Udana  wrote:

> Hi Isuru,
>
> Property name is "aggregated_response" and the value is following.
>
> * http://abc.com/>" />*
>
> So message is getting added to above element as a child.
>
> Thanks.
>
> On Mon, Oct 3, 2016 at 10:17 PM, Isuru Haththotuwa 
> wrote:
>
>> Hi,
>>
>> $subject. The relevant in and out sequences are at [1]. Here, I expect
>> the aggregated response to be in a root element element named
>> 'aggregated_response'. But the actual response has the root element as
>> 'Information' [2]. This is APIM 1.10, synapse version is 2.1.5.wso2v2. Any
>> idea why this is happening?
>>
>> [1].
>>   
>> 
>>  
>> 
>>>  expression="get-property('SYSTEM_TIME')"/>
>>
>>   
>>  
>>  
>>  
>>   
>>
>> 
>> 
>>
>>   
>>  http://demo44042
>> 22.mockable.io/test/hello"/>
>>   
>>
>> 
>>  
>>   
>>   
>>   
>>
>>
>> * 
>> http://abc.com>" />
>> *
>>   
>>  
>> 
>>  
>> * > enclosingElementProperty="aggregated_response">*
>> 
>>  
>>  
>>   
>>
>> [2].
>> {
>>   "Information": [
>> {
>>   "msg": "hello world!"
>> },
>> {
>>   "msg": "new Hello World!!"
>> }
>>   ]
>> }
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* *
>>
>>
>>
>
>
> --
> *Isuru Udana*
> Technical Lead
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
>



-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APPM]Signature validation failed error when trying to login to publisher of APPM as a tenant admin

2016-10-03 Thread Prakhash Sivakumar
Hi Megala,

Those configuration parameters in authenticators.xml are related to the
IDP, in publisher the SP side validation should happen based on the
configurations in publisher.json.

But when I try to debug the scenario, the spId was taken from
authenticators.xml but it shouldn't happen like that. AFAIK it has to be
taken from sso-idp-config.xml.

Thanks

On Tue, Oct 4, 2016 at 9:11 AM, Megala Uthayakumar  wrote:

> Hi Thilini,
>
> Thank you for your explanation. The above mentioned error log got printed
> if the following are not included in authenticators.xml
>
>   false
>false
>
> under SAML2SSOAuthenticator configuration. Because in [1] those 2
> parameters are checked and if those are false, validate signature part is
> skipped. If those properties are not included in authenticators.xml,
> signature validation fails and the relevant error log got printed as in [2]
> and this happens when the code on [3] gets executed. My question was what
> is reasoning behind this?
>
> [1] https://github.com/wso2-extensions/identity-carbon-
> auth-saml2/blob/master/components/org.wso2.carbon.
> identity.authenticator.saml2.sso/src/main/java/org/wso2/
> carbon/identity/authenticator/saml2/sso/SAML2SSOAuthenticator.java#L415
> [2]https://github.com/wso2-extensions/identity-carbon-
> auth-saml2/blob/master/components/org.wso2.carbon.
> identity.authenticator.saml2.sso/src/main/java/org/wso2/
> carbon/identity/authenticator/saml2/sso/SAML2SSOAuthenticator.java#L135
> [3] https://github.com/wso2/carbon-appmgt/blob/master/
> features/org.wso2.carbon.appmgt.publisher.feature/src/
> main/resources/publisher/controllers/acs.jag#L135
>
> Thanks.
>
> Regards,
> Megala
>
> On Mon, Oct 3, 2016 at 12:55 PM, Thilini Shanika 
> wrote:
>
>> Hi Megala,
>>
>> When I try to login to carbon-appmgt publisher as a tenant admin in EMM,
>> it prints the following message in the console,
>> *[2016-10-02 20:23:46,814] ERROR
>> {org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticator} -
>>  Authentication Request is rejected. Signature validation failed.*
>>
>> But I tried the same with the APPM pack downloaded from jenkins. But the
>> relevant error message is not getting printed in the same scenario. While
>> further analyzing, I found that by default, AssertionSignatureValidation is
>> disabled in APPM [1]. What is the reason behind disabling this?
>>
>> The config in [1] is not related to Assertion signature validation. You
>> can find App manager publisher, store SAML response validation related
>> configs in [2] (publisher) and [3] (store) and you can enable/disable
>> signature validation via '*responseSigningEnabled*' property under 
>> ssoConfiguration.
>> By default, this property is enabled in App Manager.
>>
>> jaggery SSO module is responsible for processing SAML response and
>> validating it according to given configurations [4]. Please check whether
>> the changes done to SSO module are reflected in EMM branch.
>>
>> [1] - https://github.com/wso2/product-app-manager/blob/master/mo
>> dules/distribution/product/pom.xml#L107
>> [2] - https://github.com/wso2/carbon-appmgt/blob/master/features/
>> org.wso2.carbon.appmgt.publisher.feature/src/main/
>> resources/publisher/config/publisher.json#L52
>> [3] - https://github.com/wso2/carbon-appmgt/blob/master/features
>> /org.wso2.carbon.appmgt.store.feature/src/main/resources/
>> store/config/store.json#L17
>> [4] - https://github.com/wso2/carbon-store/blob/app-manager-4.4.
>> x-kernel/jaggery-modules/sso/scripts/sso.client.js#L142
>>
>> On Sun, Oct 2, 2016 at 8:53 PM, Megala Uthayakumar 
>> wrote:
>>
>>> Hi All,
>>>
>>> When I try to login to carbon-appmgt publisher as a tenant admin in EMM,
>>> it prints the following message in the console,
>>> *[2016-10-02 20:23:46,814] ERROR
>>> {org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticator} -
>>>  Authentication Request is rejected. Signature validation failed.*
>>>
>>> But I tried the same with the APPM pack downloaded from jenkins. But the
>>> relevant error message is not getting printed in the same scenario. While
>>> further analyzing, I found that by default, AssertionSignatureValidation is
>>> disabled in APPM [1]. What is the reason behind disabling this?
>>>
>>> [1] https://github.com/wso2/product-app-manager/blob/master/
>>> modules/distribution/product/pom.xml#L107
>>>
>>> Thanks.
>>>
>>> Regards,
>>> Megala
>>> --
>>> Megala Uthayakumar
>>>
>>> Software Engineer
>>> Mobile : 0779967122
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thilini Shanika
>> Senior Software Engineer
>> WSO2, Inc.; http://wso2.com
>> 20, Palmgrove Avenue, Colombo 3
>>
>> E-mail: tgtshan...@gmail.com
>>
>>
>
>
> --
> Megala Uthayakumar
>
> Software Engineer
> Mobile : 0779967122
>
> ___
> Dev mailing 

Re: [Dev] [APPM]Signature validation failed error when trying to login to publisher of APPM as a tenant admin

2016-10-03 Thread Megala Uthayakumar
Hi Thilini,

Thank you for your explanation. The above mentioned error log got printed
if the following are not included in authenticators.xml

  false
   false

under SAML2SSOAuthenticator configuration. Because in [1] those 2
parameters are checked and if those are false, validate signature part is
skipped. If those properties are not included in authenticators.xml,
signature validation fails and the relevant error log got printed as in [2]
and this happens when the code on [3] gets executed. My question was what
is reasoning behind this?

[1]
https://github.com/wso2-extensions/identity-carbon-auth-saml2/blob/master/components/org.wso2.carbon.identity.authenticator.saml2.sso/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/SAML2SSOAuthenticator.java#L415
[2]
https://github.com/wso2-extensions/identity-carbon-auth-saml2/blob/master/components/org.wso2.carbon.identity.authenticator.saml2.sso/src/main/java/org/wso2/carbon/identity/authenticator/saml2/sso/SAML2SSOAuthenticator.java#L135
[3]
https://github.com/wso2/carbon-appmgt/blob/master/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/controllers/acs.jag#L135

Thanks.

Regards,
Megala

On Mon, Oct 3, 2016 at 12:55 PM, Thilini Shanika  wrote:

> Hi Megala,
>
> When I try to login to carbon-appmgt publisher as a tenant admin in EMM,
> it prints the following message in the console,
> *[2016-10-02 20:23:46,814] ERROR
> {org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticator} -
>  Authentication Request is rejected. Signature validation failed.*
>
> But I tried the same with the APPM pack downloaded from jenkins. But the
> relevant error message is not getting printed in the same scenario. While
> further analyzing, I found that by default, AssertionSignatureValidation is
> disabled in APPM [1]. What is the reason behind disabling this?
>
> The config in [1] is not related to Assertion signature validation. You
> can find App manager publisher, store SAML response validation related
> configs in [2] (publisher) and [3] (store) and you can enable/disable
> signature validation via '*responseSigningEnabled*' property under 
> ssoConfiguration.
> By default, this property is enabled in App Manager.
>
> jaggery SSO module is responsible for processing SAML response and
> validating it according to given configurations [4]. Please check whether
> the changes done to SSO module are reflected in EMM branch.
>
> [1] - https://github.com/wso2/product-app-manager/blob/master/
> modules/distribution/product/pom.xml#L107
> [2] - https://github.com/wso2/carbon-appmgt/blob/master/
> features/org.wso2.carbon.appmgt.publisher.feature/src/
> main/resources/publisher/config/publisher.json#L52
> [3] - https://github.com/wso2/carbon-appmgt/blob/master/
> features/org.wso2.carbon.appmgt.store.feature/src/main/
> resources/store/config/store.json#L17
> [4] - https://github.com/wso2/carbon-store/blob/app-manager-
> 4.4.x-kernel/jaggery-modules/sso/scripts/sso.client.js#L142
>
> On Sun, Oct 2, 2016 at 8:53 PM, Megala Uthayakumar 
> wrote:
>
>> Hi All,
>>
>> When I try to login to carbon-appmgt publisher as a tenant admin in EMM,
>> it prints the following message in the console,
>> *[2016-10-02 20:23:46,814] ERROR
>> {org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticator} -
>>  Authentication Request is rejected. Signature validation failed.*
>>
>> But I tried the same with the APPM pack downloaded from jenkins. But the
>> relevant error message is not getting printed in the same scenario. While
>> further analyzing, I found that by default, AssertionSignatureValidation is
>> disabled in APPM [1]. What is the reason behind disabling this?
>>
>> [1] https://github.com/wso2/product-app-manager/blob/master/
>> modules/distribution/product/pom.xml#L107
>>
>> Thanks.
>>
>> Regards,
>> Megala
>> --
>> Megala Uthayakumar
>>
>> Software Engineer
>> Mobile : 0779967122
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thilini Shanika
> Senior Software Engineer
> WSO2, Inc.; http://wso2.com
> 20, Palmgrove Avenue, Colombo 3
>
> E-mail: tgtshan...@gmail.com
>
>


-- 
Megala Uthayakumar

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


Re: [Dev] Status code in the log never get print on response path!

2016-10-03 Thread Abimaran Kugathasan
Hi Vanji,

Thanks for the fix. Your PR was merged.

On Tue, Oct 4, 2016 at 6:15 AM, Vanjikumaran Sivajothy 
wrote:

> Hi APIM team,
>
> $subject due to wrong use of method. It should be isNotEmpty[1]. I have
> fixed that and the send the pull request. Further i have introduced HTTP
> method in the log for more granular level of information to analyzing the
> log with log analyzing tools
>
>
> if (DIRECTION_OUT.equals(direction)) {
> String statusCode = String.valueOf(axisMC.
> getProperty(NhttpConstants.HTTP_SC));
>
>   *  if (StringUtils.isEmpty(statusCode)) {*
> logMessage = logMessage + " , statusCode=" + statusCode;
> }
> }
>
>
> [1] https://github.com/wso2/carbon-apimgt/blob/master/
> components/apimgt/org.wso2.carbon.apimgt.gateway/src/
> main/java/org/wso2/carbon/apimgt/gateway/handlers/
> logging/APILogMessageHandler.java#L126
>
>
> [2] https://github.com/wso2/carbon-apimgt/pull/2949
>
>
> --
> Vanjikumaran Sivajothy
> *Associate Technical Lead*
> *WSO2 Inc. http://wso2.com *
>  *+1-925-464-6816*
> [image: Facebook]  [image: Twitter]
>  [image: LinkedIn]
>  [image:
> Blogger]  [image: SlideShare]
> 
>
> This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may
> have received this communication in error, please reply to the
> sender indicating that fact and delete the copy you received and in
> addition, you should not print, copy, re-transmit, disseminate, or
> otherwise use the information contained in this communication.
> Internet communications cannot be guaranteed to be timely, secure, error
> or virus-free. The sender does not accept liability for any errors
> or omissions
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks
Abimaran Kugathasan
Senior Software Engineer - API Technologies

Email : abima...@wso2.com
Mobile : +94 773922820


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


Re: [Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Udana
Hi Isuru,

Property name is "aggregated_response" and the value is following.

* http://abc.com/>" />*

So message is getting added to above element as a child.

Thanks.

On Mon, Oct 3, 2016 at 10:17 PM, Isuru Haththotuwa  wrote:

> Hi,
>
> $subject. The relevant in and out sequences are at [1]. Here, I expect the
> aggregated response to be in a root element element named
> 'aggregated_response'. But the actual response has the root element as
> 'Information' [2]. This is APIM 1.10, synapse version is 2.1.5.wso2v2. Any
> idea why this is happening?
>
> [1].
>   
> 
>  
> 
>  expression="get-property('SYSTEM_TIME')"/>
>
>   
>  
>  
>  
>   
>
> 
> 
>
>   
>  
>   
>
> 
>  
>   
>   
>   
>
>
> * 
> http://abc.com>" />
> *
>   
>  
> 
>  
> *  enclosingElementProperty="aggregated_response">*
> 
>  
>  
>   
>
> [2].
> {
>   "Information": [
> {
>   "msg": "hello world!"
> },
> {
>   "msg": "new Hello World!!"
> }
>   ]
> }
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* *
>
>
>


-- 
*Isuru Udana*
Technical Lead
WSO2 Inc.; http://wso2.com
email: isu...@wso2.com cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Aggregate Mediator Disregarding 'enclosingElementProperty'

2016-10-03 Thread Isuru Haththotuwa
Hi,

$subject. The relevant in and out sequences are at [1]. Here, I expect the
aggregated response to be in a root element element named
'aggregated_response'. But the actual response has the root element as
'Information' [2]. This is APIM 1.10, synapse version is 2.1.5.wso2v2. Any
idea why this is happening?

[1].
  

 

   
   
  
 
 
 
  
   


   
  
 http://demo4404222.mockable.io/test/hello"/>
  
   

 
  
  
  


* 
http://abc.com>" />
*
  
 

 
* *

 
 
  

[2].
{
  "Information": [
{
  "msg": "hello world!"
},
{
  "msg": "new Hello World!!"
}
  ]
}


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Scatter and Gather Pattern for Dynamic Endpoints

2016-10-03 Thread Isuru Haththotuwa
Thanks for the info IsuruU and Viraj. Will check this.

On Mon, Oct 3, 2016 at 10:03 AM, Viraj Rajaguru  wrote:

> Hi,
>
> On Mon, Oct 3, 2016 at 7:43 AM, Isuru Udana  wrote:
>
>> Hi Isuru,
>>
>> By looking at the synapse code of RecipientListEndpoint, I can see that
>> there is an option to pick endpoint list dynamically. I am not sure whether
>> that is configurable through tooling. You may have a look on that.
>>
>
> ESB Tooling supports RecipientListEndpoint configurations.
>
> Thanks,
> Viraj.
>
>>
>> Please note that I haven't tried it out.
>>
>> Thanks.
>>
>>
>> On Sun, Oct 2, 2016 at 11:12 AM, Isuru Haththotuwa 
>> wrote:
>>
>>> Missed the link:
>>>
>>> [1]. https://docs.wso2.com/display/IntegrationPatterns/Scatter-Gather
>>>
>>> On Sun, Oct 2, 2016 at 11:12 AM, Isuru Haththotuwa 
>>> wrote:
>>>
 Hi Devs,

 Do we support $subject with latest ESB? The use case is as follows:

- The endpoints are dynamically picked up during the mediation flow
(Ex. via a DB query, etc.). The number of endpoints are not fixed
- In the aggregation, need to wait till the all the endpoints to
which the request were sent returns a response

 In the EIP sample [1], we can achieve the same with a fixed number of
 endpoints. Can we do the same with a dynamic number of endpoints?

 --
 Thanks and Regards,

 Isuru H.
 +94 716 358 048* *



>>>
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> +94 716 358 048* *
>>>
>>>
>>>
>>
>>
>> --
>> *Isuru Udana*
>> Technical Lead
>> WSO2 Inc.; http://wso2.com
>> email: isu...@wso2.com cell: +94 77 3791887
>> blog: http://mytecheye.blogspot.com/
>>
>
>
>
> --
> Viraj Rajaguru
> Associate Technical Lead
> WSO2 Inc. : http://wso2.com
>
> Mobile: +94 77 3683068
>
>
>
>


-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APPM]Signature validation failed error when trying to login to publisher of APPM as a tenant admin

2016-10-03 Thread Thilini Shanika
Hi Megala,

When I try to login to carbon-appmgt publisher as a tenant admin in EMM, it
prints the following message in the console,
*[2016-10-02 20:23:46,814] ERROR
{org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticator} -
 Authentication Request is rejected. Signature validation failed.*

But I tried the same with the APPM pack downloaded from jenkins. But the
relevant error message is not getting printed in the same scenario. While
further analyzing, I found that by default, AssertionSignatureValidation is
disabled in APPM [1]. What is the reason behind disabling this?

The config in [1] is not related to Assertion signature validation. You can
find App manager publisher, store SAML response validation related configs
in [2] (publisher) and [3] (store) and you can enable/disable signature
validation via '*responseSigningEnabled*' property under ssoConfiguration.
By default, this property is enabled in App Manager.

jaggery SSO module is responsible for processing SAML response and
validating it according to given configurations [4]. Please check whether
the changes done to SSO module are reflected in EMM branch.

[1] - https://github.com/wso2/product-app-manager/blob/
master/modules/distribution/product/pom.xml#L107
[2] -
https://github.com/wso2/carbon-appmgt/blob/master/features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/config/publisher.json#L52

[3] -
https://github.com/wso2/carbon-appmgt/blob/master/features/org.wso2.carbon.appmgt.store.feature/src/main/resources/store/config/store.json#L17
[4] -
https://github.com/wso2/carbon-store/blob/app-manager-4.4.x-kernel/jaggery-modules/sso/scripts/sso.client.js#L142

On Sun, Oct 2, 2016 at 8:53 PM, Megala Uthayakumar  wrote:

> Hi All,
>
> When I try to login to carbon-appmgt publisher as a tenant admin in EMM,
> it prints the following message in the console,
> *[2016-10-02 20:23:46,814] ERROR
> {org.wso2.carbon.identity.authenticator.saml2.sso.SAML2SSOAuthenticator} -
>  Authentication Request is rejected. Signature validation failed.*
>
> But I tried the same with the APPM pack downloaded from jenkins. But the
> relevant error message is not getting printed in the same scenario. While
> further analyzing, I found that by default, AssertionSignatureValidation is
> disabled in APPM [1]. What is the reason behind disabling this?
>
> [1] https://github.com/wso2/product-app-manager/blob/
> master/modules/distribution/product/pom.xml#L107
>
> Thanks.
>
> Regards,
> Megala
> --
> Megala Uthayakumar
>
> Software Engineer
> Mobile : 0779967122
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thilini Shanika
Senior Software Engineer
WSO2, Inc.; http://wso2.com
20, Palmgrove Avenue, Colombo 3

E-mail: tgtshan...@gmail.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [BPMN] Best practice in storing user credentials required for service tasks

2016-10-03 Thread Thilini Cooray
Hi Chamila,

Thank you for the prompt reply.
We will be able to cater the requirement by sharing user store between APIM
and Activiti.



On Mon, Oct 3, 2016 at 11:34 AM, Chamila Adhikarinayake 
wrote:

> One option would be to send the credentials with the workflow approval
> request from the api manager executor. You can set that credentials in the
> workflow-extension.xml file and retrieve it from the executor and pass it
> with the request to the activiti engine.
>
> On Mon, Oct 3, 2016 at 11:29 AM, Thilini Cooray  wrote:
>
>> Hi all,
>>
>> I have a BPMN process which is created for application creation approval
>> in API Manager. This process is deployed in a Activiti engine.
>> Once the user task is completed, I want to send a callback service back
>> to API Manager in order to change the application's status in APIM side.
>>
>> I would like to know the best way to retrieve user credentials and store
>> them in order to call any external service (callback service to APIM in
>> this scenario).
>>
>> Thank you.
>>
>> --
>> Best Regards,
>>
>> *Thilini Cooray*
>> Software Engineer
>> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20774%20570112>
>> E-mail : thili...@wso2.com
>>
>> WSO2 Inc. www.wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Regards,
> Chamila Adhikarinayake
> Software Engineer
> WSO2, Inc.
> Mobile - +94712346437
> Email  - chami...@wso2.com
> Blog  -  http://helpfromadhi.blogspot.com/
>



-- 
Best Regards,

*Thilini Cooray*
Software Engineer
Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20774%20570112>
E-mail : thili...@wso2.com

WSO2 Inc. www.wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to instrument ESB car file

2016-10-03 Thread Palani Tester
Hi All,


I tried to instrument car file to get dynamic code coverage using Emma tool. 
But server didn't start up after instrumentation done.


Anybody has done instrumentation for ESB car files and got the code coverage?



Thanks,

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


Re: [Dev] [BPMN] Best practice in storing user credentials required for service tasks

2016-10-03 Thread Chamila Adhikarinayake
One option would be to send the credentials with the workflow approval
request from the api manager executor. You can set that credentials in the
workflow-extension.xml file and retrieve it from the executor and pass it
with the request to the activiti engine.

On Mon, Oct 3, 2016 at 11:29 AM, Thilini Cooray  wrote:

> Hi all,
>
> I have a BPMN process which is created for application creation approval
> in API Manager. This process is deployed in a Activiti engine.
> Once the user task is completed, I want to send a callback service back to
> API Manager in order to change the application's status in APIM side.
>
> I would like to know the best way to retrieve user credentials and store
> them in order to call any external service (callback service to APIM in
> this scenario).
>
> Thank you.
>
> --
> Best Regards,
>
> *Thilini Cooray*
> Software Engineer
> Mobile : +94 (0) 774 570 112 <%2B94%20%280%29%20774%20570112>
> E-mail : thili...@wso2.com
>
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
>



-- 
Regards,
Chamila Adhikarinayake
Software Engineer
WSO2, Inc.
Mobile - +94712346437
Email  - chami...@wso2.com
Blog  -  http://helpfromadhi.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev