def METHOD_NAME(
    core_services_selection: list[str],
    docker_stack: dict,
    testing_environ_vars: EnvVarsDict,
) -> dict[str, URL]:
    METHOD_NAME = {}
    stack_name = testing_environ_vars["SWARM_STACK_NAME"]
    for service in core_services_selection:
        assert f"{stack_name}_{service}" in docker_stack["services"]
        full_service_name = f"{stack_name}_{service}"
        # TODO: unify healthcheck policies see  https://github.com/ITISFoundation/osparc-simcore/pull/2281
        # TODO: get health-check cmd from Dockerfile or docker-compose (e.g. postgres?)
        if service not in _SERVICES_TO_SKIP:
            target_ports = [
                AIOHTTP_BASED_SERVICE_PORT,
                FASTAPI_BASED_SERVICE_PORT,
                DASK_SCHEDULER_SERVICE_PORT,
            ]
            endpoint = URL(
                f"http://{get_localhost_ip()}:{get_service_published_port(full_service_name, target_ports)}"
            )
            METHOD_NAME[service] = endpoint
        else:
            print(f"Collecting service endpoints: '{service}' skipped")
    return METHOD_NAME