aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/xyz/driver/core/rest/DriverAppTest.scala
Commit message (Collapse)AuthorAgeFilesLines
* Move REST functionality to separate projectJakob Odersky2018-10-091-89/+0
|
* Trait-based initialization and other utilitiesJakob Odersky2018-09-121-11/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the concept of a 'platform', a centralized place in which environment-specific information will be managed, and provides common initialization logic for most "standard" apps. As part of the common initialization, other parts of core have also been reworked: - HTTP-related unmarshallers and path matchers have been factored out from core.json to a new core.rest.directives package (core.json extends those unmarshallers and matchers for backwards compatibility) - CORS handling has also been moved to a dedicated utility trait - Some custom headers have been moved from raw headers to typed ones in core.rest.headers - The concept of a "reporter" has been introduced. A reporter is a context-aware combination of tracing and logging. It is intended to issue diagnostic messages that can be traced across service boundaries. Closes #192 Closes #195
* Add `Trimmed` tag and its logic (revisited) (#215)v1.14.2Sergey Nastich2018-09-121-1/+0
| | | | | | | * Add option and iterable converters for transparent `@@ Trimmed` creation. * Move tagging stuff to a separate package - relieve `core.scala` from some extra code. * Add Tagging stuff and publishing section to README.md
* Add `Cache-Control: no-cache` to all responses of DriverRoutes. (#190)Sergey Nastich2018-09-101-1/+11
| | | | This change is intended to battle IE (even IE 11) caching all GET responses (and not making any new ones) that don't list those headers
* Move cors directives to DriverApp and get rid of custom rejection handlerZach Smith2018-02-221-0/+84
|
* Remove default config valuesZach Smith2018-02-201-94/+0
|
* Remove rejection handler, respond with default set of allowed methods and ↵Zach Smith2018-02-201-12/+48
| | | | origins to all options requests in DriverRoute
* Apply new formattingJakob Odersky2017-11-201-6/+7
|
* Add tests for CORS headersZach Smith2017-11-071-0/+57