Skip to content

Taxonomy CRUD Support via TaxonomyStore#3

Open
thmarx wants to merge 2 commits into
mainfrom
feature/taxonomy-store-16415646078489418794
Open

Taxonomy CRUD Support via TaxonomyStore#3
thmarx wants to merge 2 commits into
mainfrom
feature/taxonomy-store-16415646078489418794

Conversation

@thmarx

@thmarx thmarx commented Mar 8, 2026

Copy link
Copy Markdown
Owner

Implemented a new taxonomy storage architecture that supports CRUD operations while maintaining compatibility with the existing filesystem-based configuration.

Key changes:

  • Created TaxonomyStore interface for managing taxonomies and their values.
  • Implemented FileTaxonomyStore which handles config/taxonomy.yaml and config/taxonomy.<slug>.yaml files.
  • Added support for atomic file writes to prevent data corruption.
  • Updated TaxonomyConfiguration to delegate loading to the store, ensuring that manual file edits (detected via reload strategies) are correctly reflected in the system.
  • Refactored ConfigurationFactory and FileDB to provide and use the new store.

PR created automatically by Jules for task 16415646078489418794 started by @thmarx

- Added TaxonomyStore interface in cms-api.
- Implemented FileTaxonomyStore in cms-core with support for atomic writes and YAML/TOML reading.
- Integrated TaxonomyStore into DB and TaxonomyConfiguration.
- Ensured thread safety and consistent serialization.

Co-authored-by: thmarx <232434+thmarx@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

- Introduced TaxonomyStore interface for CRUD operations.
- Implemented FileTaxonomyStore supporting YAML and TOML.
- Separated taxonomy definitions from value files.
- Added support for atomic file writes and thread safety.
- Refactored TaxonomyConfiguration to use the new store while maintaining live reload support.
- Included unit tests and fixed related configuration loader issues.

Co-authored-by: thmarx <232434+thmarx@users.noreply.github.com>
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.

1 participant