Skip to content

add user Configuration service for managing revisor schemas#69

Merged
danijelvukoje merged 1 commit into
mainfrom
feature/user-configuration-service
Jul 17, 2026
Merged

add user Configuration service for managing revisor schemas#69
danijelvukoje merged 1 commit into
mainfrom
feature/user-configuration-service

Conversation

@danijelvukoje

@danijelvukoje danijelvukoje commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Adds a Configuration service to elephant.user for managing the revisor
schemas. Schemas are grouped into config generations that are registered and
switched atomically, following the generation pattern from the
elephant-repository and elephant-distribution services:

  • RegisterConfigGeneration — idempotent registration (same schema set
    returns the existing generation); optional immediate activation
  • ActivateConfigGeneration — atomic switch of the active generation
  • GetActiveConfigGeneration — long-poll on the active generation by known id
  • ListConfigGenerations — paginated history
  • GetSchema — single stored schema, active version when no version is given
  • GetDeprecations / UpdateDeprecation — deprecation enforcement toggles

Each schema carries a SchemaUsage (SETTINGS or MESSAGES accepted)
declaring what it validates.

Server implementation: ttab/elephant-user#65

@danijelvukoje
danijelvukoje merged commit 0ac76d1 into main Jul 17, 2026
2 checks passed
@danijelvukoje
danijelvukoje deleted the feature/user-configuration-service branch July 17, 2026 06:11
@danijelvukoje
danijelvukoje restored the feature/user-configuration-service branch July 17, 2026 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants