You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@synapse.apache.org by is...@apache.org on 2025/10/06 10:32:50 UTC
(synapse-go) 01/01: Merge pull request #12 from ThisaraWeerakoon/docs
This is an automated email from the ASF dual-hosted git repository.
isudana pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/synapse-go.git
commit 352a17000054cbf5fa2a51020a25c87158d27ea5
Merge: 4afe3d7 4773e30
Author: Isuru Udana Loku Narangoda <is...@gmail.com>
AuthorDate: Mon Oct 6 16:02:43 2025 +0530
Merge pull request #12 from ThisaraWeerakoon/docs
Add Comprehensive Developer Documentation
README.md | 34 +-
cmd/artifacts/APIs/api.xml | 10 +
cmd/artifacts/Endpoints/endpoint.xml | 4 +
cmd/artifacts/Inbounds/httpInbound.xml | 5 +
cmd/artifacts/Sequences/TestInHTTPInbound.xml | 7 +
cmd/conf/LoggerConfig.toml | 1 +
docs/architecture/context-flow.md | 381 ++++++++++++++++
docs/architecture/hexagonal.md | 149 +++++++
docs/architecture/lifecycle.md | 385 ++++++++++++++++
docs/assets/images/architecture_diagram.png | Bin 0 -> 40377 bytes
docs/assets/images/http-server-flow.png | Bin 0 -> 28190 bytes
docs/components/api-cors.md | 493 +++++++++++++++++++++
docs/components/configuration.md | 222 ++++++++++
docs/components/context-usage.md | 407 +++++++++++++++++
docs/components/file-inbound.md | 326 ++++++++++++++
docs/components/http-inbound.md | 315 +++++++++++++
docs/components/logging.md | 219 +++++++++
docs/contributing/guidelines.md | 65 +++
docs/contributing/setup.md | 148 +++++++
docs/getting-started.md | 194 ++++++++
docs/implementation-status.md | 74 ++++
docs/index.md | 29 ++
go.mod | 75 ++--
go.sum | 138 +++---
.../adapters/inbound/file/clock.go} | 26 +-
internal/app/adapters/inbound/file/file_inbound.go | 4 +-
.../adapters/inbound/file/protocol_interfaces.go | 59 +++
.../adapters/inbound/file/vfs_protocol_handler.go | 248 +++++++++++
internal/app/adapters/inbound/http/http_inbound.go | 180 ++++++++
internal/app/adapters/inbound/inbound_factory.go | 10 +-
internal/app/adapters/mediation/mediation.go | 33 +-
internal/app/core/ports/ports.go | 4 +-
internal/pkg/core/artifacts/api.go | 266 ++++++++++-
internal/pkg/core/artifacts/artifact.go | 22 +-
internal/pkg/core/artifacts/call_mediator.go | 105 +++++
internal/pkg/core/artifacts/call_mediator_test.go | 248 +++++++++++
internal/pkg/core/artifacts/cors.go | 73 +++
internal/pkg/core/artifacts/cors_test.go | 146 ++++++
internal/pkg/core/artifacts/endpoint.go | 5 +-
internal/pkg/core/artifacts/log_mediator.go | 27 +-
internal/pkg/core/artifacts/log_mediator_test.go | 3 +-
internal/pkg/core/artifacts/mediator.go | 8 +-
.../artifacts/{sequence.go => respond_mediator.go} | 26 +-
internal/pkg/core/artifacts/sequence.go | 5 +-
internal/pkg/core/deployers/deployers.go | 17 +-
internal/pkg/core/deployers/types/api.go | 92 +++-
internal/pkg/core/deployers/types/api_cors_test.go | 294 ++++++++++++
internal/pkg/core/deployers/types/call_mediator.go | 52 +++
.../pkg/core/deployers/types/call_mediator_test.go | 116 +++++
internal/pkg/core/deployers/types/endpoint.go | 105 +++++
internal/pkg/core/deployers/types/endpoint_test.go | 191 ++++++++
.../core/deployers/types/respond_mediator.go} | 33 +-
internal/pkg/core/deployers/types/sequence.go | 9 +-
.../core/{artifacts/sequence.go => router/cors.go} | 42 +-
internal/pkg/core/router/service.go | 51 ++-
mkdocs.yml | 57 +++
56 files changed, 6002 insertions(+), 236 deletions(-)