Hi Anuruddha,

IMO $subject is not appropriate, Configurator needs to be independent from
the template module parameters:

# Converting Members to dictionary
if "STRATOS_WKA_MEMBERS" in context:
    context["STRATOS_WKA_MEMBERS"] =
ConfigParserUtil.convert_properties_to_dictionary(
        context['STRATOS_WKA_MEMBERS'])

if "STRATOS_HTTP_PORT_MAPPING" in context:
    context["STRATOS_HTTP_PORT_MAPPING"] =
ConfigParserUtil.convert_properties_to_dictionary(
        context["STRATOS_HTTP_PORT_MAPPING"])

if "STRATOS_HTTPS_PORT_MAPPING" in context:
    context["STRATOS_HTTPS_PORT_MAPPING"] =
ConfigParserUtil.convert_properties_to_dictionary(
        context["STRATOS_HTTPS_PORT_MAPPING"])

Is there anyway we can avoid this?

Thanks

-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to