Separate config types into a look-up table and constrain cfg_config's config_type field to only accept one of those
values. This is just a create script for postgresql right now - will need migrate and create scripts for other DBs once
fully tested.
Update SelectTypes query to fetch types from the new cfg_type table, in order to improve the performance of this
frequent query. New InsertType and SelectTypeWhere elsql macros are defined for checking if a particular config
type exists, and to insert a new config type in the cfg_type table. The insert() method in DbConfigWorker now
automatically adds any previously unseen config type to the cfg_type table, so the behaviour is still largely the
same as before.
Create & migrate scripts for version 47 of the config db. These create a cfg_type table, constrains cfg_config's
config_type field to use a type name specified in cfg_type, and populates the newly created cfg_type table with
distinct config type names from cfg_config.
Remove 'WITHOUT oids' from hsql and sqlserver2008 config db upgrade scripts
Update AbstractDbConfigMasterWorkerTest so that the newly introduced config type lookup table is populated at setup.
Initial version of master cache: get by oid and uid implemented, indexing by version/correction ranges as well as uids.
Add/update/correct etc. just forward request to underlying master. Change management untested.
Configure the securities web UI to use a security master cache.
Added internal functionality to retrieve a subset of versions/corrections for a document by Instant
range; improved fine-grained cache cleaning, hooked up to change management; temporarily disabled
miss caching.
First bash at writing some tests for EHCachingSecurityMaster; current coverage is weak, and various generic
methods/properties should move to an AbstractEHCachingMasterTest class in due course.
Fix bug in caching master's vc range checks when getting by objectid/vc
Fix and enhance get tests for caching masters; separate common tests and properties into AbstractEHCachingMasterTest.
Now, EHCachingSecurityMasterTest inherits from AbstractEHCachingMasterTest and passes get tests.
Add new constructor to ManageablePosition that takes unique ID, quantity and a bundle of security IDs.
Alter PositionMaster so it extends AbstractChangeProvidingMaster<PositionDocument>, rather than extending
AbstractMaster<PositionDocument> and ChangeProvider individually; this brings it in line with other masters.
Separate out all the caching master tests that are common across all the masters into EHCachingMasterTest, so
that they are executed only once; AbstractEHCachingMasterTest still provides functionality common to all caching
master tests, including EHCachingMasterTests.
Alter PortfolioMaster so it extends AbstractChangeProvidingMaster<PortfolioDocument>, rather than extending
AbstractMaster<PortfolioDocument> and ChangeProvider individually; this brings it in line with other masters.
Initial commit of caching masters & tests for config, exchange, holiday, portfolio, position, region, security
& user; currently incomplete. Each of these classes will only implement the specialised methods/tests for that
specific master; the common parts are implemented in AbstractEHCachingMaster, and tested in EHCachingMasterTest.
Security master search caching with prefetching (experimental)
Fix code affected by the threeten update
Initial implementation of background prefetching thread pool with coarse grain locking of the entire set
of cached ranges for a particular search request. Working towards finer grain locking of individual
cached ranges instead.