TwinProduction
|
bcd4105af3
|
Fix potential race condition in test
|
2021-07-24 19:12:57 -04:00 |
|
TwinProduction
|
fb3447eaf3
|
Improve test coverage
|
2021-07-18 23:24:09 -04:00 |
|
TwinProduction
|
46cf616a57
|
Rename TestStore_Insert to TestStore_SanityCheck
|
2021-07-18 23:13:19 -04:00 |
|
TwinProduction
|
cf48072167
|
Fix indentation
|
2021-07-18 23:07:24 -04:00 |
|
TwinProduction
|
97dd868ae8
|
Add sanity tests
|
2021-07-18 23:02:27 -04:00 |
|
TwinProduction
|
acb6757dc8
|
Minor tweaks
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
c700154f5e
|
Rename database package to sqlite
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
aac72e3741
|
Improve test coverage
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
1a597f92ba
|
Increase test coverage and remove useless code
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
56fedcedd1
|
Improve test coverage
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
6bdce4fe29
|
Add persistence test
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
42a909c1ad
|
Update documentation
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
5a4fa6f2b0
|
Fix issue with store closing on configuration file update
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
bbbfe7f466
|
Increase sleep to give enough time for the goroutine to end its task
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
8516c41b43
|
Update benchmarks
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
b90a64e2a6
|
Set synchronous PRAGMA instruction to NORMAL
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
627173e64f
|
Refactor duplicate functions
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
8b5e5f54cc
|
Refactor test setup/cleanup
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
2c95cce7b3
|
Consolidate store tests into interface package + Fix issues
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
2ef9329fa6
|
Fix pagination in memory store
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
9384373f43
|
Fix result ordering issue
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
d3a81a2d57
|
Major fixes and improvements
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
fed32d3909
|
Minor improvements and fixes
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
c1d9006aaf
|
Uncomment memory benchmarks
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
7126d36d85
|
Implement paging and refactor stores to match new store interface with paging
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
677c7faffe
|
Start working on paging implementation
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
8dedcf7c74
|
Refactor code
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
a4c69d6fc3
|
Implement service uptime support for database store
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
fd08c8b1e5
|
Reorder methods
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
393147c300
|
Add table schema for service uptime
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
f73e8a56ef
|
Minor improvements
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
4203355edc
|
Improve benchmarks
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
5cc1c11b1a
|
Move all transactions to the exported methods
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
796228466d
|
Add missing transaction rollbacks
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
23ba9795a6
|
Start working on GetAllServiceStatusesWithResultPagination for database storage
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
1291e86a6f
|
Rename deleteOldResults and deleteOldEvents to deleteOldServiceResults and deleteOldServiceEvents
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
14316cfd31
|
Fix potential concurrent access issue
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
670272f411
|
Refactor code and enable WAL for 4x performance improvement
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
ffc3e644c5
|
Add benchmark scenarios for concurrent inserts
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
bc42d15625
|
Automatically clear up old events
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
20594b902c
|
Remove unnecessary comments
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
0a3267e499
|
Reuse transaction on insert to improve performance
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
9c8bf2b69e
|
Refactor uselessly complex code
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
bd1eb7c61b
|
#136: Start working on database persistence
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
e6335da94f
|
Minor update
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
1498b6d8a2
|
Add Service.Key() method to generate the unique service key
|
2021-07-18 17:29:08 -04:00 |
|
TwinProduction
|
0b4dc34c57
|
Fix typo
|
2021-05-19 01:19:02 -04:00 |
|
TwinProduction
|
030212c156
|
Remove unnecessarily error check
|
2021-05-19 01:13:23 -04:00 |
|
TwinProduction
|
63b0ac8b35
|
Improve test coverage
|
2021-05-19 00:55:03 -04:00 |
|
TwinProduction
|
db23bd9073
|
#29: Automatically reload on configuration file update
|
2021-05-18 22:29:15 -04:00 |
|
TwinProduction
|
541e0264ab
|
Don't export, persist or retain result body after evaluation
|
2021-03-08 21:30:11 -05:00 |
|
TwinProduction
|
b37dd5e819
|
Minor update
|
2021-03-05 00:50:24 -05:00 |
|
TwinProduction
|
c842ac2343
|
Fix memory issue caused by previous shallow copy
|
2021-03-05 00:19:21 -05:00 |
|
TwinProduction
|
dc929dac70
|
#89: First implementation of longer result history
|
2021-02-24 22:41:36 -05:00 |
|
TwinProduction
|
42825b62fb
|
Update documentation
|
2021-02-20 19:00:54 -05:00 |
|
TwinProduction
|
a89bb392ed
|
Minor fix
|
2021-02-20 19:00:47 -05:00 |
|
TwinProduction
|
8e2a2c4dbc
|
Implement graceful shutdown
- Shutdown the HTTP server before exiting
- Persist data to store before exiting, if applicable
|
2021-02-05 20:45:28 -05:00 |
|
TwinProduction
|
79bef8d391
|
Implement persistence
|
2021-02-02 23:06:34 -05:00 |
|
TwinProduction
|
fbb5d48bf7
|
Add events to service detail page
|
2021-01-28 22:44:31 -05:00 |
|
TwinProduction
|
dcbbec7931
|
Add page for individual service details
|
2021-01-27 18:25:37 -05:00 |
|
TwinProduction
|
752c872d3b
|
Rename json parameter condition-results to conditionResults
|
2021-01-25 20:55:49 -05:00 |
|
TwinProduction
|
3d265afa37
|
Minor update
|
2021-01-09 23:09:35 -05:00 |
|
TwinProduction
|
150e33a1c7
|
Update comment
|
2021-01-09 21:14:54 -05:00 |
|
TwinProduction
|
da9a6282c7
|
Fix test
|
2021-01-09 01:17:16 -05:00 |
|
TwinProduction
|
907b611505
|
Use a fixed date instead
|
2021-01-08 23:40:43 -05:00 |
|
TwinProduction
|
eaf205eded
|
Minor fix
|
2021-01-08 22:56:13 -05:00 |
|
TwinProduction
|
329bd86e09
|
Replace GetAll by GetAllAsJSON and change storage package implementation
|
2021-01-08 22:41:57 -05:00 |
|
TwinProduction
|
19bb831fbf
|
Update test to prevent this from happening again
|
2021-01-08 17:43:45 -05:00 |
|
TwinProduction
|
bca38bd372
|
Fix #70: Success always showing as true
|
2021-01-08 17:25:55 -05:00 |
|
TwinProduction
|
4ff391bcf3
|
Minor improvements
|
2021-01-04 18:28:12 -05:00 |
|
Chris Heppell
|
7f647305ce
|
Update storage/memory.go
Co-authored-by: Chris C. <twin@twinnation.org>
|
2020-12-31 22:31:51 +00:00 |
|
Chris Heppell
|
fc4858b1a8
|
Update storage/memory.go
Co-authored-by: Chris C. <twin@twinnation.org>
|
2020-12-31 21:58:24 +00:00 |
|
Chris Heppell
|
0af8837710
|
return pointer for consistency
|
2020-12-31 20:49:13 +00:00 |
|
Chris Heppell
|
8ca9fd7db5
|
make each memory store struct have its own internal map
effectively removing the global state
|
2020-12-31 20:43:54 +00:00 |
|
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
|
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 |
|