Package com.axelor.ai.provider.sync
package com.axelor.ai.provider.sync
-
ClassDescriptionWhich adapter serves which provider type.Resolves a new model's values, in order of authority: what the provider reported, then the family's defaults, then defaults for the model type.The real HTTP seam.A selected model with its values resolved, used only when creating one.The single HTTP seam a sync goes through, so adapters can be tested against recorded fixtures without touching the network.Knows how to ask one vendor what models it offers, and how to normalise the answer.Brings a provider's models into line with what it actually offers: fetch, apply the admin's rules, resolve capabilities, match what already exists, write.Resolves a provider's full model list down to the few the rules ask for.A vendor model paired with the family that claimed it.A sync failure whose message is already fit to show an administrator.JSON plumbing shared by the adapters, with failures phrased for an administrator rather than a log.What a sync did.The admin-editable rules stored in
AiProvider.syncRules, deciding which of a provider's models to take and what they can do.One model as a provider's list endpoint reported it, normalised by its adapter.