aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/rest/DriverRoute.scala
Commit message (Collapse)AuthorAgeFilesLines
* Add UnauthorizedException and catch it in AuthProvider (#198)Zach Smith2018-08-211-0/+3
| | | | | | * Add AuthorizationException and pass it through in authorize directive * Move recover to authenticator method
* Add `Connection: close` header to all responses in order to mitigate ↵v1.11.2Sergey Nastich2018-06-141-1/+6
| | | | connection pool issues with envoy (#175)
* Add service exception json formatters and pass through exceptions in ↵v1.9.4zachdriver2018-05-251-3/+9
| | | | HttpRestServiceTransport (#168)
* API-1595 Move rejectionHandler to DriverApp to avoid 404 rejection issues (#167)v1.9.1zachdriver2018-05-091-11/+1
|
* Complete the request with a 401 status code to avoid WWW-authenticate header ↵v1.8.25Satya Boora2018-04-301-1/+11
| | | | issue (#160)
* Correct `trackingId` placement to the MDCvlad2018-03-261-10/+4
|
* Correct `trackingId` placement to the MDCvlad2018-03-241-9/+11
|
* Remove unused abstract config from DriverRouteZach Smith2018-02-261-4/+1
|
* Move cors directives to DriverApp and get rid of custom rejection handlerZach Smith2018-02-221-64/+3
|
* Remove .seal call from DriverRoute rejection handlerZach Smith2018-02-221-1/+0
|
* Call .seal on RejectionHandlerZach Smith2018-02-221-3/+2
|
* Move rejection handler to DriverRouteZach Smith2018-02-201-2/+15
|
* Remove default config valuesZach Smith2018-02-201-1/+2
|
* Remove rejection handler, respond with default set of allowed methods and ↵Zach Smith2018-02-201-2/+55
| | | | origins to all options requests in DriverRoute
* Refactor DriverRoute to use shared directivesZach Smith2018-02-201-11/+3
|
* Apply new formattingJakob Odersky2017-11-201-8/+10
|
* Add DriverRouteTestZach Smith2017-11-011-0/+3
|
* Remove duplicate CORS header code from errorResponse methodZach Smith2017-10-311-15/+2
|
* Move all CORS headers to DriverRoute from DriverAppZach Smith2017-10-311-3/+18
|
* Change DriverRoute log val to defZach Smith2017-10-311-1/+1
|
* Stop catching throwable, remove PHI filtering, move status code logic to ↵Zach Smith2017-10-311-17/+37
| | | | exception handler
* Rename APIError -> ServiceException and subclassesZach Smith2017-10-311-3/+3
|
* Add DriverRoute trait and clean up DriverAppZach Smith2017-10-311-0/+84