Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move REST functionality to separate project | Jakob Odersky | 2018-10-09 | 26 | -1628/+0 |
| | |||||
* | Move core types into core-types project | Jakob Odersky | 2018-10-09 | 1 | -1/+11 |
| | | | | | | | | | Note that xyz.driver.core.FutureExtensions was moved to xyz.driver.core.rest as it (only) contained logic that dealt with service exceptions, something that belongs into core-rest and must not be depended upon by core-types. This is a breaking change. | ||||
* | Fix `responseToListResponse` for `x-resource-count` header in lowercase (#227) | Sergey Nastich | 2018-09-30 | 1 | -3/+1 |
| | |||||
* | Fix `responseToListResponse` for empty non-paginated responses (#225) | Sergey Nastich | 2018-09-22 | 1 | -1/+1 |
| | |||||
* | Improve PhoneNumber (#222) | Sergey Nastich | 2018-09-19 | 1 | -0/+12 |
| | | | | | * Add support for extensions * Add PathMatcher and allow parsing JSON from string * Add a number of convenience methods which are to be used instead of `toString` | ||||
* | Add $ to string interpolator in DnsDiscovery (#220)v2.0.0-M1 | Zach Smith | 2018-09-12 | 1 | -1/+1 |
| | |||||
* | Add authentication method to swagger spec | Jakob Odersky | 2018-09-12 | 1 | -0/+9 |
| | |||||
* | Add updated swagger UI that allows selecting scheme | Jakob Odersky | 2018-09-12 | 1 | -0/+8 |
| | |||||
* | Move platform back into init and use a configurable DNS discovery | Jakob Odersky | 2018-09-12 | 3 | -2/+29 |
| | |||||
* | Fix typos and naming of actor system | Jakob Odersky | 2018-09-12 | 1 | -1/+1 |
| | |||||
* | Add tracing to client HTTP transport and improve tracing tags | Jakob Odersky | 2018-09-12 | 4 | -38/+69 |
| | |||||
* | Trait-based initialization and other utilities | Jakob Odersky | 2018-09-12 | 9 | -24/+268 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Nastich | 2018-09-10 | 1 | -6/+14 |
| | | | | 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 | ||||
* | Upgrade sbt-settings to major version 2 (#201) | Jakob Odersky | 2018-08-24 | 1 | -11/+14 |
| | | | | | | | | | | | | | | | | This will affect development workflow: instead of running `sbt release` to tag and publish a new version, the release process is now as follows: 1. Create a git tag on a revision that should be published. The tag must be in the format `v[0-9].*` 2. Push the tag to GitHub `git push --tags` 3. CI will build that tag and publish the resulting binary to our artifactory Since the new sbt settings do not enable advanced or risky language features globally anymore (such as higher kinds, reflective calls and implicit conversions), the other changes in this PR either import language features locally or refactor the code to avoid using them entirely. | ||||
* | Add responseToListResponse to RestService (#199)v1.12.4 | Zach Smith | 2018-08-22 | 1 | -0/+16 |
| | | | | | | * Add responseToListResponse to RestService * Make pagination optional | ||||
* | Add UnauthorizedException and catch it in AuthProvider (#198) | Zach Smith | 2018-08-21 | 3 | -1/+11 |
| | | | | | | * Add AuthorizationException and pass it through in authorize directive * Move recover to authenticator method | ||||
* | [RFC] Use akka's built-in authenticate/authorize directives in AuthProvider ↵ | Zach Smith | 2018-08-01 | 3 | -50/+53 |
| | | | | | | | | | | (#136) * Use akka's built-in authenticate/authorize directives in AuthProvider * Move AuthProvider companion object to AuthProvider file, move realm to parameter of AuthProvider * Add secondary constructor to maintain ABI compat | ||||
* | Fix pagination directive failing on empty responses (#182)v1.11.7 | Sergey Nastich | 2018-07-11 | 1 | -1/+1 |
| | |||||
* | Add `completeWithPagination` directive (#180) | Sergey Nastich | 2018-07-11 | 1 | -4/+19 |
| | | | | | * Extracts pagination from the request * Adds ResourceCount/PageCount headers to the response | ||||
* | Added ProxyRoute to enable proxying calls to other services (#177)v1.11.4 | Satya Boora | 2018-06-21 | 1 | -0/+26 |
| | |||||
* | Add `Connection: close` header to all responses in order to mitigate ↵v1.11.2 | Sergey Nastich | 2018-06-14 | 1 | -1/+6 |
| | | | | connection pool issues with envoy (#175) | ||||
* | Add service exception json formatters and pass through exceptions in ↵v1.9.4 | zachdriver | 2018-05-25 | 3 | -6/+18 |
| | | | | HttpRestServiceTransport (#168) | ||||
* | TRIAL-371 Support sorting (#159)v1.9.2 | Kseniya Tomskikh | 2018-05-11 | 1 | -0/+40 |
| | | | | | | | | | | * TRIAL-371 Sorting for services * TRIAL-371 Fixed extract sorting parameters * TRIAL-371 Fixed varname * TRIAL-371 Review fixes | ||||
* | API-1595 Move rejectionHandler to DriverApp to avoid 404 rejection issues (#167)v1.9.1 | zachdriver | 2018-05-09 | 1 | -11/+1 |
| | |||||
* | Complete the request with a 401 status code to avoid WWW-authenticate header ↵v1.8.25 | Satya Boora | 2018-04-30 | 1 | -1/+11 |
| | | | | issue (#160) | ||||
* | ListResponse and Unmarshallers improvementsv1.8.23 | Sergey Nastich | 2018-04-17 | 1 | -0/+5 |
| | | | | | | * Add an alternative `ListResponse` constructor allowing optional pagination * Unmarshal JsStrings from query parameters | ||||
* | Fixed merge JsValues when field is absent in old value (#153)v1.8.21 | Kseniya Tomskikh | 2018-04-12 | 1 | -4/+4 |
| | |||||
* | Use AuthenticationFailedRejection to send 401 back to the client (#151)v1.8.20 | Satya Boora | 2018-04-10 | 1 | -3/+3 |
| | |||||
* | Merge pull request #150 from drivergroup/fix-patch-jsonv1.8.18 | Kseniya Tomskikh | 2018-04-10 | 1 | -0/+6 |
|\ | | | | | Created patch method for RestService with merge-patch+json media type | ||||
| * | Review fix | Kseniya Tomskikh | 2018-04-10 | 1 | -3/+3 |
| | | |||||
| * | Created patch method for RestService with merge-patch+json media type | Kseniya Tomskikh | 2018-04-09 | 1 | -0/+6 |
| | | |||||
* | | Merge branch 'master' into TM-1431 | Aleksandr | 2018-04-06 | 1 | -17/+13 |
|\| | |||||
| * | Merge pull request #142 from drivergroup/mdc-trackingv1.8.14 | Vlad Uspensky | 2018-04-04 | 1 | -17/+13 |
| |\ | | | | | | | Correct `trackingId` placement to the MDC | ||||
| | * | Correct `trackingId` placement to the MDC | vlad | 2018-03-26 | 1 | -10/+4 |
| | | | |||||
| | * | Correct `trackingId` placement to the MDC | vlad | 2018-03-24 | 1 | -9/+11 |
| | | | |||||
* | | | Ranamed header 'ClientFingerprintHeader' | Aleksandr | 2018-04-06 | 1 | -1/+1 |
| | | | |||||
* | | | Removed fingerprint hash from ServiceRequestContext and it's derivates | Aleksandr | 2018-04-04 | 2 | -9/+1 |
| | | | |||||
* | | | Merge branch 'master' into TM-1431 | Aleksandr | 2018-04-03 | 1 | -0/+104 |
|\| | | |||||
| * | | Use patch unmarshaller | Zach Smith | 2018-03-25 | 2 | -107/+104 |
| | | | |||||
| * | | Curry the PatchRetrievable apply method | Zach Smith | 2018-03-20 | 1 | -2/+2 |
| | | | |||||
| * | | Enforce application/merge-patch+json Content-Type | Zach Smith | 2018-03-20 | 1 | -19/+35 |
| | | | |||||
| * | | Add implicit ServiceRequestContext to PatchRetrievable | Zach Smith | 2018-03-16 | 1 | -16/+26 |
| | | | |||||
| * | | Add PatchSupport trait and tests | Zach Smith | 2018-03-16 | 1 | -0/+81 |
| |/ | |||||
* | | Merge branch 'master' into TM-1431 | Aleksandr | 2018-03-12 | 2 | -13/+21 |
|\| | |||||
| * | Fix ServiceException classes to set Exception message for stack traces | Zach Smith | 2018-03-09 | 1 | -13/+11 |
| | | |||||
| * | Review fix | Kseniya Tomskikh | 2018-03-07 | 1 | -1/+1 |
| | | |||||
| * | Created directive for optional pagination | Kseniya Tomskikh | 2018-03-06 | 1 | -0/+10 |
| | | |||||
* | | Implemented extraction of fingerprint header; Added fingerprint hash to ↵ | Aleksandr | 2018-03-12 | 2 | -3/+20 |
| | | | | | | | | ServiceRequestContext and AuthorizedServiceRequestContext classes | ||||
* | | Implemented 'X-CLIENT-FINGERPRINT' extraction from HTTP header | Aleksandr | 2018-03-06 | 1 | -2/+3 |
|/ | |||||
* | Use Akka's parameter directive to extract a pagination | Jakob Odersky | 2018-03-01 | 1 | -29/+6 |
| |