15ff583035
src/parse_request.go: in ParseRequest() change switch case into a map with factory functions.
2022-10-25 17:49:22 +02:00
b41fb21f6a
src/parse_request.go: use api.ApiArguments instead of arguments struct
2022-10-25 17:46:32 +02:00
d8c8c14edc
src/api/eosio_contract.go: Adding EosioContractFactory function
2022-10-25 17:43:16 +02:00
9fcffe375a
src/api/eosio_v2.go: Adding EosioV2Factory function
2022-10-25 17:42:46 +02:00
7b78d2632b
src/api/eosio_v1.go: Adding EosioV1Factory function
2022-10-25 17:42:30 +02:00
39927a2441
src/api/debug.go: Adding DebugApiFactory function
2022-10-25 17:31:36 +02:00
6e8ffe718e
src/api/interface.go: Adding Factory function type.
2022-10-25 17:22:33 +02:00
0081f86f0d
src/api/interface.go: Adding ApiArguments struct.
2022-10-25 17:21:56 +02:00
8079962be8
src/api/log_params.go: Adding Combine()
2022-10-21 15:08:33 +02:00
8d2c1c8fa3
src/api/log_params.go: Don't need a ToSlice() function as LogParams is already a slice.
2022-10-21 15:08:00 +02:00
3ab2db7cb3
src/api/log_params_test.go: change assert.Equal() to assert.ElementsMatch() to ignore slice order.
2022-10-21 14:29:02 +02:00
7f387680ec
Version 1.2.5
2022-10-21 13:43:09 +02:00
aa98134a1e
src/utils/json_test.go: refactor test functions into a single one.
2022-10-21 13:19:34 +02:00
3568e7c908
src/utils/parse_log_formatter_test.go: fix whitespace.
2022-10-21 13:14:23 +02:00
818cf7e7e5
move src/helpers.go to src/utils/parse_log_formatter.go
2022-10-21 13:13:02 +02:00
97d9e662ce
scripts/templates/config: Add "--log-format=logfmt" to default options.
2022-10-21 12:43:37 +02:00
76e50d1801
install linux: change config file from /etc/defualts/ to /etc/sysconfig
2022-10-21 12:39:39 +02:00
311d9b34cb
src/main.go: Add cli flag to change logging format.
2022-10-20 15:15:11 +02:00
704965b9cc
Adding src/helpers.go
2022-10-20 15:09:21 +02:00
da28a68943
Version 1.2.4
2022-10-13 14:40:25 +02:00
e36913cc92
README.md: Update documentation to golang v1.16 as the minimum version.
2022-10-13 13:31:13 +02:00
7fe06a144a
.github/workflows/test.yml: rename to test.
2022-10-13 13:04:54 +02:00
822bfaa16e
go: update github.com/eosswedenorg-go/tcp_server to v0.2.0
2022-10-13 12:34:56 +02:00
da87724920
go: update github.com/eosswedenorg-go/eos-contract-api-client
2022-10-13 12:33:01 +02:00
35b81cdcdc
src/api/eosio_contract_test.go: in TestEosioContractHTTP500Down() need to set content-type header.
2022-10-12 18:25:04 +02:00
3e9bf2aa75
Update to go v1.16
2022-10-12 17:19:55 +02:00
f5ff3480e0
go: Update github.com/eosswedenorg-go/eosapi to v0.1.1
2022-10-12 12:25:42 +02:00
8f81047e02
src/parse_request_test.go: compare api's LogInfo() function as comparing the structs directly.
...
Comparing the structs may failsly error because of internal variables (like pointer) not being equal.
So just compare the data we actually care about, and those is returned by LogInfo().
2022-10-12 12:24:52 +02:00
ce1ad75649
go: Upgrade github.com/mattn/go-colorable to v0.1.13
2022-10-12 11:50:49 +02:00
9558aea0a8
go: Upgrade github.com/eosswedenorg-go/pid to v1.0.1
2022-10-12 11:50:17 +02:00
c2cc60dbfb
Makefile adding coverage target
2022-10-03 16:37:51 +02:00
f77edfe321
src/parse_request.go: linter does not like capitalized error strings.
2022-10-03 16:37:34 +02:00
bc6f857c1e
Adding src/api/debug_test.go
2022-10-03 16:32:17 +02:00
0349999540
src/parse_request_test.go: adding test for debug api.
2022-10-03 16:15:47 +02:00
edb063722b
src/api/test.go: rename from TestApi to DebugApi
2022-10-03 16:15:25 +02:00
bda40bf1d5
src/parse_request_test.go: add test for invalid api type.
2022-10-03 16:13:32 +02:00
11c1e8afcd
Version 1.2.3
2022-08-22 18:19:55 +02:00
566071c997
Makefile: for dpkg-buildpackage skip building source and only build binary package.
2022-08-22 18:19:46 +02:00
ad5830ed34
scripts/install_freebsd.sh: pass description correctly to rc.conf
2022-08-22 17:44:37 +02:00
0f4f4ad994
scripts/templates/rc.conf: prefix DESCRIPTION
2022-08-22 17:44:37 +02:00
d0d32ed740
scripts/install_linux.sh: Pass description correctly to sysunit service file.
2022-08-22 17:44:36 +02:00
6de7ca549f
scripts/templates/sysunit.service: prefix DESCRIPTION variable.
2022-08-22 17:44:36 +02:00
22255b9758
.github/workflows/release.yml: Remove ubuntu-18.04 as github will drop support on 2022-12-01
2022-08-22 17:44:33 +02:00
843d30bb3d
set-version.sh: handle spaces for Makefile variable.
2022-08-22 15:43:13 +02:00
c94f274da3
debian/changelog: Update v1.2.3 with a real changelog.
2022-08-22 14:19:30 +02:00
47077aa84c
.github/workflows/release.yml: Update to work with the new buildsystem.
2022-08-22 14:19:30 +02:00
da4694eb6b
debian/control: description to long :)
2022-08-22 14:19:30 +02:00
e2d3e3e59f
debian/rules pass $DEB_VERSION as VersionString to linker.
2022-08-22 14:19:29 +02:00
189b4f2207
scripts/info.sh: remove program version, defined in Makefile.
2022-08-22 14:19:29 +02:00
d2db6ea4b3
set-version.sh: Update to handle debian/changes and PROGRAM_VERSION in Makefile.
2022-08-22 14:19:29 +02:00