Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOS GRPC interface #1471

Merged
merged 51 commits into from
Jun 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
e169ef3
If EOS complains, extract the real error. More logging discipline and…
Feb 9, 2021
b8ee1d0
Added changelog for eosgrpc
Feb 11, 2021
4d91443
Added changelog pull req
Feb 11, 2021
04ba13d
First working implementation of HTTP GET/PUT towards EOS
Feb 24, 2021
7664545
Add comment
Feb 24, 2021
443eed7
eogrpc: change to full streaming behaviour for reads
Feb 24, 2021
f30053a
Fix comment
Feb 24, 2021
00ae6d1
Fix comment
Feb 24, 2021
a6a3240
Implement Get/SetQuota (pending cleanup)
Mar 8, 2021
08564ce
Code cleanup, logging, implemet Rename
Mar 12, 2021
99ad67f
Shut up a warning from Hound
Mar 12, 2021
bb3017d
Shut up another warning from Hound
Mar 12, 2021
d93dc46
eosgrpc: remove some test code, cleanup, introduce the parms ReadUses…
Mar 15, 2021
fb74b37
eosfs: Expose the parms ReadUsesLocalTemp and WriteUsesLocalTemp
Mar 19, 2021
c77c05d
eosfs: Fix two minor warnings
Mar 19, 2021
75f6269
Allow the grpc auto connect mechanism to work also when eos is down o…
Mar 23, 2021
56b1d78
Add missing eos_http dir
Mar 29, 2021
f9f53d6
Exit immediately if the certificates init fails for http
Mar 29, 2021
9839779
Return the copy error in the case of non-streaming http download
Mar 29, 2021
5608ee7
Fix a few warnings
Mar 29, 2021
c13bc40
Fix another warning
Mar 29, 2021
48a6b28
Fix some simple warnings
May 11, 2021
26948d8
If EOS complains, extract the real error. More logging discipline and…
Feb 9, 2021
848f64a
First working implementation of HTTP GET/PUT towards EOS
Feb 24, 2021
e7827a0
Implement Get/SetQuota (pending cleanup)
Mar 8, 2021
545f566
Code cleanup, logging, implemet Rename
Mar 12, 2021
d0af433
Shut up a warning from Hound
Mar 12, 2021
0424d19
Shut up another warning from Hound
Mar 12, 2021
ba03996
Use the eos grpc defs from github
Mar 12, 2021
f5a62f4
eosgrpc: remove some test code, cleanup, introduce the parms ReadUses…
Mar 15, 2021
690bafb
Allow the grpc auto connect mechanism to work also when eos is down o…
Mar 23, 2021
5ed1b26
Fix GetACL func name
May 11, 2021
5b61b64
Lint cosmetics
May 11, 2021
4490979
Lint cosmetics
May 11, 2021
11617c3
Lint cosmetics
May 11, 2021
6378d43
Lint cosmetics (maligned)
May 11, 2021
cc06cef
Pass the upload file size to the http layer if WriteUsesLocalTemp is …
May 27, 2021
8ae8330
Fix minor warning
Jun 2, 2021
fb41a53
Use the embedded eos grpc proto
Jun 9, 2021
29df48d
Don't exit, just panic
ffurano Jun 9, 2021
658f2b0
Fix comment
ffurano Jun 9, 2021
691a91c
Cosmetics
ffurano Jun 9, 2021
1d72cf2
EOS negative resp logged as error
ffurano Jun 9, 2021
a38337b
Missing license header
ffurano Jun 9, 2021
af1b261
Set MaxConnsPerHost, MaxIdleConnsPerHost defaults in the http transport
ffurano Jun 11, 2021
ea83b38
mod tidy
ffurano Jun 11, 2021
007005c
make the http options local to Client
ffurano Jun 11, 2021
eba9d4d
Don't set twice SSL_CERT_DIR
ffurano Jun 11, 2021
338598b
Keep the http transport struct on a per EOS instance base, and make a…
ffurano Jun 14, 2021
b6ff7a4
Don't reinitialize the http options and transport when creating a cli…
ffurano Jun 17, 2021
1baa5a7
Http EOS client: more robust url parsing
ffurano Jun 17, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions changelog/unreleased/eosgrpc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Enhancement: EOEGrpc progress. Logging discipline and error handling

https://github.com/cs3org/reva/pull/1471
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ require (
github.com/tus/tusd v1.1.1-0.20200416115059-9deabf9d80c2
go.opencensus.io v0.23.0
golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c
golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d
golang.org/x/sys v0.0.0-20210423082822-04245dca01da
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1
Expand Down
2 changes: 2 additions & 0 deletions pkg/eosclient/eosclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ type QuotaInfo struct {
// create a quota space in EOS for a user
type SetQuotaInfo struct {
Username string
UID string
GID string
QuotaNode string
MaxBytes uint64
MaxFiles uint64
Expand Down
Loading