Skip to main content
This page explains the changes required to migrate to the stated version of the Atoti Market Data.

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-config and market-data-spring-boot-starter drop their DaSH dependency. market-data-config publishes each store as an Atoti IStoreDescription bean instead of a DaSH schema bean. The new market-data-dash-spring-boot-starter adds these stores to the application’s DaSH configurator.

Breaking changes

  • An application that builds its datastore with DaSH replaces market-data-spring-boot-starter with market-data-dash-spring-boot-starter, in the module that builds the Spring Boot application:
    The starter publishes a MarketDataStoreSchema bean for each store, which the application passes to its DaSH configurator with its other IConfigurableSchema beans. An application that imports the configuration classes instead of using auto-configuration publishes these beans itself, with new MarketDataStoreSchema(storeDescription).
  • The DaSH schema classes CubeMarketDataStore, CurveMarketDataStore, FxRateMarketDataStore, SpotMarketDataStore and SurfaceMarketDataStore have been removed. Code that injected one of these beans injects the store’s IStoreDescription bean instead, by its bean name, and gets the store name from getName():
    The beans are named cubeMarketDataStore, curveMarketDataStore, fxRateMarketDataStore, spotMarketDataStore and surfaceMarketDataStore. Code that built a store description outside Spring uses MarketDataStoreDescriptions.
  • 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 an IStoreDescription bean under the store’s bean name: it replaces the description that Atoti Market Data publishes.