-
Notifications
You must be signed in to change notification settings - Fork 8
Support v1beta2 licenses #3141
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
Open
crdant
wants to merge
53
commits into
main
Choose a base branch
from
feature/crdant/supports-license-v1beta2
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+1,136
−481
Open
Support v1beta2 licenses #3141
Changes from 34 commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
5b15b1a
Adds test fixtures for v1beta2 license support (Phase 0 TDD)
crdant 6236cc8
build(deps): update kotskinds to v0.0.0-20251029124314-174e89c93554
crdant 0d7a9dd
test: simplify license test fixtures to match actual KOTS format
crdant 5f57ae0
test: add TDD tests for v1beta1 and v1beta2 license parsing
crdant af3e584
feat: update ParseLicense to return LicenseWrapper for multi-version …
crdant 4d87b3d
refactor: update metrics reporter to use LicenseWrapper for license a…
crdant 8c19e5a
refactor: update installer CLI to use LicenseWrapper for multi-versio…
crdant a892eb7
refactor: update package-level types to use LicenseWrapper for licens…
crdant 92d3629
refactor: update infrastructure managers to use LicenseWrapper for mu…
crdant 4dec0f0
refactor: update template engine to use LicenseWrapper for multi-vers…
crdant dc65a4f
test: update CLI tests to use LicenseWrapper for multi-version licens…
crdant 7685e3e
fix: update test fixtures to include apiVersion/kind for LicenseWrapp…
crdant 82b4725
test: add apiVersion/kind to integration test license fixtures
crdant 2241373
Removes double definition
crdant a4c1af6
Fixes strange merge outcome
crdant eae182d
refactor: remove unused kyaml import from app controller
crdant 9527ea4
fix: update infrastructure managers to use LicenseWrapper API methods
crdant a7dd820
fix: update template engine for LicenseWrapper nil checks and channel…
crdant c95311c
fix: update installer commands to use LicenseWrapper methods consiste…
crdant 468b7a7
fix: use direct V1/V2 nil checks for LicenseWrapper instead of method…
crdant 9a769da
fix: update test expectations for LicenseFieldValue with missing data
crdant 66f1925
fix: restore backward-compatible error handling in LicenseFieldValue
crdant 7cd2ff1
fix: correct EntitlementValue access in license expiration check
crdant ef5032c
Removes improperly commited docs
crdant 2312a97
Merge remote-tracking branch 'origin/main' into feature/crdant/suppor…
crdant 8f4f9a8
More license wrapping
crdant afe1e83
fix: update test expectations for LicenseWrapper error messages
crdant f93edad
refactor: update ReplicatedAPI client to support LicenseWrapper
crdant 5b3c0d5
docs: add ReplicatedAPI LicenseWrapper refactor plan
crdant 5a33c14
Removes plan
crdant be11ef1
test: add v1beta2 license sync test case
crdant a433a5a
fix: correct variable declarations in test files
crdant 6ea8c24
Formats
crdant 4028622
fix: add required apiVersion and kind fields to test license YAML
crdant c53579f
Includes a `v1beta2` license for E2E tests
crdant 7e994fb
refactor: convert LicenseWrapper to pointer type (Phases 1-2)
crdant d2be922
refactor: convert LicenseWrapper to pointer type (Phases 3-7)
crdant 095d0e8
test: update test files to use pointer-based LicenseWrapper
crdant a04d1e9
fix: correct pointer type handling in install tests
crdant a2d0164
feat: add license version reporting to replicatedapi client
crdant ccd89a7
feat: add X-Replicated-License-Version header for v1beta2 licenses
crdant f5f4083
Merge remote-tracking branch 'origin/main' into feature/crdant/suppor…
crdant 6773c55
test: embed license test data in test files
crdant a0d5967
fix: use GetAppSlug() getter to prevent nil pointer dereference
crdant 19bdeda
fix: add defensive nil checks for license wrapper dereferences
crdant 9058333
test: use getter methods for license fields in install config tests
crdant 7ffacf7
fix: prevent nil pointer dereference in install metrics reporter crea…
crdant bbe1cd1
fix: remove duplicate Test_buildInstallConfig_License function
crdant 1080645
Respects test data for assume yes
crdant 02d4ee8
Properly reformats
crdant 1d024c8
test: fix error message expectations in install config license tests
crdant 719f0b9
Merge remote-tracking branch 'origin/main' into feature/crdant/suppor…
crdant ecc5b53
fix: resolve merge conflict type mismatches for v1beta2 license support
crdant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.