| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This committ includes a breaking change. The database-specific utility
"Converters" trait threw an exception "DatabaseException" defined in
the rest package, thus breaking the dependency graph. The solution was
to move the DatabaseException class from rest to database and not
inherit ServiceExceptio any more.
Unfortunately, the rest classes also require the database exception in
propagating errors so this funtionality has been removed. The
rationale is:
1. Database exceptions are rare and result in 500 errors anyway
making the status code opaque to what actual error caused it.
2. In core 2.0, an improved tracing framework will make diagnosing
and following database errors easier, thereby attenuating the need
to forward details on service exceptions in responses.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* 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`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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
|
| |
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(#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
|
| |
|
|
|
|
|
|
| |
* Validate phone numbers when parsing from JSON
* Change to intercept for test
|
| |
|
|
|
|
|
| |
* Extracts pagination from the request
* Adds ResourceCount/PageCount headers to the response
|
|
|
|
| |
connection pool issues with envoy (#175)
|
| |
|
|
|
|
| |
HttpRestServiceTransport (#168)
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add url method to blobStorage
* typo
* typo
* address comments
* address comments
* remove
* scalafmt
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| |
| | |
JSON format (#147)
* Add convenience methods to work with Tags: `tagged` wrapper and a proxy JSON format
|
| | |
|
|/ |
|
| |
|
|
|
|
|
| |
* Add enumeratum support to JSON format and generators
* Move enumeratum serializers into their own object. Add enumeratum unmarshaller. Add entities to derive JsonFormats instead of having to type them externally.
|
|
|
|
| |
numbers (and other countries)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* add TimeOfDay
* add formatter
* .
* Revert "."
This reverts commit 89576de98092dd75d3af7d82d244d5eaa24d31d9.
* scalafmt
* add before and after to ToD, and tests
* rearrage, make fromStrings
* add generator
* address comments
* use explicit string for TimeZoneId
* renaming
* revert Converters changes
* change name of private method
* change apply method
* use month
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
origins to all options requests in DriverRoute
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Make test descriptions for service exceptions not lie
|
| | |
|