From bf5cd8b74088542932d4fcd5d7a5d7cba4e7d875 Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Mon, 10 Feb 2020 14:51:24 +0300 Subject: [PATCH] Update service.proto file and generate go-code --- state/service.pb.go | Bin 50143 -> 62235 bytes state/service.proto | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/state/service.pb.go b/state/service.pb.go index f1e08dee3d96eb0efc29f6b4f5a26363b71d5dce..b55f3c12ecf83e1e8c5f864d828520399ea62904 100644 GIT binary patch delta 4542 zcma)ATWl0n7*1)4-BK+yP;3h_Eh1afZfAF9XLbrjE+P#@0WV-QAah$Sf!?+?3#1G_ z>61Z@w}20*B)&)>*_dcdu)KTWL4A-1G%?1+5aG!eQP26l>C769@#SRpod5ja|9}7G zoU=DxZanu>|38Gsh;w1(8}? z%ZWvI#q#2GYfp2s_s0F5OO%qw!>QS@GIOT=p+ru*`+-z$Y3Ke9d#+`!r93q{MKXct&?HYWiu~@LhCxey9FZXMD)e6-Z7-}^2{+5hh&FkuiZ>iDq z)TrmNTu`IoV#dK3s4>7y0rEa1JxDsxlZS>PB2QoT7>Xv>G6zOd4Pe9if{cz~FhcsH}^s0YpQXSN4@|e(N3(=#~SaG6?X2U_;c0 zc{GVZ^5CJ4u>@0zY`}#QG`QI1t2jq8_OP1-=rjg)lO-KH9B6WY8DMu22mu&&p}_%# z9!3VtG2uc1+e`)k>O90ysgw97{4p4MEYofS2wWv429QJ8!tnS^r4kJAp_R_jRL&Hb z6Odt|mk?(~jKr78B1t!)+lDO#AcRa@13uW8A|)oi19(*gW&i{eT4_9Ul17%`S{cMR z^qjjSBN9I-13{;i(CSei44`=ybg)W@Py||>r3?T<>?{OVIu+0z=Bfz;EM^h`g8oQJ zVIM8dL#u;WkrFb-aFhBx{P#ecjUdSsQZ0j7XTk**k;{-U^cY=i@L-sXs=_B)0Sh5* zfo>g}Sx_a0!NM|KCou+GXMqxp$>q^VsEAzyJ~Ny)mMq{K**x~K0+^aQykc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qcsLMV z&2>22uPul-J#b(os>p!~Kb3x9q4j%93<=(Pwxy~DWD6Jp8({EGa>J`x_EJu~pU=(l@I6PuhXv_X1FUllgWHM%+7uKHm8&EW)rzf^~hNOWF z)fEXbYb>ilB?U-Ypg~D^QJZmP|1%kD#0|We1A!RMYDnBy-wRFxOzSEncUh%v21~?q zjg42Ewk4-6`_B?9^%jAlZG~;Ym+O%G8p1WshIA`2t3d(w3IHyYM}_}j8Z0GsAPu>E z_EJ%VJ94^)06p{|TJWr_L=my9pr0uzag#<*bCSaHbD@y;8 zn-!R^P`3f7>vs3oyRQ{ubL|#d%#q;iTMdk>5ry1CSA#2+;3;+2sbI+j;N)|_!NlPT zBu3oDy}&Y$ws@5_6VhsV;%zxW7kdZ545b#{qIM!#v%|=sxmHsnlGC%mD*g9X4c=@s zHU1;?4m{`XP)N#kRsay34bTSspHlN~4T{0yFc4@kH2cB?me>=&?9Ce<%%+`$*>g=2 zfP~GgfbHY~4-5B=*v!~Zgww&cmUF^^v&Xp^cFt8Gwvg1T6_JQDX+u1dRH;6`H~3Mh zX^|vN$(S${yR$dTIg_-p8+NeTjYm1gwd$DA)Lvx|^_WxI0t+NSF__hs zFVk-GfJ5sq&)$+~N11cLx$Yf4TX?zJb0iWVs}9=5>j-4Tf#s)?vUrLE8~tv|OyXv} z!H>EQFzL|ic=o4YfQ-cy`<=6u!aRSCaP54w<{PrNVmbkDpLj7&lfIHx1!x8O=M*?# zjpsN^47S_hH2cAucc z{|5uH^O_!M?nuLal^>;4MqQqCkn2B?T-j0l`}Dh-w5!+j1P9$p>h0mtmf?)E$JvZs z89;AdokM4P<0eP8gYN8^-SN}o&mSJc2YMIR5$c X`Rm6oUp{-~c=q-8?;ZP}-@W`VN;Ka6 diff --git a/state/service.proto b/state/service.proto index 312d465c..dc5efe40 100644 --- a/state/service.proto +++ b/state/service.proto @@ -23,6 +23,10 @@ service Status { // To permit access, used server config options. // The request should be signed. rpc DumpConfig(DumpRequest) returns (DumpResponse); + // DumpVars returns debug variables for the current node. + // To permit access, used server config options. + // The request should be signed. + rpc DumpVars(DumpVarsRequest) returns (DumpVarsResponse); } // NetmapRequest message to request current node netmap @@ -77,3 +81,17 @@ message DumpRequest { message DumpResponse { bytes Config = 1; } + +// DumpVarsRequest message to fetch current server debug variables. +message DumpVarsRequest { + // RequestMetaHeader contains information about request meta headers (should be embedded into message) + service.RequestMetaHeader Meta = 98 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; + // RequestVerificationHeader is a set of signatures of every NeoFS Node that processed request (should be embedded into message) + service.RequestVerificationHeader Verify = 99 [(gogoproto.embed) = true, (gogoproto.nullable) = false]; +} + +// DumpVarsResponse message contains current server debug variables. +// Variables stored in JSON encoded into slice of bytes. +message DumpVarsResponse { + bytes Variables = 1; +}