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

Remove Cache Report and v1 Endpoints #100

Merged
merged 7 commits into from
Nov 21, 2023
Merged

Remove Cache Report and v1 Endpoints #100

merged 7 commits into from
Nov 21, 2023

Conversation

jujaga
Copy link
Member

@jujaga jujaga commented Nov 20, 2023

Description

This PR focuses on closing out a potential vector for private information storage by dropping the report caching functionality. It also implements a minor bugfix for PR deployments which should be reflected in subsequent PRs.

  • a435196 Ensure config disabled helm deployments still pull in appropriate secrets
  • 56652c8 Add git revision, name, version and node version reporting at root
  • abaa24d Drop API Statistics tracker code
  • f07b4a5 Drop report caching functionality and endpoints
  • 27e3c97 Add model template unit test
  • 6549c6a Fully remove v1 API support and documentation
  • 7ef5997 Drop default keycloak configuration

Types of changes

Documentation (non-breaking change with enhancements to documentation)
Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the CONTRIBUTING doc
  • I have checked that unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the OpenAPI 3.0 v*.api-spec.yaml documentation (if appropriate)
  • I have added necessary documentation (if appropriate)

Further comments

Saving rendered template outputs was never a part of the original CDOGS
design, and could potentially yield privacy issues. This commit drops the
ability to request caching resultant reports.

Signed-off-by: Jeremy Ho <[email protected]>
This code has been unused for years and likely will never be used again.

Signed-off-by: Jeremy Ho <[email protected]>
@jujaga jujaga added the documentation Improvements or additions to documentation label Nov 20, 2023
@jujaga jujaga self-assigned this Nov 20, 2023
Copy link

Coverage Report

Totals Coverage
Statements: 16.18% ( 139 / 859 )
Methods: 26.47% ( 18 / 68 )
Lines: 15.43% ( 81 / 525 )
Branches: 15.04% ( 40 / 266 )

These values are useful for determing what instance of the CDOGS codebase
is running for diagnostic and debugging purposes.

Signed-off-by: Jeremy Ho <[email protected]>
…rets

There was a bug where the only way to ensure keycloak authentication was
enabled was to have config.configMap.KC_ENABLED defined, even when we are
not wanting to generate our own release-scoped config map. This fix adds in
a feature toggle to declare authentication mode intent independent of the
configuration.

Signed-off-by: Jeremy Ho <[email protected]>
@TimCsaky TimCsaky merged commit 14b74d0 into master Nov 21, 2023
12 checks passed
@jujaga jujaga deleted the sec/cache branch November 21, 2023 19:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants