Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
persistence - Skill - OpenSmartRoute
Skillv1.0.0
persistence
Rules for persistence adapters, JPA entities, repositories, and mappers
Instruction file imported from robertol18/Track-Day-Legends-API (.github/instructions/persistence.instructions.md). Copyright stays with the author.
Persistence Adapter Rules
JPA entities must be separate from domain models.
Use explicit mappers between persistence entities and domain objects.
Spring Data repositories must stay inside the persistence adapter.
Do not leak JPA entities outside this adapter.
Keep persistence logic focused on storage and retrieval concerns.
Avoid embedding business rules in JPA entities.
Keep relationship mapping clear and maintainable.
Support aggregate reconstruction cleanly from persisted state.
Use it
Copy one of these into your project. Installing also returns the manifest and these snippets.
yaml
targets:
- https://api.opensmartroute.ai/api/v1/registry/robertol18-track-day-legends-api-persistence-instructions/manifest # or paste the manifest below
Manifest
An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.