This is an automated email from the ASF dual-hosted git repository.
msciabarra pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-streamer.git
from 89cf2bf Merge pull request #3 from nuvolaris/main
add a6de185 refactor: improve project structure and tests
add 7a014e6 refactor: move handlers to own package
add 06e561e feat: add web action handler
add 2cae6a7 chore: add license headers
new c59be73 Merge pull request #4 from giusdp/main
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 | 16 ++-
src/go.mod | 8 +-
src/{httpserver.go => handlers/action_handler.go} | 95 ++++-----------
src/handlers/helpers.go | 63 ++++++++++
src/handlers/helpers_test.go | 127 ++++++++++++++++++++
src/{ => handlers}/ow.go | 2 +-
src/handlers/web_action_handler.go | 139 ++++++++++++++++++++++
src/handlers/web_action_handler_test.go | 82 +++++++++++++
src/httpserver.go | 128 +-------------------
src/{ => tcp}/tcpserver.go | 37 ++++--
src/{ => tcp}/tcpserver_test.go | 38 ++++--
tests/ex.py | 54 +++++++++
12 files changed, 574 insertions(+), 215 deletions(-)
copy src/{httpserver.go => handlers/action_handler.go} (50%)
create mode 100644 src/handlers/helpers.go
create mode 100644 src/handlers/helpers_test.go
rename src/{ => handlers}/ow.go (98%)
create mode 100644 src/handlers/web_action_handler.go
create mode 100644 src/handlers/web_action_handler_test.go
rename src/{ => tcp}/tcpserver.go (77%)
rename src/{ => tcp}/tcpserver_test.go (73%)
create mode 100644 tests/ex.py