This sample code can be used to manage Aurora global database endpoints. After failover the global database writer endpoints swap from one region to the other. This solution automates creation and management of Route 53 based endpoints, so the applications don't have to change the connections strings.
Main Code: 713 LOC (3 files) = PY (63%) + YML (36%) Secondary code: Test: 0 LOC (0); Generated: 0 LOC (0); Build & Deploy: 0 LOC (0); Other: 119 LOC (3); |
|||
Duplication: 23% | |||
File Size: 0% long (>1000 LOC), 21% short (<= 200 LOC) | |||
Unit Size: 27% long (>100 LOC), 38% short (<= 10 LOC) | |||
Conditional Complexity: 27% complex (McCabe index > 50), 33% simple (McCabe index <= 5) | |||
|
Logical Component Decomposition: primary (1 component) | ||
|
5 months old
|
|
|
|
0% of code updated more than 50 times Also see temporal dependencies for files frequently changed in same commits. |
|
|
|
Goals: Keep the system simple and easy to change (4) |
|
Latest commit date: 2021-10-15
0
commits
(30 days)
0
contributors
(30 days) |
|
generated by sokrates.dev (configuration) on 2022-01-31