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 f7100a0 Merge pull request #4 from ThisaraWeerakoon/add-log-and-config
add a1675f7 Added file inbound endpoint with tests
new b90e958 Merge pull request #3 from
ThisaraWeerakoon/add-file-inbound-endpoint
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:
Makefile | 54 +-
go.mod | 1 +
go.sum | 2 +
internal/app/adapters/inbound/file_inbound.go | 605 ++++++++++-
.../inbound/file_inbound_component_test.go | 153 +++
.../app/adapters/inbound/file_inbound_unit_test.go | 1049 ++++++++++++++++++++
internal/app/adapters/inbound/inbound_factory.go | 11 +-
internal/app/adapters/inbound/interfaces.go | 64 ++
.../inbound/{inbound_factory.go => logger.go} | 51 +-
internal/app/adapters/inbound/mocks_test.go | 289 ++++++
internal/app/adapters/inbound/os_filesystem.go | 66 ++
.../adapters/inbound/real_clock.go} | 28 +-
12 files changed, 2259 insertions(+), 114 deletions(-)
create mode 100644 internal/app/adapters/inbound/file_inbound_component_test.go
create mode 100644 internal/app/adapters/inbound/file_inbound_unit_test.go
create mode 100644 internal/app/adapters/inbound/interfaces.go
copy internal/app/adapters/inbound/{inbound_factory.go => logger.go} (51%)
create mode 100644 internal/app/adapters/inbound/mocks_test.go
create mode 100644 internal/app/adapters/inbound/os_filesystem.go
copy internal/{pkg/core/artifacts/log_mediator.go =>
app/adapters/inbound/real_clock.go} (71%)