|
|
005ad9fcd0
|
go mod: change github.com/eosswedenorg-go/eosapi v0.1.3 to github.com/eosswedenorg-go/leapapi v0.2.0
|
2022-11-25 12:39:51 +01:00 |
|
|
|
61cb49f8be
|
Rename project from eosio-api-healthcheck to antelope-api-healthcheck
|
2022-11-25 12:39:51 +01:00 |
|
|
|
e0a7a10662
|
README.md: Update documentation to reflect the name change from contract to atomic.
|
2022-11-25 10:24:43 +01:00 |
|
|
|
881e7cd760
|
internal/server/parse_request_test.go: Remove out commented import.
|
2022-11-24 15:06:58 +01:00 |
|
|
|
9109bef803
|
internal/api/make.go: remove "contract" api in favor for the new "atomic" name.
|
2022-11-24 15:06:02 +01:00 |
|
|
|
0f5fdedd91
|
Version 1.2.6
|
2022-11-24 15:04:10 +01:00 |
|
|
|
c89da02738
|
Cleanup test names.
|
2022-11-24 14:56:22 +01:00 |
|
|
|
d2b8e7d0dc
|
internal/api/eosio_v2_test.go: Assert any errors from http.ResponseWriter.Write()
|
2022-11-24 14:51:17 +01:00 |
|
|
|
bcd9a93a35
|
internal/api/eosio_v1_test.go: Assert any errors from http.ResponseWriter.Write()
|
2022-11-24 14:51:17 +01:00 |
|
|
|
c48162742f
|
internal/api/atomicasset_test.go: Assert any errors from http.ResponseWriter.Write()
|
2022-11-24 14:45:46 +01:00 |
|
|
|
a768d89909
|
cmd/eosio-api-healtcheck/main.go: store server object returned from server.Start() and call Close() after event loop.
|
2022-11-24 14:39:03 +01:00 |
|
|
|
2daa5801c1
|
internal/server/server.go: Make Start() return an tcp_server.Server object.
|
2022-11-24 14:37:57 +01:00 |
|
|
|
34814dae05
|
go: upgrade github.com/eosswedenorg-go/tcp_server to v0.2.1
|
2022-11-24 14:37:10 +01:00 |
|
|
|
72bdde0457
|
internal/server/server.go: in Start() no need to spawn server.Listen() in a go routine as that function is already non-blocking.
|
2022-11-23 17:22:44 +01:00 |
|
|
|
8feca959d4
|
internal/server/parse_request.go: move api factory code into its own function in api package: api.Make()
|
2022-11-23 17:14:51 +01:00 |
|
|
|
1fb48800a1
|
internal/server/parse_request.go: Add AtomicAsset in factories with "atomic" as key.
|
2022-11-23 17:07:39 +01:00 |
|
|
|
2b0b32b5ab
|
rename EosioContract to AtomicAsset.
|
2022-11-23 17:04:54 +01:00 |
|
|
|
1b1f601678
|
move internal/*.go files into internal/server
|
2022-11-23 16:54:22 +01:00 |
|
|
|
e9976fbbee
|
Change github.com/eosswedenorg-go/eos-contract-api-client to github.com/eosswedenorg-go/atomicasset
|
2022-11-23 16:04:23 +01:00 |
|
|
|
bcc704c4c0
|
internal/server.go: in onTcpMessage() check error return value of c.WriteString()
|
2022-11-23 15:56:59 +01:00 |
|
|
|
adb1ad3c6d
|
Fix code formatting
|
2022-11-23 15:53:26 +01:00 |
|
|
|
b0e5b455ca
|
go: update github.com/inconshreveable/log15 to v0.0.0-20221122034931-555555054819
|
2022-11-22 10:10:00 +01:00 |
|
|
|
b09e5ba463
|
go: update github.com/eosswedenorg-go/eosapi to v0.1.3
|
2022-11-22 10:08:47 +01:00 |
|
|
|
a17e2929e3
|
internal/api/eosio_v1.go: HTTP Errors are now handled in eosapi. This changes the log message abit and return haproxy status from "Down" to "Fail"
|
2022-11-18 15:40:55 +01:00 |
|
|
|
9102240837
|
internal/api/eosio_v2.go: HTTP Errors are now handled in the eosapi. This changes the log message abit and return haproxy status from "Down" to "Fail"
|
2022-11-18 15:40:55 +01:00 |
|
|
|
0b463e5111
|
go.mod: Update github.com/eosswedenorg-go/eosapi to v0.1.2
|
2022-11-18 15:37:41 +01:00 |
|
|
|
d8d872adae
|
go.mod: update github.com/stretchr/testify to v1.8.1
|
2022-10-27 12:58:56 +02:00 |
|
|
|
6448aeb0f7
|
Refactor: move internal package from src/ to internal/ and move src/main.go to cmd/eosio-api-healthcheck/main.go
|
2022-10-27 12:58:30 +02:00 |
|
|
|
c27abb5ed9
|
.gitignore: ignore .vscode directory
|
2022-10-26 14:27:17 +02:00 |
|
|
|
cb8eec6ff6
|
Merge branch 'api-refactor' into dev
|
2022-10-26 10:31:42 +02:00 |
|
|
|
c168e263df
|
src/server.go: in onTcpMessage() cleanup logging calls using api.LogParams Add and Combine functions.
|
2022-10-26 10:29:25 +02:00 |
|
|
|
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 |
|