-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
apiArea: HTTP APIArea: HTTP APIenterpriseEnterprise-license / premium functionalityEnterprise-license / premium functionality
Description
Problem
Enterprise coder server needs up to date license information to feed the Entitlements API and Feature Server.
Definition of Done
- On startup, read licenses, validate them, compute entitlements struct
- Watch pubsub for license updates, compute updated entitlements struct
Acceptance Criteria
- Obtain a valid license file
- On a new Coder deployment, without a license, verify that
"has_license": falseappears in output of
coder features list -o json - Add the license file to a new coder deployment
coder license add <license file> - Verify that
"has_license": trueappears in
coder features list -o json - Remove the license from the deployment
coder license list
obtain license ID
coder license delete <id> - verify that
"has_license": falseappears in output of
coder features list -o json
Metadata
Metadata
Assignees
Labels
apiArea: HTTP APIArea: HTTP APIenterpriseEnterprise-license / premium functionalityEnterprise-license / premium functionality