Migrate to 1.5.0
Upgrading from Atoti Market Data 1.4.0 - See Atoti Market Data 1.4.0 Release Notes.Summary
- DaSH in a separate starter:
market-data-lib,market-data-configandmarket-data-spring-boot-starterdrop their DaSH dependency.market-data-configpublishes each store as an AtotiIStoreDescriptionbean instead of a DaSH schema bean. The newmarket-data-dash-spring-boot-starteradds these stores to the application’s DaSH configurator.
Breaking changes
-
An application that builds its datastore with DaSH replaces
market-data-spring-boot-starterwithmarket-data-dash-spring-boot-starter, in the module that builds the Spring Boot application:The starter publishes aMarketDataStoreSchemabean for each store, which the application passes to its DaSH configurator with its otherIConfigurableSchemabeans. An application that imports the configuration classes instead of using auto-configuration publishes these beans itself, withnew MarketDataStoreSchema(storeDescription). -
The DaSH schema classes
CubeMarketDataStore,CurveMarketDataStore,FxRateMarketDataStore,SpotMarketDataStoreandSurfaceMarketDataStorehave been removed. Code that injected one of these beans injects the store’sIStoreDescriptionbean instead, by its bean name, and gets the store name fromgetName():The beans are namedcubeMarketDataStore,curveMarketDataStore,fxRateMarketDataStore,spotMarketDataStoreandsurfaceMarketDataStore. Code that built a store description outside Spring usesMarketDataStoreDescriptions. -
The market data stores reach the DaSH configurator already built, so DaSH changes to their fields or configuration (
appendField,insertField,removeField,updateField,addConfiguration) are ignored. To change a store, publish anIStoreDescriptionbean under the store’s bean name: it replaces the description that Atoti Market Data publishes.