Egon Elbre
a129a8bd35
all: separate err check for http
...
We want to avoid net/http dependency in errs2 package, hence we removed
http.ErrServerClosed from IgnoreCanceled and IsCanceled check. Now we
need to add that check explicitly to every http endpoint.
Change-Id: I62b1cc0a0a2d3b43301d713a7951e5022145f88f
2020-04-16 18:50:24 +03:00
crawter
f879bfcf70
storagenode/console/server/heldamount - endpoint tests added
...
Change-Id: I4a324e808fd18e55bad28c1cce2ea90c41dc659e
2020-03-26 15:50:33 +00:00
Qweder93
8597e6b512
storagenode/console/api period payment api extended
...
Change-Id: I18ec331c6a684e3a9351e3c917bacdb8b8f18c28
2020-03-19 16:51:31 +02:00
crawter
fde5c3542b
storagenode/console/api: period payStub api extended
...
Change-Id: I624bbf7a9640f9df97789bea109201cbfb556753
2020-03-19 14:42:02 +02:00
crawter
f12b6dc27e
storagenode/console/api: monthly payStub api extended
...
Change-Id: I816aeb01ea1338372e3a5f07a11dfdc0ffe20393
2020-03-16 03:39:08 +02:00
crawter
0c18ecf32e
storagenode/api refactored
...
Change-Id: Icfd6ded7a21b3803411688a0a34b0c80b44e756f
2020-03-15 20:30:23 +02:00
Qweder93
988bb52855
storagenode/heldamount GetPayment added, console/server updated
...
Change-Id: I51ebe69f9dc7920e59e91d7ba26617ee61889f78
2020-03-13 17:37:44 +00:00
Qweder93
7b0371e9e2
storagenode/heldamount/service added, console/heldamountapi added, console/server updated
...
Change-Id: I6290a6ea1b07b222908440defbbd7aec5f2a4cdf
2020-03-13 19:18:03 +02:00
Jeff Wendling
7999d24f81
all: use monkit v3
...
this commit updates our monkit dependency to the v3 version where
it outputs in an influx style. this makes discovery much easier
as many tools are built to look at it this way.
graphite and rothko will suffer some due to no longer being a tree
based on dots. hopefully time will exist to update rothko to
index based on the new metric format.
it adds an influx output for the statreceiver so that we can
write to influxdb v1 or v2 directly.
Change-Id: Iae9f9494a6d29cfbd1f932a5e71a891b490415ff
2020-02-05 23:53:17 +00:00
Egon Elbre
9e5679fdaa
storagenode/console/consoleserver: set content-type manually
...
http.FileServer relies on mime types defined in the operating system.
These values may be misconfigured, so a javascript file might
end up being served as "plain/text".
Change-Id: I3c13c8a9ac484bd765a4de0f8253bfe40dde7513
2020-02-03 15:37:47 +02:00
Egon Elbre
6615ecc9b6
common: separate repository
...
Change-Id: Ibb89c42060450e3839481a7e495bbe3ad940610a
2019-12-27 14:11:15 +02:00
Qweder93
e47ec84dee
storagenode notification service and api added
...
Change-Id: I36898d7c43e1768e0cae0da8d83bb20b16f0cdde
2019-12-20 18:42:23 +00:00
Nikolai Siedov
0d35505fe1
SNOboard/console: router changed for gorillaMux, caching added ( #3577 )
2019-11-15 14:36:43 +02:00
JT Olio
37491d0d32
storagenode: embed the console into the binary and makefile ( #3164 )
...
* web/storagenode: add package-lock.json
* storagenode: compile console into binary
2019-10-08 10:52:19 +02:00
Egon Elbre
a801fab66a
all: add archview annotations ( #2964 )
2019-09-10 16:24:16 +03:00
Egon Elbre
00b2e1a7d7
all: enable staticcheck ( #2849 )
...
* by having megacheck in disable it also disabled staticcheck
* fix closing body
* keep interfacer disabled
* hide bodies
* don't use deprecated func
* fix dead code
* fix potential overrun
* keep stylecheck disabled
* don't pass nil as context
* fix infinite recursion
* remove extraneous return
* fix data race
* use correct func
* ignore unused var
* remove unused consts
2019-08-22 13:40:15 +02:00
Yaroslav Vorobiov
141af7e2f7
storagenode/console: refactor service and api ( #2751 )
2019-08-14 15:17:11 +03:00
Yaroslav Vorobiov
28a7778e9e
storagenode/nodestats: cache node stats ( #2543 )
2019-08-08 16:47:04 +03:00
Yehor Butko
5f194b4533
SNO Dashboard API ( #2427 )
...
* SNO Dashboard API
2019-07-17 14:42:00 +03:00
Yehor Butko
8bf7c5c671
SNO Dashboard http status codes updated ( #2333 )
2019-06-26 16:36:47 +03:00
Yehor Butko
96bc0ccfa4
SNO Dshboard initial api endpoint added ( #2284 )
...
* initial api endpoint added
2019-06-24 18:15:31 +03:00
Yehor Butko
e5fd0287e4
V3-1819 Storage node operator server and service started ( #2112 )
...
* V3-1819 Storage node operator server and service started
2019-06-20 14:52:32 +03:00