Hi All,

This seems to be a valid use case, we have changed the endpoint config to
maintain additional  attributes map where it can keep key value pairs

"endpointConfig": [
        {
          "url": "http://localhost:8280/ep1";,
          "timeout": "1000",
           "attributes" : []
        },
        {
          "url": "http://localhost:8280/ep2";,
          "timeout": "3000",
          "attributes" : [{name:"suspendedTime", "value":"3s"}]
        }
      ],

On Mon, Aug 27, 2018 at 11:18 AM Youcef HILEM <[email protected]>
wrote:

> Hi,
>
> Can we add custom key-values to the endpoint config ?
>
> One of the keys for example is the DataCenter where the backend is
> deployed.
> This will simplify how to implement a load-balancing affinity to preferred
> data center.
>
> Thanks
> Youcef HILEM
>
>
>
> --
> Sent from:
> http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
Rajith Roshan
Senior Software Engineer, WSO2 Inc.
Mobile: +94-717-064-214
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to