|
|
5db4a82535
|
Update historical average test to actually check the average value
|
2025-07-03 16:01:14 -04:00 |
|
|
|
7c359dd775
|
Move the 200ms delay to before the add call
This ensures that a new timestamp is created after the initial call to `addOrUpdateParkingStructure`
|
2025-07-03 15:40:14 -04:00 |
|
|
|
b9d5f7b3df
|
Refactor parking repositories to use dedicated Constants file and smaller functions
|
2025-07-03 15:19:57 -04:00 |
|
|
|
7f453157ee
|
Update timeout within test to avoid UPSERT error
|
2025-07-02 20:34:29 -04:00 |
|
|
|
19336ce6ec
|
Add setLoggingInterval method and implementation for tests and other purposes.
Let users control the logging interval of both parking repositories.
|
2025-07-02 19:48:16 -04:00 |
|
|
|
868a9f3b1d
|
Add RedisParkingRepository.ts and convert existing tests to shared tests for both classes
|
2025-07-02 19:40:45 -04:00 |
|
|
|
ca2a66509b
|
Implement getHistoricalAveragesOfParkingStructureCounts for InMemoryParkingRepository.ts, and add tests
|
2025-07-02 19:10:16 -04:00 |
|
|
|
2b04ca01a9
|
Update InMemoryParkingRepository.ts and tests to use the circular queue
|
2025-07-02 18:48:33 -04:00 |
|
|
|
220b402b3b
|
Optimize the append method to check if the data is already sorted
|
2025-07-02 18:43:41 -04:00 |
|
|
|
4fbc30a264
|
Add CircularQueue.ts and test file
|
2025-07-02 18:34:55 -04:00 |
|
|
|
8fb296027d
|
Fix remaining issues with tests, and add implementation within InMemoryParkingRepository.ts
|
2025-07-01 21:37:26 -04:00 |
|
|
|
95fa610d77
|
define behavior of historical data logging through tests
|
2025-07-01 21:32:26 -04:00 |
|
|
|
f74376c8ed
|
add test and code for client closure events
|
2025-04-30 18:17:55 -07:00 |
|
|
|
31e9c78ebd
|
add test for closing connection on emitting closure events
|
2025-04-30 18:09:29 -07:00 |
|
|
|
4b77a89ac2
|
Merge branch 'main' into chore/improve-apns-performance
|
2025-04-30 17:54:00 -07:00 |
|
|
|
9dcc17b687
|
add test to check that connection is reused
|
2025-04-30 17:33:54 -07:00 |
|
|
|
a7c33c9479
|
empty commit to fix actions?
|
2025-04-29 17:21:17 -07:00 |
|
|
|
1c7ee9fbc3
|
change all millisecond references into Dates
|
2025-04-29 17:05:23 -07:00 |
|
|
|
b58babc7ea
|
change updatedTime into a Date
|
2025-04-29 17:01:51 -07:00 |
|
|
|
f68dad0ca2
|
update parking system tests to use updatedTime parameter
|
2025-04-29 16:54:22 -07:00 |
|
|
|
bdb1da0bc4
|
fix test due to mismatched timestamps on parking repo loader
|
2025-04-29 16:30:45 -07:00 |
|
|
|
570ab8a178
|
update tests and mock data generators
|
2025-04-29 16:18:46 -07:00 |
|
|
|
95f2e6ec29
|
add system id to the notification payload for good measure
|
2025-04-22 11:15:35 -07:00 |
|
|
|
02e440773a
|
add functionality to normalize the spots available if over capacity
|
2025-04-16 17:18:48 -07:00 |
|
|
|
dd1a448160
|
display parking system in system resolver and remove unnecessary test
|
2025-04-16 17:06:09 -07:00 |
|
|
|
544cab5324
|
move parking structures to a sub-field of system
|
2025-04-16 17:01:41 -07:00 |
|
|
|
2092827d37
|
implement endpoints and update test
|
2025-04-16 16:52:45 -07:00 |
|
|
|
c9ecc18495
|
implement parkingStructure tests
|
2025-04-16 16:45:08 -07:00 |
|
|
|
a38ca3d3de
|
add rest of parkingStructures tests
|
2025-04-16 16:39:07 -07:00 |
|
|
|
ea1150a98d
|
add test for getting parking structures associated with id
|
2025-04-16 16:35:48 -07:00 |
|
|
|
37a67aace7
|
update system testing builder with parking system
|
2025-04-16 16:32:53 -07:00 |
|
|
|
1624d78cb5
|
add parking structures generator
|
2025-04-16 16:31:56 -07:00 |
|
|
|
a6d4b40fba
|
add test cases for endpoints
|
2025-04-16 16:28:09 -07:00 |
|
|
|
c9aa2c401f
|
restructure parking and shuttle repository loaders
|
2025-04-11 17:13:39 -07:00 |
|
|
|
0e3c12bebc
|
add test for ChapmanApiBasedParkingRepositoryLoader.fetchAndUpdateAll
|
2025-04-11 17:09:52 -07:00 |
|
|
|
50350d8c49
|
add test for ApiBasedShuttleRepositoryLoader.fetchAndUpdateAll
|
2025-04-11 17:08:20 -07:00 |
|
|
|
44095e711a
|
make timeoutMs a settable property
|
2025-04-11 16:57:47 -07:00 |
|
|
|
6cc20a4a6a
|
remove redundant TODO
|
2025-04-11 16:53:45 -07:00 |
|
|
|
a0e0c19ca3
|
update timed loader to use class composition
|
2025-04-11 16:52:27 -07:00 |
|
|
|
49b823890f
|
remove "Timed" from class name to prepare for subclassing
|
2025-04-11 16:13:36 -07:00 |
|
|
|
f67e3f13f5
|
update test data for correctness
|
2025-04-10 16:58:30 -07:00 |
|
|
|
e25a96f704
|
add test for ApiResponseError
|
2025-04-10 16:46:59 -07:00 |
|
|
|
b6856a98a2
|
move ApiResponseError assertion function to separate file
|
2025-04-10 16:46:20 -07:00 |
|
|
|
263607fc69
|
move ApiResponseError to separate file
|
2025-04-10 16:44:57 -07:00 |
|
|
|
3d6dc1e7b6
|
add pass to check validity of parking structures generated
|
2025-04-10 16:43:04 -07:00 |
|
|
|
8c810c5224
|
add setup of loader
|
2025-04-10 16:36:28 -07:00 |
|
|
|
aed005f7a7
|
add successful JSON response for chapman parking structure data
|
2025-04-10 16:29:13 -07:00 |
|
|
|
726af52685
|
rename test file
|
2025-04-10 16:27:15 -07:00 |
|
|
|
b9810057ce
|
add test cases
|
2025-04-10 16:26:41 -07:00 |
|
|
|
fe2b8b2f69
|
add test cases
|
2025-04-08 16:45:58 -07:00 |
|