Commit graph

94 commits

Author SHA1 Message Date
Evgeniy Kulikov
ac8affff91
Migrate to new release SDK 2020-12-23 14:21:34 +03:00
Evgeniy Kulikov
cb1b76a103
Merge pull request #7 from nspcc-dev/how-to-check-http-gate
Add how to check HTTP Gate
2020-12-04 09:56:44 +03:00
Evgeniy Kulikov
1b0acd4836
Merge pull request #6 from nspcc-dev/refactoring_http_gate
Refactoring HTTP Gate
2020-12-04 09:56:12 +03:00
Evgeniy Kulikov
4fb7e511dc
Rename how-to-check.mc to how-to-check.md 2020-12-03 19:12:00 +03:00
Evgeniy Kulikov
abd95efe47
Refactoring HTTP Gate
- simplify code
- add `/get_by_attribute`
- refactoring receiving object

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-03 18:50:35 +03:00
Evgeniy Kulikov
77c404d78f
Add how to check HTTP Gate 2020-12-03 18:46:36 +03:00
Evgeniy Kulikov
b6a9654546
Merge pull request #5 from nspcc-dev/prepare-to-release
Prepare to release
2020-12-02 13:34:32 +03:00
Evgeniy Kulikov
a18e4200b0
Cleanup dependencies
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-02 12:25:18 +03:00
Evgeniy Kulikov
65a5a3f9fc
Update README
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-02 12:25:18 +03:00
Evgeniy Kulikov
8bd210d67e
Use constant settings keys
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-02 12:25:18 +03:00
Evgeniy Kulikov
01f13ef210
Prepare to release
- set output for flag set
- change env prefix for all environments
- migrate to CDN SDK release v0.1.0

Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2020-12-02 12:25:18 +03:00
Evgeniy Kulikov
420531d12a
Merge pull request #4 from nspcc-dev/migrate-to-cdn-sdk
Migrate to new release of NeoFS API
2020-12-02 12:25:00 +03:00
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