Repository navigation
docs(skills): one standard to send events and notifications from a service - #68
Merged
Merged
Conversation
…rvice
- references/events.md: the shared queue started unconditionally, topic keys as a
contract never renamed, one emitter per resource with its { en, fr } texts next to it
- i18n.md no longer recommends a central text table with a parity unit test
- data-fair and simple-directory keep their locale files
… and text apart The example now copies catalogs/api/src/imports/service.ts (resource is the catalog, required session, a text more precise than the topic action), and the reference says why the topic action and the text are two parameters. internalProcess takes a title, not a name.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A reference of the
data-fair-serviceskill for sending events and notifications, the same way in every service.references/events.md: the shared queue, started unconditionally (inactive without the events url); topic keys are a contract, never renamed; one emitter per resource, with its{ en, fr }texts next to it; the topic action and a more precise text as two parameters;internalProcesstakes atitle; the data-fair and simple-directory exception (locale files); notifications to one user; subscribing from a UI.catalogs/api/src/imports/service.ts.references/i18n.mdno longer recommends a central text table with a parity unit test.Why: each service sent its events its own way (optional queue or not, French-only strings, central text tables in portals and catalogs). Docs only, no release.