diff --git a/handlers/apiserver/rest-server.gen.go b/handlers/apiserver/rest-server.gen.go index 9a24d4e..d57ba53 100644 --- a/handlers/apiserver/rest-server.gen.go +++ b/handlers/apiserver/rest-server.gen.go @@ -264,6 +264,18 @@ type HeaderType string // MatchType Match type in NeoFS EACL filter. type MatchType string +// NetworkInfoOK Network information from NeoFS. +type NetworkInfoOK struct { + AuditFee uint64 `json:"auditFee"` + ContainerFee uint64 `json:"containerFee"` + EpochDuration uint64 `json:"epochDuration"` + HomomorphicHashingDisabled bool `json:"homomorphicHashingDisabled"` + MaxObjectSize uint64 `json:"maxObjectSize"` + NamedContainerFee uint64 `json:"namedContainerFee"` + StoragePrice uint64 `json:"storagePrice"` + WithdrawalFee uint64 `json:"withdrawalFee"` +} + // ObjectBaseInfo Basic object information. type ObjectBaseInfo struct { // Address Address of the object in NeoFS. @@ -689,6 +701,12 @@ type ServerInterface interface { // (OPTIONS /get_by_attribute/{containerId}/{attrKey}/{attrVal}) OptionsByAttribute(ctx echo.Context, containerId ContainerId, attrKey AttrKey, attrVal AttrVal) error + // Get network settings + // (GET /network-info) + GetNetworkInfo(ctx echo.Context) error + + // (OPTIONS /network-info) + OptionsNetworkInfo(ctx echo.Context) error // (OPTIONS /objects) OptionsObjectsPut(ctx echo.Context) error @@ -1396,6 +1414,24 @@ func (w *ServerInterfaceWrapper) OptionsByAttribute(ctx echo.Context) error { return err } +// GetNetworkInfo converts echo context to params. +func (w *ServerInterfaceWrapper) GetNetworkInfo(ctx echo.Context) error { + var err error + + // Invoke the callback with all the unmarshaled arguments + err = w.Handler.GetNetworkInfo(ctx) + return err +} + +// OptionsNetworkInfo converts echo context to params. +func (w *ServerInterfaceWrapper) OptionsNetworkInfo(ctx echo.Context) error { + var err error + + // Invoke the callback with all the unmarshaled arguments + err = w.Handler.OptionsNetworkInfo(ctx) + return err +} + // OptionsObjectsPut converts echo context to params. func (w *ServerInterfaceWrapper) OptionsObjectsPut(ctx echo.Context) error { var err error @@ -1877,6 +1913,8 @@ func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL router.GET(baseURL+"/get_by_attribute/:containerId/:attrKey/:attrVal", wrapper.GetByAttribute) router.HEAD(baseURL+"/get_by_attribute/:containerId/:attrKey/:attrVal", wrapper.HeadByAttribute) router.OPTIONS(baseURL+"/get_by_attribute/:containerId/:attrKey/:attrVal", wrapper.OptionsByAttribute) + router.GET(baseURL+"/network-info", wrapper.GetNetworkInfo) + router.OPTIONS(baseURL+"/network-info", wrapper.OptionsNetworkInfo) router.OPTIONS(baseURL+"/objects", wrapper.OptionsObjectsPut) router.PUT(baseURL+"/objects", wrapper.PutObject) router.OPTIONS(baseURL+"/objects/:containerId/search", wrapper.OptionsObjectsSearch) @@ -1892,130 +1930,133 @@ func RegisterHandlersWithBaseURL(router EchoRouter, si ServerInterface, baseURL // Base64 encoded, gzipped, json marshaled Swagger object var swaggerSpec = []string{ - "H4sIAAAAAAAC/+x92XLbuNLwq6D4/1VJzpEsWV7jqrmQZdlWvFtyMp4kdQYiIQpjEmAA0LKS8rt/hYU7", - "KVEZe5bEuYlFYml0Nxq9ofnNsqkfUIKI4NbeNyuADPpIIKZ+QSHYCZrLPx3EbYYDgSmx9qyL8R/IFkC+", - "x+NQIHCH5kBQwBFk9nTNalhYNgugmFoNi0AfWXvxaA2LoS8hZsix9gQLUcPi9hT5UE4j5oFsygXDxLUe", - "Hxuq13vo1YDhHnohklD4UCwEQg63GhA2JQJigtjAKQKyDzna2gWI2NRBDojbAuxUAJEebjVAJqHn7SPI", - "EBvRO0SKwFwyeo8lGGPVCgjZDGAOJphAD1AGXCgQ4FMaeg6AnCN/7CGABQg5Ji7g2CVQhAzFoH8JEZsn", - "sCcQWGlQHTSBoSesvQn0OGpEoI8p9RAkCnaqCFYDg7phNfrigVbDXby0EzS/lHxeBOQYPcRQiCkCQTj2", - "sA0CyASgE/VIcfoUCoUp0yyN6xjmKYKOQpKB+temRltzGMHR1LuhFswVAEvMbW/GMMfNwYSy7wWrLkh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5s8jscNKnCNfSa", - "AZV0ZtoOe0wQ9c3CAvl86bTIpkwJCTMhZAzOC5xhRi1lAqVF1WIFaRsZGRmTiccMwlDAEEdE8ggmQGtn", - "ik9y21nzxJ7Vmw5ODrq0e+S6g+51d3/gDgbdB9rrHV0Nf3PptPvfd1t/HH44PMMXwfz+7Lf98O1sdjk6", - "4R/4UftLp7199x5tb+Dww2Vr1r/r9zeHg/ftK+KSkyA4mGxtXqGvNyc+ZDs3V+P59vHXcDLamr8fXNz/", - "sXPV//IbuYD37ORD2572UG922b6bOrD1x9u7dtsW2+dn/YOHq8MP/3V/+aUoVES5DyFnVObNyMWbV49Z", - "RqFYhRqQCS3OKp9KESI1FTimoUgYOod4mAjwj5FUTXS5RJyub2/u7q632zsdS24q3VApiUmb7KYZQ47t", - "ru1Ze1sbne2tTntjvfHnVI+483nO9SOFySwa9Hx8446Gh/eXPr9+8I/QhyAMj9C7G3pN8fZln9lnUhh6", - "0EY+IuKSetiWa7nuXwIpae8R02LY6qytrxfpHCOM196QySFZ2JNpNJWcCjYkBDnmbZbEoykCE4YRcbw5", - "kBJGbUXlQTEjgglGnlPCZY2lulcO02UKxay6dwG5ZWdthOalB1iC7xSyGjmlLwtwAl4RmGTqhfvqFHNR", - "RLp8KpWYeDquDMgKpVCfTy87bNkOK8dR1dI7ddd+yPs7x6dX+/u3dufD4buv4ejXMzvgwUHfn9088IOt", - "W/983GGdrfAmXLT2zlMtfr1k8Z8bFsdfkbXXqVbq60ua7LFQIm30XKV2eakNIDed6rNws1yGovwc+hS2", - "2xt2oP5D1+hLiLgAY+rMy1StNTCigAfIxpN5yghQsi3kCMBA4odh2clgag5eq9dB5KnHJAlicDDDnicV", - "U+wSypDzZi0DzyeS+TmKIUqbIHMaAj/kIpoC6D7yNNfdLrOk1q9byXsAiVPotK+4t3daaG0gbCUgGiCn", - "W7npQJCeL3qdW1O+deSgkKuytX8LzKaIaSindKYOkGT1r+VjLLhR8d5InY4Lics1cEgZMFKvoQacQSJU", -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E4xqvKF6rfGJ6WORkycCvup3IUZubqGag39L6GqPpN1QDSNZVPz0qcZdzEWNORq6pUviuoJFjke01jj", - "1YZmuhlAnnLs59GWDj0tRmGP+j4llwxN8ENOkWgF+mni6dGB1LTiUYMcArqxSlIgx6pSK8NZy2RHNHg1", - "ss8iqpdyqB+7U9PSoWSpqUfnVGSenlNxqe8+Rk8yGC8TJsNQVQuoDnqZBkmkK0t8rl8nEdcMxuO338oK", - "CqXRF7UsQ5+R3sXraDDKNtDOb6mmxOco6Jl73lGq+CuuU4JsD3JVLgECz3B5kk3KEy3otRTAqsubopyQ", - "3G61O+uOvbU9sbed3XVna3cdop3t9hbcRe02aqP2GI637TF0tra34dvOJtzq7GxsvN3c2YJvd+Au2thV", - "W9Mczkrcl0mQLL9WBLaSA5WZg2hh4FS2KZEc8sBT/UupII+Taj7JOet8yPgUeioxVx5DryeZRFbKym/x", - "vsnf5I4v6Xq3J/tdt9fvtmGv6x70u33cdd0Dc2m3Zy7tDnrdwVUXD3q97plpN4jb7e+n292k2x1l2j1E", - "7Qbj3vRufbfzoX9wGHa/fNkgnLOjC3jcPj9p/zb9erg7Dv97e+ReDeC+27eKWEvfMu4FkAz23/WCd+G7", - "r5udkwv/6GxI+lN+cjT68CWEv3ZOv2wfTacXmxN4cXt3etCevP1w92t4+877sgn3u1Ny1D3Dg6t37qE9", - "6LvTq/0t78tG991vF+/5bEBm9vrgaOpd7Zz3bqabB4cXGzfd0aDf6/avule//JIAt+ieOakyUuKrxt8V", - "WVW8UxpZjS7mV8ZVk67F/S+tFjpJbjZHUtP0TtllpbLvvdFFsqPKpyYJVz0fI64ki7rGlKkPl9hPSsXL", - "Q1Ewd0ZS9yuB5LFhcWSHDIu5rsmlSKHzwrqhmC65Dh857yLPl3ITabMissjAWZxu9kr3fQX0gVtZV0xO", - "TBn+Giu/Rs4E+ATN9U08eofRQvhs1UQDpL1szbg6mwLdXJXhlVDoEYrTS5zh0vDTdX84At3LgaKJqVGm", - "nKmGVAl21s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K0xVR2ytT+/PeKq1hA9XSuK0GzdF2axB24WLtPhVyy2kPrWyph4lFznId0aevsLj5Q", - "z79/I6cTM1bZkP8482AlkufD2yVEN00moQcU7s2FlR+AZzXLpPh1PAdYpeaXKqxHSDwRez2XhlRPLP6w", - "ClIJIetrR0dIaH54FtL+dGZfVnC3kKkFsHRjqRDwP2lzqSoGC/eUzgLOXuf7wfeXWvJ3bLJno+6L9fI0", - "m+cfrvg8iSFRtaP15ex0Gtbac1sQq6lfCsAwcKDAxP1BdLBhlVxZZjIgTcWG1XKRyJ0236J7j4+1zpyL", - "KB3qWTdOfBezaLtLJEjjsORTZUDTGEBuvsijKkenrueugZG0+H14p8s2jxmdcW34O3RGUnW35BgT7EnD", - "nwskH08An+rqvlgAqsOwAXQrfQHRgBkXQJyNaK03gGiAUQMoTysYXd/0G2Ck/p43wBzxBrhtgNv+sAFu", - "1dXgmvkIZYiN27XynztcGkigtkCiyQVD+ouTz8LkEojNvx6IcyrAhIbEKZzm3yTbpXPmPqov8aSz1D5+", - "fiyc+YZ1xunq74ODVEoXGBysga7HIxczB7ZKTNcR7Vcx/yYV4H9Pf6PuP7+rmtRRX8mBZ4Ozvr5xNYYc", - "OSDeBDo+rmeNMuNU6XKVfmiLEHog/TE+laym60VGlQ2R9qKaCrGfrAiX0Xhq3k8W4MjWqtyjlrJFASKV", - "hxcJ8gNJEPNVy7/8OCyTFE8733MJBWnzgNeSvd48q4BYycb4q7fiz23wu0j8bzz/X0y8vCJmvolu/noP", - "vYUa2f48fZ3pWQkYfay9ZtP30Hs+qctfFLcXxe0pZfQhJo6SwC4SqfIjr6PCRPJVIm+V8IbmKz/YTt6o", - "CtU+ZVItUFXmk0+vcg1sQ44O2RgLBtlctYi+76OFPXL+xerdizh60QJftMBlWmBKcXsOORJy/fESJcri", - "qWrphP/w/ftza46pCmHL6Kh3Jr8MX3KXSrz/32nw/I2JS0u6TELP09JopNNu/8QdheU150wduBKBmSrU", - "KQWQ/obBk99HqFWwtAhc6pP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+ "KVEZa5YsN7FILI3uRqM3NL9aNvUDShAR3Dr4agWQQR8JxNQvKAQ7Q3P5p4O4zXAgMCXWgXU1/gPZAsj3", + "eBwKBO7RHAgKOILMnm5YDQvLZgEUU6thEegj6yAerWEx9DnEDDnWgWAhaljcniIfymnEPJBNuWCYuNbT", + "U0P1egu9GjA8QC9EEgofioVAyOFWA8KmREBMEBs4RUAOIUc7+wARmzrIAXFbgJ0KINLDrQbIJPS8QwQZ", + "YiN6j0gRmGtGH7AEY6xaASGbAczBBBPoAcqACwUCfEpDzwGQc+SPPQSwACHHxAUcuwSKkKEY9M8hYvME", + "9gQCKw2qgyYw9IR1MIEeR40I9DGlHoJEwU4VwWpgUDesRl880Gq4i5d2hubXks+LgJyixxgKMUUgCMce", + "tkEAmQB0oh4pTp9CoTBlmqVxHcM8RdBRSDJQ/9rUaGsOIziaejfUgrkCYIm53e0Y5rg5mFD2rWDVBWko", + "G6EiTHccgRn0PCTkXiCSlAlcamQk+ZBAgR8QuET0eLic7fSAPT3eapz3JNmEB5RwpKSaFhw9SgQi4upM", + "PrL1D/nnf1r/kf8l408o86GQI2ICFUh5nDw1SkWTXIrGtpq2a9uI86acl1Gv2fU8OmteMexikp2wiHID", + "a/MI84ByrGep1+UcEVdM67YeqTeL255DLpoX1METjJxljX9tdiP53DzGHrqEPlqlzwj7iAvoB6WdMBHI", + "Rcz06kVStTmoAZemUb2mszqDyrZ60FMEnTXyFcBkQn8y1w/GXE+RzDP0juiU5ZDb0EMAPSI7lA8AQzz0", + "BICqNcDESNt+t3e+AfpYTBEDUPIKlxLZQQQjDqDiJYD1ecdCD72Q6oMntcJEt0Ik9K2DD1b3/PzqndWw", + "jvqX761PBSZuWF3HYYjzIqzmRXSwRqe+AVLN8Qj9wEPRToo1MGvn9LcR2fl8f0t8d/jltTtks06n13eu", + "r+93yc30fjbpXLhf5g/3+P7BSmse1v7lFt07Emx3tPkoUE/sotvZNPDf7L2ZXvR39k/n4abzAPksHB05", + "EvqA0QAxgf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+ "WBvV3jzxOVdNbbZdcdqX46yYcaCAr0qBSbb98nQ0UPkv74lO3/65R/OmriigosvR7QCdSZbErKIw2hma", + "K0B1lyhEhQm4Gx039012kGqh3hGq3iM/EPPaAOfAfQs97CSpgxWpR6GXDKufeLg8Ie1iHiPgALyQW1Cv", + "5kVVklo8UBTjSM9VcxED8rDWZawVeB26yCYGYp4qSSEomIRMXbM0+1JXyMDE/ZbYgLo6VhYZkMRqJuGB", + "PyXIJ/FNWsufH2MvUo1j3cB633kdOidvQ6d3+PAbPvThu0fvHxM/WKZ2TVIXhRfpP6tc34zHLD0DEsd3", + "4baulvkv0qFI5RCJipjkPCOpK7kqSzFQaStjD+lLiCnPnPHDZVyBys9/2u8eWQ11maxhHfXP+6O+cuF0", + "b3unVsO67V6e9KP/T7vD01LfynUoYgNUO1eeJ0Kxosd/AU3KCGHc/cVLn4Bj4noojWkV3s/tyPXc9yts", + "m/hm98Kdols9paCouceM07dE7aFpRl2oQcUNn1LLrDn/SLVfGnQxaEjWl4YvmbWUztQrsTnkU53wpbrK", + "nZX3bd4N+7dyM6iEEKsREalhnfXfD0s3grotWZgqSUHjiKvUOh3CL2Gq7GbZ/ePh7E3vhu2i7b33j/tD", + "Ph5ebk0u3S+M3r15e/9+d/fm9ezz43u7+4et72WMrYNoF68cLtPdF1PrrWyTp43qWIZ5na1XFVbQb417", + "Vx2NmDgV9lN5NCDyGg/VGvqfQ1XIKeuAaBrLpub9aTPuYixoyNXUK9+51hMs8uGnscarDc10M4A8FSPL", + "oy0dxV2Mwh71fUquGZrgx5wi0Qr008TTo3MS0opHDXII6MYqSYEcq0qtDGctkx3R4NXIvoioXsqhfhyZ", + "SEuHkqWmHl1SkXl6ScW1vkYcPclgvEyYDENVeKM6fmwaJEHjLPG5fp0kL2QwHr/9WlabK42+qGUZ+oz0", + "Lt7shFHijo4jSTUlPkdBz5RMiG5dvOA6u872IFeVRyDwDJcnidk80YJeSgGsurwqygnJ7Va7s+nYO7sT", + "e9fZ33R29j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+ "gD5x1YEhT23AEHTUB3qhgFWnI5M9myVndeGzCKsd2OeIuGIqzwlVzFxNsxgGT/WoCcNmHRgu4GPmcxXg", + "JSZgPFdRIVWjw3zDFxPbC6UubUIrySfyyGCSDtDor0dw4Kr7QEx7fJM7adzEBvSMM/V90cXDVyDEh49N", + "M0zTfGejRHvZ3ny9vdXeTmkwO53tzv5+Votpr/8Sa2o/Lza8fxBdIZ9FMp5HtWHq+BSN8fJMVzZ+ZnvU", + "dWFqx0vxTt4yeml3xrOm6Hz6WZAph+s1ILnExkx/SaEhxTUkc2BTf4xJ/FHDMAgQa3l0hhiwIUeNOJgH", + "HV3bMP3leKjPhN+josi/ZwKHpkoU9DhNZxUs6iWhOumPWqf97pGqL2hDz+OmplI87cuFeeOv4k/y/07U", + "6JiA66vhSI0VGZty9Slf18uFPrdXC8o4JdlucjkE5spL1ShUsV6yXEMxXZ0suV7PQxbT+vdJPMFfSBnj", + "wlzinazyffihJ3AAmWhJpa0plb7s3s+Wmq387NdoinT+Reyj3wBgMAGEmrQMDgJd5VqrU5iDCUaeCrLP", + "gfqAk36gywDETGDbKBDIaQD0KP/SpcmI/hwOoETpprG6qZ2pVlmt1lyJ2qenvyBicExZdVxjQejgu4zb", + "fkM+R0XAIX/61BwWsYfouAmZJzeWEMFBq+VRG3pTysXBfvt1u/WwaT19evq/AAAA//8GKIvh7qoAAA==", } // GetSwagger returns the content of the embedded swagger specification file diff --git a/handlers/network.go b/handlers/network.go new file mode 100644 index 0000000..2c57a64 --- /dev/null +++ b/handlers/network.go @@ -0,0 +1,32 @@ +package handlers + +import ( + "net/http" + + "github.com/labstack/echo/v4" + "github.com/nspcc-dev/neofs-rest-gw/handlers/apiserver" + "github.com/nspcc-dev/neofs-sdk-go/client" +) + +func (a *RestAPI) GetNetworkInfo(ctx echo.Context) error { + var prm client.PrmNetworkInfo + + networkInfo, err := a.pool.NetworkInfo(ctx.Request().Context(), prm) + if err != nil { + resp := a.logAndGetErrorResponse("could not get network info", err) + return ctx.JSON(http.StatusBadRequest, resp) + } + + var resp apiserver.NetworkInfoOK + resp.AuditFee = networkInfo.AuditFee() + resp.StoragePrice = networkInfo.StoragePrice() + resp.NamedContainerFee = networkInfo.NamedContainerFee() + resp.ContainerFee = networkInfo.ContainerFee() + resp.EpochDuration = networkInfo.EpochDuration() + resp.HomomorphicHashingDisabled = networkInfo.HomomorphicHashingDisabled() + resp.MaxObjectSize = networkInfo.MaxObjectSize() + resp.WithdrawalFee = networkInfo.WithdrawalFee() + + ctx.Response().Header().Set(accessControlAllowOriginHeader, "*") + return ctx.JSON(http.StatusOK, resp) +} diff --git a/handlers/preflight.go b/handlers/preflight.go index 0a4722e..95e8da6 100644 --- a/handlers/preflight.go +++ b/handlers/preflight.go @@ -125,3 +125,11 @@ func (a *RestAPI) OptionsByAttribute(ctx echo.Context, _ apiserver.ContainerId, ctx.Response().Header().Set(accessControlAllowMethodsHeader, allowMethods(methodGet, methodHead)) return ctx.NoContent(http.StatusOK) } + +// OptionsNetworkInfo handler for the network options request. +func (a *RestAPI) OptionsNetworkInfo(ctx echo.Context) error { + ctx.Response().Header().Set(accessControlAllowOriginHeader, allOrigins) + ctx.Response().Header().Set(accessControlAllowHeadersHeader, allowHeaders) + ctx.Response().Header().Set(accessControlAllowMethodsHeader, allowMethods(methodGet)) + return ctx.NoContent(http.StatusOK) +} diff --git a/spec/rest.yaml b/spec/rest.yaml index 5972809..e48b9d3 100644 --- a/spec/rest.yaml +++ b/spec/rest.yaml @@ -913,6 +913,45 @@ paths: - { } - BearerAuth: [ ] - CookieAuth: [ ] + /network-info: + get: + summary: "Get network settings" + operationId: getNetworkInfo + responses: + "200": + description: Network information from NeoFS. + headers: + Access-Control-Allow-Origin: + schema: + type: string + content: + application/json: + schema: + $ref: '#/components/schemas/NetworkInfoOK' + "400": + description: Bad request. + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorResponse' + security: [ ] + options: + operationId: optionsNetworkInfo + responses: + "200": + description: CORS + headers: + Access-Control-Allow-Origin: + schema: + type: string + Access-Control-Allow-Methods: + schema: + type: string + Access-Control-Allow-Headers: + schema: + type: string + content: { } + security: [ ] components: schemas: @@ -1570,6 +1609,51 @@ components: type: string example: containerId: 5HZTn5qkRnmgSz9gSrw22CEdPPk6nQhkwf2Mgzyvkikv + NetworkInfoOK: + required: + - containerFee + - auditFee + - withdrawalFee + - namedContainerFee + - epochDuration + - maxObjectSize + - homomorphicHashingDisabled + - storagePrice + type: object + properties: + containerFee: + type: integer + format: uint64 + auditFee: + type: integer + format: uint64 + withdrawalFee: + type: integer + format: uint64 + namedContainerFee: + type: integer + format: uint64 + epochDuration: + type: integer + format: uint64 + maxObjectSize: + type: integer + format: uint64 + homomorphicHashingDisabled: + type: boolean + storagePrice: + type: integer + format: uint64 + description: Network information from NeoFS. + example: + auditFee: 0 + containerFee: 0 + epochDuration: 240 + homomorphicHashingDisabled: false + maxObjectSize: 67108864 + namedContainerFee: 0 + storagePrice: 0 + withdrawalFee: 0 responses: ObjectContentOK: description: Object.