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 b90e958 Merge pull request #3 from
ThisaraWeerakoon/add-file-inbound-endpoint
add 1bace76 feat: Add http server configuration management.
add 5cd13a9 refactor: Modify api artifact, unmarshaling logic and its
tests
add e8667b1 feat: Add router service to handle routing
add 31fb99b refactor: Add router initialization, graceful http server
shutting down, API deployment and regitration of http handlers
new 4afe3d7 Merge pull request #6 from ThisaraWeerakoon/add-api
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:
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(-)
create mode 100644 cmd/artifacts/APIs/api.xml
create mode 100644 cmd/conf/deployment.toml
create mode 100644 internal/app/adapters/inbound/file/file_inbound.go
delete mode 100644 internal/app/adapters/inbound/file_inbound.go
delete mode 100644 internal/app/adapters/inbound/file_inbound_component_test.go
delete mode 100644 internal/app/adapters/inbound/file_inbound_unit_test.go
delete mode 100644 internal/app/adapters/inbound/interfaces.go
delete mode 100644 internal/app/adapters/inbound/logger.go
delete mode 100644 internal/app/adapters/inbound/mocks_test.go
delete mode 100644 internal/app/adapters/inbound/os_filesystem.go
delete mode 100644 internal/app/adapters/inbound/real_clock.go
create mode 100644 internal/pkg/core/router/service.go