Skip to content

Investigate how to Expose EndpointContext in Java-Core #2631

@lqiu96

Description

@lqiu96

GAPICs use the EndpointContext to resolve the endpoint and universe domain.

As of now, we are simply duplicating the logic between Gax-Java and Java-Core. We would like to be able to use the EndpointContext inside Java-Core so that we only need to maintain one spot to resolve the endpoint and universe domain.

The issue is that EndpointContext was written with GAPICs in mind and contain some GAPIC specific functionalities.

There are a few open questions that need to be investigated and solved: #2592 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions