Hi All

Shall we use Apache Velocity to generate synapse config for APIs. Key
benefits using Velocity over current method are.

1. Will be able to reduce the existing number of template files. ( Eg. To
enable / disable JWT only need to use If condition inside the template )

2. Can move most of the config generating logic in to the template thus
reducing the complexity of the template builders.

3. Can come up with more powerful and flexible templates. ( Eg. If tenant
id is passed to template user can customize how the apis are generated
based on tenants  )

Apache Velocity is already included in APIM so we do not need additional
dependencies.

Regards
Jo

-- 
*Joseph Fonseka*
 WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 772 512 430
skype: jpfonseka

* <http://lk.linkedin.com/in/rumeshbandara>*
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to