Examples of MasterConfigSource


Examples of com.opengamma.master.config.impl.MasterConfigSource

    CurrencyPairsConfigPopulator.populateCurrencyPairsConfigMaster(cfgMaster);
    CurrencyMatrixConfigPopulator.populateCurrencyMatrixConfigMaster(cfgMaster);
    FXOptionVolatilitySurfaceConfigPopulator.populateVolatilitySurfaceConfigMaster(cfgMaster);
    IRFutureOptionSurfaceConfigPopulator.populateVolatilitySurfaceConfigMaster(cfgMaster);
    _memConfigMaster = cfgMaster;
    _memConfigSource = new MasterConfigSource(cfgMaster);
  }
View Full Code Here

Examples of com.opengamma.master.config.impl.MasterConfigSource

    repo.getRestComponents().publishResource(resource);
    resource = new JerseyRestResourceFactory(WebPositionsResource.class, getPositionMaster(), getSecurityLoader(), getSecuritySource(), getHistoricalTimeSeriesSource());
    repo.getRestComponents().publishResource(resource);
    resource = new JerseyRestResourceFactory(WebPortfoliosResource.class, getPortfolioMaster(), getPositionMaster(), getSecuritySource(), getScheduler());
    repo.getRestComponents().publishResource(resource);
    resource = new JerseyRestResourceFactory(WebAllHistoricalTimeSeriesResource.class, getHistoricalTimeSeriesMaster(), getHistoricalTimeSeriesLoader(), new MasterConfigSource(getConfigMaster()));
    repo.getRestComponents().publishResource(resource);
    resource = new JerseyRestResourceFactory(WebComputationTargetTypeResource.class, getTargetTypes());
    repo.getRestComponents().publishResource(resource);
    resource = new JerseyRestResourceFactory(WebOrganizationsResource.class, getOrganizationMaster());
    repo.getRestComponents().publishResource(resource);
View Full Code Here

Examples of com.opengamma.master.config.impl.MasterConfigSource

    ChangeManager changeMgr = buildChangeManager();
    MasterChangeManager masterChangeMgr = buildMasterChangeManager();
    final ConnectionManagerImpl connectionMgr = new ConnectionManagerImpl(changeMgr, masterChangeMgr, longPolling);
    AggregatorNamesResource aggregatorsResource = new AggregatorNamesResource(getPortfolioAggregationFunctions().getMappedFunctions().keySet());
    MarketDataSnapshotListResource snapshotResource = new MarketDataSnapshotListResource(getMarketDataSnapshotMaster());
    MasterConfigSource configSource = new MasterConfigSource(getConfigMaster());

    AggregatedViewDefinitionManager aggregatedViewDefManager =
        new AggregatedViewDefinitionManager(getPositionSource(),
                                            getSecuritySource(),
                                            getCombinedConfigSource(),
View Full Code Here

Examples of com.opengamma.master.config.impl.MasterConfigSource

      repo.getRestComponents().publish(info, new DataConfigSourceResource(source));
    }
  }

  protected ConfigSource initUnderlying(ComponentRepository repo, LinkedHashMap<String, String> configuration) {
    ConfigSource source = new MasterConfigSource(getUnderlyingConfigMaster());
    if (getCacheManager() != null) {
      source = new EHCachingMasterConfigSource(getUnderlyingConfigMaster(), getCacheManager());
    }
    if (getUnderlyingClassifier() != null) {
      ComponentInfo info = new ComponentInfo(ConfigSource.class, getUnderlyingClassifier());
View Full Code Here

Examples of com.opengamma.master.config.impl.MasterConfigSource

  protected ConfigSource initUser(ComponentRepository repo, LinkedHashMap<String, String> configuration) {
    if (getUserConfigMaster() == null) {
      return null;
    }
    ConfigSource source = new MasterConfigSource(getUserConfigMaster());
    if (getUserClassifier() != null) {
      ComponentInfo info = new ComponentInfo(ConfigSource.class, getUserClassifier());
      info.addAttribute(ComponentInfoAttributes.LEVEL, 1);
      info.addAttribute(ComponentInfoAttributes.REMOTE_CLIENT_JAVA, RemoteConfigSource.class);
      repo.registerComponent(info, source);
View Full Code Here

Examples of com.opengamma.master.config.impl.MasterConfigSource

  @BeforeMethod
  public void setUp() throws Exception {
    InMemoryConfigMaster configMaster = new InMemoryConfigMaster();
    populateConfigMaster(configMaster);
    _infoResolver = new DefaultHistoricalTimeSeriesResolver(new DefaultHistoricalTimeSeriesSelector(new MasterConfigSource(configMaster)), _htsMaster);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.