aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Move platform back into init and use a configurable DNS discoveryJakob Odersky2018-09-128-44/+98
|
* Fix typos and naming of actor systemJakob Odersky2018-09-122-4/+3
|
* Add tracing to client HTTP transport and improve tracing tagsJakob Odersky2018-09-1210-77/+157
|
* Fix trace ID generation and improve trace naming schemeJakob Odersky2018-09-124-16/+22
|
* Trait-based initialization and other utilitiesJakob Odersky2018-09-1229-198/+1187
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Mask InternalServerError and MessageNotExist errors in AliyunBus (#218)v1.14.3Zach Smith2018-09-121-7/+16
|
* RFC Add basicSubscribeWithRestart helper method to StreamBus (#214)Zach Smith2018-09-121-1/+43
| | | | | | | | | | * Add basicSubscribeWithRestart helper method to StreamBus * Include helper for subscribe with Flow * PR comments * Rename methods, call run
* Add `Trimmed` tag and its logic (revisited) (#215)v1.14.2Sergey Nastich2018-09-128-54/+169
| | | | | | | * 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 `@@ Trimmed` tag for Strings and Names to support by JSON readers (#211)v1.14.1Sergey Nastich2018-09-104-6/+35
|
* Add `Cache-Control: no-cache` to all responses of DriverRoutes. (#190)Sergey Nastich2018-09-103-12/+36
| | | | 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
* Various message bus fixes (#212)v1.14.0Jakob Odersky2018-09-107-45/+67
| | | | | 1. Move to pure mixin-based ("stackable traits") pattern. 2. Provide a "CreateOnDemand" mixin that ensures topics and subscriptions have been created before they are used.
* Catch MessageNotExist errors in alicloud subscriptions to prevent errors on ↵v1.13.4Zach Smith2018-09-051-1/+6
| | | | timeout (#210)
* Add http dev.cndriver.xyz to cors whitelist (#209)v1.13.3Zach Smith2018-09-031-0/+4
|
* Swap Left and Right cases in GCP Pubsub createSubscription handler (#207)v1.13.2Zach Smith2018-08-301-6/+6
|
* Add slick columnTypes for java.time.Instant and java.time.LocalDate (#206)v1.13.1Sergey Nastich2018-08-301-1/+14
|
* Upgrade sbt-settings to major version 2 (#201)Jakob Odersky2018-08-2410-50/+79
| | | | | | | | | | | | | | | | 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-246-271/+457
| | | | | | | | | | * 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
* Add responseToListResponse to RestService (#199)v1.12.4Zach Smith2018-08-221-0/+16
| | | | | | * Add responseToListResponse to RestService * Make pagination optional
* Add UnauthorizedException and catch it in AuthProvider (#198)Zach Smith2018-08-214-1/+13
| | | | | | * Add AuthorizationException and pass it through in authorize directive * Move recover to authenticator method
* Add json formats for country code and currency code (#197)v1.12.3Sergey Nastich2018-08-212-2/+43
|
* Add Aliyun Bus implementation (#193)v1.12.2Zach Smith2018-08-201-0/+139
|
* [RFC] Use akka's built-in authenticate/authorize directives in AuthProvider ↵Zach Smith2018-08-015-66/+88
| | | | | | | | | | (#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
* Add Aliyun OSS blob storage support (#187)Zach Smith2018-08-012-2/+110
| | | | | | * Add Aliyun OSS blob storage support * Fix bugs, add convencience constructors, add signed URL support
* Add message bus and topic abstractions (#181)v1.12.0Jakob Odersky2018-07-319-0/+674
|
* Make driver-core ready for Java 11 (#188)v1.11.10Jakob Odersky2018-07-272-16/+7
| | | | - 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-272-0/+27
|
* Add cndriver.xyz to allowedOrigins (#185)Justin2018-07-261-0/+4
|
* Validate phone numbers when parsing from JSON (#183)v1.11.8Zach Smith2018-07-193-9/+17
| | | | | | * Validate phone numbers when parsing from JSON * Change to intercept for test
* Fix pagination directive failing on empty responses (#182)v1.11.7Sergey Nastich2018-07-112-19/+65
|
* Add `completeWithPagination` directive (#180)Sergey Nastich2018-07-113-8/+55
| | | | | * Extracts pagination from the request * Adds ResourceCount/PageCount headers to the response
* Info level short logging for requests and responses our services receive (#165)Vlad Uspensky2018-06-252-5/+15
| | | | | | * Info level short logging for requests and responses our services receive * Remove STDOUT_DEBUG from deployed-logback.xml
* Added ProxyRoute to enable proxying calls to other services (#177)v1.11.4Satya Boora2018-06-211-0/+26
|
* Add `Connection: close` header to all responses in order to mitigate ↵v1.11.2Sergey Nastich2018-06-142-2/+24
| | | | connection pool issues with envoy (#175)
* Improve security of generated tokens (#174)v1.11.1Jakob Odersky2018-06-121-5/+25
| | | | | Also deprecates the token generators in core. Fixes SECURITY-29
* Remove obsolete methods from GeneratedTables type (#95)v1.11.0Stewart Stewart2018-06-121-0/+13
| | | | | | * remove obselete methods from GeneratedTables type * Deprecate and replace `GeneratedTables` rather than breaking.
* Full upgrade of build and library dependenciesJakob Odersky2018-06-051-2/+2
|
* Add service exception json formatters and pass through exceptions in ↵v1.9.4zachdriver2018-05-256-14/+73
| | | | HttpRestServiceTransport (#168)
* [API-1584] Change AuthCredentials to accept a string identifier (#166)v1.9.3Arthur Rand2018-05-164-6/+66
| | | | | | | | | | | | * make email optional, add optional phone number to AuthCredentials * make AuthCredentials take a String instead of an email * wrap phone number parsing in Try * add json formatter for AuthCredentials * try val
* TRIAL-371 Support sorting (#159)v1.9.2Kseniya Tomskikh2018-05-111-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.1zachdriver2018-05-092-12/+11
|
* Renaming `Dal` to `Repository` (#161)v1.9.0Vlad Uspensky2018-05-032-6/+15
| | | * Renaming `Dal` to `Repository`
* Complete the request with a 401 status code to avoid WWW-authenticate header ↵v1.8.25Satya Boora2018-04-301-1/+11
| | | | issue (#160)
* Add logback.xml and deployed-logback.xml to driver-core (#158)zachdriver2018-04-193-0/+201
| | | | | | * Add logback.xml and deployed-logback.xml to driver-core * Add test logback.xml
* [API-1498] add url method to blobStorage (#157)v1.8.24Arthur Rand2018-04-184-0/+24
| | | | | | | | | | | | | | | | * add url method to blobStorage * typo * typo * address comments * address comments * remove * scalafmt
* ListResponse and Unmarshallers improvementsv1.8.23Sergey Nastich2018-04-172-0/+11
| | | | | | * Add an alternative `ListResponse` constructor allowing optional pagination * Unmarshal JsStrings from query parameters
* Upgrade pubsub dependency (#156)v1.8.22Jakob Odersky2018-04-171-6/+6
|
* Fixed merge JsValues when field is absent in old value (#153)v1.8.21Kseniya Tomskikh2018-04-122-4/+13
|
* Use AuthenticationFailedRejection to send 401 back to the client (#151)v1.8.20Satya Boora2018-04-102-4/+5
|
* Fixed id json formatKseniya Tomskikh2018-04-101-1/+1
|
* Merge pull request #150 from drivergroup/fix-patch-jsonv1.8.18Kseniya Tomskikh2018-04-101-0/+6
|\ | | | | Created patch method for RestService with merge-patch+json media type