Re: [Dev] [APIM] Read only source view not allowed to edit single API

2017-04-18 Thread Mariangela Hills
Thanks for reporting! I updated [1] and [2] as follows: - Removed the instructions that explain how to update the API source code via the source view UI in order to engage a custom API to a specific set of APIs. - Mentioned that the velocity_template should be used to engage a custom

Re: [Dev] [APIM] Read only source view not allowed to edit single API

2017-04-18 Thread Mariangela Hills
Ack for docs! Regards, Mariangela *Mariangela Hills* Associate Lead Technical Writer - WSO2, Inc. http://wso2.com Committer and PMC member - Apache Stratos email:mariang...@wso2.com | mobile: +94 773 500185 On Tue, Apr 18, 2017 at 11:22 AM, Lakmali Baminiwatta wrot

Re: [Dev] [APIM] Read only source view not allowed to edit single API

2017-04-17 Thread Lakmali Baminiwatta
Hi Lakshman, It is not recommended to update the API source code via source view UI or file system since it will get overridden by publisher updates. We have to update the docs by removing that part. The recommended way is to add it via the velocity template. If there is a requirement to add it on

Re: [Dev] [APIM] Read only source view not allowed to edit single API

2017-04-16 Thread Shazni Nazeer
May be this is bug. In addition despite you add the handler via source view or through file system in API level, and then if you happen to update the API in publisher, all custom handler (or any property) that you add get vanished as the API gets updated, the new synapse file overwrite it. So you'

[Dev] [APIM] Read only source view not allowed to edit single API

2017-04-15 Thread Lakshman Udayakantha
Hi Folks, I was trying to add a custom handler to a single API in API Manager. According to [1], we can edit the source view of API and add customer handler in handler section. Anyway, I can't do that in APIM 2.0.0 because source view is read-only. This can be done in earlier versions like 1.10.0.