Page MenuHomeDevCentral

Hunt missing 502 pages for Docker services
ClosedPublic

Authored by dereckson on Oct 30 2018, 13:31.
Tags
None
Referenced Files
F11747276: D1967.diff
Fri, Sep 19, 18:29
F11744866: D1967.diff
Fri, Sep 19, 09:31
Unknown Object (File)
Thu, Sep 18, 04:10
Unknown Object (File)
Thu, Sep 18, 03:56
Unknown Object (File)
Mon, Sep 15, 10:09
Unknown Object (File)
Sun, Sep 14, 14:46
Unknown Object (File)
Fri, Sep 12, 17:52
Unknown Object (File)
Fri, Sep 12, 17:52
Subscribers
None

Details

Summary

Each container on the Docker servers, when associated to an HTTP
host in the configuration, should serve a /502.html from rDII.

This change provides a class to read the rOPS configuration,
extract the domains names and check https://<host>/502.html.

When the page exists, it should return a 200 (502 is sent by the
web server on error, direct request of this page is a regular 200.)

Ref T114.

Test Plan

The test provided the new T114 list.

Diff Detail

Repository
rTESTSPRODENV Test suite for operations: prod-environment-behaves-correctly
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
dereckson marked an inline comment as done.
dereckson added inline comments.
utils/OperationsConfiguration.php
14

Keys are unused

dereckson added inline comments.
utils/OperationsConfiguration.php
33

One less \n

Fix whitespace issue, remove unused keys

This revision is now accepted and ready to land.Oct 30 2018, 15:06
This revision was automatically updated to reflect the committed changes.