Package com.axelor.ai.seed
package com.axelor.ai.seed
-
ClassDescriptionOrchestrates whole-bundle AI config import/export by fanning out to the per-type services in dependency order.Seeds the bundled AI config, every type
AiConfigServiceimports, once on startup.Helper around theAiSeedmarker table that records what has been seeded.AI config record types tracked by theAiSeedmarker table.A source of seed files: relative path -> raw bytes.Scans bundled seed files from the classpath under a given root (e.g.Parses YAML frontmatter + markdown body from a document string.Count of records created and updated by a seed pass.Shared plumbing for the per-type importers: entry iteration and the SEED_ONCE lifecycle.Outcome of seeding one record, accumulated into aSeedResult.Helpers for derivingAiSources.Nested-YAML parse/dump plus typed accessors, for config-shaped seed files.Zips a map of relative-path → bytes into a single archive.Reads seed entries from a zip stream.