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

update for new home az contract from nma #3151

Merged
merged 12 commits into from
Dec 19, 2024

Conversation

ZetaoZhuang
Copy link
Contributor

@ZetaoZhuang ZetaoZhuang commented Nov 14, 2024

Reason for Change:

NMA introduces a new field apiVersion in home az endpoint for the purpose of fixing the ipv6 issue in swift azr, we need to make changes on cns to correspond to this contract change.

Issue Fixed:

Requirements:

Notes:

@ZetaoZhuang ZetaoZhuang requested review from a team as code owners November 14, 2024 23:17
@ZetaoZhuang ZetaoZhuang requested a review from rjdenney November 14, 2024 23:17
nmagent/responses.go Outdated Show resolved Hide resolved
cns/restserver/homeazmonitor.go Outdated Show resolved Hide resolved
cns/api.go Outdated Show resolved Hide resolved
@ZetaoZhuang ZetaoZhuang requested review from smittal22 and timraymond and removed request for timraymond November 19, 2024 20:05
nmagent/responses.go Outdated Show resolved Hide resolved
@ZetaoZhuang ZetaoZhuang requested review from msvik and timraymond and removed request for timraymond November 20, 2024 21:15
@ZetaoZhuang ZetaoZhuang requested review from timraymond and removed request for timraymond December 5, 2024 21:27
timraymond and others added 5 commits December 11, 2024 12:57
The NMAgent team has added an API version field to the HomeAZ response
as a means to indicate whether or not certain bugfixes have been
applied. Since this API Version field conveys no meaningful information,
this adds an "AppliedFixes" field to the response to make it meaningful
to users.
This is to ensure that these are prett-printed properly for clients that
log them.
This alters the response to use the ContainsFixes method added to the
HomeAzResponse. Rather than using API Version directly, the more
semantically-meaningful constants from the nmagent package are used
instead to indicate whether or not some bugfixes have been applied.
timraymond
timraymond previously approved these changes Dec 16, 2024
Copy link
Contributor

@smittal22 smittal22 left a comment

Choose a reason for hiding this comment

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

Let me know once you address these.

nmagent/responses.go Show resolved Hide resolved
nmagent/responses.go Show resolved Hide resolved
nmagent/responses_test.go Show resolved Hide resolved
@smittal22 smittal22 self-requested a review December 19, 2024 19:03
smittal22
smittal22 previously approved these changes Dec 19, 2024
Copy link
Contributor

@smittal22 smittal22 left a comment

Choose a reason for hiding this comment

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

LGTM

@ZetaoZhuang
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ZetaoZhuang
Copy link
Contributor Author

Hey @timraymond , can you approve again? Thanks

@ZetaoZhuang
Copy link
Contributor Author

/azp run Azure Container Networking PR

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ZetaoZhuang ZetaoZhuang added this pull request to the merge queue Dec 19, 2024
Merged via the queue into master with commit 1dc442f Dec 19, 2024
14 checks passed
@ZetaoZhuang ZetaoZhuang deleted the update_for_new_homeaz_contract branch December 19, 2024 23:01
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.

4 participants