1
0
Fork 0
mirror of synced 2024-06-23 08:30:31 +12:00
Commit graph

51 commits

Author SHA1 Message Date
mike12345567 fcb6f985a6 Updating some enums, plural to single. 2022-11-17 14:59:18 +00:00
mike12345567 4f64798ada Updating middlewares to Typescript, as well as some fixes based on running tests. 2022-11-16 17:24:13 +00:00
Andrew Kingston aa21f44a3e Update delete endpoints to be called destroy 2022-09-26 14:18:31 +01:00
Andrew Kingston 2ccdf4b10b Update public API operation IDs to be shorter 2022-09-21 19:11:47 +01:00
Andrew Kingston 3e050e965f Add operationIds to public API 2022-09-20 11:24:54 +01:00
Martin McKeaveney 65d41fdd20 better tests and cleaner import for server 2022-09-15 19:51:11 +01:00
mike12345567 eeda89725d Renaming data source -> datasource as per Mel's request. 2022-09-14 12:11:20 +01:00
mike12345567 77b2e68935 Updating specs to state that oneOf is allowed, fixing YAML issue and making sure allOr function works for lucene. 2022-07-05 19:54:11 +01:00
mike12345567 9a7c1e714b Updating API docs #6434 to better describe the API for range and for oneOf operator. 2022-07-05 18:47:30 +01:00
Rory Powell e447fd11d1 Build fixes 2022-06-09 12:33:10 +01:00
mike12345567 06a32ed357 Fixing issue with server not shutting down correctly when an error occurs, making sure that everything clears up gracefully. 2022-05-30 21:22:06 +01:00
Rory Powell 180e37b9f1 Tests complete + backwards compatibility for deployment 2022-03-22 00:23:22 +00:00
Rory Powell bf9f5488fc Merge branch 'develop' into feature/licensing 2022-03-21 17:13:16 +00:00
mike12345567 8b4903f8f6 Fixing issue found by test case. 2022-03-15 20:17:41 +00:00
mike12345567 1dd2cf99d0 Quick fix for #4914 - adding some checks in API middleware to confirm headers have been set correctly. 2022-03-15 19:31:01 +00:00
mike12345567 18d85fd4ac Linting. 2022-03-15 11:20:23 +00:00
Ilia Shupta f373dc213d Allow fully qualified redis url use in koa ratelimit store 2022-03-15 11:20:16 +00:00
mike12345567 c1c879309f Making the URL optional for application creation/update in OpenAPI spec, removing unused parameter and fixing getRedisOptions function to work with fully qualified URLs. 2022-03-10 15:53:23 +00:00
mike12345567 6728f4efde Quick fix for openAPI spec, improving the search spec. 2022-03-08 17:42:26 +00:00
mike12345567 86f649c5db Upping test rate limit level. 2022-03-03 12:31:56 +00:00
mike12345567 54137ec9fb Removing koa rate limit types, was requiring types for every store, types didn't work correctly. 2022-03-03 12:19:12 +00:00
mike12345567 216af35aeb Fixing review comments. 2022-03-03 12:03:29 +00:00
mike12345567 32e7f27dfa Adding check to disable rate limit redis connection in test. 2022-03-02 12:50:10 +00:00
mike12345567 a8a8498a9c Updating rate limiter to make use of Redis. 2022-03-02 12:27:09 +00:00
mike12345567 b1167fd444 Adding public API rate limiting, with env variable option, defaults to 120 requests per minute. 2022-03-02 11:36:30 +00:00
mike12345567 2603024792 Changing how types are generated from the open api spec a bit. 2022-03-01 19:00:28 +00:00
mike12345567 d8b5cae569 Adding new generation technique, converting openAPI spec to typescript definitions, which are then applied in mapping output middlewares to make sure that the structures of the response are fully respected. 2022-03-01 18:35:08 +00:00
mike12345567 5ba723f935 Updating summaries, adding descriptions, wrapping responses with generic wrapper 'data'. 2022-03-01 14:37:35 +00:00
mike12345567 172850ae87 Switching the basic single row read to use the enrich endpoint. 2022-02-28 12:54:32 +00:00
mike12345567 eed4111fe2 Rounding out user schema and query schema as required. 2022-02-25 19:26:19 +00:00
mike12345567 5567ca49c4 Removing test case. 2022-02-25 19:02:27 +00:00
mike12345567 91508ae141 Adding test cases for user implementation with mocks. 2022-02-25 19:01:17 +00:00
mike12345567 033e320e49 Adding test cases for all implemented endpoints. 2022-02-25 18:02:08 +00:00
mike12345567 f3418044dc Starting to fix up test cases. 2022-02-25 15:55:19 +00:00
Michael Drury 46d23cfb25 Adding a testing system which generates the schema and compares against responses. 2022-02-24 23:21:10 +00:00
mike12345567 06327604eb Refactoring to TS on public endpoints. 2022-02-24 15:13:14 +00:00
mike12345567 d0e0889cc6 Fix for validator adding. 2022-02-24 12:03:46 +00:00
mike12345567 bc87e2b562 Moving validators to a single location, simplify route files and all re-usability. 2022-02-24 11:39:38 +00:00
mike12345567 c189550614 Adding controllers for row, query and applications public APIs. 2022-02-23 18:31:32 +00:00
mike12345567 6a416cad59 Refactoring how endpoints are specified so that the middlewares can be applied in a more generic fashion. 2022-02-22 18:40:09 +00:00
mike12345567 baf806275b Getting prettier running on the public routes. 2022-02-22 17:38:27 +00:00
mike12345567 4e522e39da Refactoring resource system, so that examples and schemas have individual files rather than all being lumped into one. 2022-02-22 15:06:08 +00:00
mike12345567 1f8da07767 Adding in request bodies. 2022-02-22 14:28:57 +00:00
mike12345567 710a340006 Updating output schemas and adding examples to everything. 2022-02-22 14:10:01 +00:00
mike12345567 7443a17458 Adding in all endpoints/open API definitions, need to flesh everything out. 2022-02-21 19:04:13 +00:00
mike12345567 23ccb924f7 Updating table schema and adding query endpoints. 2022-02-21 16:37:02 +00:00
mike12345567 85103cdf13 Adding a schema for tables. 2022-02-18 18:06:58 +00:00
mike12345567 890a17679c Adding in row schema for create/update, making sure all existing endpoints have appId specified. 2022-02-18 17:44:08 +00:00
mike12345567 9b28414bbb Rows API mostly complete, starting into tables. 2022-02-18 15:47:15 +00:00
mike12345567 23bd6d39e2 Adding a structure for breaking up examples and parameters. 2022-02-17 19:55:37 +00:00