Chris Heppell
029c87df89
add tests for new func
2020-12-31 20:43:54 +00:00
Chris Heppell
4d24a4d647
add func to store for getting single service status
...
and use that in the watchdog
2020-12-31 20:39:11 +00:00
Chris Heppell
5eb289c4d3
rename GetJSONEncodedServiceStatuses -> GetServiceStatusesAsJSON
2020-12-31 20:28:57 +00:00
Chris Heppell
dbd95b1bbd
remove no longer valid comment
...
The results returned from the in-memory map are copies, so there's no concern over concurrent map access anymore, as the internal memory-map is hidden and inaccessible to callers
2020-12-31 12:13:06 +00:00
Chris Heppell
678b78ac01
off-topic: add artifact to gitignore
2020-12-31 12:13:06 +00:00
Chris Heppell
f8e1fc25a4
use the new store in the watchdog
2020-12-31 12:13:06 +00:00
Chris Heppell
c3bc375ff1
add memory tests
2020-12-31 12:13:06 +00:00
Chris Heppell
8ecaf4cfd5
create an in-memory store implementation
2020-12-31 11:53:53 +00:00
TwinProduction
118b62c979
Revert "Revert changes that were accidentally committed" but default to showing status on hover
2020-12-30 01:20:22 -05:00
TwinProduction
d8cfcd04f1
Revert changes that were accidentally committed
2020-12-30 01:18:30 -05:00
TwinProduction
641c2029f7
Switch to using TwinProduction/gocache for caching service status
2020-12-30 01:08:20 -05:00
TwinProduction
1209c477df
Minor fix
2020-12-30 01:07:40 -05:00
TwinProduction
6ca1e39b90
Minor update
2020-12-30 01:04:58 -05:00
TwinProduction
d206d63151
Minor updates
2020-12-29 21:04:07 -05:00
TwinProduction
bc4380db19
Work on #62 : Add uptime percentage + badges
2020-12-29 20:22:17 -05:00
TwinProduction
3eb8299316
Fix potential issue with integration DNS and NS fallbacks
...
Because there are often multiple nameservers backing a single domain, we
need to ensure that the test passes even if the nameserver returned isn't
the primary name server
2020-12-29 17:31:43 -05:00
TwinProduction
a83f6c7619
Remove unnecessary blank lines
2020-12-29 17:30:01 -05:00
TwinProduction
bbf39e70fd
Improve test coverage
2020-12-29 17:27:58 -05:00
TwinProduction
ddbf391c39
Rename TestGetHttpClient to TestGetHTTPClient
2020-12-28 17:19:41 -05:00
TwinProduction
2eca1ab145
Get the round-trip time directly from the pinger
2020-12-27 17:07:50 -05:00
TwinProduction
f0995f696f
Run tests as privileged user for ICMP test to pass
2020-12-25 03:09:06 -05:00
TwinProduction
746032397e
Use 127.0.0.1 in ICMP test
2020-12-25 03:05:47 -05:00
TwinProduction
cf923af230
Fix dependencies
2020-12-25 03:02:44 -05:00
TwinProduction
416178fb28
Fix dependencies
2020-12-25 03:00:08 -05:00
TwinProduction
10ab9265d9
Fix dependencies
2020-12-25 02:50:21 -05:00
TwinProduction
ef7b435f1b
Remove comment added by mistake
2020-12-25 02:43:54 -05:00
TwinProduction
dea469d6fc
Pin github.com/googleapis/gnostic to v0.4.0
...
See https://github.com/google/gnostic/pull/155
2020-12-25 02:40:39 -05:00
TwinProduction
83a5813daf
Work on #61 : Add support for ICMP
...
+ Update dependencies
2020-12-25 00:07:18 -05:00
TwinProduction
c86173d46f
Fix typo
2020-12-24 00:28:44 -05:00
TwinProduction
c23ba7b85d
Update documentation
2020-12-18 18:40:20 -05:00
TwinProduction
0541adec5e
Add TestService_buildHTTPRequestWithGraphQLEnabled test
2020-12-18 18:40:11 -05:00
TwinProduction
eee5bc8f9d
Automatically add Content-Type: application/json header for GraphQL requests, unless a different Content-Type is already defined
2020-12-18 18:39:22 -05:00
TwinProduction
4d186c6e71
Improve test coverage
2020-12-18 18:06:57 -05:00
TwinProduction
4be2273662
Minor update
2020-12-18 18:06:50 -05:00
TwinProduction
ef9ba10e45
Fix #60 : Fix undesired behavior when setting Host header
2020-12-18 17:37:03 -05:00
TwinProduction
b35747bf31
Improve documentation
2020-12-13 17:24:16 -05:00
TwinProduction
8cd82605dd
Improve documentation
2020-12-12 23:32:26 -05:00
TwinProduction
7f0b862822
Refactor imports
2020-12-10 20:00:42 -05:00
TwinProduction
7f9fe9acdf
Rename buildRequest to buildHTTPRequest
2020-12-08 20:03:59 -05:00
TwinProduction
46d476128d
Add missing newline
2020-12-05 18:21:35 -05:00
TwinProduction
e309ffb1b6
Don't push latest
2020-12-04 11:26:51 -05:00
TwinProduction
48a1e435e4
Remove linux/arm/v6
2020-12-04 11:16:53 -05:00
Ivan Larin
6c91bbcc4a
Crossbuild docker image for different architectures ( #55 )
...
* Crossbuild docker image
* Fix yaml syntax
* Github Actions timeout disabled
* Add linux/386, linux/arm/v6, linux/arm/v7, linux/ppc64le, linux/s390x docker images
* Remove linux/386, linux/ppc64le, linux/s390x docker images
* Remove "Github Packages" from build step name
Co-authored-by: Chris C. <twin@twinnation.org>
* Split workflow file to test/docker
* Forward RELEASE variable to GITHUB_ENV
* Bring back timeout for tests
Co-authored-by: Chris C. <twin@twinnation.org>
2020-12-04 10:58:27 -05:00
TwinProduction
d1fe8d93ee
Update documentation
2020-12-01 22:25:16 -05:00
TwinProduction
afdbb1ea77
Don't return unnecessary data
2020-11-30 09:40:57 -05:00
TwinProduction
d58a256628
Minor fix
2020-11-30 09:25:14 -05:00
TwinProduction
971967ae78
Don't append / at the end of the path
2020-11-30 09:23:03 -05:00
TwinProduction
43504913b4
Allow duplicate service names as long as they're in a different group ( #13 )
2020-11-30 08:44:58 -05:00
TwinProduction
f034bd15de
Add missing comments
2020-11-29 19:03:40 -05:00
Chris C
35c232d925
Merge pull request #52 from TwinProduction/service-groups
...
Add service groups
2020-11-27 08:48:54 -05:00