aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/app/DriverApp.scala
Commit message (Collapse)AuthorAgeFilesLines
* Rearchitect reporting stack to mixin-based structureJakob Odersky2018-09-121-2/+1
|
* Trait-based initialization and other utilitiesJakob Odersky2018-09-121-55/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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 `Cache-Control: no-cache` to all responses of DriverRoutes. (#190)Sergey Nastich2018-09-101-5/+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
* Make driver-core ready for Java 11 (#188)v1.11.10Jakob Odersky2018-07-271-2/+1
| | | | - Remove code that accesed internal APIs which have been removed. - Add dependencies to libraries which have become Java modules.
* Implement metrics collection with Kamon (#186)Jakob Odersky2018-07-271-0/+7
|
* Info level short logging for requests and responses our services receive (#165)Vlad Uspensky2018-06-251-4/+15
| | | | | | * Info level short logging for requests and responses our services receive * Remove STDOUT_DEBUG from deployed-logback.xml
* API-1595 Move rejectionHandler to DriverApp to avoid 404 rejection issues (#167)v1.9.1zachdriver2018-05-091-1/+10
|
* Remove unused abstract config from DriverRouteZach Smith2018-02-261-3/+2
|
* Move cors directives to DriverApp and get rid of custom rejection handlerZach Smith2018-02-221-2/+55
|
* Use config from outer scope in DriverAppZach Smith2018-02-201-1/+1
|
* Remove rejection handler, respond with default set of allowed methods and ↵Zach Smith2018-02-201-30/+3
| | | | origins to all options requests in DriverRoute
* Move directives to rest packageZach Smith2018-02-201-23/+5
|
* Respond with correct cors headers for all rejectionsZach Smith2018-02-201-10/+28
|
* Reduce log level of request reportingv1.7.2Jakob Odersky2018-01-311-1/+1
|
* Include swagger UI in coreJakob Odersky2018-01-221-35/+1
| | | | | | | | | These changes centralize the location of the swagger UI web files. The git attributes instruct GitHub to treat the web files as vendored code, as to not be included in the project code statistics. See https://github.com/github/linguist for a more detailed explanation.
* Apply new formattingJakob Odersky2017-11-201-20/+23
|
* Add tests for CORS headersZach Smith2017-11-071-1/+1
|
* Add default headers to basic routes defined in DriverAppZach Smith2017-11-071-1/+6
|
* Remove duplicate allowOrigin functionZach Smith2017-10-311-11/+4
|
* Move all CORS headers to DriverRoute from DriverAppZach Smith2017-10-311-34/+18
|
* Change Module back to having a simple route: Route methodZach Smith2017-10-311-2/+1
|
* Remove unnecessary terminated valZach Smith2017-10-311-8/+7
|
* Add DriverRoute trait and clean up DriverAppZach Smith2017-10-311-111/+45
|
* Move rejection handler to companion objectv1.4.1Jakob Odersky2017-10-201-28/+33
| | | | | | This change makes it possible to reference the custom rejection handler from outside of a DriverApp instance. It is intended to be used in pdsui-common which wraps rejections in JSON responses.
* Split up app package into separate filesZach Smith2017-10-161-0/+361