@eventcatalog/core 3.35.0 → 3.35.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-4SNN54V4.js} +1 -1
- package/dist/{chunk-NEWQKEP7.js → chunk-B7C4DHFE.js} +1 -1
- package/dist/{chunk-DFLUDECO.js → chunk-JEQZWJWP.js} +1 -1
- package/dist/{chunk-Y5O6SCX3.js → chunk-R4DR3YAH.js} +1 -1
- package/dist/{chunk-B2LDVIVY.js → chunk-VJ357XOI.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 +937 -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/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 +1 -1
- package/dist/eventcatalog.js +5 -5
- package/dist/generate.cjs +1 -1
- package/dist/generate.js +3 -3
- package/dist/utils/cli-logger.cjs +1 -1
- package/dist/utils/cli-logger.js +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,378 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 5
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog Azure Schema Registry plugin examples
|
|
5
|
+
sidebar_label: Examples
|
|
6
|
+
title: Examples
|
|
7
|
+
description: Examples of the EventCatalog Azure Schema Registry plugin
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# Examples
|
|
11
|
+
|
|
12
|
+
Explore real-world examples of using the Azure Schema Registry plugin with EventCatalog.
|
|
13
|
+
|
|
14
|
+
## GitHub Examples Repository
|
|
15
|
+
|
|
16
|
+
All examples are available in the EventCatalog generators repository:
|
|
17
|
+
|
|
18
|
+
[View Azure Schema Registry Examples on GitHub](https://github.com/event-catalog/generators/tree/main/examples/generator-azure-schema-registry)
|
|
19
|
+
|
|
20
|
+
## Available Examples
|
|
21
|
+
|
|
22
|
+
### Basic Example
|
|
23
|
+
|
|
24
|
+
**Get started quickly with a simple setup**
|
|
25
|
+
|
|
26
|
+
This example demonstrates:
|
|
27
|
+
- Connecting to Azure Schema Registry
|
|
28
|
+
- Importing schemas from schema groups
|
|
29
|
+
- Assigning schemas to services
|
|
30
|
+
- Basic configuration setup
|
|
31
|
+
|
|
32
|
+
[View Basic Example](https://github.com/event-catalog/generators/tree/main/examples/generator-azure-schema-registry/basic) (Coming Soon)
|
|
33
|
+
|
|
34
|
+
### Message Types Example
|
|
35
|
+
|
|
36
|
+
**Document events, commands, and queries**
|
|
37
|
+
|
|
38
|
+
This example demonstrates:
|
|
39
|
+
- Mapping schemas to different message types
|
|
40
|
+
- Events for things that happened
|
|
41
|
+
- Commands for requests to do something
|
|
42
|
+
- Queries for requests for information
|
|
43
|
+
- Clear architectural patterns
|
|
44
|
+
|
|
45
|
+
[View Message Types Example](https://github.com/event-catalog/generators/tree/main/examples/generator-azure-schema-registry/message-types) (Coming Soon)
|
|
46
|
+
|
|
47
|
+
### Multiple Registries Example
|
|
48
|
+
|
|
49
|
+
**Fetch schemas from multiple Azure Schema Registries**
|
|
50
|
+
|
|
51
|
+
This example demonstrates:
|
|
52
|
+
- Default registry URL configuration
|
|
53
|
+
- Per-schema registry URL overrides
|
|
54
|
+
- Multi-region deployment patterns
|
|
55
|
+
- Separate registries for different business units
|
|
56
|
+
|
|
57
|
+
[View Multiple Registries Example](https://github.com/event-catalog/generators/tree/main/examples/generator-azure-schema-registry/multiple-registries) (Coming Soon)
|
|
58
|
+
|
|
59
|
+
### Domain-Driven Design Example
|
|
60
|
+
|
|
61
|
+
**Organize services into domains**
|
|
62
|
+
|
|
63
|
+
This example demonstrates:
|
|
64
|
+
- Domain configuration
|
|
65
|
+
- Grouping related services
|
|
66
|
+
- Domain visualization
|
|
67
|
+
- Cross-domain dependencies
|
|
68
|
+
|
|
69
|
+
[View Domain-Driven Design Example](https://github.com/event-catalog/generators/tree/main/examples/generator-azure-schema-registry/domains) (Coming Soon)
|
|
70
|
+
|
|
71
|
+
### Custom Schema Names Example
|
|
72
|
+
|
|
73
|
+
**User-friendly schema names**
|
|
74
|
+
|
|
75
|
+
This example demonstrates:
|
|
76
|
+
- Using technical schema IDs
|
|
77
|
+
- Providing user-friendly display names
|
|
78
|
+
- Better discoverability for non-technical users
|
|
79
|
+
|
|
80
|
+
[View Custom Names Example](https://github.com/event-catalog/generators/tree/main/examples/generator-azure-schema-registry/custom-names) (Coming Soon)
|
|
81
|
+
|
|
82
|
+
### Service Authentication Example
|
|
83
|
+
|
|
84
|
+
**Different authentication methods**
|
|
85
|
+
|
|
86
|
+
This example demonstrates:
|
|
87
|
+
- Azure CLI authentication (local dev)
|
|
88
|
+
- Service Principal authentication (CI/CD)
|
|
89
|
+
- Managed Identity authentication (Azure-hosted)
|
|
90
|
+
- Environment-specific configurations
|
|
91
|
+
|
|
92
|
+
[View Authentication Example](https://github.com/event-catalog/generators/tree/main/examples/generator-azure-schema-registry/authentication) (Coming Soon)
|
|
93
|
+
|
|
94
|
+
## Running the Examples
|
|
95
|
+
|
|
96
|
+
Each example includes:
|
|
97
|
+
|
|
98
|
+
1. **README.md** - Detailed instructions for running the example
|
|
99
|
+
2. **eventcatalog.config.js** - Complete configuration
|
|
100
|
+
3. **.env.example** - Template for environment variables
|
|
101
|
+
4. **Sample data** - Mock schemas and configurations for testing
|
|
102
|
+
|
|
103
|
+
### Prerequisites
|
|
104
|
+
|
|
105
|
+
- Node.js 18 or higher
|
|
106
|
+
- Azure CLI installed ([Install guide](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli))
|
|
107
|
+
- Azure account with Event Hubs namespace
|
|
108
|
+
- Azure Schema Registry with sample schemas
|
|
109
|
+
- EventCatalog license key ([14-day trial available](https://eventcatalog.cloud))
|
|
110
|
+
- Appropriate Azure permissions (`Azure Event Hubs Data Receiver` role)
|
|
111
|
+
|
|
112
|
+
### Quick Start
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
# Clone the repository
|
|
116
|
+
git clone https://github.com/event-catalog/generators.git
|
|
117
|
+
|
|
118
|
+
# Navigate to an example
|
|
119
|
+
cd generators/examples/generator-azure-schema-registry/basic
|
|
120
|
+
|
|
121
|
+
# Install dependencies
|
|
122
|
+
npm install
|
|
123
|
+
|
|
124
|
+
# Copy and configure environment variables
|
|
125
|
+
cp .env.example .env
|
|
126
|
+
# Edit .env with your EventCatalog license key
|
|
127
|
+
|
|
128
|
+
# Authenticate with Azure
|
|
129
|
+
az login
|
|
130
|
+
|
|
131
|
+
# Get Azure access token and set it as environment variable
|
|
132
|
+
export AZURE_SCHEMA_REGISTRY_TOKEN=$(az account get-access-token --resource https://eventhubs.azure.net --query accessToken -o tsv)
|
|
133
|
+
|
|
134
|
+
# Verify token is set
|
|
135
|
+
echo $AZURE_SCHEMA_REGISTRY_TOKEN
|
|
136
|
+
|
|
137
|
+
# Run the generator
|
|
138
|
+
npm run generate
|
|
139
|
+
|
|
140
|
+
# Start the catalog
|
|
141
|
+
npm run dev
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
:::tip One-Line Command
|
|
145
|
+
You can also set the token and run the generator in one command:
|
|
146
|
+
```bash
|
|
147
|
+
AZURE_SCHEMA_REGISTRY_TOKEN=$(az account get-access-token --resource https://eventhubs.azure.net --query accessToken -o tsv) npm run generate
|
|
148
|
+
```
|
|
149
|
+
:::
|
|
150
|
+
|
|
151
|
+
:::warning Token Expiration
|
|
152
|
+
Azure access tokens expire after 1 hour. If you get authentication errors, refresh your token by running the `export AZURE_SCHEMA_REGISTRY_TOKEN=...` command again.
|
|
153
|
+
:::
|
|
154
|
+
|
|
155
|
+
## Example Patterns
|
|
156
|
+
|
|
157
|
+
### Pattern 1: Single Service, Multiple Messages
|
|
158
|
+
|
|
159
|
+
```js
|
|
160
|
+
{
|
|
161
|
+
schemaRegistryUrl: 'https://your-namespace.servicebus.windows.net',
|
|
162
|
+
services: [
|
|
163
|
+
{
|
|
164
|
+
id: 'orders-service',
|
|
165
|
+
version: '1.0.0',
|
|
166
|
+
sends: [
|
|
167
|
+
{ id: 'order-created', schemaGroup: 'com.example.orders' },
|
|
168
|
+
{ id: 'order-updated', schemaGroup: 'com.example.orders' },
|
|
169
|
+
{ id: 'order-cancelled', schemaGroup: 'com.example.orders' },
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
}
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
**Use Case**: Document a single service that produces multiple related events.
|
|
177
|
+
|
|
178
|
+
### Pattern 2: Multiple Services, Shared Messages
|
|
179
|
+
|
|
180
|
+
```js
|
|
181
|
+
{
|
|
182
|
+
schemaRegistryUrl: 'https://your-namespace.servicebus.windows.net',
|
|
183
|
+
services: [
|
|
184
|
+
{
|
|
185
|
+
id: 'orders-service',
|
|
186
|
+
version: '1.0.0',
|
|
187
|
+
sends: [
|
|
188
|
+
{ id: 'order-created', schemaGroup: 'com.example.orders' },
|
|
189
|
+
],
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
id: 'inventory-service',
|
|
193
|
+
version: '1.0.0',
|
|
194
|
+
receives: [
|
|
195
|
+
{ id: 'order-created', schemaGroup: 'com.example.orders' },
|
|
196
|
+
],
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
id: 'notifications-service',
|
|
200
|
+
version: '1.0.0',
|
|
201
|
+
receives: [
|
|
202
|
+
{ id: 'order-created', schemaGroup: 'com.example.orders' },
|
|
203
|
+
],
|
|
204
|
+
},
|
|
205
|
+
],
|
|
206
|
+
}
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
**Use Case**: Document multiple services that consume the same event.
|
|
210
|
+
|
|
211
|
+
### Pattern 3: Command-Query Separation
|
|
212
|
+
|
|
213
|
+
```js
|
|
214
|
+
{
|
|
215
|
+
schemaRegistryUrl: 'https://your-namespace.servicebus.windows.net',
|
|
216
|
+
services: [
|
|
217
|
+
{
|
|
218
|
+
id: 'orders-api',
|
|
219
|
+
version: '1.0.0',
|
|
220
|
+
sends: [
|
|
221
|
+
{ id: 'create-order', schemaGroup: 'com.example.orders', messageType: 'command' },
|
|
222
|
+
{ id: 'update-order', schemaGroup: 'com.example.orders', messageType: 'command' },
|
|
223
|
+
],
|
|
224
|
+
receives: [
|
|
225
|
+
{ id: 'get-order', schemaGroup: 'com.example.orders', messageType: 'query' },
|
|
226
|
+
{ id: 'list-orders', schemaGroup: 'com.example.orders', messageType: 'query' },
|
|
227
|
+
],
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
id: 'orders-processor',
|
|
231
|
+
version: '1.0.0',
|
|
232
|
+
receives: [
|
|
233
|
+
{ id: 'create-order', schemaGroup: 'com.example.orders', messageType: 'command' },
|
|
234
|
+
{ id: 'update-order', schemaGroup: 'com.example.orders', messageType: 'command' },
|
|
235
|
+
],
|
|
236
|
+
sends: [
|
|
237
|
+
{ id: 'order-created', schemaGroup: 'com.example.orders', messageType: 'event' },
|
|
238
|
+
{ id: 'order-updated', schemaGroup: 'com.example.orders', messageType: 'event' },
|
|
239
|
+
],
|
|
240
|
+
},
|
|
241
|
+
],
|
|
242
|
+
}
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
**Use Case**: Implement CQRS pattern with clear separation of commands and queries.
|
|
246
|
+
|
|
247
|
+
### Pattern 4: Multi-Domain Architecture
|
|
248
|
+
|
|
249
|
+
```js
|
|
250
|
+
generators: [
|
|
251
|
+
// Orders Domain
|
|
252
|
+
[
|
|
253
|
+
'@eventcatalog/generator-azure-schema-registry',
|
|
254
|
+
{
|
|
255
|
+
schemaRegistryUrl: 'https://your-namespace.servicebus.windows.net',
|
|
256
|
+
domain: {
|
|
257
|
+
id: 'orders-domain',
|
|
258
|
+
name: 'Orders Domain',
|
|
259
|
+
version: '1.0.0',
|
|
260
|
+
},
|
|
261
|
+
services: [
|
|
262
|
+
{ id: 'orders-service', version: '1.0.0', /* ... */ },
|
|
263
|
+
{ id: 'inventory-service', version: '1.0.0', /* ... */ },
|
|
264
|
+
],
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
// Payments Domain
|
|
268
|
+
[
|
|
269
|
+
'@eventcatalog/generator-azure-schema-registry',
|
|
270
|
+
{
|
|
271
|
+
schemaRegistryUrl: 'https://your-namespace.servicebus.windows.net',
|
|
272
|
+
domain: {
|
|
273
|
+
id: 'payments-domain',
|
|
274
|
+
name: 'Payments Domain',
|
|
275
|
+
version: '1.0.0',
|
|
276
|
+
},
|
|
277
|
+
services: [
|
|
278
|
+
{ id: 'payments-service', version: '1.0.0', /* ... */ },
|
|
279
|
+
],
|
|
280
|
+
},
|
|
281
|
+
],
|
|
282
|
+
];
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
**Use Case**: Organize large architectures into bounded contexts.
|
|
286
|
+
|
|
287
|
+
### Pattern 5: Multi-Region with Registry Overrides
|
|
288
|
+
|
|
289
|
+
```js
|
|
290
|
+
{
|
|
291
|
+
schemaRegistryUrl: 'https://us-east-namespace.servicebus.windows.net',
|
|
292
|
+
services: [
|
|
293
|
+
{
|
|
294
|
+
id: 'global-orders-service',
|
|
295
|
+
version: '1.0.0',
|
|
296
|
+
sends: [
|
|
297
|
+
{
|
|
298
|
+
id: 'order-created',
|
|
299
|
+
schemaGroup: 'com.example.orders',
|
|
300
|
+
// US East registry
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
id: 'order-created-eu',
|
|
304
|
+
schemaGroup: 'com.example.orders',
|
|
305
|
+
schemaRegistryUrl: 'https://eu-west-namespace.servicebus.windows.net',
|
|
306
|
+
// EU West registry
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
},
|
|
310
|
+
],
|
|
311
|
+
}
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
**Use Case**: Document multi-region deployments with separate registries.
|
|
315
|
+
|
|
316
|
+
## Testing Locally
|
|
317
|
+
|
|
318
|
+
### Using Docker Compose for Local Testing
|
|
319
|
+
|
|
320
|
+
While Azure Schema Registry requires an Azure account, you can test the plugin configuration locally using mock data:
|
|
321
|
+
|
|
322
|
+
```bash
|
|
323
|
+
# In the example directory
|
|
324
|
+
npm run generate:mock # Uses mock schemas for testing
|
|
325
|
+
|
|
326
|
+
npm run dev # View the catalog locally
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### With Azure Dev/Test Environment
|
|
330
|
+
|
|
331
|
+
For testing with real Azure Schema Registry:
|
|
332
|
+
|
|
333
|
+
```bash
|
|
334
|
+
# Step 1: Create a development schema registry (one-time setup)
|
|
335
|
+
az eventhubs namespace create \
|
|
336
|
+
--name your-dev-namespace \
|
|
337
|
+
--resource-group your-resource-group \
|
|
338
|
+
--location eastus \
|
|
339
|
+
--sku Standard
|
|
340
|
+
|
|
341
|
+
# Step 2: Register test schemas
|
|
342
|
+
az eventhubs eventhub schema-registry create \
|
|
343
|
+
--namespace-name your-dev-namespace \
|
|
344
|
+
--resource-group your-resource-group \
|
|
345
|
+
--name com.example.test
|
|
346
|
+
|
|
347
|
+
# Step 3: Get access token
|
|
348
|
+
export AZURE_SCHEMA_REGISTRY_TOKEN=$(az account get-access-token --resource https://eventhubs.azure.net --query accessToken -o tsv)
|
|
349
|
+
|
|
350
|
+
# Step 4: Run the generator
|
|
351
|
+
npm run generate
|
|
352
|
+
|
|
353
|
+
# Step 5: View the catalog
|
|
354
|
+
npm run dev
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
:::info Azure Resource Setup
|
|
358
|
+
Make sure you have the appropriate permissions on the Azure resources. You need at least the `Azure Event Hubs Data Receiver` role on the Event Hubs namespace.
|
|
359
|
+
:::
|
|
360
|
+
|
|
361
|
+
## Contributing Examples
|
|
362
|
+
|
|
363
|
+
Have a great example you'd like to share? We'd love to include it!
|
|
364
|
+
|
|
365
|
+
1. Fork the [generators repository](https://github.com/event-catalog/generators)
|
|
366
|
+
2. Create your example in `examples/generator-azure-schema-registry/`
|
|
367
|
+
3. Include a detailed README
|
|
368
|
+
4. Submit a pull request
|
|
369
|
+
|
|
370
|
+
## Need Help?
|
|
371
|
+
|
|
372
|
+
Can't find an example for your use case?
|
|
373
|
+
|
|
374
|
+
- [Ask in Discord](https://eventcatalog.dev/discord)
|
|
375
|
+
- [Open a GitHub Discussion](https://github.com/event-catalog/eventcatalog/discussions)
|
|
376
|
+
- Email: hello@eventcatalog.dev
|
|
377
|
+
|
|
378
|
+
We're here to help you get the most out of EventCatalog!
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "Azure Schema Registry Plugin",
|
|
3
|
+
"position": 6,
|
|
4
|
+
"collapsible": true,
|
|
5
|
+
"collapsed": true,
|
|
6
|
+
"link": {
|
|
7
|
+
"type": "generated-index",
|
|
8
|
+
"slug": "azure-schema-registry",
|
|
9
|
+
"title": "Azure Schema Registry",
|
|
10
|
+
"description": "Azure Schema Registry integration for EventCatalog"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
sidebar_label: Introduction
|
|
6
|
+
title: Getting started
|
|
7
|
+
description: Getting started with Backstage plugin
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
import PluginLicense from '@site/src/components/MDX/PluginLicense';
|
|
12
|
+
|
|
13
|
+
<PluginLicense url="#commercial-use" />
|
|
14
|
+
|
|
15
|
+
<iframe width="100%" height="415" src="https://www.youtube.com/embed/mjf7qwoSAC4?si=eBZfgjMOQrD75teb" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
Many folks are using [Backstage](https://backstage.spotify.com/) for their internal developer portals. Backstage is a highly configurable platform that allows you to document your architecture in components, apis, services, domains and much more.
|
|
20
|
+
|
|
21
|
+
Backstage supports plugins, that have a frontend and backend support.
|
|
22
|
+
|
|
23
|
+
Using the EventCatalog Backstage plugin you can embed your EventCatalog information into backstage.
|
|
24
|
+
|
|
25
|
+
### Core Features
|
|
26
|
+
|
|
27
|
+
The EventCatalog Backstage plugin can provide you with many features:
|
|
28
|
+
|
|
29
|
+
- 📃 Bring [EventCatalog documentation](https://demo.eventcatalog.dev/docs/domains/Orders/0.0.3) into Backstage
|
|
30
|
+
- 📃 Custom tabs for your APIs and Services. Embed documentation, visualizations and searchable tables.
|
|
31
|
+
- 📊 Embed [EventCatalog visualizer](https://demo.eventcatalog.dev/visualiser/domains/Orders/0.0.3) into your Backstage pages
|
|
32
|
+
- 🔎 Embed the [EventCatalog discovery table](https://demo.eventcatalog.dev/discover/events) to quickly find messages for your services
|
|
33
|
+
- ⭐ And much more...
|
|
34
|
+
|
|
35
|
+
### How it works
|
|
36
|
+
|
|
37
|
+

|
|
38
|
+
|
|
39
|
+
This plugin exposes React components that you can embed on your pages to display information from EventCatalog.
|
|
40
|
+
|
|
41
|
+
_Your EventCatalog has be hosted and the URL given to the app.config.yml file._
|
|
42
|
+
|
|
43
|
+
- `<EventCatalogDocumentationEntityPage page="docs/page/visualiser" />`
|
|
44
|
+
- Used to embed whole pages of EventCatalog into your Backstage instance. You can add these as tabs to your pages, clicking on the tab will show the desired feature.
|
|
45
|
+
- `<EventCatalogEntityVisualiserCard />`
|
|
46
|
+
- Used to embed a widget (Card) on your existing pages. This component will display the visualiser on your page.
|
|
47
|
+
- `<EventCatalogEntityMessageCard />`
|
|
48
|
+
- Used to embed a widget (Card) on your existing pages. This component will display the explore (table) on your page. Great for displaying a list of messages your service produces/consumes.
|
|
49
|
+
|
|
50
|
+
_Note: If you want to embed private EventCatalog instances, raise an issue on GitHub and we can explore this_.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Commercial Use
|
|
55
|
+
|
|
56
|
+
This plugin requires a license key to be used.
|
|
57
|
+
|
|
58
|
+
You can get a 14 day trial license key to try the plugin out by going to [EventCatalog Cloud](https://eventcatalog.cloud).
|
|
59
|
+
|
|
60
|
+
You can try the Backstage plugin, or use EventCatalog Scale (as it's already included).
|
|
61
|
+
|
|
62
|
+
After the trial you can purchase a license to continue using this plugin, we have different plans to suit your organization.
|
|
63
|
+
|
|
64
|
+
See [pricing](/pricing) for more information.
|
|
65
|
+
|
|
66
|
+
_Have any questions? You can email us at `hello@eventcatalog.dev`._
|
|
67
|
+
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
keywords:
|
|
4
|
+
- components
|
|
5
|
+
sidebar_label: Installation
|
|
6
|
+
title: Installation
|
|
7
|
+
description: Installation instructions for the EventCatalog Backstage plugin
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
import PluginLicense from '@site/src/components/MDX/PluginLicense';
|
|
12
|
+
|
|
13
|
+
<PluginLicense url="#commercial-use" />
|
|
14
|
+
|
|
15
|
+
:::info Using Backstage plugin version 1.0.0?
|
|
16
|
+
|
|
17
|
+
We introduced some breaking changes in the plugin, and the ways you map your resources to EventCatalog resources.
|
|
18
|
+
|
|
19
|
+
We recommend using the latest version of the plugin. You can read the [migration guide](#migrating-from--100-to-100) to help you upgrade.
|
|
20
|
+
|
|
21
|
+
:::
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Configuring EventCatalog for Backstage
|
|
26
|
+
|
|
27
|
+
You will need a license key to use the backstage integration, this is either the SCALE license key or the Backstage license key.
|
|
28
|
+
|
|
29
|
+
You can get a 14 day trial license key from [EventCatalog Cloud](https://eventcatalog.cloud).
|
|
30
|
+
|
|
31
|
+
Once you have a license key for Backstage, you will need to build and deploy your EventCatalog with the license key set.
|
|
32
|
+
|
|
33
|
+
#### 1. Setting license key in `.env` file (recommended)
|
|
34
|
+
|
|
35
|
+
<AddedIn version="2.35.4" />
|
|
36
|
+
|
|
37
|
+
Create a `.env` file in the root of your project and add the following:
|
|
38
|
+
|
|
39
|
+
```bash title=".env"
|
|
40
|
+
# If you have a Backstage license key
|
|
41
|
+
EVENTCATALOG_LICENSE_KEY_BACKSTAGE=your-license-key
|
|
42
|
+
|
|
43
|
+
# If you have a SCALE license key
|
|
44
|
+
EVENTCATALOG_SCALE_LICENSE_KEY=your-scale-license-key
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
:::tip Using an older version of EventCatalog?
|
|
48
|
+
|
|
49
|
+
If you are using an older version of EventCatalog that does not support the `.env` file, you can just export the license key as an environment variable.
|
|
50
|
+
|
|
51
|
+
```bash title="Setting license key in environment variables"
|
|
52
|
+
# If you have a Backstage license key
|
|
53
|
+
export EVENTCATALOG_LICENSE_KEY_BACKSTAGE=your-license-key
|
|
54
|
+
|
|
55
|
+
# If you have a SCALE license key
|
|
56
|
+
export EVENTCATALOG_SCALE_LICENSE_KEY=your-scale-license-key
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
:::
|
|
60
|
+
|
|
61
|
+
This will enable you to use EventCatalog within backstage.
|
|
62
|
+
|
|
63
|
+
## Configuring Backstage to use EventCatalog
|
|
64
|
+
|
|
65
|
+
### 1. Install the plugin on Backstage
|
|
66
|
+
|
|
67
|
+
First install the plugin in your Backstage instance.
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
yarn add @eventcatalog/backstage-plugin-eventcatalog
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### 2. Add the EventCatalog URL to the app-config.yaml
|
|
74
|
+
|
|
75
|
+
The EventCatalog plugin needs to know the URL of your EventCatalog instance. This can be set in the `app-config.yaml` file.
|
|
76
|
+
|
|
77
|
+
```yaml
|
|
78
|
+
eventcatalog:
|
|
79
|
+
URL: "https://demo.eventcatalog.dev"
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### 3. Mapping Backstage resources to EventCatalog resources with annotations
|
|
83
|
+
|
|
84
|
+
Backstage and EventCatalog have different ways to create resources. For example backstage supports components, APIS, domains, systems etc, and EventCatalog supports resources (domains, services and messages (queries, commands and events)).
|
|
85
|
+
|
|
86
|
+
When you configure the plugin you need to map Backstage information to EventCatalog information, so the plugin knows which EventCatalog page to render.
|
|
87
|
+
|
|
88
|
+
We do this by adding annotations to the Backstage resources.
|
|
89
|
+
|
|
90
|
+
<!-- Make table -->
|
|
91
|
+
|
|
92
|
+
| Annotation | Required | Default | Description |
|
|
93
|
+
|------------|----------|---------|-------------|
|
|
94
|
+
| `eventcatalog.dev/id` | Yes | - | The id of the resource in EventCatalog |
|
|
95
|
+
| `eventcatalog.dev/version` | No | `latest` | The version of the resource in EventCatalog |
|
|
96
|
+
| `eventcatalog.dev/collection` | No | Uses the entity kind | The collection of the resource in EventCatalog. Options include `services`, `domains`, `queries`, `commands`, `events` |
|
|
97
|
+
|
|
98
|
+
Example of creating a new service in Backstage and mapping it to an EventCatalog resource:
|
|
99
|
+
|
|
100
|
+
```yaml
|
|
101
|
+
apiVersion: backstage.io/v1alpha1
|
|
102
|
+
kind: Component
|
|
103
|
+
metadata:
|
|
104
|
+
name: backend-service
|
|
105
|
+
description: Backend API service
|
|
106
|
+
annotations:
|
|
107
|
+
github.com/project-slug: organization/backend-repo
|
|
108
|
+
# Here we map the Backstage service to an EventCatalog resource
|
|
109
|
+
# The id of the resource in EventCatalog
|
|
110
|
+
eventcatalog.dev/id: InventoryService
|
|
111
|
+
# The version of the resource in EventCatalog
|
|
112
|
+
eventcatalog.dev/version: 0.0.2
|
|
113
|
+
# The collection of the resource in EventCatalog
|
|
114
|
+
eventcatalog.dev/collection: services
|
|
115
|
+
tags:
|
|
116
|
+
- nodejs
|
|
117
|
+
- express
|
|
118
|
+
- api
|
|
119
|
+
spec:
|
|
120
|
+
type: service
|
|
121
|
+
lifecycle: production
|
|
122
|
+
owner: team-name
|
|
123
|
+
system: example-system
|
|
124
|
+
providesApis:
|
|
125
|
+
- backend-api
|
|
126
|
+
dependsOn:
|
|
127
|
+
- resource:default/database
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### 4. Using the components in Backstage
|
|
131
|
+
|
|
132
|
+
You have two options to use the components in Backstage:
|
|
133
|
+
|
|
134
|
+
- [Embed EventCatalog as a tabbed page](#tabbed-pages)
|
|
135
|
+
- [Embed EventCatalog as a card component](#card-components)
|
|
136
|
+
|
|
137
|
+
#### Tabbed pages
|
|
138
|
+
|
|
139
|
+
The `EventCatalogDocumentationEntityPage` components, is a full page component that you can assign to any `EntityLayout.Route`.
|
|
140
|
+
|
|
141
|
+
```js
|
|
142
|
+
import { EventCatalogDocumentationEntityPage } from "@eventcatalog/backstage-plugin-eventcatalog";
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
You can import the `EventCatalogDocumentationEntityPage` component to render EventCatalog pages as full pages in your Backstage entity.
|
|
146
|
+
|
|
147
|
+
**Rendered output example:**
|
|
148
|
+
|
|
149
|
+

|
|
150
|
+
|
|
151
|
+
**Usage Example:**
|
|
152
|
+
|
|
153
|
+
```js
|
|
154
|
+
// Will create a new tab called "Docs" and route called /eventcatalog. This will embed the docs for that
|
|
155
|
+
// entity in your page. Using the info from the app-config to map your Backstage ID to EventCatalog ID
|
|
156
|
+
<EntityLayout.Route path="/eventcatlaog" title="Docs">
|
|
157
|
+
<EventCatalogDocumentationEntityPage page='docs' />
|
|
158
|
+
</EntityLayout.Route>
|
|
159
|
+
|
|
160
|
+
// Will create a new tab called "Visualzer" and route called /eventcatalog-visualizer.
|
|
161
|
+
// This will embed the EventCatalog visualiser to your Backstage entity
|
|
162
|
+
<EntityLayout.Route path="/eventcatlaog-visualizer" title="Visualzer">
|
|
163
|
+
<EventCatalogDocumentationEntityPage page='visualiser' />
|
|
164
|
+
</EntityLayout.Route>
|
|
165
|
+
|
|
166
|
+
// Will create a new tab called "Entity Map" and route called /eventcatalog-entity-map.
|
|
167
|
+
// This will embed the EventCatalog entity map to your Backstage entity
|
|
168
|
+
<EntityLayout.Route path="/eventcatlaog-entity-map" title="Entity Map">
|
|
169
|
+
<EventCatalogDocumentationEntityPage page='entity-map' />
|
|
170
|
+
</EntityLayout.Route>
|
|
171
|
+
|
|
172
|
+
// Will create a new tab called "Schema Explorer" and route called /eventcatalog-schema-explorer.
|
|
173
|
+
<EntityLayout.Route path="/eventcatlaog-schema-explorer" title="Schema Explorer">
|
|
174
|
+
<EventCatalogDocumentationEntityPage page='schema-explorer' />
|
|
175
|
+
</EntityLayout.Route>
|
|
176
|
+
|
|
177
|
+
// Override the id, collection and version of the resource in EventCatalog
|
|
178
|
+
// you can choose to override what is rendered, (not read from your backstage configuration)
|
|
179
|
+
<EntityLayout.Route path="/eventcatlaog-entity-map" title="Entity Map">
|
|
180
|
+
<EventCatalogDocumentationEntityPage page='entity-map' id="MyDomainId" collection="domains" version="0.0.1" />
|
|
181
|
+
</EntityLayout.Route>
|
|
182
|
+
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
#### Card components
|
|
186
|
+
|
|
187
|
+
These components can be added to your pages as Cards, that can live inside the Backstage Grid System.
|
|
188
|
+
|
|
189
|
+

|
|
190
|
+

|
|
191
|
+
|
|
192
|
+
```jsx
|
|
193
|
+
import {
|
|
194
|
+
EventCatalogEntityVisualiserCard,
|
|
195
|
+
EventCatalogEntityMessageCard,
|
|
196
|
+
} from "@eventcatalog/backstage-plugin-eventcatalog";
|
|
197
|
+
|
|
198
|
+
<Grid container spacing={3} alignItems="stretch">
|
|
199
|
+
<Grid item md={6}>
|
|
200
|
+
<!-- Backstage card -->
|
|
201
|
+
<EntityAboutCard variant="gridItem" />
|
|
202
|
+
</Grid>
|
|
203
|
+
<Grid item md={6}>
|
|
204
|
+
<!-- Adds the visualizer to a grid item in Backstage -->
|
|
205
|
+
<EventCatalogEntityVisualiserCard />
|
|
206
|
+
</Grid>
|
|
207
|
+
<Grid item md={6} xs={12}>
|
|
208
|
+
<!-- Adds the explore (messages) to a grid item in Backstage -->
|
|
209
|
+
<EventCatalogEntityMessageCard />
|
|
210
|
+
</Grid>
|
|
211
|
+
<Grid item md={6} xs={12}>
|
|
212
|
+
<!-- Adds the entity map to a grid item in Backstage -->
|
|
213
|
+
<EventCatalogEntityEntityMapCard />
|
|
214
|
+
</Grid>
|
|
215
|
+
</Grid>;
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Migrating from < 1.0.0
|
|
221
|
+
|
|
222
|
+
We introduced some breaking changes in the plugin, and the ways you map your resources to EventCatalog resources.
|
|
223
|
+
|
|
224
|
+
Previously you mapped your resources to EventCatalog resources in the `app-config.yaml` file.
|
|
225
|
+
|
|
226
|
+
```yaml
|
|
227
|
+
eventcatalog:
|
|
228
|
+
services:
|
|
229
|
+
- backstage-name: "backend-service"
|
|
230
|
+
eventcatalog-id: "InventoryService"
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
Now you have to use annotations to map your resources to EventCatalog resources.
|
|
234
|
+
|
|
235
|
+
```yaml
|
|
236
|
+
apiVersion: backstage.io/v1alpha1
|
|
237
|
+
kind: Component
|
|
238
|
+
metadata:
|
|
239
|
+
name: backend-service
|
|
240
|
+
annotations:
|
|
241
|
+
eventcatalog.dev/id: "InventoryService"
|
|
242
|
+
eventcatalog.dev/version: "0.0.2"
|
|
243
|
+
eventcatalog.dev/collection: "services"
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
This are the preferred ways to map your resources to EventCatalog resources and following Backstage best practices.
|
|
247
|
+
|
|
248
|
+
## Demo
|
|
249
|
+
|
|
250
|
+
If you want to learn how the code works in a basic demo [you can see our demo on GitHub](https://github.com/event-catalog/backstage-eventcatalog-demo).
|