Dear all,

By going through the issues faced by the customers in the past I discovered
the following issues:

   1. Continue the execution on cache hit. Reported as an issue in github[1]
   2. Issue in processing JSON array (payload) with a single element when
   response caching is enabled where expected response is:

[
   {
      "msg":"Hello",
      "services":[
         "elec",
         "patrol"
      ],
      "test":"World."
   },
   {
      "msg":"Hi",
      "services":[
         "water"
      ],
      "test":"Sri Lanka."
   }
]

but received response is:

[
{ "msg": "Hello", "services": [ "elec", "patrol" ], "test": "World." }

,
{ "msg": "Hi", "services": "water", "test": "Sri Lanka." }

]

This issue has been fixed in the carbon mediation[2].

           3.  When a xml body with processing instructions is stored in
cache and sent back as json it fails with an exception. Issue was reported
in 2015 and already has a fix in current EI.

Since the last two issues have been already fixed, I would like to know
what other issues if any needs to be addressed and if a complete rewrite of
the cache mediator would be required.

[1] https://github.com/wso2/product-ei/issues/695

[2]
https://github.com/riyafa/carbon-mediation/commit/7aaf597988a333e1cad36dc0b5057e24fb779a5c


Thank you.

Riyafa

-- 
Riyafa Abdul Hameed
Software Engineer, WSO2 Lanka (Pvt) Ltd <http://wso2.com/>

Email: [email protected] <[email protected]>
Website: https://riyafa.wordpress.com/ <http://riyafa.wordpress.com/>
<http://facebook.com/riyafa.ahf>  <http://lk.linkedin.com/in/riyafa>
<http://twitter.com/Riyafa1>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to