Page MenuHomeDevCentral

Hunt missing 502 pages for Docker services
ClosedPublic

Authored by dereckson on Oct 30 2018, 13:31.
Tags
None
Referenced Files
F9999558: D1967.diff
Tue, Jun 17, 11:34
F9998971: D1967.id4972.diff
Tue, Jun 17, 11:25
F9986076: D1967.id4973.diff
Tue, Jun 17, 07:07
Unknown Object (File)
Sun, Jun 8, 16:35
Unknown Object (File)
Sun, Jun 8, 13:01
Unknown Object (File)
Sun, Jun 8, 10:32
Unknown Object (File)
Sun, Jun 8, 07:09
Unknown Object (File)
Sat, Jun 7, 01:00
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 Passed
Unit
No Test Coverage
Branch
502-pages (branched from master)
Build Status
Buildable 3065
Build 3313: arc lint + arc unit

Event Timeline

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

Keys are unused

dereckson added inline comments.
utils/OperationsConfiguration.php
32

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.