88: Rename Evelyn to EvelynStatusService and expose the calculated reference price
This commit is contained in:
@@ -49,6 +49,20 @@ Nenjim Hub reads only `conf/NenjimHub.conf`; copy
|
||||
`conf/NenjimHub.conf.example` before first use and edit the ordered process
|
||||
list for the deployment role. The example is never loaded as runtime input.
|
||||
|
||||
The Evelyn status processes use `evelyn.status.prod` and `evelyn.status.test`.
|
||||
When upgrading an existing deployment, replace `evelyn.service.prod` and
|
||||
`evelyn.service.test` with those IDs in private `conf/NenjimHub.conf`, preserving
|
||||
their order and enabled/commented selections. The instance names `Production`
|
||||
and `Test`, their `data/evelyn/<instance-name>/status.log` files, and history
|
||||
format version 1 remain unchanged.
|
||||
|
||||
`com.r35157.evelyn.service.status.EvelynStatusService` exposes immutable status
|
||||
history and `AssetPrice getReferencePrice(Instant timestamp)`. The reference
|
||||
price is calculated on demand for the supplied instant and carries the canonical
|
||||
EVE/USDT trading pair. It works before startup and while sampling is stopped,
|
||||
without accessing Ticker or history storage. See [Evelyn](docs/Evelyn.md) for the
|
||||
curve and service contract.
|
||||
|
||||
## Release log:
|
||||
| Date | Version | Description |
|
||||
|:-----------------|:--------------:|----------------------|
|
||||
|
||||
Reference in New Issue
Block a user