Commit graph

482 commits

Author SHA1 Message Date
Evgeniy Kulikov
31186382e8
Change ENV prefix
TODO should be replaced with HTTP_GW before release

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-27 18:18:53 +03:00
Evgeniy Kulikov
f75eb4b803
Update dependencies
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-27 16:38:58 +03:00
Evgeniy Kulikov
3166adc410
Deprecation warning 2020-11-23 12:43:27 +03:00
Evgeniy Kulikov
a4f7a2f962
Migrate to new release of NeoFS API
- migrate to new release NeoFS API / CDN SDK
- add `Last-Modified` header

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-11-23 12:32:03 +03:00
Evgeniy Kulikov
f14e2b695e
Fixed NPE in CDN SDK 2020-11-13 21:01:10 +03:00
Evgeniy Kulikov
eca0c73dee
Merge pull request #3 from nspcc-dev/migrate_to_cdn_sdk
Migrate to CDN SDK
2020-11-10 14:47:18 +03:00
Evgeniy Kulikov
6226729e38
Migrate to CDN SDK 2020-11-10 14:46:28 +03:00
Evgeniy Kulikov
f2352f1e76
change module name 2020-08-21 02:50:14 +03:00
Evgeniy Kulikov
bbb2a057c7
NFSSVC-16 Sign health-check requests 2020-07-02 11:34:54 +03:00
anatoly@nspcc.ru
6b3344bd41 update 2020-06-10 20:38:03 +03:00
anatoly@nspcc.ru
0e1fea52c6 update format 2020-06-10 20:30:43 +03:00
anatoly@nspcc.ru
f9e1e50da1 update format 2020-06-10 20:28:09 +03:00
anatoly@nspcc.ru
793d21651b Add filename to save file in the browser 2020-06-10 20:04:27 +03:00
Evgeniy Kulikov
799d391508
migrate to new api v1.0.0 2020-06-03 06:30:58 +03:00
Evgeniy Kulikov
a9f4ee535a
Update dependencies
- github.com/fasthttp/router v1.1.6
- github.com/nspcc-dev/neofs-api-go v1.0.0
- github.com/prometheus/client_golang v1.6.0
- github.com/prometheus/common v0.10.0
- github.com/spf13/viper v1.7.0
- github.com/valyala/fasthttp v1.14.0
- go.uber.org/zap v1.15.0
- google.golang.org/grpc v1.29.1
2020-06-03 06:30:36 +03:00
Evgeniy Kulikov
39e4a770bb
pprof: fix route params 2020-05-12 11:20:28 +03:00
Evgeniy Kulikov
0a55a84863
metrics: fix doc-comments 2020-05-12 11:20:28 +03:00
Evgeniy Kulikov
21fc1c6e6c
log: fix routes in log message 2020-05-12 11:19:07 +03:00
Evgeniy Kulikov
54071b5da4
routing: remove trailing slash 2020-05-12 11:18:23 +03:00
Evgeniy Kulikov
12a3801f3d
errors: correct handling 404 2020-04-22 13:34:48 +03:00
Evgeniy Kulikov
96e24653f7
modules: update to neofs-api 0.7.1 2020-04-22 13:16:58 +03:00
Evgeniy Kulikov
dc3d041ad6
fixes for Dockerfile 2020-04-15 11:22:55 +03:00
Evgeniy Kulikov
ea4710eaba
update to new router 2020-04-15 11:10:42 +03:00
Evgeniy Kulikov
164b0870de
refactoring + moved to neofs-api-go 2020-03-31 11:37:10 +03:00
Evgeniy Kulikov
6abd79aa44
Update dependencies
- github.com/nspcc-dev/neofs-api v0.4.1 // v0.4.0 => v0.4.1
- github.com/nspcc-dev/neofs-crypto v0.3.0 // v0.2.3 => v0.3.0
- github.com/prometheus/client_golang v1.5.0 // v1.4.1 => v1.5.0
2020-03-10 14:13:01 +03:00
Evgeniy Kulikov
d0901587e2
simplify main func 2020-03-03 13:36:52 +03:00
Evgeniy Kulikov
2db83caf29
used logger custom interface instead of grpclog.LoggerV2 2020-03-03 13:36:20 +03:00
Evgeniy Kulikov
50e74ee3a1
added reusable pprof endpoints 2020-03-03 13:35:06 +03:00
Evgeniy Kulikov
ad03a95feb
added reusable metrics endpoints 2020-03-03 13:34:52 +03:00
Evgeniy Kulikov
1d5c1897a3
reusable health checkers endpoints 2020-03-03 13:34:26 +03:00
Evgeniy Kulikov
dba58f3935
refactored logger wrapper 2020-02-29 18:00:20 +03:00
Evgeniy Kulikov
5a640fc0fa
remove debug information 2020-02-29 17:07:07 +03:00
Evgeniy Kulikov
131d99a182
fix content-type detection 2020-02-29 16:40:54 +03:00
Evgeniy Kulikov
758006dea0
update makefile dev command 2020-02-29 13:25:22 +03:00
Evgeniy Kulikov
cf0f9ce5f6
fixes for dev version of go.mod 2020-02-28 20:11:20 +03:00
Evgeniy Kulikov
8aef59cdbd
refactoring application: use fasthttp instead echo, add healthcheck handlers, run web server immidiently, close pool connections when stop 2020-02-28 20:07:50 +03:00
Evgeniy Kulikov
7790684726
refactoring connectionpool: add healthcheck, move getConnection and first call reBalance outside constructor 2020-02-28 20:05:25 +03:00
Evgeniy Kulikov
35e2378afc
refactoring receive file handler: use fasthttp instead echo 2020-02-28 20:03:56 +03:00
Evgeniy Kulikov
437133e280
add fasthttp pprof handler 2020-02-28 19:56:50 +03:00
Evgeniy Kulikov
c6a06ca709
add fasthttp metrics handler 2020-02-28 19:56:22 +03:00
Evgeniy Kulikov
d6df78974e
ignore blast benchmark config 2020-02-28 19:52:33 +03:00
Evgeniy Kulikov
dd213b0c41
update makefile commands: dev, image, version 2020-02-28 19:51:49 +03:00
Evgeniy Kulikov
a584012d50
update makefile commands: dev, image, version 2020-02-28 19:50:54 +03:00
Evgeniy Kulikov
0ab7893337
add test environments 2020-02-28 19:45:00 +03:00
Evgeniy Kulikov
cee4e6239f
add Println and Printf for zapLogger 2020-02-28 19:44:32 +03:00
Evgeniy Kulikov
772314d156
update dependencies 2020-02-28 19:43:39 +03:00
Evgeniy Kulikov
b8dc1097fb
update dependencies 2020-02-28 19:43:25 +03:00
Evgeniy Kulikov
f867fff1d7
ignore test script 2020-02-27 13:09:53 +03:00
Evgeniy Kulikov
6e917c1982
move rebalance timer to settings 2020-02-27 13:09:27 +03:00
Evgeniy Kulikov
c290e4178a
fix typo 2020-02-27 12:51:11 +03:00