@eventcatalog/core 3.34.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-K5AM6PPU.js → chunk-4SNN54V4.js} +1 -1
- package/dist/{chunk-623CFR4T.js → chunk-B7C4DHFE.js} +1 -1
- package/dist/{chunk-BJWMR3ZH.js → chunk-JEQZWJWP.js} +1 -1
- package/dist/{chunk-PP7EDIPX.js → chunk-R4DR3YAH.js} +1 -1
- package/dist/{chunk-IO6EMN5C.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/eventcatalog/src/components/Search/SearchModal.tsx +23 -34
- package/eventcatalog/src/components/Search/search-utils.spec.ts +36 -0
- package/eventcatalog/src/components/Search/search-utils.ts +34 -0
- package/eventcatalog/src/components/SideNav/NestedSideBar/SearchBar.tsx +7 -1
- package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +2 -0
- package/eventcatalog/src/stores/sidebar-store/builders/flow.ts +77 -0
- package/eventcatalog/src/stores/sidebar-store/builders/message.ts +10 -1
- package/eventcatalog/src/stores/sidebar-store/builders/service.ts +10 -3
- package/eventcatalog/src/stores/sidebar-store/state.ts +126 -2
- package/eventcatalog/src/utils/collections/flows.ts +3 -2
- package/package.json +4 -4
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog documentation sidebar
|
|
5
|
+
sidebar_label: Documentation Sidebar
|
|
6
|
+
title: Documentation sidebar
|
|
7
|
+
description: Pick and customize the documentation sidebar.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
The documentation sidebar is a [context aware sidebar](#what-is-context-aware-sidebar) that is shown on the `/docs/` pages.
|
|
13
|
+
|
|
14
|
+
Clicking on any resource in the sidebar will show you related information to that selected resource ([see demo](https://demo.eventcatalog.dev/)).
|
|
15
|
+
|
|
16
|
+

|
|
17
|
+
|
|
18
|
+
## What is a context aware sidebar?
|
|
19
|
+
|
|
20
|
+
**Many documentation tools use a flat navigation structure, which can be overwhelming and difficult to navigate.**
|
|
21
|
+
|
|
22
|
+
EventCatalog's documentation sidebar is a context aware sidebar that shows you related information to the selected resource.
|
|
23
|
+
|
|
24
|
+
This can help you navigate your documentation and find the information you need quickly, as you go deeper into the hierarchy of your architecture.
|
|
25
|
+
|
|
26
|
+
For example, selecting a domain will show you the subdomains, related services, ubiquitous language, etc, where as selecting a message will show you the producers, consumers and schemas.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## Customizing the documentation sidebar
|
|
30
|
+
|
|
31
|
+
By default EventCatalog will show you a list of all the resources in your catalog, but you can customize the navigation bar to show any resource you want.
|
|
32
|
+
|
|
33
|
+
This can be useful if you want to show a specific resource or a group of resources in the sidebar, helping your teams find the information they need quickly.
|
|
34
|
+
|
|
35
|
+
### How to customize the documentation sidebar
|
|
36
|
+
|
|
37
|
+
To customize the documentation sidebar you need to set the `navigation.pages` property in your `eventcatalog.config.js` file.
|
|
38
|
+
|
|
39
|
+
The example below will show you a list of the top-level domains and all resources in your catalog.
|
|
40
|
+
|
|
41
|
+
```js title="eventcatalog.config.js"
|
|
42
|
+
module.exports = {
|
|
43
|
+
// ... rest of your config
|
|
44
|
+
navigation: {
|
|
45
|
+
// pick any key you want to show in the sidebar
|
|
46
|
+
pages: ['list:top-level-domains', 'list:all'],
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+
#### Available navigation configuration
|
|
54
|
+
|
|
55
|
+
You can specify the following options in the `navigation.pages` property:
|
|
56
|
+
|
|
57
|
+
- [Top level options](#top-level-options)
|
|
58
|
+
- Useful if you want to show the top-level resources in your catalog in the sidebar. For example high level domains and let your users drill down.
|
|
59
|
+
- [List all resources (by type)](#list-all-resources-type)
|
|
60
|
+
- Useful if you want to show all resources of a specific type in the sidebar. For example all domains, services, messages, etc.
|
|
61
|
+
- [Pick specific resources to show](#pick-specific-resources-to-show)
|
|
62
|
+
- Useful if you want to show a specific resource or a group of resources in the sidebar. For example a specific domain, service, message, etc.
|
|
63
|
+
- [Custom groups and links](#custom-groups-and-links)
|
|
64
|
+
- Useful if you want to create custom groups and links to external pages in the sidebar. For example a group of resources, or a link to an external page.
|
|
65
|
+
|
|
66
|
+
#### Top level options:
|
|
67
|
+
|
|
68
|
+
| Key | Description |
|
|
69
|
+
| --- | --- |
|
|
70
|
+
| `list:all` | Lists all resources types in your catalog, organized by resource type (e.g domain, services, messages) |
|
|
71
|
+
| `list:top-level-domains` | Displays a list of the top-level domains in your catalog. (Does not include subdomains) |
|
|
72
|
+
|
|
73
|
+
**Example**
|
|
74
|
+
|
|
75
|
+
```js title="eventcatalog.config.js"
|
|
76
|
+
module.exports = {
|
|
77
|
+
navigation: {
|
|
78
|
+
pages: ['list:top-level-domains'],
|
|
79
|
+
},
|
|
80
|
+
};
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
#### List all resources (by type):
|
|
85
|
+
|
|
86
|
+
| Key | Description |
|
|
87
|
+
| --- | --- |
|
|
88
|
+
| `list:domains` | Lists all domains in your catalog. |
|
|
89
|
+
| `list:services` | Lists all services in your catalog. |
|
|
90
|
+
| `list:messages` | Lists all messages in your catalog. |
|
|
91
|
+
| `list:channels` | Lists all channels in your catalog. |
|
|
92
|
+
| `list:designs` | Lists all designs in your catalog. |
|
|
93
|
+
| `list:flows` | Lists all flows in your catalog. |
|
|
94
|
+
| `list:containers` | Lists all containers in your catalog. |
|
|
95
|
+
|
|
96
|
+
**Example**
|
|
97
|
+
|
|
98
|
+
```js title="eventcatalog.config.js"
|
|
99
|
+
module.exports = {
|
|
100
|
+
navigation: {
|
|
101
|
+
pages: ['list:domains', 'list:services'],
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
#### Chose which resources to show:
|
|
107
|
+
|
|
108
|
+
You can specify any resource you want to show in the sidebar using the following key structure
|
|
109
|
+
|
|
110
|
+
`<resource-type>:<resource-id>` or `<resource-type>:<resource-id>:<resource-version>`
|
|
111
|
+
|
|
112
|
+
*If no version is specified, the latest version will be used.*
|
|
113
|
+
|
|
114
|
+
*Example:*
|
|
115
|
+
|
|
116
|
+
```js title="eventcatalog.config.js"
|
|
117
|
+
module.exports = {
|
|
118
|
+
navigation: {
|
|
119
|
+
// Show the MyDomain domain, MyService service and the 0.0.1 version of the MyEvent event
|
|
120
|
+
pages: [
|
|
121
|
+
// Show the latest version of the MyDomain domain
|
|
122
|
+
'domain:MyDomain',
|
|
123
|
+
// Show the latest version of the MyService service
|
|
124
|
+
'service:MyService',
|
|
125
|
+
// Show the 0.0.1 version of the MyMessage message
|
|
126
|
+
'message:MyMessage:0.0.1',
|
|
127
|
+
],
|
|
128
|
+
},
|
|
129
|
+
};
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Available resource types:
|
|
133
|
+
| Resource Type | Description |
|
|
134
|
+
| --- | --- |
|
|
135
|
+
| `domain` | Domain resource type. |
|
|
136
|
+
| `service` | Service resource type. |
|
|
137
|
+
| `message` | Message resource type. |
|
|
138
|
+
| `channel` | Channel resource type. |
|
|
139
|
+
| `design` | Design resource type. |
|
|
140
|
+
| `flow` | Flow resource type. |
|
|
141
|
+
| `container` | Container resource type. |
|
|
142
|
+
| `user` | User resource type. |
|
|
143
|
+
| `team` | Team resource type. |
|
|
144
|
+
| `event` | Event resource type. |
|
|
145
|
+
| `command` | Command resource type. |
|
|
146
|
+
| `query` | Query resource type. |
|
|
147
|
+
|
|
148
|
+
### Custom groups and links
|
|
149
|
+
|
|
150
|
+
You can also create custom groups and links to external pages in the sidebar.
|
|
151
|
+
|
|
152
|
+
```js title="eventcatalog.config.js"
|
|
153
|
+
module.exports = {
|
|
154
|
+
navigation: {
|
|
155
|
+
pages: [
|
|
156
|
+
// Custom group
|
|
157
|
+
{
|
|
158
|
+
type: 'group',
|
|
159
|
+
// Custom group title
|
|
160
|
+
title: 'My Custom Group',
|
|
161
|
+
// Custom group icon from lucide icons
|
|
162
|
+
icon: 'Boxes',
|
|
163
|
+
// Custom group pages
|
|
164
|
+
pages: [
|
|
165
|
+
// You can still reference resources, lists as you would normally do
|
|
166
|
+
'domain:E-Commerce',
|
|
167
|
+
// Create a custom item link to an external page
|
|
168
|
+
{
|
|
169
|
+
type: 'item',
|
|
170
|
+
title: 'My Custom Link',
|
|
171
|
+
// Custom link to an external page
|
|
172
|
+
href: 'https://eventcatalog.dev',
|
|
173
|
+
}
|
|
174
|
+
],
|
|
175
|
+
},
|
|
176
|
+
// Or have a custom item on the root (outside a group)
|
|
177
|
+
{
|
|
178
|
+
type: 'item',
|
|
179
|
+
title: 'My Custom Item',
|
|
180
|
+
href: 'https://eventcatalog.dev',
|
|
181
|
+
}
|
|
182
|
+
// You can still use EventCatalog lists or resources as you would normally do
|
|
183
|
+
'list:all',
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
};
|
|
187
|
+
```
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "Customize Sidebars",
|
|
3
|
+
"position": 3,
|
|
4
|
+
"collapsible": true,
|
|
5
|
+
"collapsed": true,
|
|
6
|
+
"link": {
|
|
7
|
+
"type": "generated-index",
|
|
8
|
+
"slug": "/customize-sidebars",
|
|
9
|
+
"description": "A collection of guides to help you customize the sidebars in your catalog."
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 1
|
|
3
|
+
keywords:
|
|
4
|
+
- EventCatalog visualizer nodes
|
|
5
|
+
sidebar_label: Customize nodes
|
|
6
|
+
title: Customize visualizer nodes
|
|
7
|
+
description: Customize the color, label and icon of the visualizer nodes.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
<AddedIn version="2.33.8" />
|
|
13
|
+
|
|
14
|
+
Every node in the visualizer has a color, label and icon.
|
|
15
|
+
|
|
16
|
+
The example below shows the default node for a **Service** resource.
|
|
17
|
+
|
|
18
|
+
<!-- Image image -->
|
|
19
|
+

|
|
20
|
+
|
|
21
|
+
By default the icon, color and label in the node is generated by EventCatalog. Helping you maintain consistency across your catalog.
|
|
22
|
+
|
|
23
|
+
You can use the `styles` property to customize the icon, color and label of the node, if you want to customize the node to be more specific to your use case.
|
|
24
|
+
|
|
25
|
+
```md title="/domains/MyDomain/services/MyService.md"
|
|
26
|
+
---
|
|
27
|
+
id: NotificationService
|
|
28
|
+
version: 0.0.2
|
|
29
|
+
name: Notification Service
|
|
30
|
+
summary: |
|
|
31
|
+
Service that handles orders
|
|
32
|
+
styles:
|
|
33
|
+
icon: "BellIcon"
|
|
34
|
+
node:
|
|
35
|
+
color: purple
|
|
36
|
+
label: "Custom"
|
|
37
|
+
---
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
#### Rendered output
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
### Configuration
|
|
45
|
+
|
|
46
|
+
| ID | Required | Default | Description |
|
|
47
|
+
| --- | --- | --- | --- |
|
|
48
|
+
| `styles.icon` | No | Depends on resource type | The icon to use for the resource. Icons are from [hero icons](https://heroicons.com/). <br/> You can find a list of icons [here](https://unpkg.com/browse/@heroicons/react@2.1.5/24/outline/). |
|
|
49
|
+
| `styles.node.color` | No | Depends on resource type | The color to use for the node. These are tailwind colors and you can find a list of them [here](https://tailwindcss.com/docs/colors). |
|
|
50
|
+
| `styles.node.label` | No | Depends on resource type | The label to use for the node (side label). |
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "Customize Visualizer",
|
|
3
|
+
"position": 4,
|
|
4
|
+
"collapsible": true,
|
|
5
|
+
"collapsed": true,
|
|
6
|
+
"link": {
|
|
7
|
+
"type": "generated-index",
|
|
8
|
+
"slug": "/customize-visualizer",
|
|
9
|
+
"description": "A collection of guides to help you customize the visualizer in your catalog."
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "Deployment",
|
|
3
|
+
"position": 12,
|
|
4
|
+
"collapsible": false,
|
|
5
|
+
"collapsed": false,
|
|
6
|
+
"link": {
|
|
7
|
+
"type": "generated-index",
|
|
8
|
+
"slug": "development/deployment",
|
|
9
|
+
"title": "Deployment guides",
|
|
10
|
+
"description": "This section contains deployment tutorials for developers. This includes tutorials for deploying to Heroku, AWS, and other cloud providers."
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 5
|
|
3
|
+
keywords:
|
|
4
|
+
- build
|
|
5
|
+
- deploy
|
|
6
|
+
sidebar_label: Build (Static Mode)
|
|
7
|
+
title: Building Eventcatalog
|
|
8
|
+
description: This document describes step by step how to deploy EventCatalog.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
12
|
+
|
|
13
|
+
By default, EventCatalog exports a static HTML site. This means you can deploy your application anywhere you want.
|
|
14
|
+
|
|
15
|
+
:::tip Have large or slow deployments?
|
|
16
|
+
Some users have large catalogs, and slow deployments. This is because the static mode builds the entire catalog into HTML files.
|
|
17
|
+
|
|
18
|
+
If you have a large catalog you may want to use [SSR mode](/docs/development/deployment/build-ssr-mode), this will give you a server-side rendered application.
|
|
19
|
+
This reduces build times, and renders pages on the fly.
|
|
20
|
+
:::
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
## Building your EventCatalog (Static)
|
|
24
|
+
|
|
25
|
+
To build your Catalog you will need to run:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npm run build
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
This will output one directory
|
|
32
|
+
|
|
33
|
+
- `dist` - Your EventCatalog as Static HTML
|
|
34
|
+
|
|
35
|
+
### Passing custom options
|
|
36
|
+
|
|
37
|
+
<AddedIn version="2.16.5" />
|
|
38
|
+
|
|
39
|
+
EventCatalog uses [Astro](https://astro.build/) to build the application. You can pass custom options to the build command by using the `--` prefix.
|
|
40
|
+
|
|
41
|
+
```bash title="Passing custom options"
|
|
42
|
+
npx eventcatalog dev --debug -- --env=production --port=3000
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### Compression
|
|
46
|
+
|
|
47
|
+
You can opt into our build step which will compress your static assets.
|
|
48
|
+
|
|
49
|
+
You can enable this by setting the [compress option](/docs/api/config#compress) to `true` in your `eventcatalog.config.js` file.
|
|
50
|
+
|
|
51
|
+
:::info "Why is compression disabled by default?"
|
|
52
|
+
Compression can increase your build time and the amount of memory required to build your catalog.
|
|
53
|
+
|
|
54
|
+
If you want to enable this feature, you might also want to increase your build memory using the `max_old_space_size` value.
|
|
55
|
+
:::
|
|
56
|
+
|
|
57
|
+
### Memory limits
|
|
58
|
+
|
|
59
|
+
If you get any `JavaScript heap out of memory` errors, you can increase the memory limit by setting the `NODE_OPTIONS` environment variable. This gives astro more memory to work with.
|
|
60
|
+
|
|
61
|
+
```bash title="Increasing the memory limit"
|
|
62
|
+
NODE_OPTIONS=--max_old_space_size=8196 npm run build
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
If you are still experiencing issues, you can try:
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
- Turning off HTML compression ([see documentation](/docs/api/config#compress))
|
|
69
|
+
- Turning on MDX optimization ([see documentation](/docs/api/config#mdxOptimize))
|
|
70
|
+
- Rendering EventCatalog in [SSR mode](/docs/development/deployment/build-ssr-mode).
|
|
71
|
+
- This requires you to run your EventCatalog on a server. But your pages are rendered on the fly, so you don't need to build the entire catalog into HTML files. This can also save you a lot of time when deploying your catalog.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 5
|
|
3
|
+
keywords:
|
|
4
|
+
- build
|
|
5
|
+
- deploy
|
|
6
|
+
sidebar_label: Build (SSR Mode)
|
|
7
|
+
title: Building Eventcatalog
|
|
8
|
+
description: This document describes step by step how to deploy EventCatalog.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
12
|
+
|
|
13
|
+
You can also use EventCatalog in SSR mode, which means you can use EventCatalog as a server-side rendered application.
|
|
14
|
+
|
|
15
|
+
This can be useful for large catalogs, or for users with slow deployment times.
|
|
16
|
+
|
|
17
|
+
Certain features like **Authentication** and **EventCatalog Chat** require SSR mode.
|
|
18
|
+
|
|
19
|
+
### How it works
|
|
20
|
+
|
|
21
|
+
Rather than building the entire catalog into HTML files, EventCatalog will render the pages on the fly (using server-side rendering).
|
|
22
|
+
|
|
23
|
+
This means you can use EventCatalog as a server-side rendered application.
|
|
24
|
+
|
|
25
|
+
## Building your EventCatalog (SSR)
|
|
26
|
+
|
|
27
|
+
First you need to update your `eventcatalog.config.js` file to use SSR mode.
|
|
28
|
+
|
|
29
|
+
```js title="eventcatalog.config.js"
|
|
30
|
+
export default {
|
|
31
|
+
// defaults to static
|
|
32
|
+
output: 'server',
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Next you need to build your EventCatalog
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm run build
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
This will output one directory
|
|
43
|
+
|
|
44
|
+
- `dist` - Your EventCatalog as a SSR application
|
|
45
|
+
|
|
46
|
+
## Deployment
|
|
47
|
+
|
|
48
|
+
You will need to deploy your EventCatalog to a server that can run Node.js.
|
|
49
|
+
|
|
50
|
+
The easiest way to do this is to use [a docker container](/docs/development/deployment/hosting-options#hosting-static-website-with-docker).
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 5
|
|
3
|
+
keywords:
|
|
4
|
+
- build
|
|
5
|
+
- deploy
|
|
6
|
+
sidebar_label: Deployment Workflows
|
|
7
|
+
title: Deployment Workflows
|
|
8
|
+
description: This document describes different deployment workflows for EventCatalog.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
12
|
+
|
|
13
|
+
Many people are deploying EventCatalog in different ways, as it's self hosted you can rebuild and redeploy your catalog as often as you want.
|
|
14
|
+
|
|
15
|
+
### Keeping EventCatalog up to date
|
|
16
|
+
|
|
17
|
+
Keeping documentation up to date is a challenge, as it's easy to forget to update the documentation when you make changes to your code.
|
|
18
|
+
|
|
19
|
+
One way to keep your documentation up to date, is to redeploy your catalog whenever changes are made to your code, specifications or schemas.
|
|
20
|
+
|
|
21
|
+
EventCatalog has companies redeploying their catalogs hundreds of times a day.... it really depends on how often you make changes to your code, specifications or schemas, and how often you want to update your documentation. **You are in control of how often you redeploy your catalog.**
|
|
22
|
+
|
|
23
|
+
Many folks using EventCatalog have information scattered across multiple repositories, schema registries and other systems.
|
|
24
|
+
|
|
25
|
+
Users of EventCatalog either use [our integrations (e.g AsyncAPI, OpenAPI, Schema Registry)](/integrations) or have built their own automated systems using our [SDK](/docs/sdk).
|
|
26
|
+
|
|
27
|
+
### CI/CD workflow to keep your documentation up to date
|
|
28
|
+
|
|
29
|
+
EventCatalog is docs-as-code solution. This means you can store EventCatalog next to your code and in git repositories.
|
|
30
|
+
|
|
31
|
+
You can setup your CI/CD pipeline to build and deploy your catalog whenever changes are made to your code, specifications or schemas.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
```mermaid LR
|
|
35
|
+
flowchart LR
|
|
36
|
+
A[Code changes in any repository] --> B[Trigger CI/CD pipeline to build and deploy catalog]
|
|
37
|
+
B --> C[EventCatalog is rebuilt and deployed]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
EventCatalog is flexible. And you can redeploy your catalog in various ways.
|
|
41
|
+
|
|
42
|
+
This can let you setup automation to ensure your documentation can stay up to date with any changes to your code, specifications or schemas.
|
|
43
|
+
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 6
|
|
3
|
+
keywords:
|
|
4
|
+
- build
|
|
5
|
+
- deploy
|
|
6
|
+
sidebar_label: Hosting
|
|
7
|
+
title: Hosting
|
|
8
|
+
description: This document describes hosting options for EventCatalog.
|
|
9
|
+
---
|
|
10
|
+
import AddedIn from '@site/src/components/MDX/AddedIn';
|
|
11
|
+
|
|
12
|
+
### Hosting Options
|
|
13
|
+
|
|
14
|
+
EventCatalog can be hosted in two ways:
|
|
15
|
+
|
|
16
|
+
- [Hosting a static website output (default)](#hosting-a-static-website)
|
|
17
|
+
- [Hosting EventCatalog Server](#hosting-as-a-server)
|
|
18
|
+
|
|
19
|
+
### Hosting a static website
|
|
20
|
+
|
|
21
|
+
By default EventCatalog will build a static website.
|
|
22
|
+
|
|
23
|
+
Here are some guides and places you can host static content
|
|
24
|
+
|
|
25
|
+
- [Host with Docker](#hosting-with-docker)
|
|
26
|
+
- [Deploy to NextJS](https://nextjs.org/docs/deployment)
|
|
27
|
+
- [Host in AWS S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html)
|
|
28
|
+
- [Deploying EventCatalog using Helm chart](https://github.com/osodevops/helm-charts/tree/main/charts/eventcatalog)
|
|
29
|
+
|
|
30
|
+
**Community posts**
|
|
31
|
+
- [Using AWS CDK to Deploy EventCatalog](https://matt.martz.codes/using-aws-cdk-to-deploy-eventcatalog)
|
|
32
|
+
- [Using Netlify to host Static Content](https://www.netlify.com/blog/2016/10/27/a-step-by-step-guide-deploying-a-static-site-or-single-page-app/)
|
|
33
|
+
- [How to create an EventCatlaog with Azure](https://www.kallemarjokorpi.fi/blog/how-to-create-and-event-catalog.html)
|
|
34
|
+
- [Autonomous EventCatalog for documenting EventBridge Events](https://medium.com/@wrennkieran/autonomous-eventcatalog-for-documenting-eventbridge-events-73e6334f2400)
|
|
35
|
+
|
|
36
|
+
### Hosting static website with Docker
|
|
37
|
+
|
|
38
|
+
EventCatalog comes with a DockerFile you can build the image and deploy the container. The container exposes ports `3000`.
|
|
39
|
+
|
|
40
|
+
To build the docker container you need to run:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
# Builds the container
|
|
44
|
+
docker build -t eventcatalog .
|
|
45
|
+
|
|
46
|
+
# Runs the container locally
|
|
47
|
+
docker run -p 3000:80 -it eventcatalog
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Hosting as a server
|
|
51
|
+
|
|
52
|
+
<AddedIn version="2.35.4" />
|
|
53
|
+
|
|
54
|
+
First you need to update your `eventcatalog.config.js` file to use SSR mode.
|
|
55
|
+
|
|
56
|
+
```js title="eventcatalog.config.js"
|
|
57
|
+
export default {
|
|
58
|
+
// defaults to static
|
|
59
|
+
output: 'server',
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
A server output is required if you are using any EventCatalog feature that requires a server, these include:
|
|
64
|
+
|
|
65
|
+
- [EventCatalog Chat (bring your own keys)](/features/ai-assistant)
|
|
66
|
+
- [EventCatalog Authentication](/docs/development/authentication/introduction)
|
|
67
|
+
|
|
68
|
+
You can use the server Docker image to run the server, this is the recommended way to run the server.
|
|
69
|
+
|
|
70
|
+
First you need to create a Dockerfile for the server (if you don't already have one).
|
|
71
|
+
|
|
72
|
+
```bash title="/Dockerfile.server"
|
|
73
|
+
FROM node:lts AS runtime
|
|
74
|
+
WORKDIR /app
|
|
75
|
+
|
|
76
|
+
# Install dependencies
|
|
77
|
+
COPY package.json package-lock.json ./
|
|
78
|
+
RUN npm install
|
|
79
|
+
|
|
80
|
+
COPY . .
|
|
81
|
+
|
|
82
|
+
# Fix for Astro in Docker: https://github.com/withastro/astro/issues/2596
|
|
83
|
+
ENV NODE_OPTIONS=--max_old_space_size=2048
|
|
84
|
+
RUN npm run build
|
|
85
|
+
|
|
86
|
+
ENV HOST=0.0.0.0
|
|
87
|
+
ENV PORT=3000
|
|
88
|
+
EXPOSE 3000
|
|
89
|
+
|
|
90
|
+
# Start the server
|
|
91
|
+
CMD npm run start
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Then you can build the docker image with:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
docker build -f Dockerfile.server -t eventcatalog-server .
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Then you can run the server with:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
docker run -p 3000:3000 eventcatalog-server
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
:::info "Why do I need a server to run EventCatalog?"
|
|
107
|
+
|
|
108
|
+
Some features of EventCatalog require a server to run (e.g. [EventCatalog Chat](/features/ai-assistant) and [EventCatalog Authentication](/docs/development/authentication/introduction)).
|
|
109
|
+
|
|
110
|
+
If you have a large catalog, you may want to use [SSR mode](/docs/development/deployment/build-ssr-mode) to reduce build times.
|
|
111
|
+
|
|
112
|
+
:::
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 5
|
|
3
|
+
keywords:
|
|
4
|
+
- licenses
|
|
5
|
+
sidebar_label: License Validation
|
|
6
|
+
title: EventCatalog Licenses
|
|
7
|
+
description: This document describes how EventCatalog licenses work online and offline.
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
EventCatalog is an open source project with a [community edition and a commercial edition](/pricing) and also supports a range of integrations (plugins) which have their own licenses.
|
|
11
|
+
|
|
12
|
+
If you are using the commercial edition of EventCatalog, then you don't need to worry about licenses and can skip this page.
|
|
13
|
+
|
|
14
|
+
If you are using EventCatalog Starter, EventCatalog Scale, EventCatalog Enterprise or any of the integrations (plugins) you will need to set up a license key.
|
|
15
|
+
|
|
16
|
+
:::tip Want to try commercial features?
|
|
17
|
+
All licenses have a 14 day free trial. You can get a free trial license key by going to [EventCatalog Cloud](https://eventcatalog.cloud).
|
|
18
|
+
|
|
19
|
+
If you wish to continue using the commercial features after the trial period, you will need to purchase a license.
|
|
20
|
+
|
|
21
|
+
You can email us at `hello@eventcatalog.dev` to enquire about a license.
|
|
22
|
+
:::
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### How to set up a license keys
|
|
26
|
+
|
|
27
|
+
1. Go to [EventCatalog Cloud](https://eventcatalog.cloud) and sign up for a free trial.
|
|
28
|
+
1. Once you are logged in, you can select any license you want to use or integration.
|
|
29
|
+
1. Selecting the plan or integration will give you a license key.
|
|
30
|
+
1. Store the license key in your `.env` file or as an environment variable.
|
|
31
|
+
|
|
32
|
+
### How EventCatalog validates licenses keys
|
|
33
|
+
|
|
34
|
+
##### Online License Validation (recommended)
|
|
35
|
+
|
|
36
|
+
By default, EventCatalog will validate your license key online.
|
|
37
|
+
|
|
38
|
+
Your keys are read from your `.env` file and verified against our API.
|
|
39
|
+
|
|
40
|
+
##### Offline License Validation
|
|
41
|
+
|
|
42
|
+
If you are behind a firewall or can't access the EventCatalog API, then your license keys can be validated offline.
|
|
43
|
+
|
|
44
|
+
To get offline validation working you will need to:
|
|
45
|
+
|
|
46
|
+
1. Get in contact with us at `hello@eventcatalog.dev` to get a license key `(license.jwt)`.
|
|
47
|
+
1. Once you have you license key `(license.jwt)` you put this into the root of your catalog directory.
|
|
48
|
+
1. EventCatalog will then validate your license key offline.
|
|
49
|
+
|
|
50
|
+
Your key will expire after a year of purchase, and you will need to get a new license key.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label": "Designing with Studio",
|
|
3
|
+
"position": 30,
|
|
4
|
+
"collapsible": false,
|
|
5
|
+
"collapsed": false,
|
|
6
|
+
"link": {
|
|
7
|
+
"type": "generated-index",
|
|
8
|
+
"slug": "design",
|
|
9
|
+
"title": "Design",
|
|
10
|
+
"description": "This section describes how to use EventCatalog to design workflows and new ideas."
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 4
|
|
3
|
+
keywords:
|
|
4
|
+
- design
|
|
5
|
+
- studio
|
|
6
|
+
- resources
|
|
7
|
+
sidebar_label: Embed Designs into EventCatalog
|
|
8
|
+
title: Embed Designs into EventCatalog
|
|
9
|
+
description: Embed Designs into EventCatalog with EventCatalog
|
|
10
|
+
unlisted: true
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
You can embed any diagram directly into your documentation using the [`<Design />`](/docs/development/components/components/design) component.
|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
17
|
+
To embed your diagrams you need to:
|
|
18
|
+
|
|
19
|
+
1. Save your diagram as a `.ecstudio` file
|
|
20
|
+
1. Put your `.ecstudio` file in the location of your markdown file in EventCatalog.
|
|
21
|
+
2. Use the [`<Design />`](/docs/development/components/components/design) component in your markdown file to embed your diagram into your documentation
|
|
22
|
+
|
|
23
|
+
:::info Embed diagrams anywhere
|
|
24
|
+
|
|
25
|
+
Our vision to to allow users to be embed diagrams anywhere, letting them embed diagrams into their tools they already use.
|
|
26
|
+
|
|
27
|
+
This is currently on our roadmap, and we will be adding more support for this in the future.
|
|
28
|
+
|
|
29
|
+
:::
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
sidebar_position: 5
|
|
3
|
+
keywords:
|
|
4
|
+
- design
|
|
5
|
+
- studio
|
|
6
|
+
- resources
|
|
7
|
+
sidebar_label: Further Reading
|
|
8
|
+
title: Further Reading
|
|
9
|
+
description: Further Reading with EventCatalog
|
|
10
|
+
unlisted: true
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
If you want to learn more about EventCatalog Studio you can [read our documentation here](/docs/studio/getting-started) or click on the links below to learn more.
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- [How to add nodes to your diagram](/docs/studio/diagrams/using-nodes)
|
|
18
|
+
- [Adding comments to your designs](/docs/studio/diagrams/adding-comments)
|
|
19
|
+
- [Import & Export your designs](/docs/studio/diagrams/import-export)
|