Re: [Dev] [Carbon-jira] [jira] (DEVTOOLPFM-11) CApp uploading fails in EI-Alpha

2017-02-16 Thread Susinda Perera
Hi Malith
I have fixed few issues related to port change in tooling pack. And now i'm
getting a error saying "Mime type is not supported" when i upload capp via
admin service stubs. Same is working for other servers, therefore i think
there is a fix need to be coming from EI server as well.
@Madhawa as discussed could you give me a pack to test this.

Thanks
Susinda


On Thu, Feb 16, 2017 at 11:28 AM, Malith Munasinghe (JIRA) 
wrote:

> Malith Munasinghe
> 
> *created* an issue
>
> devstudio-tooling-platform  / [image:
> Bug]  DEVTOOLPFM-11
> 
> CApp uploading fails in EI-Alpha
> 
> Issue Type: [image: Bug] Bug
> Assignee: Susinda Perera
> 
> Created: 16/Feb/17 11:27 AM
> Priority: [image: Normal] Normal
> Reporter: Malith Munasinghe
> 
>
> CApp uploading fails in EI-Alpha EI server mode and remote server mode
> [image: Add Comment]
>  Add Comment
> 
>
> This message was sent by Atlassian JIRA (v7.2.2#72004-sha1:9d51328)
> [image: Atlassian logo]
>
> ___
> Carbon-jira mailing list
> carbon-j...@wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/carbon-jira
>
>


-- 
*Susinda Perera*
Software Engineer
B.Sc.(Eng), M.Sc(Computer Science), AMIE(SL)
Mobile:(+94)716049075
Blog: susinda.blogspot.com
WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Releasing puppet-base 1.0.0 and puppet-common 1.0.0

2017-02-16 Thread Pubudu Gunatilaka
Hi Devs,

We are currently doing final testing for releasing puppet-base [1] and
puppet-common [2] repositories. Once these repos are released, puppet-apim,
puppet-iot and puppet-is can be released for latest product versions.
Please let us know if you have any concerns.

[1] - https://github.com/wso2/puppet-base
[2] - https://github.com/wso2/puppet-common

Thank you!
-- 
*Pubudu Gunatilaka*
Committer and PMC Member - Apache Stratos
Software Engineer
WSO2, Inc.: http://wso2.com
mobile : +94774078049 <%2B94772207163>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting Started.

2017-02-16 Thread Tishan Dahanayakage
Hi  Ishmeher Singh Ahuja,

First of all please call me Tishan. No 'Sir' needed. :)
As starting point what you can do is to start creating an idea plugin, not
particularly for Siddhi but for more simple language with syntax
highlighting and code completion. Also you can get yourself familiar with
programming languages. Later we can move to Siddhi.
Regarding contributions we would happily accept any code/comment
improvements you can make. Just send in a pull request. Also you can browse
through issues[1] [2] and find anything which can be fixed with less effort
and context knowledge.

Thanks
/Tishan

On Thu, Feb 16, 2017 at 11:41 PM, Ishmeher Singh Ahuja <
ishmeher@gmail.com> wrote:

> Respected Sir,
>
> My name is Ishmeher Singh Ahuja. This mail is in continuation of my
> previous mail dated February 9, 2017 wherein I had expressed interest in
> working on the GSoC '17 project: Idea Plugin for Siddhi.
>
> I have read through the references sent to me by Tishan Sir for
> introduction, and believe that I can start to work on the project. Could
> you please help me proceed further and let me know of some way via which I
> can start contributing?
>
> Thank you.
>



-- 
Tishan Dahanayakage
Senior Software Engineer
WSO2, Inc.
Mobile:+94 716481328

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


Re: [Dev] [DEV][APIM][C5] - Caching requirement for OAuth2 protected microservices

2017-02-16 Thread Maduranga Siriwardena
Hi Rajith,

I think this is a generic requirement for all the C5 based products rather
than for this specific use case. So we need to come up with a solution that
can be used across the platform.

Thanks,

On Thu, Feb 16, 2017 at 12:37 AM, Rajith Roshan  wrote:

> Hi all,
>
> In C5 API Manager  back end REST APIs (micro services) are protected using
> oauth2 token. Every time request comes to micro services, interceptor will
> validate the access token sent in the authorization header of the request.
> In order to validate the token we need to do a introspection call to the
> key manager.  We can not do this introspection call to the key manager for
> each and every request. We need a caching layer at the interceptor level in
> order to cache the access tokens.
>
> We are going to use local cache with small cache timeout periods for this.
> What are the best caching systems we can use for this.
> We can use either JCache (javax.cache), google guava cache[1] which are
> specially used as local caches. "Memcached" [2] is also another option but
> mostly used in distributed systems.
>
> [1] - https://github.com/google/guava/wiki/CachesExplained
> [2] - https://memcached.org/
> --
> Rajith Roshan
> Software Engineer, WSO2 Inc.
> Mobile: +94-72-642-8350 <%2B94-71-554-8430>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Maduranga Siriwardena
Software Engineer
WSO2 Inc; http://wso2.com/

Email: madura...@wso2.com
Mobile: +94718990591
Blog: http://madurangasblogs.blogspot.com/

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


Re: [Dev] BPS 3.6.0 Problem with retry Invoke

2017-02-16 Thread Vinod Kavinda
Hi,
In order to retry is possible, you need to configure your BPEL in such a
way. Following blog pos t[1] from our colleague might help.

[1] -
http://tryitnw.blogspot.com/2014/03/recovering-bpel-activity-failures-wso2.html

Regards,
Vinod

On Thu, Feb 16, 2017 at 12:09 PM, Melodias  wrote:

> Hi,
> I have problem with retry invoke when web service send me back fault
> message.
> When I login into the console and select BPEL Instances, my instance have
> status failed and I can't use Retry option on that Invoke.
> Any idea how to config process to let me retry invoke when i got fault
> message?
>
>
>
> --
> View this message in context: http://wso2-oxygen-tank.10903.
> n7.nabble.com/BPS-3-6-0-Problem-with-retry-Invoke-tp146592.html
> Sent from the WSO2 Development mailing list archive at Nabble.com.
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>



-- 
Vinod Kavinda
Software Engineer
*WSO2 Inc. - lean . enterprise . middleware .*
Mobile : +94 (0) 712 415544
Blog : http://soatechflicks.blogspot.com/
[image: http://wso2.com/signature]

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


[Dev] Please review and merge

2017-02-16 Thread Isura Karunaratne
Hi APIM team,

Please review and merge [1]
[1] https://github.com/wso2/carbon-lcm/pull/1

Thanks
Isura.



*Isura Dilhara Karunaratne*
Senior Software Engineer | WSO2
Email: is...@wso2.com
Mob : +94 772 254 810
Blog : http://isurad.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread Kasun Thennakoon
Hi Chandana,

Thanks for the info, We will update the versions accordingly.

Thanks
~KasunTe

On Thu, Feb 16, 2017 at 6:11 PM, Chandana Napagoda 
wrote:

> HI Kasun/Roshan,
>
> This issue occurred since UUF M12 has not included some required fixes. So
> please use UUF M13 and uuf-common M5 version and fix which you have
> suggested is not required anymore.
>
> Regards,
> Chandana
>
> On Thu, Feb 16, 2017 at 4:05 PM, SajithAR Ariyarathna 
> wrote:
>
>> Hi Roshan,
>>
>> Thanks for the PR. I have put some comments, please have a look.
>>
>> Thanks.
>>
>> On Thu, Feb 16, 2017 at 3:01 PM, Roshan Wijesena  wrote:
>>
>>> It seems Kasun is right,
>>>
>>> the object "data" is by-default coming as html/text. so we don't need
>>> use it as 'data.html' .
>>>
>>> Since this is a blocker for APIM C5 - M1 release for now I have sent a
>>> pull request with a fix. Please review and merge.
>>>
>>> https://github.com/wso2/carbon-uuf-common/pull/41/files
>>>
>>>
>>> On Tue, Feb 14, 2017 at 10:42 AM, Kasun Thennakoon 
>>> wrote:
>>>
 Hi all,

 Experience the $subject when using UUF-Client for
 rendering hbs fragments.
 As I understand, the response of 
 *http://localhost:9090/publisher/fragments/{fragment-name}
  *contains
 an HTML string and in this line[1] it is looking for *.html* attribute
 in the response object when calling *pushContent* method. Which pass
 an *undefined *value.IMHO this is what cause to display no content in
 the target zone.


 [1]: https://github.com/wso2/carbon-uuf-common/blob/master/c
 omponents/org.wso2.carbon.uuf.common.foundation.ui/src/main/
 fragments/uuf-client/public/uuf-client/uuf-client.js#L226

 --
 *Kasun Thennakoon*
 Software Engineer
 WSO2, Inc.
 Mobile:+94 711661919

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


>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94719154640 <+94%2071%20915%204640>*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com *
>>> lean.enterprise.middleware.
>>>
>>
>>
>>
>> --
>> Sajith Janaprasad Ariyarathna
>> Software Engineer; WSO2, Inc.;  http://wso2.com/
>> 
>>
>
>
>
> --
> *Chandana Napagoda*
> Associate Technical Lead
> WSO2 Inc. - http://wso2.org
>
> *Email  :  chand...@wso2.com **Mobile : +94718169299
> <+94%2071%20816%209299>*
>
> *Blog  :http://cnapagoda.blogspot.com 
> | http://chandana.napagoda.com *
>
> *Linkedin : http://www.linkedin.com/in/chandananapagoda
> *
>
>


-- 
*Kasun Thennakoon*
Software Engineer
WSO2, Inc.
Mobile:+94 711661919
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] How to get a query parameter in a REst request?

2017-02-16 Thread Shani Ranasinghe
Hi Ishara,

I was able to get it  working as follows.


http://ws.apache.org/ns/synapse; name="admin--WB:v1--In">
   
  
 
   


On Thu, Feb 16, 2017 at 5:42 PM, Abimaran Kugathasan 
wrote:

> Hi Ishara,
>
> Have you tried using get-property('query.param.clientId')?
>
> You need to define Endpoint like
>
> https://localhost:9444//wb/1/countries/us?clientId={query.param.clientId}
>
> On Thu, Feb 16, 2017 at 5:19 PM, Ishara Cooray  wrote:
>
>> In APIM 2.1.0 i am trying to read a request query parameter .
>>
>> i have this request "GET /wb/1/countries/us?clientId=isharac
>>
>> in an In sequence i read query parameter as below.
>> 
>>
>> But when i log it 'cid' is null
>> am i doing anything wrong here?
>> how can i read the query param in a seq?
>>
>> This is the sequence i used.
>>
>> 
>> http://ws.apache.org/ns/synapse;
>> name="admin--WB:v1--In">
>>
>>   
>>  
>>
>> 
>>
>>
>> I also tried, get-property('$uri:clientId') and get-property('$url') and
>> they are also null.
>>
>> When i debug, i couldn't find these properties in message context.
>>
>> Alternatively,
>> following property is there in the message context. So what is the best
>> way to get clientId from this property? If so is it a good approach?
>>
>> REST_FULL_REQUEST_PATH=/ta/1/menu?clientId=isharaccc
>>
>>
>> Thanks & Regards,
>> Ishara Cooray
>> Senior Software Engineer
>> Mobile : +9477 262 9512 <+94%2077%20262%209512>
>> WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> ___
>> 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 <+94%2077%20392%202820>
>
> 
> 
>   
> 
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks and Regards
*,Shani Ranasinghe*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread Chandana Napagoda
HI Kasun/Roshan,

This issue occurred since UUF M12 has not included some required fixes. So
please use UUF M13 and uuf-common M5 version and fix which you have
suggested is not required anymore.

Regards,
Chandana

On Thu, Feb 16, 2017 at 4:05 PM, SajithAR Ariyarathna 
wrote:

> Hi Roshan,
>
> Thanks for the PR. I have put some comments, please have a look.
>
> Thanks.
>
> On Thu, Feb 16, 2017 at 3:01 PM, Roshan Wijesena  wrote:
>
>> It seems Kasun is right,
>>
>> the object "data" is by-default coming as html/text. so we don't need use
>> it as 'data.html' .
>>
>> Since this is a blocker for APIM C5 - M1 release for now I have sent a
>> pull request with a fix. Please review and merge.
>>
>> https://github.com/wso2/carbon-uuf-common/pull/41/files
>>
>>
>> On Tue, Feb 14, 2017 at 10:42 AM, Kasun Thennakoon 
>> wrote:
>>
>>> Hi all,
>>>
>>> Experience the $subject when using UUF-Client for
>>> rendering hbs fragments.
>>> As I understand, the response of 
>>> *http://localhost:9090/publisher/fragments/{fragment-name}
>>>  *contains
>>> an HTML string and in this line[1] it is looking for *.html* attribute
>>> in the response object when calling *pushContent* method. Which pass an 
>>> *undefined
>>> *value.IMHO this is what cause to display no content in the target zone.
>>>
>>>
>>> [1]: https://github.com/wso2/carbon-uuf-common/blob/master/c
>>> omponents/org.wso2.carbon.uuf.common.foundation.ui/src/main/
>>> fragments/uuf-client/public/uuf-client/uuf-client.js#L226
>>>
>>> --
>>> *Kasun Thennakoon*
>>> Software Engineer
>>> WSO2, Inc.
>>> Mobile:+94 711661919
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Roshan Wijesena.
>> Senior Software Engineer-WSO2 Inc.
>> Mobile: *+94719154640 <+94%2071%20915%204640>*
>> Email: ros...@wso2.com
>> *WSO2, Inc. :** wso2.com *
>> lean.enterprise.middleware.
>>
>
>
>
> --
> Sajith Janaprasad Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> 
>



-- 
*Chandana Napagoda*
Associate Technical Lead
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com  |
http://chandana.napagoda.com *

*Linkedin : http://www.linkedin.com/in/chandananapagoda
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DEV] How to get a query parameter in a REst request?

2017-02-16 Thread Abimaran Kugathasan
Hi Ishara,

Have you tried using get-property('query.param.clientId')?

You need to define Endpoint like

https://localhost:9444//wb/1/countries/us?clientId={query.param.clientId}

On Thu, Feb 16, 2017 at 5:19 PM, Ishara Cooray  wrote:

> In APIM 2.1.0 i am trying to read a request query parameter .
>
> i have this request "GET /wb/1/countries/us?clientId=isharac
>
> in an In sequence i read query parameter as below.
> 
>
> But when i log it 'cid' is null
> am i doing anything wrong here?
> how can i read the query param in a seq?
>
> This is the sequence i used.
>
> 
> http://ws.apache.org/ns/synapse; name="admin--WB:v1--In">
>
>   
>  
>
> 
>
>
> I also tried, get-property('$uri:clientId') and get-property('$url') and
> they are also null.
>
> When i debug, i couldn't find these properties in message context.
>
> Alternatively,
> following property is there in the message context. So what is the best
> way to get clientId from this property? If so is it a good approach?
>
> REST_FULL_REQUEST_PATH=/ta/1/menu?clientId=isharaccc
>
>
> Thanks & Regards,
> Ishara Cooray
> Senior Software Engineer
> Mobile : +9477 262 9512 <+94%2077%20262%209512>
> WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> ___
> 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


[Dev] [DEV] How to get a query parameter in a REst request?

2017-02-16 Thread Ishara Cooray
In APIM 2.1.0 i am trying to read a request query parameter .

i have this request "GET /wb/1/countries/us?clientId=isharac

in an In sequence i read query parameter as below.


But when i log it 'cid' is null
am i doing anything wrong here?
how can i read the query param in a seq?

This is the sequence i used.


http://ws.apache.org/ns/synapse; name="admin--WB:v1--In">
   
  
 
   



I also tried, get-property('$uri:clientId') and get-property('$url') and
they are also null.

When i debug, i couldn't find these properties in message context.

Alternatively,
following property is there in the message context. So what is the best way
to get clientId from this property? If so is it a good approach?

REST_FULL_REQUEST_PATH=/ta/1/menu?clientId=isharaccc


Thanks & Regards,
Ishara Cooray
Senior Software Engineer
Mobile : +9477 262 9512
WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread SajithAR Ariyarathna
Hi Roshan,

Thanks for the PR. I have put some comments, please have a look.

Thanks.

On Thu, Feb 16, 2017 at 3:01 PM, Roshan Wijesena  wrote:

> It seems Kasun is right,
>
> the object "data" is by-default coming as html/text. so we don't need use
> it as 'data.html' .
>
> Since this is a blocker for APIM C5 - M1 release for now I have sent a
> pull request with a fix. Please review and merge.
>
> https://github.com/wso2/carbon-uuf-common/pull/41/files
>
>
> On Tue, Feb 14, 2017 at 10:42 AM, Kasun Thennakoon 
> wrote:
>
>> Hi all,
>>
>> Experience the $subject when using UUF-Client for rendering hbs fragments.
>> As I understand, the response of 
>> *http://localhost:9090/publisher/fragments/{fragment-name}
>>  *contains
>> an HTML string and in this line[1] it is looking for *.html* attribute
>> in the response object when calling *pushContent* method. Which pass an 
>> *undefined
>> *value.IMHO this is what cause to display no content in the target zone.
>>
>>
>> [1]: https://github.com/wso2/carbon-uuf-common/blob/master/c
>> omponents/org.wso2.carbon.uuf.common.foundation.ui/src/main/
>> fragments/uuf-client/public/uuf-client/uuf-client.js#L226
>>
>> --
>> *Kasun Thennakoon*
>> Software Engineer
>> WSO2, Inc.
>> Mobile:+94 711661919
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Roshan Wijesena.
> Senior Software Engineer-WSO2 Inc.
> Mobile: *+94719154640 <+94%2071%20915%204640>*
> Email: ros...@wso2.com
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>



-- 
Sajith Janaprasad Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/

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


[Dev] [MSF4J] Please Review and Merge the PR - MSF4J Session Management

2017-02-16 Thread Vidura Nanayakkara
Hi all,

Please review and merge the PR [1] .
The relevant GitHub issues could be found at [2]
.

Please do clarify any issue with me if anything is not clear or feel free
to ask for a meeting if required :)

[1] https://github.com/wso2/msf4j/pull/352

[2] https://github.com/wso2/msf4j/issues/349


Best Regards,

*Vidura Nanayakkara*
Software Engineer

Email : vidu...@wso2.com
Mobile : +94 (0) 717 919277
Web : http://wso2.com
Blog : https://medium.com/@viduran 
Twitter : http://twitter.com/viduranana
LinkedIn : https://lk.linkedin.com/in/vidura-nanayakkara 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [MSF4J] Please Review and Merge the PR - MSF4J Interceptors

2017-02-16 Thread Vidura Nanayakkara
Hi all,

Please review and merge the PR [1] .
The relevant GitHub issues are [2]
 and [3]
. The relevant email discussion
in the Architecture mail thread could be found at [4]

.

Please do clarify any issue with me if anything is not clear or feel free
to ask for a meeting if required :)

[1] https://github.com/wso2/msf4j/pull/338

[2] https://github.com/wso2/msf4j/issues/335

[3] https://github.com/wso2/msf4j/issues/336

[4] 
http://wso2-oxygen-tank.10903.n7.nabble.com/MSF4J-MSF4J-Filter-Configuration-td145277.html


Best Regards,

*Vidura Nanayakkara*
Software Engineer

Email : vidu...@wso2.com
Mobile : +94 (0) 717 919277
Web : http://wso2.com
Blog : https://medium.com/@viduran 
Twitter : http://twitter.com/viduranana
LinkedIn : https://lk.linkedin.com/in/vidura-nanayakkara 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [UUF] UUF-Client renderFragment fails with warning "Content is empty."

2017-02-16 Thread Roshan Wijesena
It seems Kasun is right,

the object "data" is by-default coming as html/text. so we don't need use
it as 'data.html' .

Since this is a blocker for APIM C5 - M1 release for now I have sent a pull
request with a fix. Please review and merge.

https://github.com/wso2/carbon-uuf-common/pull/41/files


On Tue, Feb 14, 2017 at 10:42 AM, Kasun Thennakoon  wrote:

> Hi all,
>
> Experience the $subject when using UUF-Client for rendering hbs fragments.
> As I understand, the response of 
> *http://localhost:9090/publisher/fragments/{fragment-name}
>  *contains
> an HTML string and in this line[1] it is looking for *.html* attribute in
> the response object when calling *pushContent* method. Which pass an 
> *undefined
> *value.IMHO this is what cause to display no content in the target zone.
>
>
> [1]: https://github.com/wso2/carbon-uuf-common/blob/master/
> components/org.wso2.carbon.uuf.common.foundation.ui/src/
> main/fragments/uuf-client/public/uuf-client/uuf-client.js#L226
>
> --
> *Kasun Thennakoon*
> Software Engineer
> WSO2, Inc.
> Mobile:+94 711661919
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
Email: ros...@wso2.com
*WSO2, Inc. :** wso2.com *
lean.enterprise.middleware.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] BPS 3.6.0 Problem with retry Invoke

2017-02-16 Thread Melodias
Hi,
I have problem with retry invoke when web service send me back fault
message.
When I login into the console and select BPEL Instances, my instance have
status failed and I can't use Retry option on that Invoke.
Any idea how to config process to let me retry invoke when i got fault
message?



--
View this message in context: 
http://wso2-oxygen-tank.10903.n7.nabble.com/BPS-3-6-0-Problem-with-retry-Invoke-tp146592.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev