INNER CODE UNIT · Python

reset_service_configuration

oracle/docker-images · OracleGoldenGate/21c/bin/deployment-init.py:177

def reset_service_configuration(deploymentName, serviceName):
    """Reset the network configuration for a service to listen on and accept connections from the service host address only"""
    config = get_service_config(deploymentName, serviceName)
    config['network'] = get_network_config(service_ports[serviceName])
    set_service_config(deploymentName, serviceName, config)


def option(name, value = None):
    """Compose a command line option"""
    result = ' --' + name
    if value:
        result += '=' + str(value)
    return result


def establish_service_manager(hasServiceManager):
    """Ensure a Service Manager deployment exists"""
    deployment_directory = get_deployment_directory(['ServiceManager'])

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…