Skip to content

Enterprise Coder Server uses license files for Entitlements API #3282

Closed
@spikecurtis

Description

@spikecurtis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiArea: HTTP APIenterpriseEnterprise-license / premium functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions