wso2das/3.0.0/plugins/wso2das-startup-handler.py
def export_cluster_ids(self, cluster_of_service):
        """
        Set clusterIds of services read from topology for worker manager instances
        else use own clusterId

        :return: void
        """
        cluster_ids = []
        cluster_id_of_service = None
        properties = None
        if cluster_of_service is not None:
            cluster_id_of_service = cluster_of_service.cluster_id

        if cluster_id_of_service is not None:
            cluster_ids.append(cluster_id_of_service)

        # If clusterIds are available, export them as environment variables
        if cluster_ids:
            cluster_ids_string = ",".join(cluster_ids)
            self.export_env_var(self.ENV_CONFIG_PARAM_CLUSTER_IDs, cluster_ids_string)

        Set clusterIds of services read from topology for worker manager instances
        else use own clusterId

        :return: void
        
Set clusterIds of services read from topology for worker manager instances
else use own clusterId
Set clusterIds of services read from topology for worker manager instances else use own clusterId
def export_cluster_ids(self, cluster_of_service):
        cluster_ids = []
        cluster_id_of_service = None
        properties = None
        if cluster_of_service is not None:
            cluster_id_of_service = cluster_of_service.cluster_id
        if cluster_id_of_service is not None:
            cluster_ids.append(cluster_id_of_service)
        if cluster_ids:
            cluster_ids_string = ",".join(cluster_ids)
            self.export_env_var(self.ENV_CONFIG_PARAM_CLUSTER_IDs, cluster_ids_string)
def export_cluster_ids ( self , cluster_of_service ) : cluster_ids = [ ] cluster_id_of_service = None properties = None if cluster_of_service is not None : cluster_id_of_service = cluster_of_service . cluster_id if cluster_id_of_service is not None : cluster_ids . append ( cluster_id_of_service ) if cluster_ids : cluster_ids_string = "," . join ( cluster_ids ) self . export_env_var ( self . ENV_CONFIG_PARAM_CLUSTER_IDs , cluster_ids_string )
Set clusterIds of services read from topology for worker manager instances
else use own clusterId
Set clusterIds of services read from topology for worker manager instances else use own clusterId
"""
        Set clusterIds of services read from topology for worker manager instances
        else use own clusterId

        :return: void
        """ # If clusterIds are available, export them as environment variables
None
self
cluster_of_service