Skip to content

Enterprise Coder Server uses license files for Entitlements API #3282

Closed

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

Activity

  1. added
    apiArea: HTTP API
    enterpriseEnterprise-license / premium functionality
    on Jul 28, 2022
  2. changed the title [-]Enterprise Coder Server reads, watches for, and validates license files[/-] [+]Enterprise Coder Server uses license files for Entitlements API[/+] on Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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