Hi all,

>
>    1. Inject configuration parameters to Synapse at runtime
>    This would include parameters such as URI endpoints
>
> I've been working on the above function and as for progress so far;

   1. Created a ConfigMap setup in Kubernetes and connected it with the
   Synapse deployment to pass environment variables.
   This is to make the image completely environment independent, in keeping
   with the 12 Factors.
   2. Took inspiration from WSO2 EI <https://ei.docs.wso2.com/en/latest/>
   and which already has similar functionality
   
<https://docs.wso2.com/display/EI660/Injecting+Parameters+as+Environment+Variables>,
   and ported it to Synapse.
   The first pull request including the relevant classes can be found in
   linked PR to my local fork: https://github.com/n-jay/synapse/pull/1.
   Haven't merged it yet due to CD build failure because of a version
   mismatch.

I'm currently debugging this implementation.

Would appreciate some feedback on this.
Kind regards



[image: image.gif]

On Fri, Aug 6, 2021 at 3:27 PM Nuwan Jayawardene <nsga...@gmail.com> wrote:

> Hi All,
> I’m currently working on a project containerizing Synapse, taking it into
> a cloud-native form.
> The work done so far is as follows;
>
>    - Dockerize Synapse using Dockerfile
>    - Get Synapse to run within Kubernetes environment in a deployment
>    - Setup a Kubernetes cluster in the Ambassador pattern with Synapse
>    acting as a proxy between a dockerized client and server (for testing
>    purposes).
>
> Moving forward I’m working on developing the following;
>
>    1. Inject configuration parameters to Synapse at runtime
>    This would include parameters such as URI endpoints
>    2. Reduce Synapse image size by making runtime more lean.
>    By measuring performance metrics and reducing
>    legacy/redundant/superfluous components
>
> Would greatly appreciate your thoughts and feedback on this.
> Regards
>
> --
> *Nuwan Jayawardene*
> Assistant Lecturer, Informatics Institute of Technology (IIT).
> Research Assistant, University of Moratuwa
> Tel - +94 71 181 3299
> https://www.linkedin.com/m/in/nuwanjaya
>
>
> [image: image.gif]
>


-- 
*Nuwan Jayawardene*
Assistant Lecturer, Informatics Institute of Technology (IIT).
Research Assistant, University of Moratuwa
Tel - +94 71 181 3299
https://www.linkedin.com/m/in/nuwanjaya

Reply via email to