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

End-to-end installer helper – run checks against API gateway checker #3671

Open
tuxpiper opened this issue Aug 23, 2019 · 4 comments

Comments

@tuxpiper
Copy link
Member

commented Aug 23, 2019

  1. Check if the gateway checker is actually enabled
  • if it is enabled https://<api>/?gwcheck=1 should return 200
    • other checks may be run
  • if it is disabled https://<api>/?gwcheck=1 will return 204 and header X-Ushahidi-Platform-GWCheck: off
    • no other tests of this sort are run
  1. Check if the Authorization header is received by the backend

  2. Check that the path to API operations is correctly received

  3. Check that the clock in the server is (approximately) correct

Finally: if all tests are passed, show a reminder to turn disable the gateway checker in the backend (run composer gwcheck:disable)

@rowasc

This comment has been minimized.

Copy link
Contributor

commented Sep 13, 2019

@all-contributors add @rowasc as reviewer

@allcontributors

This comment has been minimized.

Copy link
Contributor

commented Sep 13, 2019

@rowasc

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

@rowasc

This comment has been minimized.

Copy link
Contributor

commented Sep 13, 2019

@all-contributors add @rowasc as review

@allcontributors

This comment has been minimized.

Copy link
Contributor

commented Sep 13, 2019

@rowasc

I've put up a pull request to add @rowasc! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.