This is an automated email from the ASF dual-hosted git repository.
isudana pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/synapse-go.git
from 4afe3d7 Merge pull request #6 from ThisaraWeerakoon/add-api
add f0b9bfc feat: Add debug build target
add 8c35983 Add protocol interfaces for file inbound endpoint
add 4877f09 Implement VFS protocol handler for file operations
add 82cad2a Implement file inbound endpoint with polling mechanism
add 3bd8ee2 Update deployer and inbound factory to support file inbound
endpoint
add 7806fcd Merge branch 'main' into add-ftp-connection-fileinbound
add 4b9f78d feat: Add CORS and Swagger support to API
add 1cd22ba Merge branch 'add-cors-swagger-api' into dev
add 540ceb1 feat: Add http inbound endpoint
add 18decff Merge branch 'add-http-inbound-endpoint' into dev
add dc573da Edit file inbound stop method to allign to new inbound
interface
add 65bdac4 feat: Add endpoint and call mediaotor
add 8cc9fc4 Add unit tests for call mediator
add 26a0cc9 test: Add unit tests for call mediator unmarshaling
add c6f0d28 test: Add endpoint unmarshaling unit tests
add 9925622 Merge branch 'add-endpoint' into dev
add 533cce8 Add developer docs
add 4773e30 Update README on developer documents
new 352a170 Merge pull request #12 from ThisaraWeerakoon/docs
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
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 ++++++++++++
.../types/{log_mediator.go => call_mediator.go} | 30 +-
.../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 ++++++++
.../types/{mediator.go => respond_mediator.go} | 16 +-
internal/pkg/core/deployers/types/sequence.go | 9 +-
.../types/log_mediator.go => router/cors.go} | 41 +-
internal/pkg/core/router/service.go | 51 ++-
mkdocs.yml | 57 +++
56 files changed, 5966 insertions(+), 232 deletions(-)
create mode 100644 cmd/artifacts/Endpoints/endpoint.xml
create mode 100644 cmd/artifacts/Inbounds/httpInbound.xml
create mode 100644 cmd/artifacts/Sequences/TestInHTTPInbound.xml
create mode 100644 docs/architecture/context-flow.md
create mode 100644 docs/architecture/hexagonal.md
create mode 100644 docs/architecture/lifecycle.md
create mode 100644 docs/assets/images/architecture_diagram.png
create mode 100644 docs/assets/images/http-server-flow.png
create mode 100644 docs/components/api-cors.md
create mode 100644 docs/components/configuration.md
create mode 100644 docs/components/context-usage.md
create mode 100644 docs/components/file-inbound.md
create mode 100644 docs/components/http-inbound.md
create mode 100644 docs/components/logging.md
create mode 100644 docs/contributing/guidelines.md
create mode 100644 docs/contributing/setup.md
create mode 100644 docs/getting-started.md
create mode 100644 docs/implementation-status.md
create mode 100644 docs/index.md
copy internal/{pkg/core/artifacts/endpoint.go =>
app/adapters/inbound/file/clock.go} (72%)
create mode 100644 internal/app/adapters/inbound/file/protocol_interfaces.go
create mode 100644 internal/app/adapters/inbound/file/vfs_protocol_handler.go
create mode 100644 internal/app/adapters/inbound/http/http_inbound.go
create mode 100644 internal/pkg/core/artifacts/call_mediator.go
create mode 100644 internal/pkg/core/artifacts/call_mediator_test.go
create mode 100644 internal/pkg/core/artifacts/cors.go
create mode 100644 internal/pkg/core/artifacts/cors_test.go
copy internal/pkg/core/artifacts/{sequence.go => respond_mediator.go} (65%)
create mode 100644 internal/pkg/core/deployers/types/api_cors_test.go
copy internal/pkg/core/deployers/types/{log_mediator.go => call_mediator.go}
(55%)
create mode 100644 internal/pkg/core/deployers/types/call_mediator_test.go
create mode 100644 internal/pkg/core/deployers/types/endpoint.go
create mode 100644 internal/pkg/core/deployers/types/endpoint_test.go
copy internal/pkg/core/deployers/types/{mediator.go => respond_mediator.go}
(61%)
copy internal/pkg/core/{deployers/types/log_mediator.go => router/cors.go}
(54%)
create mode 100644 mkdocs.yml