class EnterpriseDiscoverableURIs {

    public static DiscoverableURIs enterpriseDiscoverableURIs( Config config, ConnectorPortRegister ports )
    {
        DiscoverableURIs uris = communityDiscoverableURIs( config, ports );
        if ( config.get( EnterpriseEditionSettings.mode ) == EnterpriseEditionSettings.Mode.CORE )
        {
            // DiscoverableURIs
            //       .discoverableBoltUri( "bolt+routing", config,
            //              EnterpriseServerSettings.bolt_routing_discoverable_address, ports )
            //     .ifPresent( uri -> uris.addAbsolute( "bolt_routing", uri ) );
            return (new Builder( CommunityDiscoverableURIs.communityDiscoverableURIs( config, ports ) )).addBoltConnectorFromConfig( "bolt_routing",
                    "bolt+routing", config, EnterpriseServerSettings.bolt_routing_discoverable_address, ports ).build();
        }
        return uris;
    }

}