public ConfigModelContext withParent(TreeConfigProducer<AnyConfigProducer> newParent) {
        return ConfigModelContext.create(deployState, vespaModel, configModelRepoAdder, newParent, producerId);
    }
Create a new context with a different parent
config-model/src/main/java/com/yahoo/config/model/ConfigModelContext.java