wso2am/1.9.1/plugins/wso2am-startup-handler.py
def populate_sub_domains(self, service_name):
        """
        set sub domain based on the service name
        for manager, sub domain as mgt
        for worker, sub domain as worker
        :return: void
        """
        sub_domain = None
        if service_name.endswith(self.CONST_MANAGER):
            sub_domain = self.CONST_MGT
        elif service_name.endswith(self.CONST_WORKER):
            sub_domain = self.CONST_WORKER
        if sub_domain is not None:
            self.export_env_var(self.ENV_CONFIG_PARAM_SUB_DOMAIN, sub_domain)

        set sub domain based on the service name
        for manager, sub domain as mgt
        for worker, sub domain as worker
        :return: void
        
set sub domain based on the service name
for manager, sub domain as mgt
for worker, sub domain as worker
set sub domain based on the service name for manager sub domain as mgt for worker sub domain as worker
def populate_sub_domains(self, service_name):
        sub_domain = None
        if service_name.endswith(self.CONST_MANAGER):
            sub_domain = self.CONST_MGT
        elif service_name.endswith(self.CONST_WORKER):
            sub_domain = self.CONST_WORKER
        if sub_domain is not None:
            self.export_env_var(self.ENV_CONFIG_PARAM_SUB_DOMAIN, sub_domain)
def populate_sub_domains ( self , service_name ) : sub_domain = None if service_name . endswith ( self . CONST_MANAGER ) : sub_domain = self . CONST_MGT elif service_name . endswith ( self . CONST_WORKER ) : sub_domain = self . CONST_WORKER if sub_domain is not None : self . export_env_var ( self . ENV_CONFIG_PARAM_SUB_DOMAIN , sub_domain )
set sub domain based on the service name
for manager, sub domain as mgt
for worker, sub domain as worker
set sub domain based on the service name for manager sub domain as mgt for worker sub domain as worker
"""
        set sub domain based on the service name
        for manager, sub domain as mgt
        for worker, sub domain as worker
        :return: void
        """
None
self
service_name