Skip to content

Enterprise Coder Server uses license files for Entitlements API #3282

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

Closed
Tracked by #480
spikecurtis opened this issue Jul 28, 2022 · 0 comments · Fixed by #3715
Closed
Tracked by #480

Enterprise Coder Server uses license files for Entitlements API #3282

spikecurtis opened this issue Jul 28, 2022 · 0 comments · Fixed by #3715
Labels
api Area: HTTP API enterprise Enterprise-license / premium functionality

Comments

@spikecurtis
Copy link
Contributor

spikecurtis commented Jul 28, 2022

Problem

Enterprise coder server needs up to date license information to feed the Entitlements API and Feature Server.

RFC

Definition of Done

  1. On startup, read licenses, validate them, compute entitlements struct
  2. Watch pubsub for license updates, compute updated entitlements struct

Acceptance Criteria

  1. Obtain a valid license file
  2. On a new Coder deployment, without a license, verify that "has_license": false appears in output of
    coder features list -o json
  3. Add the license file to a new coder deployment
    coder license add <license file>
  4. Verify that "has_license": true appears in
    coder features list -o json
  5. Remove the license from the deployment
    coder license list
    obtain license ID
    coder license delete <id>
  6. verify that "has_license": false appears in output of
    coder features list -o json
@spikecurtis spikecurtis added api Area: HTTP API enterprise Enterprise-license / premium functionality labels Jul 28, 2022
@spikecurtis spikecurtis changed the title Enterprise Coder Server reads, watches for, and validates license files Enterprise Coder Server uses license files for Entitlements API Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Area: HTTP API enterprise Enterprise-license / premium functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant