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/05/02 03:24:01 UTC
(synapse-go) 01/01: Merge pull request #6 from ThisaraWeerakoon/add-api
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 4afe3d73f9317a4d51995c50496dfefffda10463
Merge: b90e958 31fb99b
Author: Isuru Udana Loku Narangoda <is...@gmail.com>
AuthorDate: Fri May 2 08:53:55 2025 +0530
Merge pull request #6 from ThisaraWeerakoon/add-api
Add API Handling and Dynamic HTTP Router
cmd/artifacts/APIs/api.xml | 31 +
cmd/conf/LoggerConfig.toml | 1 +
cmd/conf/deployment.toml | 3 +
go.mod | 91 +-
go.sum | 296 +++++-
internal/app/adapters/inbound/file/file_inbound.go | 359 +++++++
internal/app/adapters/inbound/file_inbound.go | 607 -----------
.../inbound/file_inbound_component_test.go | 153 ---
.../app/adapters/inbound/file_inbound_unit_test.go | 1049 --------------------
internal/app/adapters/inbound/inbound_factory.go | 13 +-
internal/app/adapters/inbound/interfaces.go | 64 --
internal/app/adapters/inbound/logger.go | 52 -
internal/app/adapters/inbound/mocks_test.go | 289 ------
internal/app/adapters/inbound/os_filesystem.go | 66 --
internal/app/adapters/inbound/real_clock.go | 40 -
internal/app/synapse/synapse.go | 31 +-
internal/pkg/config/config.go | 53 +-
internal/pkg/core/artifacts/api.go | 36 +-
internal/pkg/core/artifacts/artifact.go | 8 +-
internal/pkg/core/artifacts/log_mediator.go | 51 +
internal/pkg/core/deployers/deployers.go | 22 +-
internal/pkg/core/deployers/types/api.go | 231 ++++-
internal/pkg/core/deployers/types/api_test.go | 172 +++-
internal/pkg/core/router/service.go | 257 +++++
internal/pkg/core/synctx/synctx.go | 6 +-
25 files changed, 1578 insertions(+), 2403 deletions(-)