canonical / nginx-ingress-integrator-operator

nginx-ingress-integrator-operator - charm repository.
Apache License 2.0
1 stars 8 forks source link

Standard Ingress tls relation #101

Closed gtrkiller closed 9 months ago

gtrkiller commented 12 months ago

Implement TLS relation for v2 Ingress charm.

github-actions[bot] commented 9 months ago

Test coverage for a85630c2080e90621c608b77fce842fd30e544a1

Name                               Stmts   Miss Branch BrPart  Cover   Missing
------------------------------------------------------------------------------
src/charm.py                         252      9     70      4    96%   199, 206, 278-280, 317, 373, 518-519
src/consts.py                          5      0      0      0   100%
src/controller/__init__.py             1      0      0      0   100%
src/controller/endpoint_slice.py      56      4     10      4    88%   103, 127, 149, 169
src/controller/endpoints.py           34      1      6      0    92%   53
src/controller/ingress.py            102      8     42      4    89%   60, 80-81, 181, 258->269, 262-264, 267-268
src/controller/resource.py            54      1      9      1    97%   64
src/controller/secret.py              59      8     19      4    79%   53, 71-76, 106->111, 108-110, 111->104, 133, 162
src/controller/service.py             38      1      6      0    93%   51
src/exceptions.py                      4      0      0      0   100%
src/ingress_definition.py            258     26     65      8    89%   41, 70, 174-178, 196, 300-301, 346, 358, 362, 378-379, 394-395, 420, 422, 447-448, 481-482, 489-491, 493
src/tls_relation.py                  115      2     29      1    98%   137-138
------------------------------------------------------------------------------
TOTAL                                978     60    256     26    92%

Static code analysis report

Run started:2024-01-05 16:46:51.765450

Test results:
    No issues identified.

Code scanned:
    Total lines of code: 4690
    Total lines skipped (#nosec): 6
    Total potential issues skipped due to specifically being disabled (e.g., #nosec BXXX): 0

Run metrics:
    Total issues (by severity):
        Undefined: 0
        Low: 0
        Medium: 0
        High: 0
    Total issues (by confidence):
        Undefined: 0
        Low: 0
        Medium: 0
        High: 0
Files skipped (0):