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

fix #20409 - Check definitions not reflected in output from agent/health/service/id/:service-id #20411

Closed

Conversation

vijayraghav-io
Copy link
Contributor

@vijayraghav-io vijayraghav-io commented Jan 31, 2024

Fixes #20409

Testing & Reproduction steps

Refer #20409

PR Checklist

  • updated test coverage
  • external facing docs updated
  • appropriate backport labels added
  • not a security concern

@vijayraghav-io
Copy link
Contributor Author

As an update, even after populating the HealthCheckDefinition, the expected values are not shown in api output.
Apart from the changes done so far in func agentHealthService, there needs some more update to fix the issue, so checking the service registration code. Will update once the fix is complete.

@vijayraghav-io
Copy link
Contributor Author

vijayraghav-io commented Jan 31, 2024

The fix is almost done!
For some reason the "Definition" field was left out while creating "check" before adding to the local "state" in

EnterpriseMeta: service.EnterpriseMeta,

Added three fields and verified, its working as expected now!.
Need to add all other fields (like HTTP, TCP,...). Will check the logic thoroughly again and update.

@vijayraghav-io
Copy link
Contributor Author

The fix is done , added a test case.
This PR can be reviewed

@vijayraghav-io
Copy link
Contributor Author

Hi @jkirschner-hashicorp / @huikang / @david-yu ,
Kindly review this PR.

@vijayraghav-io
Copy link
Contributor Author

Hi @david-yu,
Requesting you to review this PR.

Copy link

github-actions bot commented Apr 7, 2024

This pull request has been automatically flagged for inactivity because it has not been acted upon in the last 60 days. It will be closed if no new activity occurs in the next 30 days. Please feel free to re-open to resurrect the change if you feel this has happened by mistake. Thank you for your contributions.

@github-actions github-actions bot added the meta/stale Automatically flagged for inactivity by stalebot label Apr 7, 2024
@vijayraghav-io
Copy link
Contributor Author

Requesting to review this PR

@github-actions github-actions bot removed the meta/stale Automatically flagged for inactivity by stalebot label Apr 8, 2024
Copy link

github-actions bot commented Jun 7, 2024

This pull request has been automatically flagged for inactivity because it has not been acted upon in the last 60 days. It will be closed if no new activity occurs in the next 30 days. Please feel free to re-open to resurrect the change if you feel this has happened by mistake. Thank you for your contributions.

@github-actions github-actions bot added the meta/stale Automatically flagged for inactivity by stalebot label Jun 7, 2024
@vijayraghav-io
Copy link
Contributor Author

Reminding for PR review

@github-actions github-actions bot removed the meta/stale Automatically flagged for inactivity by stalebot label Aug 31, 2024
Copy link

github-actions bot commented Nov 3, 2024

This pull request has been automatically flagged for inactivity because it has not been acted upon in the last 60 days. It will be closed if no new activity occurs in the next 30 days. Please feel free to re-open to resurrect the change if you feel this has happened by mistake. Thank you for your contributions.

@github-actions github-actions bot added the meta/stale Automatically flagged for inactivity by stalebot label Nov 3, 2024
Copy link

github-actions bot commented Dec 3, 2024

Closing due to inactivity. If you feel this was a mistake or you wish to re-open at any time in the future, please leave a comment and it will be re-surfaced for the maintainers to review.

@github-actions github-actions bot closed this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
meta/stale Automatically flagged for inactivity by stalebot
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Check definitions not reflected in output from agent/health/service/id/:service-id
1 participant