blob: 5cde438b668ba78bf73613a060ce42965e8255cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.test;
import com.yahoo.config.model.ConfigModelRegistry;
import com.yahoo.config.model.MapConfigModelRegistry;
/**
* Creates a {@link ConfigModelRegistry} instance that simulates the hosted environment.
*
* @author bjorncs
*/
public class HostedConfigModelRegistry {
private HostedConfigModelRegistry() {}
public static ConfigModelRegistry create() {
return MapConfigModelRegistry.createFromList(new ModelBuilderAddingAccessControlFilter());
}
}
|