Pavel Korotkov
237c247ec4
[ #13 ] Add bearer token usage in receive/upload methods
2021-02-16 16:22:25 +01:00
Evgeniy Kulikov
b6d94ec9a5
Fixes around get_by_attribute
...
Before, `attr_val` ignores attribute values that contains slashes in it value, now it's fixed.
Update to v0.3.2 with fixing status of connection pool.
Added debug log message when object not found, for debug reasons.
Update .test.env variables prefix, it was changed in one of previous releases.
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2021-01-23 16:28:12 +03:00
Evgeniy Kulikov
c30b264beb
Migrate to SDK 0.3.0
...
- update dependencies
- github.com/fasthttp/router v1.3.5
- github.com/nspcc-dev/cdn-sdk v0.3.0
- github.com/nspcc-dev/neofs-api-go v1.22.0
- github.com/prometheus/client_golang v1.9.0
- github.com/valyala/fasthttp v1.19.0
- google.golang.org/grpc v1.35.0
Signed-off-by: Evgeniy Kulikov <kim@nspcc.ru>
2021-01-14 13:31:40 +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
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
6226729e38
Migrate to CDN SDK
2020-11-10 14:46:28 +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
12a3801f3d
errors: correct handling 404
2020-04-22 13:34:48 +03:00
Evgeniy Kulikov
164b0870de
refactoring + moved to neofs-api-go
2020-03-31 11:37:10 +03:00
Evgeniy Kulikov
131d99a182
fix content-type detection
2020-02-29 16:40:54 +03:00
Evgeniy Kulikov
35e2378afc
refactoring receive file handler: use fasthttp instead echo
2020-02-28 20:03:56 +03:00
Evgeniy Kulikov
c290e4178a
fix typo
2020-02-27 12:51:11 +03:00
Evgeniy Kulikov
62c6bbd875
refactoring pool, replace zap.Duration with zap.Stringer
2020-02-25 18:35:46 +03:00
Evgeniy Kulikov
cf61136da5
small refactoring
2020-02-25 13:31:20 +03:00
Evgeniy Kulikov
307f008dac
log elapsed time when could not receive object
2020-02-14 13:12:36 +03:00
Evgeniy Kulikov
fbfab8cae7
Add state.HealthCheck to isActive
2020-02-13 17:33:12 +03:00
Evgeniy Kulikov
1542a01924
Use path.Base because hdr.Value can be something like /path/to/filename.ext
2020-02-04 14:02:29 +03:00
Evgeniy Kulikov
53244fcaf3
Use object.FilenameHeader instead custom constant
2020-02-04 14:00:45 +03:00
Evgeniy Kulikov
590444459d
Migrate to NeoFS API
2020-02-04 13:35:25 +03:00
Evgeniy Kulikov
746946290c
NSPCC-762 Connection pool
...
- implement connection pool
- wait until container creates
- refactoring gw service
- add config option to enable prometheus and pprof
- update neofs-proto to v0.2.8
2019-12-21 13:26:14 +03:00
Evgeniy Kulikov
97d1a99f58
NSPCC-493 Separate repository for NeoFS GW
...
- Update dependencies
- Update README (configuration: flags section)
- Add gRPC logger and flag to enable gRPC connection debugging
- Refactored settings (add flags, use defaults instead of yaml representation)
2019-12-13 19:09:14 +03:00