aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/app
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Upgrade sbt-settings to major version 2 (#201)Jakob Odersky2018-08-241-0/+1
| | | | | | | | | | | | | | | | 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.
* Migration to `java.time.Instant` and `java.time.LocalDate`: Part 1 (#200)v1.13.0Sergey Nastich2018-08-241-13/+13
| | | | | | | | | | * Add semi-backwards-compatible JSON formats and path matchers for java.time.Instant and java.time.LocalDate * Use `Clock` in `ApplicationContext` instead of `TimeProvider`, deprecate `TimeProvider` * Add `ChangeableClock` in time package for tests * Add generators for instants and LocalDates
* 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-262-6/+4
|
* 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-202-32/+6
| | | | 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.
* Change default binding network interface to accomodate ipv4Zach Smith2017-12-131-5/+5
| | | | | | ::0 is an IPv6-only network address, which forces the app to always use v6. This is a problem in Travis currently, which apparently doesn't support IPv6. Changing to 0.0.0.0 should allow both v4 and v6
* Apply new formattingJakob Odersky2017-11-202-25/+29
|
* Merge pull request #89 from drivergroup/initv1.6.5v1.6.4v1.6.3Vlad Uspensky2017-11-082-0/+136
|\ | | | | App initialization convenience methods
| * App initialization convenience methodsvlad2017-11-081-1/+1
| |
| * App initialization convenience methodsvlad2017-11-082-0/+136
| |
* | 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-312-20/+15
|
* Remove unnecessary terminated valZach Smith2017-10-311-8/+7
|
* Add DriverRoute trait and clean up DriverAppZach Smith2017-10-312-124/+64
|
* 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.
* Rename files containing multiple classes to lowercaseZach Smith2017-10-172-54/+50
|
* Consolidate filesZach Smith2017-10-161-1/+2
|
* Split up app package into separate filesZach Smith2017-10-162-0/+414