//dependencyGraphBuilder.setTargetDigests(new SecurityTypeTargetDigests());
//dependencyGraphBuilder.setTargetDigests(new FinancialSecurityTargetDigests());
}
private ViewCompilationServices createViewCompilationServices() {
final CompiledFunctionService cfs = _repo.getInstance(CompiledFunctionService.class, "main");
final FunctionResolver functionResolver = _repo.getInstance(FunctionResolver.class, "main");
final FunctionExclusionGroups functionExclusionGroups = _repo.getInstance(FunctionExclusionGroups.class, "main");
final DependencyGraphBuilderFactory dependencyGraphBuilder = new DependencyGraphBuilderFactory();
dependencyGraphBuilder.setFunctionExclusionGroups(functionExclusionGroups);
configureDependencyGraphBuilder(dependencyGraphBuilder);
final MarketDataAvailabilityProvider mdap = new OptimisticMarketDataAvailabilityFilter().withProvider(new DefaultMarketDataAvailabilityProvider());
return new ViewCompilationServices(mdap, functionResolver, cfs.getFunctionCompilationContext(), cfs.getExecutorService(), dependencyGraphBuilder);
}