@eventcatalog/core 3.35.0 → 3.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics/analytics.cjs +1 -1
- package/dist/analytics/analytics.js +2 -2
- package/dist/analytics/log-build.cjs +1 -1
- package/dist/analytics/log-build.js +3 -3
- package/dist/{chunk-LUWCWNOR.js → chunk-6D65JSOA.js} +1 -1
- package/dist/{chunk-NEWQKEP7.js → chunk-C7JCOHTI.js} +1 -1
- package/dist/chunk-D6IBLY3O.js +320 -0
- package/dist/{chunk-Y5O6SCX3.js → chunk-HDENGAZL.js} +1 -1
- package/dist/{chunk-DFLUDECO.js → chunk-UJ7DX4SA.js} +3 -3
- package/dist/{chunk-3KXCGYET.js → chunk-ULZYHF3V.js} +5 -0
- package/dist/{chunk-B2LDVIVY.js → chunk-V22QY5Q3.js} +1 -1
- package/dist/constants.cjs +1 -1
- package/dist/constants.js +1 -1
- package/dist/docs/api/01-overview.md +74 -0
- package/dist/docs/api/02-config.md +959 -0
- package/dist/docs/api/03-domain-api.md +394 -0
- package/dist/docs/api/04-service-api.md +368 -0
- package/dist/docs/api/05-command-api.md +319 -0
- package/dist/docs/api/06-event-api.md +318 -0
- package/dist/docs/api/06-query-api.md +316 -0
- package/dist/docs/api/08-channel-api.md +317 -0
- package/dist/docs/api/08-code-blocks.md +53 -0
- package/dist/docs/api/09-flow-api.md +362 -0
- package/dist/docs/api/10-entity-api.md +285 -0
- package/dist/docs/api/11-data-api.md +268 -0
- package/dist/docs/api/12-data-product-api.md +416 -0
- package/dist/docs/api/_category_.json +12 -0
- package/dist/docs/cli/channels.md +180 -0
- package/dist/docs/cli/commands.md +183 -0
- package/dist/docs/cli/custom-docs.md +78 -0
- package/dist/docs/cli/data-products.md +177 -0
- package/dist/docs/cli/data-stores.md +166 -0
- package/dist/docs/cli/diagrams.md +147 -0
- package/dist/docs/cli/domains.md +280 -0
- package/dist/docs/cli/entities.md +138 -0
- package/dist/docs/cli/events.md +186 -0
- package/dist/docs/cli/export.md +27 -0
- package/dist/docs/cli/governance.md +24 -0
- package/dist/docs/cli/import.md +26 -0
- package/dist/docs/cli/index.md +121 -0
- package/dist/docs/cli/messages.md +69 -0
- package/dist/docs/cli/queries.md +183 -0
- package/dist/docs/cli/services.md +266 -0
- package/dist/docs/cli/snapshots.md +44 -0
- package/dist/docs/cli/teams.md +75 -0
- package/dist/docs/cli/users.md +75 -0
- package/dist/docs/cli/utilities.md +43 -0
- package/dist/docs/contributing/01-overview.md +186 -0
- package/dist/docs/contributing/_category_.json +12 -0
- package/dist/docs/development/00-why-eventcatalog.md +87 -0
- package/dist/docs/development/01-fundamentals.md +34 -0
- package/dist/docs/development/01-getting-started/_category_.json +12 -0
- package/dist/docs/development/01-getting-started/configuration-overview.md +124 -0
- package/dist/docs/development/01-getting-started/develop-and-build.md +71 -0
- package/dist/docs/development/01-getting-started/installation.md +103 -0
- package/dist/docs/development/01-getting-started/project-structure.md +269 -0
- package/dist/docs/development/_category_.json +12 -0
- package/dist/docs/development/_getting-started.mdx +15 -0
- package/dist/docs/development/agent-resources/_category_.json +6 -0
- package/dist/docs/development/agent-resources/eventcatalog-skills.md +17 -0
- package/dist/docs/development/agent-resources/llms-full.md +17 -0
- package/dist/docs/development/agent-resources/llms.md +17 -0
- package/dist/docs/development/ask-your-architecture/01-intro.md +89 -0
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/01-what-is-eventcatalog-assistant.md +23 -0
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/02-configuration.md +72 -0
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/03-bring-your-own-tools.md +385 -0
- package/dist/docs/development/ask-your-architecture/02-eventcatalog-assistant/_category_.json +11 -0
- package/dist/docs/development/ask-your-architecture/03-mcp-server/_category_.json +12 -0
- package/dist/docs/development/ask-your-architecture/03-mcp-server/getting-started.md +216 -0
- package/dist/docs/development/ask-your-architecture/03-mcp-server/introduction.md +47 -0
- package/dist/docs/development/ask-your-architecture/04-skills/01-introduction.md +40 -0
- package/dist/docs/development/ask-your-architecture/04-skills/02-installation.md +60 -0
- package/dist/docs/development/ask-your-architecture/04-skills/_category_.json +11 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/01-introduction.md +63 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/02-slack-app-setup.md +154 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/03-installation.md +169 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/04-deployment.md +236 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/05-usage.md +140 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/06-troubleshooting.md +268 -0
- package/dist/docs/development/ask-your-architecture/05-slack-integration/_category_.json +12 -0
- package/dist/docs/development/ask-your-architecture/_category_.json +12 -0
- package/dist/docs/development/authentication/01-introduction.md +78 -0
- package/dist/docs/development/authentication/02-enabling-authentication.md +152 -0
- package/dist/docs/development/authentication/07-rbac-middleware.md +269 -0
- package/dist/docs/development/authentication/_category_.json +11 -0
- package/dist/docs/development/authentication/providers/03-setting-up-github.md +83 -0
- package/dist/docs/development/authentication/providers/03a-setting-up-google.md +92 -0
- package/dist/docs/development/authentication/providers/04-setting-up-azure-ad.md +100 -0
- package/dist/docs/development/authentication/providers/05-setting-up-okta.md +105 -0
- package/dist/docs/development/authentication/providers/06-setting-up-auth0.md +106 -0
- package/dist/docs/development/authentication/providers/_category_.json +11 -0
- package/dist/docs/development/bring-your-own-documentation/01-introduction.md +48 -0
- package/dist/docs/development/bring-your-own-documentation/_category_.json +12 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/01-introduction.md +60 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/02-adding-custom-docs.md +207 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/03-components.md +46 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/04-owners.md +45 -0
- package/dist/docs/development/bring-your-own-documentation/custom-pages/_category_.json +11 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/01-introduction.md +34 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/02-adding-resource-docs.md +143 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/03-categories.md +68 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/04-versioning.md +45 -0
- package/dist/docs/development/bring-your-own-documentation/resource-docs/_category_.json +11 -0
- package/dist/docs/development/components/04-snippets.md +134 -0
- package/dist/docs/development/components/05-using-components.md +67 -0
- package/dist/docs/development/components/07-resource-references.md +136 -0
- package/dist/docs/development/components/_category_.json +12 -0
- package/dist/docs/development/components/components/01-accordian.md +41 -0
- package/dist/docs/development/components/components/02-accordian-group.md +57 -0
- package/dist/docs/development/components/components/03-admonitions.md +43 -0
- package/dist/docs/development/components/components/04-attachments.md +56 -0
- package/dist/docs/development/components/components/05-channel-information.md +29 -0
- package/dist/docs/development/components/components/06-design.md +66 -0
- package/dist/docs/development/components/components/07-entitymap.md +71 -0
- package/dist/docs/development/components/components/08-flow.md +46 -0
- package/dist/docs/development/components/components/09-link.md +32 -0
- package/dist/docs/development/components/components/10-mermaid-file-loader.md +63 -0
- package/dist/docs/development/components/components/11-message-table.md +43 -0
- package/dist/docs/development/components/components/12-nodegraph.md +167 -0
- package/dist/docs/development/components/components/13-openapi.md +55 -0
- package/dist/docs/development/components/components/14-prompt.md +69 -0
- package/dist/docs/development/components/components/15-remote-schema.md +174 -0
- package/dist/docs/development/components/components/16-resource-group-table.md +86 -0
- package/dist/docs/development/components/components/17-resource-link.md +57 -0
- package/dist/docs/development/components/components/18-schema.md +44 -0
- package/dist/docs/development/components/components/19-schema-viewer.md +69 -0
- package/dist/docs/development/components/components/20-steps.md +83 -0
- package/dist/docs/development/components/components/21-tabs.md +55 -0
- package/dist/docs/development/components/components/22-tiles.md +53 -0
- package/dist/docs/development/components/components/23-visibility.md +61 -0
- package/dist/docs/development/components/components/_category_.json +12 -0
- package/dist/docs/development/components/diagram-syntax/01-mermaid.md +218 -0
- package/dist/docs/development/components/diagram-syntax/02-plantuml.md +140 -0
- package/dist/docs/development/components/diagram-syntax/03-structurizr.md +24 -0
- package/dist/docs/development/components/diagram-syntax/04-icepanel.md +75 -0
- package/dist/docs/development/components/diagram-syntax/_category_.json +12 -0
- package/dist/docs/development/components/external-diagram-embeds/01-miro.md +64 -0
- package/dist/docs/development/components/external-diagram-embeds/02-lucid.md +47 -0
- package/dist/docs/development/components/external-diagram-embeds/03-drawio.md +46 -0
- package/dist/docs/development/components/external-diagram-embeds/04-figjam.md +44 -0
- package/dist/docs/development/components/external-diagram-embeds/05-icepanel.md +68 -0
- package/dist/docs/development/components/external-diagram-embeds/_category_.json +12 -0
- package/dist/docs/development/customization/01-customize-landing-page.md +155 -0
- package/dist/docs/development/customization/02-themes.md +429 -0
- package/dist/docs/development/customization/03-search.md +79 -0
- package/dist/docs/development/customization/06-customize-tables.md +194 -0
- package/dist/docs/development/customization/_category_.json +12 -0
- package/dist/docs/development/customization/custom-components/00-what-is-mdx.md +73 -0
- package/dist/docs/development/customization/custom-components/01-introduction.md +28 -0
- package/dist/docs/development/customization/custom-components/02-adding-components.md +145 -0
- package/dist/docs/development/customization/custom-components/03-component-styling.md +27 -0
- package/dist/docs/development/customization/custom-components/04-javascript-components.md +32 -0
- package/dist/docs/development/customization/custom-components/_category_.json +11 -0
- package/dist/docs/development/customization/customize-sidebars/00-application-sidebar.md +45 -0
- package/dist/docs/development/customization/customize-sidebars/01-documentation-sidebar.md +187 -0
- package/dist/docs/development/customization/customize-sidebars/_category_.json +11 -0
- package/dist/docs/development/customization/customize-visualizer/00-visualizer-nodes.md +50 -0
- package/dist/docs/development/customization/customize-visualizer/_category_.json +11 -0
- package/dist/docs/development/deployment/_category_.json +12 -0
- package/dist/docs/development/deployment/build-and-deploy.md +71 -0
- package/dist/docs/development/deployment/build-ssr-mode.md +50 -0
- package/dist/docs/development/deployment/deployment-workflows.md +43 -0
- package/dist/docs/development/deployment/hosting-options.md +112 -0
- package/dist/docs/development/deployment/licenses.md +50 -0
- package/dist/docs/development/design/_category_.json +12 -0
- package/dist/docs/development/design/embed-designs-into-eventcatalog.md +29 -0
- package/dist/docs/development/design/further-reading.md +19 -0
- package/dist/docs/development/design/import-resources.md +27 -0
- package/dist/docs/development/design/intro.md +22 -0
- package/dist/docs/development/developer-tools/_category_.json +12 -0
- package/dist/docs/development/developer-tools/eventcatalog-linter.md +597 -0
- package/dist/docs/development/developer-tools/github-action.md +147 -0
- package/dist/docs/development/developer-tools/llms.txt.md +55 -0
- package/dist/docs/development/developer-tools/schemas.txt.md +42 -0
- package/dist/docs/development/governance/_category_.json +6 -0
- package/dist/docs/development/governance/architecture-change-detection/01-introduction.md +62 -0
- package/dist/docs/development/governance/architecture-change-detection/02-configuration.md +134 -0
- package/dist/docs/development/governance/architecture-change-detection/03-recipes.md +309 -0
- package/dist/docs/development/governance/architecture-change-detection/04-webhooks.md +187 -0
- package/dist/docs/development/governance/architecture-change-detection/05-ci-cd.md +121 -0
- package/dist/docs/development/governance/architecture-change-detection/06-pipeline-gates.md +162 -0
- package/dist/docs/development/governance/architecture-change-detection/_category_.json +6 -0
- package/dist/docs/development/guides/12-customize-your-sidebar.md +12 -0
- package/dist/docs/development/guides/99-adding-analytics.md +138 -0
- package/dist/docs/development/guides/_category_.json +11 -0
- package/dist/docs/development/guides/changelogs/01-introduction.md +33 -0
- package/dist/docs/development/guides/changelogs/02-adding-changelogs.md +94 -0
- package/dist/docs/development/guides/changelogs/03-automated-changelogs.md +44 -0
- package/dist/docs/development/guides/changelogs/_category_.json +11 -0
- package/dist/docs/development/guides/channels/01-introduction.md +111 -0
- package/dist/docs/development/guides/channels/02-adding-channels.md +198 -0
- package/dist/docs/development/guides/channels/04-adding-messages-to-services.md +292 -0
- package/dist/docs/development/guides/channels/09-configuration +39 -0
- package/dist/docs/development/guides/channels/_category_.json +11 -0
- package/dist/docs/development/guides/channels/ownership-and-components/01-owners.md +44 -0
- package/dist/docs/development/guides/channels/ownership-and-components/02-components.md +16 -0
- package/dist/docs/development/guides/channels/ownership-and-components/_category_.json +11 -0
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/01-versioning.md +31 -0
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/02-changelog.md +56 -0
- package/dist/docs/development/guides/channels/versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/guides/data/01-introduction.md +34 -0
- package/dist/docs/development/guides/data/02-adding-data.md +86 -0
- package/dist/docs/development/guides/data/03a-adding-schemas-to-data-stores.md +73 -0
- package/dist/docs/development/guides/data/_category_.json +11 -0
- package/dist/docs/development/guides/data/ownership-and-components/01-owners.md +45 -0
- package/dist/docs/development/guides/data/ownership-and-components/02-components.md +17 -0
- package/dist/docs/development/guides/data/ownership-and-components/_category_.json +11 -0
- package/dist/docs/development/guides/data/versioning-and-lifecycle/01-versioning.md +32 -0
- package/dist/docs/development/guides/data/versioning-and-lifecycle/02-changelog.md +57 -0
- package/dist/docs/development/guides/data/versioning-and-lifecycle/03-deprecating.md +71 -0
- package/dist/docs/development/guides/data/versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/guides/data-products/01-introduction.md +116 -0
- package/dist/docs/development/guides/data-products/02-adding-data-products.md +157 -0
- package/dist/docs/development/guides/data-products/03-inputs-and-outputs.md +128 -0
- package/dist/docs/development/guides/data-products/04-contracts.md +102 -0
- package/dist/docs/development/guides/data-products/05-versioning.md +240 -0
- package/dist/docs/development/guides/data-products/06-adding-to-domains.md +52 -0
- package/dist/docs/development/guides/data-products/_category_.json +11 -0
- package/dist/docs/development/guides/diagrams/01-introduction.md +78 -0
- package/dist/docs/development/guides/diagrams/02-creating-diagrams.md +195 -0
- package/dist/docs/development/guides/diagrams/03-referencing-diagrams.md +195 -0
- package/dist/docs/development/guides/diagrams/04-versioning-diagrams.md +204 -0
- package/dist/docs/development/guides/diagrams/05-comparing-diagrams.md +145 -0
- package/dist/docs/development/guides/diagrams/06-diagrams-with-llms.md +165 -0
- package/dist/docs/development/guides/diagrams/_category_.json +10 -0
- package/dist/docs/development/guides/domains/01-introduction.md +22 -0
- package/dist/docs/development/guides/domains/02-creating-domains/02-adding-domains.md +108 -0
- package/dist/docs/development/guides/domains/02-creating-domains/02a-subdomains.md +84 -0
- package/dist/docs/development/guides/domains/02-creating-domains/03-adding-services-to-domains.md +90 -0
- package/dist/docs/development/guides/domains/02-creating-domains/04-adding-messages-to-domains.md +107 -0
- package/dist/docs/development/guides/domains/02-creating-domains/05-adding-data-products-to-domains.md +105 -0
- package/dist/docs/development/guides/domains/02-creating-domains/_category_.json +11 -0
- package/dist/docs/development/guides/domains/03-ownership-and-language/01-owners.md +36 -0
- package/dist/docs/development/guides/domains/03-ownership-and-language/02-adding-ubiquitous-language.md +75 -0
- package/dist/docs/development/guides/domains/03-ownership-and-language/_category_.json +10 -0
- package/dist/docs/development/guides/domains/04-versioning-and-changelogs/01-versioning.md +40 -0
- package/dist/docs/development/guides/domains/04-versioning-and-changelogs/02-changelog.md +53 -0
- package/dist/docs/development/guides/domains/04-versioning-and-changelogs/_category_.json +10 -0
- package/dist/docs/development/guides/domains/05-entities/01-introduction.md +24 -0
- package/dist/docs/development/guides/domains/05-entities/02-adding-entities.md +157 -0
- package/dist/docs/development/guides/domains/05-entities/03-adding-entities-to-domains.md +30 -0
- package/dist/docs/development/guides/domains/05-entities/04-domain-entity-map.md +134 -0
- package/dist/docs/development/guides/domains/05-entities/_category_.json +11 -0
- package/dist/docs/development/guides/domains/08-domain-integration-map.md +41 -0
- package/dist/docs/development/guides/domains/_category_.json +11 -0
- package/dist/docs/development/guides/flows/01-introduction.md +36 -0
- package/dist/docs/development/guides/flows/02-adding-flows.md +198 -0
- package/dist/docs/development/guides/flows/03-flow-nodes.md +273 -0
- package/dist/docs/development/guides/flows/04-adding-flows-to-services.md +42 -0
- package/dist/docs/development/guides/flows/05-adding-flows-to-domains.md +43 -0
- package/dist/docs/development/guides/flows/06-versioning.md +27 -0
- package/dist/docs/development/guides/flows/07-create-flow-with-ai.md +171 -0
- package/dist/docs/development/guides/flows/_category_.json +11 -0
- package/dist/docs/development/guides/messages/01-overview.md +57 -0
- package/dist/docs/development/guides/messages/_category_.json +11 -0
- package/dist/docs/development/guides/messages/commands/01-introduction.md +26 -0
- package/dist/docs/development/guides/messages/commands/02-adding-commands.md +131 -0
- package/dist/docs/development/guides/messages/commands/_category_.json +11 -0
- package/dist/docs/development/guides/messages/common/01-map-to-producers-and-consumers.md +37 -0
- package/dist/docs/development/guides/messages/common/02-adding-schemas.md +58 -0
- package/dist/docs/development/guides/messages/common/02-deprecating.md +71 -0
- package/dist/docs/development/guides/messages/common/02-draft-messages.md +63 -0
- package/dist/docs/development/guides/messages/common/02-examples.md +99 -0
- package/dist/docs/development/guides/messages/common/03-owners.md +40 -0
- package/dist/docs/development/guides/messages/common/04-versioning.md +27 -0
- package/dist/docs/development/guides/messages/common/05-changelog.md +73 -0
- package/dist/docs/development/guides/messages/common/07-components.md +12 -0
- package/dist/docs/development/guides/messages/common/08-shared-messages-across-boundaries.md +70 -0
- package/dist/docs/development/guides/messages/common/09-grouping-messages.md +98 -0
- package/dist/docs/development/guides/messages/common/_category_.json +11 -0
- package/dist/docs/development/guides/messages/events/01-introduction.md +25 -0
- package/dist/docs/development/guides/messages/events/02-adding-events.md +130 -0
- package/dist/docs/development/guides/messages/events/_category_.json +11 -0
- package/dist/docs/development/guides/messages/queries/01-introduction.md +25 -0
- package/dist/docs/development/guides/messages/queries/02-adding-queries.md +130 -0
- package/dist/docs/development/guides/messages/queries/_category_.json +11 -0
- package/dist/docs/development/guides/owners/_category_.json +11 -0
- package/dist/docs/development/guides/owners/teams/01-introduction.md +21 -0
- package/dist/docs/development/guides/owners/teams/02-adding-teams.md +73 -0
- package/dist/docs/development/guides/owners/teams/_category_.json +11 -0
- package/dist/docs/development/guides/owners/users/01-introduction.md +20 -0
- package/dist/docs/development/guides/owners/users/02-adding-users.md +70 -0
- package/dist/docs/development/guides/owners/users/_category_.json +11 -0
- package/dist/docs/development/guides/schemas/01-introduction.md +64 -0
- package/dist/docs/development/guides/schemas/02-schema-explorer.md +74 -0
- package/dist/docs/development/guides/schemas/03-schema-api.md +59 -0
- package/dist/docs/development/guides/schemas/04-schema-mcp.md +22 -0
- package/dist/docs/development/guides/schemas/05-field-usage.md +120 -0
- package/dist/docs/development/guides/schemas/06-fields-explorer.md +120 -0
- package/dist/docs/development/guides/schemas/_category_.json +11 -0
- package/dist/docs/development/guides/services/01-introduction.md +33 -0
- package/dist/docs/development/guides/services/02-adding-services.md +113 -0
- package/dist/docs/development/guides/services/03-creating-external-systems.md +71 -0
- package/dist/docs/development/guides/services/_category_.json +11 -0
- package/dist/docs/development/guides/services/adding-to-services/01-messages.md +229 -0
- package/dist/docs/development/guides/services/adding-to-services/02-datastores.md +77 -0
- package/dist/docs/development/guides/services/adding-to-services/03-entities.md +47 -0
- package/dist/docs/development/guides/services/adding-to-services/04-openapi.md +97 -0
- package/dist/docs/development/guides/services/adding-to-services/05-asyncapi.md +97 -0
- package/dist/docs/development/guides/services/adding-to-services/06-graphql.md +96 -0
- package/dist/docs/development/guides/services/adding-to-services/_category_.json +10 -0
- package/dist/docs/development/guides/services/ownership-and-components/01-owners.md +41 -0
- package/dist/docs/development/guides/services/ownership-and-components/02-components.md +13 -0
- package/dist/docs/development/guides/services/ownership-and-components/_category_.json +11 -0
- package/dist/docs/development/guides/services/versioning-and-lifecycle/01-versioning.md +27 -0
- package/dist/docs/development/guides/services/versioning-and-lifecycle/02-changelog.md +52 -0
- package/dist/docs/development/guides/services/versioning-and-lifecycle/03-deprecating.md +70 -0
- package/dist/docs/development/guides/services/versioning-and-lifecycle/_category_.json +11 -0
- package/dist/docs/development/upgrading/_category_.json +12 -0
- package/dist/docs/development/upgrading/upgrading.md +142 -0
- package/dist/docs/development/upgrading/v2.md +69 -0
- package/dist/docs/development/upgrading/v3.md +277 -0
- package/dist/docs/miro/_category_.json +12 -0
- package/dist/docs/miro/contributing/01-getting-involved.md +53 -0
- package/dist/docs/miro/contributing/_category_.json +11 -0
- package/dist/docs/miro/getting-started/01-overview.md +63 -0
- package/dist/docs/miro/getting-started/02-installation.md +37 -0
- package/dist/docs/miro/getting-started/03-connecting-to-eventcatalog.md +59 -0
- package/dist/docs/miro/getting-started/_category_.json +11 -0
- package/dist/docs/miro/guides/01-adding-resources-to-board.md +90 -0
- package/dist/docs/miro/guides/02-creating-new-resources.md +61 -0
- package/dist/docs/miro/guides/03-editing-resources.md +50 -0
- package/dist/docs/miro/guides/04-connected-resources.md +54 -0
- package/dist/docs/miro/guides/05-services-and-dependencies.md +54 -0
- package/dist/docs/miro/guides/06-navigating-the-board.md +44 -0
- package/dist/docs/miro/guides/07-exporting-to-eventcatalog.md +75 -0
- package/dist/docs/miro/guides/_category_.json +11 -0
- package/dist/docs/miro/specifications/01-asyncapi.md +86 -0
- package/dist/docs/miro/specifications/02-openapi.md +86 -0
- package/dist/docs/miro/specifications/03-schema-registries.md +88 -0
- package/dist/docs/miro/specifications/_category_.json +11 -0
- package/dist/docs/miro/using-ai/01-overview.md +105 -0
- package/dist/docs/miro/using-ai/_category_.json +11 -0
- package/dist/docs/plugins/01-intro.md +49 -0
- package/dist/docs/plugins/02-generators.md +76 -0
- package/dist/docs/plugins/03-all-plugins.md +26 -0
- package/dist/docs/plugins/_category_.json +12 -0
- package/dist/docs/plugins/amazon-apigateway/00-intro.md +75 -0
- package/dist/docs/plugins/amazon-apigateway/01-installation.md +198 -0
- package/dist/docs/plugins/amazon-apigateway/02-plugin-configuration.md +136 -0
- package/dist/docs/plugins/amazon-apigateway/03-features.md +71 -0
- package/dist/docs/plugins/amazon-apigateway/04-examples.md +15 -0
- package/dist/docs/plugins/amazon-apigateway/_category_.json +11 -0
- package/dist/docs/plugins/apicurio/00-intro.md +102 -0
- package/dist/docs/plugins/apicurio/01-installation.md +165 -0
- package/dist/docs/plugins/apicurio/02-plugin-configuration.md +682 -0
- package/dist/docs/plugins/apicurio/03-features.md +221 -0
- package/dist/docs/plugins/apicurio/04-examples.md +20 -0
- package/dist/docs/plugins/apicurio/_category_.json +12 -0
- package/dist/docs/plugins/asyncapi/00-intro.md +81 -0
- package/dist/docs/plugins/asyncapi/01-installation.md +155 -0
- package/dist/docs/plugins/asyncapi/02-plugin-configuration.md +312 -0
- package/dist/docs/plugins/asyncapi/03-features.md +698 -0
- package/dist/docs/plugins/asyncapi/03a-workflows.md +153 -0
- package/dist/docs/plugins/asyncapi/04-examples.md +23 -0
- package/dist/docs/plugins/asyncapi/04-using-reference-objects.md +45 -0
- package/dist/docs/plugins/asyncapi/_category_.json +12 -0
- package/dist/docs/plugins/aws-glue-registry/00-intro.md +104 -0
- package/dist/docs/plugins/aws-glue-registry/00a-installation.md +305 -0
- package/dist/docs/plugins/aws-glue-registry/01-features.md +287 -0
- package/dist/docs/plugins/aws-glue-registry/02-examples.md +368 -0
- package/dist/docs/plugins/aws-glue-registry/03-api.md +282 -0
- package/dist/docs/plugins/aws-glue-registry/_category_.json +11 -0
- package/dist/docs/plugins/azure-schema-registry/00-intro.md +92 -0
- package/dist/docs/plugins/azure-schema-registry/01-installation.md +409 -0
- package/dist/docs/plugins/azure-schema-registry/02-plugin-configuration.md +375 -0
- package/dist/docs/plugins/azure-schema-registry/03-features.md +347 -0
- package/dist/docs/plugins/azure-schema-registry/04-examples.md +378 -0
- package/dist/docs/plugins/azure-schema-registry/_category_.json +12 -0
- package/dist/docs/plugins/backstage/00-intro.md +67 -0
- package/dist/docs/plugins/backstage/01-installation.md +250 -0
- package/dist/docs/plugins/backstage/02-api.md +51 -0
- package/dist/docs/plugins/backstage/03-examples.md +12 -0
- package/dist/docs/plugins/backstage/_category_.json +11 -0
- package/dist/docs/plugins/confluent-schema-registry/00-intro.md +90 -0
- package/dist/docs/plugins/confluent-schema-registry/01-installation.md +223 -0
- package/dist/docs/plugins/confluent-schema-registry/02-plugin-configuration.md +473 -0
- package/dist/docs/plugins/confluent-schema-registry/03-features.md +43 -0
- package/dist/docs/plugins/confluent-schema-registry/04-examples.md +19 -0
- package/dist/docs/plugins/confluent-schema-registry/_category_.json +12 -0
- package/dist/docs/plugins/eventbridge/00-intro.md +55 -0
- package/dist/docs/plugins/eventbridge/00a-installation.md +317 -0
- package/dist/docs/plugins/eventbridge/01-features.md +225 -0
- package/dist/docs/plugins/eventbridge/02-examples.md +17 -0
- package/dist/docs/plugins/eventbridge/03-api.md +441 -0
- package/dist/docs/plugins/eventbridge/03a-workflows.md +133 -0
- package/dist/docs/plugins/eventbridge/_category_.json +11 -0
- package/dist/docs/plugins/eventcatalog-federation/00-introduction.md +69 -0
- package/dist/docs/plugins/eventcatalog-federation/01-installation.md +182 -0
- package/dist/docs/plugins/eventcatalog-federation/02-plugin-configuration.md +208 -0
- package/dist/docs/plugins/eventcatalog-federation/03-examples.md +15 -0
- package/dist/docs/plugins/eventcatalog-federation/04-configuration.md +193 -0
- package/dist/docs/plugins/eventcatalog-federation/05-setup-team-catalog.md +97 -0
- package/dist/docs/plugins/eventcatalog-federation/_category_.json +11 -0
- package/dist/docs/plugins/github/00-intro.md +93 -0
- package/dist/docs/plugins/github/01-installation.md +293 -0
- package/dist/docs/plugins/github/02-plugin-configuration.md +253 -0
- package/dist/docs/plugins/github/03-features.md +42 -0
- package/dist/docs/plugins/github/04-examples.md +17 -0
- package/dist/docs/plugins/github/_category_.json +12 -0
- package/dist/docs/plugins/graphql/00-intro.md +74 -0
- package/dist/docs/plugins/graphql/01-installation.md +144 -0
- package/dist/docs/plugins/graphql/02-plugin-configuration.md +127 -0
- package/dist/docs/plugins/graphql/03-features.md +197 -0
- package/dist/docs/plugins/graphql/04-examples.md +15 -0
- package/dist/docs/plugins/graphql/_category_.json +12 -0
- package/dist/docs/plugins/hookdeck/01-intro.md +152 -0
- package/dist/docs/plugins/hookdeck/02-api.md +133 -0
- package/dist/docs/plugins/hookdeck/03-cli.md +45 -0
- package/dist/docs/plugins/hookdeck/_category_.json +11 -0
- package/dist/docs/plugins/openapi/00-intro.md +78 -0
- package/dist/docs/plugins/openapi/01-installation.md +148 -0
- package/dist/docs/plugins/openapi/02-plugin-configuration.md +332 -0
- package/dist/docs/plugins/openapi/03-features.md +790 -0
- package/dist/docs/plugins/openapi/03a-workflows.md +153 -0
- package/dist/docs/plugins/openapi/04-examples.md +23 -0
- package/dist/docs/plugins/openapi/_category_.json +12 -0
- package/dist/eventcatalog.cjs +434 -35
- package/dist/eventcatalog.config.d.cts +8 -0
- package/dist/eventcatalog.config.d.ts +8 -0
- package/dist/eventcatalog.js +87 -10
- package/dist/features.cjs +6 -0
- package/dist/features.d.cts +2 -1
- package/dist/features.d.ts +2 -1
- package/dist/features.js +3 -1
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/search-indexer.cjs +356 -0
- package/dist/search-indexer.d.cts +30 -0
- package/dist/search-indexer.d.ts +30 -0
- package/dist/search-indexer.js +10 -0
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/eventcatalog/astro.config.mjs +28 -32
- package/eventcatalog/src/components/Search/SearchModal.tsx +248 -148
- package/eventcatalog/src/components/Search/search-utils.spec.ts +138 -1
- package/eventcatalog/src/components/Search/search-utils.ts +271 -0
- package/eventcatalog/src/env.d.ts +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 6
|
|
3
|
+
sidebar_label: Pipeline gates
|
|
4
|
+
title: Pipeline gates
|
|
5
|
+
description: Block merges automatically when governance rules trigger
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Use the `fail` action to exit the CLI with code `1`, turning governance checks into hard gates that prevent merges when architectural rules are violated. Without `fail`, triggered rules only notify -- the CLI always exits `0`.
|
|
9
|
+
|
|
10
|
+
:::info Scale plan required
|
|
11
|
+
Architecture Change Detection requires an [EventCatalog Scale plan](https://eventcatalog.dev/pricing).
|
|
12
|
+
:::
|
|
13
|
+
|
|
14
|
+
## Add the fail action
|
|
15
|
+
|
|
16
|
+
Add `type: fail` to any rule that should block the pipeline. The `message` field is optional but recommended -- it explains to the developer exactly what needs to happen before the PR can merge.
|
|
17
|
+
|
|
18
|
+
```yaml title="governance.yaml"
|
|
19
|
+
rules:
|
|
20
|
+
- name: payment-schema-guard
|
|
21
|
+
when:
|
|
22
|
+
- schema_changed
|
|
23
|
+
resources:
|
|
24
|
+
- consumes:PaymentService
|
|
25
|
+
- message:PaymentProcessed
|
|
26
|
+
actions:
|
|
27
|
+
- type: console
|
|
28
|
+
- type: fail
|
|
29
|
+
message: "Schema change impacts payment services. Requires sign-off from @payments-team."
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
When this rule fires, the CLI prints the failure reason and exits with code `1`:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
Governance check: comparing feat/api-change against main
|
|
36
|
+
|
|
37
|
+
Governance:
|
|
38
|
+
|
|
39
|
+
Rule "payment-schema-guard" triggered (schema_changed):
|
|
40
|
+
! Schema changed for PaymentProcessed (event) — consumers: PaymentService
|
|
41
|
+
|
|
42
|
+
1 rule triggered.
|
|
43
|
+
|
|
44
|
+
FAILED: payment-schema-guard
|
|
45
|
+
Schema change impacts payment services. Requires sign-off from @payments-team.
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Combine with webhooks
|
|
49
|
+
|
|
50
|
+
Pairing `type: fail` with `type: webhook` lets you block the pipeline and notify the right team at the same time. Both actions run before the process exits.
|
|
51
|
+
|
|
52
|
+
```yaml title="governance.yaml"
|
|
53
|
+
rules:
|
|
54
|
+
- name: payment-schema-guard
|
|
55
|
+
when:
|
|
56
|
+
- schema_changed
|
|
57
|
+
resources:
|
|
58
|
+
- consumes:PaymentService
|
|
59
|
+
- consumes:BillingService
|
|
60
|
+
actions:
|
|
61
|
+
- type: console
|
|
62
|
+
- type: webhook
|
|
63
|
+
url: $SLACK_ALERTS_WEBHOOK
|
|
64
|
+
headers:
|
|
65
|
+
Authorization: Bearer $SLACK_TOKEN
|
|
66
|
+
- type: fail
|
|
67
|
+
message: "Schema change impacts payment services. Requires sign-off from @payments-team."
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Use environment variables in messages
|
|
71
|
+
|
|
72
|
+
The `message` field supports `$ENV_VAR` interpolation, the same as webhook URLs and headers. This lets you include dynamic content such as a team handle or ticket URL stored in CI secrets.
|
|
73
|
+
|
|
74
|
+
```yaml
|
|
75
|
+
actions:
|
|
76
|
+
- type: fail
|
|
77
|
+
message: "Breaking change detected. Contact $PAYMENTS_TEAM_HANDLE for approval."
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Mix blocking and non-blocking rules
|
|
81
|
+
|
|
82
|
+
Rules without a `fail` action always exit `0`. You can freely mix notification-only rules with blocking rules in the same file. Only rules that include `type: fail` and actually trigger will cause a non-zero exit.
|
|
83
|
+
|
|
84
|
+
```yaml title="governance.yaml"
|
|
85
|
+
rules:
|
|
86
|
+
# Blocks CI
|
|
87
|
+
- name: consumer-removal-guard
|
|
88
|
+
when:
|
|
89
|
+
- consumer_removed
|
|
90
|
+
resources:
|
|
91
|
+
- "*"
|
|
92
|
+
actions:
|
|
93
|
+
- type: console
|
|
94
|
+
- type: fail
|
|
95
|
+
message: "Removing a consumer is a breaking change. Open a migration ticket first."
|
|
96
|
+
|
|
97
|
+
# Notifies only, never blocks
|
|
98
|
+
- name: notify-new-consumers
|
|
99
|
+
when:
|
|
100
|
+
- consumer_added
|
|
101
|
+
resources:
|
|
102
|
+
- "*"
|
|
103
|
+
actions:
|
|
104
|
+
- type: console
|
|
105
|
+
- type: webhook
|
|
106
|
+
url: $SLACK_NOTIFICATIONS_WEBHOOK
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Set up GitHub Actions
|
|
110
|
+
|
|
111
|
+
No special flags are needed. The step fails automatically when the CLI exits with code `1`.
|
|
112
|
+
|
|
113
|
+
```yaml title=".github/workflows/governance.yaml"
|
|
114
|
+
name: EventCatalog Governance
|
|
115
|
+
on:
|
|
116
|
+
pull_request:
|
|
117
|
+
types: [opened, synchronize, reopened]
|
|
118
|
+
|
|
119
|
+
jobs:
|
|
120
|
+
governance:
|
|
121
|
+
runs-on: ubuntu-latest
|
|
122
|
+
steps:
|
|
123
|
+
- uses: actions/checkout@v4
|
|
124
|
+
with:
|
|
125
|
+
fetch-depth: 0
|
|
126
|
+
ref: ${{ github.head_ref }}
|
|
127
|
+
- run: git fetch origin main
|
|
128
|
+
- uses: actions/setup-node@v4
|
|
129
|
+
with:
|
|
130
|
+
node-version: '24'
|
|
131
|
+
- run: |
|
|
132
|
+
npx @eventcatalog/cli governance check \
|
|
133
|
+
--base main \
|
|
134
|
+
--target ${{ github.head_ref }}
|
|
135
|
+
env:
|
|
136
|
+
EVENTCATALOG_SCALE_LICENSE_KEY: ${{ secrets.EVENTCATALOG_SCALE_LICENSE_KEY }}
|
|
137
|
+
SLACK_ALERTS_WEBHOOK: ${{ secrets.SLACK_ALERTS_WEBHOOK }}
|
|
138
|
+
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
If a triggered rule has `type: fail`, the `Run governance check` step is marked as failed and the PR cannot be merged until the check passes.
|
|
142
|
+
|
|
143
|
+
## Set up GitLab CI
|
|
144
|
+
|
|
145
|
+
```yaml title=".gitlab-ci.yml"
|
|
146
|
+
governance:
|
|
147
|
+
stage: validate
|
|
148
|
+
script:
|
|
149
|
+
- npx @eventcatalog/cli governance check --base origin/main
|
|
150
|
+
variables:
|
|
151
|
+
EVENTCATALOG_SCALE_LICENSE_KEY: $EVENTCATALOG_SCALE_LICENSE_KEY
|
|
152
|
+
SLACK_ALERTS_WEBHOOK: $SLACK_ALERTS_WEBHOOK
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Common gating patterns
|
|
156
|
+
|
|
157
|
+
| Scenario | Trigger | Resource filter |
|
|
158
|
+
|---|---|---|
|
|
159
|
+
| Block schema changes to payment messages | `schema_changed` | `consumes:PaymentService` or `message:PaymentProcessed` |
|
|
160
|
+
| Block silent consumer removal | `consumer_removed` | `"*"` |
|
|
161
|
+
| Block unreviewed deprecations | `message_deprecated` | `"*"` |
|
|
162
|
+
| Block producer removal for critical messages | `producer_removed` | `message:OrderCreated` |
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 200
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog custom documentation
|
|
5
|
+
sidebar_label: Customize sidebar
|
|
6
|
+
title: Customize your docs sidebar
|
|
7
|
+
description: Customize your docs sidebar to show your own content.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
EventCatalog provides the ability to customize the documentation sidebar to show your own content.
|
|
11
|
+
|
|
12
|
+
You can read and follow the guide on [how to customize the documentation sidebar](/docs/development/customization/customize-sidebars/documentation-sidebar).
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 99
|
|
3
|
+
sidebar_label: Adding Analytics
|
|
4
|
+
title: Adding Analytics
|
|
5
|
+
description: Track page views and user behavior across your catalog
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
import PlanBanner from '@site/src/components/MDX/PlanBanner';
|
|
9
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
10
|
+
|
|
11
|
+
<PlanBanner plan="Scale" />
|
|
12
|
+
<AddedIn version="3.21.0" />
|
|
13
|
+
|
|
14
|
+
EventCatalog supports analytics integrations that let you track how your team navigates and uses your catalog. Connect your existing analytics tools to understand which services, events, and flows your team visits most.
|
|
15
|
+
|
|
16
|
+
Three providers are supported: **Google Analytics 4**, **Google Tag Manager**, and **PostHog**. Multiple providers can be enabled at the same time.
|
|
17
|
+
|
|
18
|
+
*Don't see your analytics provider? [Get in contact with us](https://discord.gg/3rjaZMmrAm) and let us know.*
|
|
19
|
+
|
|
20
|
+
## How it works
|
|
21
|
+
|
|
22
|
+
Analytics are configured in `eventcatalog.config.js` under the `integrations` key. When EventCatalog loads, the provider scripts are injected into the page `<head>` and a tracker listens for every navigation event.
|
|
23
|
+
|
|
24
|
+
Every page view sends a set of properties automatically extracted from the URL:
|
|
25
|
+
|
|
26
|
+
| Property | Description |
|
|
27
|
+
|---|---|
|
|
28
|
+
| `url` | The page pathname |
|
|
29
|
+
| `section` | Catalog area: `visualiser`, `discover`, `directory`, `schemas`, `custom-docs`, `docs`, `home`, or `other` |
|
|
30
|
+
| `resource_type` | One of: `service`, `event`, `command`, `query`, `domain`, `flow`, `channel`, `entity` |
|
|
31
|
+
| `resource_id` | The resource identifier |
|
|
32
|
+
| `resource_version` | The semver version |
|
|
33
|
+
|
|
34
|
+
Analytics scripts load asynchronously and never block page rendering. If a provider fails, errors are caught silently so analytics never affect the catalog.
|
|
35
|
+
|
|
36
|
+
## Configure a provider
|
|
37
|
+
|
|
38
|
+
Add an `integrations` block to your `eventcatalog.config.js`. All providers are optional and can be combined.
|
|
39
|
+
|
|
40
|
+
### Google Analytics 4
|
|
41
|
+
|
|
42
|
+
```js title="eventcatalog.config.js"
|
|
43
|
+
export default {
|
|
44
|
+
// ...
|
|
45
|
+
integrations: {
|
|
46
|
+
ga4: {
|
|
47
|
+
measurementId: 'G-XXXXXXXXXX',
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Google Tag Manager
|
|
54
|
+
|
|
55
|
+
```js title="eventcatalog.config.js"
|
|
56
|
+
export default {
|
|
57
|
+
// ...
|
|
58
|
+
integrations: {
|
|
59
|
+
gtm: {
|
|
60
|
+
tagId: 'GTM-XXXXXXX',
|
|
61
|
+
},
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### PostHog
|
|
67
|
+
|
|
68
|
+
```js title="eventcatalog.config.js"
|
|
69
|
+
export default {
|
|
70
|
+
// ...
|
|
71
|
+
integrations: {
|
|
72
|
+
posthog: {
|
|
73
|
+
apiKey: 'phc_XXXXXXXXXXXX',
|
|
74
|
+
// Optional: defaults to US cloud
|
|
75
|
+
apiHost: 'https://us.i.posthog.com',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
};
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Use multiple providers
|
|
82
|
+
|
|
83
|
+
Providers can be combined in a single `integrations` block.
|
|
84
|
+
|
|
85
|
+
```js title="eventcatalog.config.js"
|
|
86
|
+
export default {
|
|
87
|
+
// ...
|
|
88
|
+
integrations: {
|
|
89
|
+
ga4: {
|
|
90
|
+
measurementId: 'G-XXXXXXXXXX',
|
|
91
|
+
},
|
|
92
|
+
gtm: {
|
|
93
|
+
tagId: 'GTM-XXXXXXX',
|
|
94
|
+
},
|
|
95
|
+
posthog: {
|
|
96
|
+
apiKey: 'phc_XXXXXXXXXXXX',
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
};
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Enable debug mode
|
|
103
|
+
|
|
104
|
+
Set `debug: true` to log all analytics events to the browser console. This is useful for verifying that events are being sent correctly before deploying.
|
|
105
|
+
|
|
106
|
+
```js title="eventcatalog.config.js"
|
|
107
|
+
export default {
|
|
108
|
+
// ...
|
|
109
|
+
integrations: {
|
|
110
|
+
debug: true,
|
|
111
|
+
ga4: {
|
|
112
|
+
measurementId: 'G-XXXXXXXXXX',
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
All events will appear in the browser console prefixed with `[EventCatalog Analytics]`, including adapter registration, page views, and any custom events.
|
|
119
|
+
|
|
120
|
+
## Track custom events
|
|
121
|
+
|
|
122
|
+
The analytics manager is exposed on `window.__ec_analytics`. Use it to send custom events from your own scripts or MDX pages.
|
|
123
|
+
|
|
124
|
+
```js
|
|
125
|
+
if (window.__ec_analytics) {
|
|
126
|
+
window.__ec_analytics.track('custom_event', { key: 'value' });
|
|
127
|
+
}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
Custom events are forwarded to all configured providers simultaneously.
|
|
131
|
+
|
|
132
|
+
## Missing an integration?
|
|
133
|
+
|
|
134
|
+
If you need support for an analytics provider not listed here, [open a GitHub issue](https://github.com/boyney123/eventcatalog/issues) or [join the Discord community](https://discord.gg/3rjaZMmrAm) and let us know. We are always looking to expand our integrations based on what teams are using.
|
|
135
|
+
|
|
136
|
+
:::info Scale plan required
|
|
137
|
+
Analytics integrations require an [EventCatalog Scale plan](https://eventcatalog.dev/pricing). If you configure integrations without a valid license, a warning is shown during build.
|
|
138
|
+
:::
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog services
|
|
5
|
+
- Changelogs
|
|
6
|
+
sidebar_label: What are changelogs?
|
|
7
|
+
title: Understanding changelogs
|
|
8
|
+
description: What are changelogs
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
In your architecture, various resources like domains, services, schemas, and boundaries are constantly evolving. **Unfortunately, the context or reason behind these changes often gets lost.**
|
|
12
|
+
|
|
13
|
+
EventCatalog changelogs allow you to capture these changes and help your team understand the history of your architecture.
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- Powered by markdown, add a `changelog.mdx` to your domains, services and messages
|
|
18
|
+
- Automated diffs for `.json`, `.avro`, `.yml` and `.yaml` files.
|
|
19
|
+
- Custom components and MDX component support
|
|
20
|
+
- Timestamps and linear history on page
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
#### Example
|
|
26
|
+
|
|
27
|
+
<!--  -->
|
|
28
|
+
|
|
29
|
+

|
|
30
|
+
|
|
31
|
+
[You can see a changelog example here](https://demo.eventcatalog.dev/docs/events/InventoryAdjusted/1.0.1/changelog).
|
|
32
|
+
|
|
33
|
+
<!-- http://localhost:3000/assets/images/changelog-b60ba4ecaafb228a61fd5a517d3c1428.png -->
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog changelogs
|
|
5
|
+
sidebar_label: Creating a changelog
|
|
6
|
+
title: Creating changelogs
|
|
7
|
+
description: Creating and managing changelogs within EventCatalog.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import Tabs from '@theme/Tabs';
|
|
11
|
+
import TabItem from '@theme/TabItem';
|
|
12
|
+
|
|
13
|
+
Changelogs are currently supported in [domains](/docs/development/guides/domains/versioning-and-changelogs/changelog), [services](/docs/development/guides/services/versioning-and-lifecycle/changelog) and [messages](/docs/development/guides/messages/common/changelog).
|
|
14
|
+
|
|
15
|
+
To add a changelog to your resources you need to create a `changelog.mdx` file.
|
|
16
|
+
|
|
17
|
+
- /\{resource\}/\{resource name\}/changelog.mdx
|
|
18
|
+
- example: /services/My Service/changelog.mdx
|
|
19
|
+
- example for verion: /services/My Service/versioned/0.0.1/changelog.mdx
|
|
20
|
+
|
|
21
|
+
**Example of changelogs for resources**
|
|
22
|
+
|
|
23
|
+
<Tabs>
|
|
24
|
+
<TabItem value="events" label="Events" default>
|
|
25
|
+
```md title="/events/OrderPlaced/changelog.mdx"
|
|
26
|
+
---
|
|
27
|
+
createdAt: 2024-08-01
|
|
28
|
+
badges:
|
|
29
|
+
- content: ⭐️ JSON Schema
|
|
30
|
+
backgroundColor: purple
|
|
31
|
+
textColor: purple
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
### Added support for JSON Schema
|
|
35
|
+
|
|
36
|
+
InventoryAdjusted uses Avro but now also supports JSON Draft 7.
|
|
37
|
+
|
|
38
|
+
```json title="Employee JSON Draft"
|
|
39
|
+
// labeled-line-markers.jsx
|
|
40
|
+
{
|
|
41
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
42
|
+
"type": "object",
|
|
43
|
+
"title": "Employee",
|
|
44
|
+
"properties": {
|
|
45
|
+
"Name": {
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
"Age": {
|
|
49
|
+
"type": "integer"
|
|
50
|
+
},
|
|
51
|
+
"Town": {
|
|
52
|
+
"type": "string"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": ["Name", "Age", "Town"]
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
``
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
</TabItem>
|
|
62
|
+
<TabItem value="services" label="Services">
|
|
63
|
+
```md title="/services/Inventory/changelog.mdx"
|
|
64
|
+
---
|
|
65
|
+
createdAt: 2024-08-01
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
### Service receives additional events
|
|
69
|
+
|
|
70
|
+
Service now receives [OrderAmended](/docs/events/OrderAmended/0.0.1) and [UpdateInventory](/docs/commands/UpdateInventory/0.0.3) events.
|
|
71
|
+
```
|
|
72
|
+
</TabItem>
|
|
73
|
+
<TabItem value="domains" label="Domains">
|
|
74
|
+
```md title="/domains/Order/changelog.mdx"
|
|
75
|
+
---
|
|
76
|
+
createdAt: 2024-08-01
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
### New service added to the Payment domain
|
|
80
|
+
|
|
81
|
+
Service now receives [OrderAmended](/docs/events/OrderAmended/0.0.1) and [UpdateInventory](/docs/commands/UpdateInventory/0.0.3) events.
|
|
82
|
+
```
|
|
83
|
+
</TabItem>
|
|
84
|
+
</Tabs>
|
|
85
|
+
|
|
86
|
+
### Viewing your changelog
|
|
87
|
+
|
|
88
|
+
Domains, services and messages have a **Changelog** button. Clicking this button will take you to the changelog for that resource.
|
|
89
|
+
|
|
90
|
+

|
|
91
|
+
|
|
92
|
+
Domains, services and messages all have a changelog url.
|
|
93
|
+
|
|
94
|
+
See example changelog: https://demo.eventcatalog.dev/docs/events/InventoryAdjusted/1.0.1/changelog
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 2
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog diffs
|
|
5
|
+
sidebar_label: Automated diffs
|
|
6
|
+
title: Automated diffs
|
|
7
|
+
description: Understanding how EventCatalog automates diffs for your files
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
<AddedIn version="2.7.3"/>
|
|
13
|
+
|
|
14
|
+
EventCatalog allows you to store schemas, API specifications and custom files along side your domains, services and messages. For [example you can add specifications to a service](/docs/development/guides/services/adding-to-services/openapi).
|
|
15
|
+
|
|
16
|
+
When you version your resources, you can also version the files. When you do this, EventCatalog will match the current version to it's previous version and calculate if any diffs should be displayed in your changelog page.
|
|
17
|
+
|
|
18
|
+
**Features**
|
|
19
|
+
|
|
20
|
+
- Automated diffs for your OpenAPI and AsyncAPI files
|
|
21
|
+
- Automated diffs for your schemas (any format)
|
|
22
|
+
|
|
23
|
+
:::info
|
|
24
|
+
Automated diffs only work with `.json`, `.avro`, `.yml` and `.yaml` files at the moment. If you would like to support more files please raise an issue on GitHub.
|
|
25
|
+
:::
|
|
26
|
+
|
|
27
|
+
### How it works
|
|
28
|
+
|
|
29
|
+
Let's say we have a service called Orders, this service has an OpenAPI file.
|
|
30
|
+
- `/services/Orders/index.mdx`
|
|
31
|
+
- `/services/Orders/openapi.yml`
|
|
32
|
+
- `/services/Orders/changelog.mdx`
|
|
33
|
+
|
|
34
|
+
Let's now version this service, by added the `versioned` folder.
|
|
35
|
+
|
|
36
|
+
- `/services/Orders/versioned/0.0.1/index.mdx`
|
|
37
|
+
- `/services/Orders/versioned/0.0.1/openapi.yml`
|
|
38
|
+
- `/services/Orders/versioned/0.0.1/changelog.mdx`
|
|
39
|
+
|
|
40
|
+
If any changes have been made to the `openapi.yml` file in this example, this changes will be shown in the service changelog page.
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
[You can see the example in our demo](https://demo.eventcatalog.dev/docs/services/OrdersService/0.0.3/changelog).
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "Changelogs",
|
|
3
|
+
"position": 12,
|
|
4
|
+
"collapsible": true,
|
|
5
|
+
"collapsed": true,
|
|
6
|
+
"link": {
|
|
7
|
+
"type": "generated-index",
|
|
8
|
+
"slug": "/changelogs",
|
|
9
|
+
"description": "A collection of guides to help you understand changelogs and how they work with EventCatalog."
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog services
|
|
5
|
+
- Services
|
|
6
|
+
sidebar_label: What are channels?
|
|
7
|
+
title: Understanding channels
|
|
8
|
+
description: What are channels? Why are they useful for event-driven architectures?
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
12
|
+
|
|
13
|
+
<AddedIn version="2.13.0" />
|
|
14
|
+
|
|
15
|
+
In EventCatalog a channel represents the organization and transmission of messages.
|
|
16
|
+
|
|
17
|
+
Channels in EventCatalog describe how a messages transport between producers and consumers. You can use the channels resource to help your team understand how your messages are transported.
|
|
18
|
+
|
|
19
|
+
```mermaid
|
|
20
|
+
sequenceDiagram
|
|
21
|
+
participant P as Producer
|
|
22
|
+
participant MC as Channel
|
|
23
|
+
participant C as Consumer
|
|
24
|
+
|
|
25
|
+
P->>MC: Send Message
|
|
26
|
+
MC->>C: Deliver Message
|
|
27
|
+
C-->>MC: Acknowledge
|
|
28
|
+
```
|
|
29
|
+
<br/>
|
|
30
|
+
|
|
31
|
+
Channels are resources in EventCatalog that you can define in a `/channels` directory.
|
|
32
|
+
The channel directory can be defined anywhere in your EventCatalog or you can have many channel directories in your EventCatalog.
|
|
33
|
+
|
|
34
|
+
<!-- Any message ([event](/docs/development/guides/messages/events/introduction), [command](/docs/development/guides/messages/commands/introduction) or [query](/docs/development/guides/messages/queries/introduction)) can be associated to one or many channels. -->
|
|
35
|
+
|
|
36
|
+
### Example of a channels are visualized in EventCatalog
|
|
37
|
+
|
|
38
|
+
Here is an example of the `Orders Service` publishing an event `Order amended` over a `Kafka` channel.
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
<!-- <a class="block" href="https://demo.eventcatalog.dev/visualiser/services/InventoryService/0.0.2">View demo</a> -->
|
|
42
|
+
|
|
43
|
+
### Routing messages through multiple channels
|
|
44
|
+
|
|
45
|
+
<AddedIn version="2.55.0" />
|
|
46
|
+
|
|
47
|
+
In some cases you may want to model how messages are routed through multiple channels, you can do this using channel `routes`.
|
|
48
|
+
|
|
49
|
+
In the example below:
|
|
50
|
+
|
|
51
|
+
- The Payment Service publishes a `PaymentProcessed` event over the `PaymentEvents` channel.
|
|
52
|
+
- The Billing Service subscribes to the `PaymentProcessed` event through the `PaymentEvents` channel.
|
|
53
|
+
- The Fraud Detection Service subscribes to the `PaymentProcessed` event through the `Fraud Dection Queue` which is pulling from the `PaymentEvents` channel (chained channels)
|
|
54
|
+
|
|
55
|
+
:::info What is the `PaymentEvents` channel?
|
|
56
|
+
This is just an example, but a channel can be any protocol you like. For example if you are using Kafka then this channel could be a Kafka topic.
|
|
57
|
+
Or if you are using an Event Bus this channel could be your bus, queue or topic.
|
|
58
|
+
|
|
59
|
+
You can model as many channels as you like, and you can route messages through multiple channels.
|
|
60
|
+
:::
|
|
61
|
+
|
|
62
|
+

|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### Supported Channel Protocols
|
|
66
|
+
|
|
67
|
+
**EventCatalog is technology agnostic**, so can work with any protocol.
|
|
68
|
+
|
|
69
|
+
Using channels you can define the `protocol` used, this can be one or many protocols.
|
|
70
|
+
|
|
71
|
+
Here is a list of protocols that are supported by EventCatalog (with icons)
|
|
72
|
+
|
|
73
|
+
- [amqp](https://en.wikipedia.org/wiki/Advanced_Message_Queuing_Protocol#:~:text=The%20Advanced%20Message%20Queuing%20Protocol,protocol%20for%20message%2Doriented%20middleware.)
|
|
74
|
+
- [azure-event-hubs](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about)
|
|
75
|
+
- _Added in EventCatalog 2.37.4_
|
|
76
|
+
- [azure-service-bus](https://learn.microsoft.com/en-us/azure/service-bus-messaging/service-bus-messaging-overview)
|
|
77
|
+
- _Added in EventCatalog 2.37.4_
|
|
78
|
+
- [azure-eventgrid](https://learn.microsoft.com/en-us/azure/event-grid/overview)
|
|
79
|
+
- _Added in EventCatalog 2.37.4_
|
|
80
|
+
- [eventbridge](https://aws.amazon.com/eventbridge/)
|
|
81
|
+
- [googlepubsub](https://cloud.google.com/pubsub)
|
|
82
|
+
- [grpc](https://grpc.io/)
|
|
83
|
+
- [http](https://en.wikipedia.org/wiki/HTTP)
|
|
84
|
+
- [jms](https://www.oracle.com/java/technologies/java-message-service.html)
|
|
85
|
+
- [kafka](https://kafka.apache.org/protocol.html)
|
|
86
|
+
- [kinesis](https://aws.amazon.com/kinesis/)
|
|
87
|
+
- [mercure](https://mercure.rocks/)
|
|
88
|
+
- [mqtt](https://en.wikipedia.org/wiki/MQTT)
|
|
89
|
+
- [nats](https://docs.nats.io/reference/reference-protocols/nats-protocol)
|
|
90
|
+
- [pulsar](https://pulsar.apache.org/docs/next/developing-binary-protocol/)
|
|
91
|
+
- [redis](https://redis-doc-test.readthedocs.io/en/latest/topics/protocol/)
|
|
92
|
+
- [sns](https://aws.amazon.com/sns/)
|
|
93
|
+
- [solace](https://solace.com/products/apis-protocols/)
|
|
94
|
+
- [sqs](https://aws.amazon.com/sqs/)
|
|
95
|
+
- [tibco-ftl](https://www.tibco.com/products/tibco-ftl)
|
|
96
|
+
- _Added in EventCatalog 2.37.4_
|
|
97
|
+
- [tibco-rv](https://docs.tibco.com/products/tibco-rendezvous)
|
|
98
|
+
- _Added in EventCatalog 2.37.4_
|
|
99
|
+
- [ws](https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API)
|
|
100
|
+
- [webrtc](https://webrtc.org/)
|
|
101
|
+
- _Added in EventCatalog 2.55.1_
|
|
102
|
+
- [zmq](https://zeromq.org/)
|
|
103
|
+
|
|
104
|
+
If you are using a protocol that is not on this list, please raise on issue on [GitHub](https://github.com/event-catalog/eventcatalog) so we can get the icon supported.
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
<!--
|
|
108
|
+
### Further reading
|
|
109
|
+
- [Event-driven architecture and domain-driven design](https://eda-visuals.boyney.io/visuals/eda-and-ddd)
|
|
110
|
+
- [Domain, Subdomain, Bounded Context: Problem/Solution Space in DDD: Clearly Defined](https://medium.com/nick-tune-tech-strategy-blog/domains-subdomain-problem-solution-space-in-ddd-clearly-defined-e0b49c7b586c)
|
|
111
|
+
- [Building Blocks of DDD](https://redis.io/glossary/domain-driven-design-ddd/) -->
|