-
Notifications
You must be signed in to change notification settings - Fork 36
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
Set back nse@domain name on return from interdomainURLServer #605
Set back nse@domain name on return from interdomainURLServer #605
Conversation
Signed-off-by: Vladimir Popov <[email protected]>
7a4df18
to
1fcb97a
Compare
Not sure about that. It is already covered by test: https://github.com/networkservicemesh/sdk/blob/master/pkg/networkservice/chains/nsmgrproxy/server_test.go#L86 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, looks like it is needed for new connect approach.
…k@master networkservicemesh/sdk#605 networkservicemesh/sdk PR link: networkservicemesh/sdk#605 networkservicemesh/sdk commit message: commit f3c3c51c88e2456011d1a6075a8556d768574c4c Author: Vladimir Popov <[email protected]> Date: Wed Nov 25 13:02:48 2020 +0700 Set back nse@domain name on return from interdomainURLServer (#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: NSMBot <[email protected]>
…k@master networkservicemesh/sdk#605 networkservicemesh/sdk PR link: networkservicemesh/sdk#605 networkservicemesh/sdk commit message: commit f3c3c51c88e2456011d1a6075a8556d768574c4c Author: Vladimir Popov <[email protected]> Date: Wed Nov 25 13:02:48 2020 +0700 Set back nse@domain name on return from interdomainURLServer (#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: NSMBot <[email protected]>
…k@master networkservicemesh/sdk#605 networkservicemesh/sdk PR link: networkservicemesh/sdk#605 networkservicemesh/sdk commit message: commit f3c3c51c88e2456011d1a6075a8556d768574c4c Author: Vladimir Popov <[email protected]> Date: Wed Nov 25 13:02:48 2020 +0700 Set back nse@domain name on return from interdomainURLServer (#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: NSMBot <[email protected]>
…k@master networkservicemesh/sdk#605 networkservicemesh/sdk PR link: networkservicemesh/sdk#605 networkservicemesh/sdk commit message: commit f3c3c51c88e2456011d1a6075a8556d768574c4c Author: Vladimir Popov <[email protected]> Date: Wed Nov 25 13:02:48 2020 +0700 Set back nse@domain name on return from interdomainURLServer (#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: NSMBot <[email protected]>
…k@master networkservicemesh/sdk#605 networkservicemesh/sdk PR link: networkservicemesh/sdk#605 networkservicemesh/sdk commit message: commit f3c3c51c88e2456011d1a6075a8556d768574c4c Author: Vladimir Popov <[email protected]> Date: Wed Nov 25 13:02:48 2020 +0700 Set back nse@domain name on return from interdomainURLServer (#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: NSMBot <[email protected]>
…k@master networkservicemesh/sdk#605 networkservicemesh/sdk PR link: networkservicemesh/sdk#605 networkservicemesh/sdk commit message: commit f3c3c51c88e2456011d1a6075a8556d768574c4c Author: Vladimir Popov <[email protected]> Date: Wed Nov 25 13:02:48 2020 +0700 Set back nse@domain name on return from interdomainURLServer (#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: NSMBot <[email protected]>
…k@master networkservicemesh/sdk#605 networkservicemesh/sdk PR link: networkservicemesh/sdk#605 networkservicemesh/sdk commit message: commit f3c3c51c88e2456011d1a6075a8556d768574c4c Author: Vladimir Popov <[email protected]> Date: Wed Nov 25 13:02:48 2020 +0700 Set back nse@domain name on return from interdomainURLServer (#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: NSMBot <[email protected]>
…k@master networkservicemesh/sdk#605 networkservicemesh/sdk PR link: networkservicemesh/sdk#605 networkservicemesh/sdk commit message: commit f3c3c51c88e2456011d1a6075a8556d768574c4c Author: Vladimir Popov <[email protected]> Date: Wed Nov 25 13:02:48 2020 +0700 Set back nse@domain name on return from interdomainURLServer (#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: NSMBot <[email protected]>
…servicemesh#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: Sergey Ershov <[email protected]>
…servicemesh#605) Signed-off-by: Vladimir Popov <[email protected]> Signed-off-by: Sergey Ershov <[email protected]>
Issue
interdomainURLServer updates
Request.Connection.NetworkServiceEndpointName
from[email protected]
tonse
and doesn't set it back to the returnedConnection
. If no one before in the chain saves full name,@domain.url
will be lost and refresh request will be trying to findnse
locally until timeout.Solution
Set
Connection.NetworkServiceEndpointName = interDomainNSEName
on return.