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

Updated response-body of /v1/regard-application #577

Merged
merged 4 commits into from
Sep 18, 2024

Conversation

sunil-kumar-meena
Copy link
Collaborator

Fixes:
#570

Note: Last PR #574 got merged into develop branch, raising new PR again, also suggest do we have to revert the last changes from develop branch also?

reviewer @PrathibaJee

@@ -106,7 +106,7 @@ async function RequestForInquiringTopologyChangeInformationWithDefaultKey(applic
let responseCode = response.status;
if (!responseCode.toString().startsWith("2")) {
result["successfully-connected"] = false;
result["reason-of-failure"] = `ALT_NOT_REACHABLE`;
result["reason-of-failure"] = `ALT_DID_NOT_REACH_NEW_APPLICATION`;
Copy link
Collaborator

Choose a reason for hiding this comment

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

if (!responseCode.toString().startsWith("2")) , then you have to check whether the if responseCode.toString() == "408" to confirm that the application is actually not reachable. ( Note : Include the response code for which a not reachable scenario happen)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@PrathibaJee PrathibaJee merged commit 423ec7e into v2.1.2_impl Sep 18, 2024
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