fix(okf): OKFBackendAdapter carries an application's telemetry layout and a made-up author #75
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
qa:preview
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
quatrain/core#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
OKFBackendAdapterspecial-cases atelemetrycollection (path built from application-specific fields, JSON payload) and writes a made-up operator address asmeta.created_bywhen a record has no author. Its tests, README, HOWTO and generated docs pages use the same application vocabulary. A generic package must not carry an application's vocabulary or data.Fix
config.jsonCollections: collections kept as JSON records{ meta, data }at{collection}/{uid}.json, no index; a subclass overridesgetOKFPath()for another layout.OKF_DATA_DIR(STUDIO_DATA_DIRstill read).