class CommunityDiscoverableURIs {

    public static DiscoverableURIs communityDiscoverableURIs( Config config, ConnectorPortRegister portRegister )
    {
        return new DiscoverableURIs.Builder()
                .add( "data", config.get( ServerSettings.rest_api_path ).getPath() + "/", NORMAL )
                .add( "management", config.get( ServerSettings.management_api_path ).getPath() + "/", NORMAL )
                .addBoltConnectorFromConfig( "bolt", "bolt", config, ServerSettings.bolt_discoverable_address, portRegister )
                .build();
    }

}