Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udpa: add core proto definitions from xDS transport++ proposal. #29

Merged
merged 5 commits into from
Jun 24, 2020

Conversation

htuch
Copy link
Collaborator

@htuch htuch commented Jun 21, 2020

@htuch
Copy link
Collaborator Author

htuch commented Jun 21, 2020

CC @markdroth @louiscryan @howardjohn @costinm

This objective of this patch is to land a viable base set of definitions to work on from both the Envoy and Istio side. These are tagged WiP to allow arbitrary edits until we're happy with them. This PR won't be landing the full set of docs and UDPA spec, I'd prefer to wait until we've worked through some of the implementation details Envoy side to clarify that.

}
}

repeated Directive directives = 6;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that we still have an open thread on how this interacts with RFC3986 URIs with only a single #fragment in the design doc (@markdroth @louiscryan), see https://docs.google.com/document/d/1zZav-IYxMO0mP2A7y5XHBa9v0eXyirw1CxrLLSUqWR8/edit?disco=AAAAGpGgj2A.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. As I mentioned there, I think we should remove the alt directive and the repeated here. Instead, we can use a repeated UdpaResourceLocator in the places in the API where we have forward-pointers.

mattklein123
mattklein123 previously approved these changes Jun 22, 2020
Copy link
Collaborator

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM to ship and iterate based on the doc. Thank you!

markdroth
markdroth previously approved these changes Jun 22, 2020
Copy link
Collaborator

@markdroth markdroth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few comments and questions, but I'll go ahead and approve, since we can iterate after this is merged.

udpa/core/v1/resource_locator.proto Outdated Show resolved Hide resolved
}
}

repeated Directive directives = 6;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. As I mentioned there, I think we should remove the alt directive and the repeated here. Instead, we can use a repeated UdpaResourceLocator in the places in the API where we have forward-pointers.

udpa/core/v1/resource_name.proto Outdated Show resolved Hide resolved
udpa/core/v1/context_params.proto Show resolved Hide resolved
udpa/core/v1/collection_resource.proto Outdated Show resolved Hide resolved
@htuch htuch dismissed stale reviews from markdroth and mattklein123 via 237ba5d June 23, 2020 22:01
@htuch
Copy link
Collaborator Author

htuch commented Jun 23, 2020

Re: alt vs repeated, I think let's merge as is and I will do a dedicated PR around this, this probably needs a bit of thought.

markdroth
markdroth previously approved these changes Jun 24, 2020
Copy link
Collaborator

@markdroth markdroth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@htuch
Copy link
Collaborator Author

htuch commented Jun 24, 2020

@mattklein123 can I get another rubber stamp on this? Thanks.

mattklein123
mattklein123 previously approved these changes Jun 24, 2020
Signed-off-by: Harvey Tuch <[email protected]>
@htuch htuch dismissed stale reviews from mattklein123 and markdroth via db59956 June 24, 2020 22:51
@htuch htuch merged commit ca580c4 into cncf:master Jun 24, 2020
htuch added a commit to htuch/envoy that referenced this pull request Jun 24, 2020
Signed-off-by: Harvey Tuch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants