Package com.axelor.ai.seed


package com.axelor.ai.seed
  • Class
    Description
    Orchestrates whole-bundle AI config import/export by fanning out to the per-type services in dependency order.
    Seeds the bundled AI config, every type AiConfigService imports, once on startup.
    Helper around the AiSeed marker table that records what has been seeded.
    AI config record types tracked by the AiSeed marker 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 a SeedResult.
    Helpers for deriving AiSources.
    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.