This should be moved to architecture.

On Mon, Mar 10, 2014 at 5:36 PM, Amila De Silva <[email protected]> wrote:

> Hi,
>
> Currently the configuration for Workflow Executors are kept in the
> api-manager.xml due to which all the tenants living in a APIM Deployment
> have to use the same executors defined by the Super Tenant Admin. To allow
> Tenants configure their own executors, Workflow Configurations will be
> moved to the Registry.
>
> Following places will be changed when accommodating this;
>
> 1. With the existing implementation, Workflow Executor Factory reads the
> config and maintains  a map for different executors needed by each Workflow
> Type. This factory will be changed to hold Workflows defined by each
> different tenant.
>
> 2. At present, the configuration is read only at the start up.  When
> moving those to the registry, users will be able to change them at any
> moment and the data structure created out of the configs will have to be
> updated reflecting the changes. This will be done using a Registry Handler.
>
> 3. To reduce frequent accesses of the registry resource, the data
> structure created out by parsing the config will be cached. The new
> registry handler which gets called upon updating the config will be
> responsible for invalidating the cache.
>
> Comments are welcome.
>
> --
> *Amila De Silva*
>
> *Software Engineer*
> WSO2 Inc.
> mobile :(+94) 775119302
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
/sumedha
b :  bit.ly/sumedha
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to