aboutsummaryrefslogtreecommitdiffstats
path: root/config/src/vespa/config/helper/legacy.h
blob: 7e28c5dfec219ca407f8c149e52296afa003247e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <string>
#include <vespa/config/subscription/sourcespec.h>

namespace config {

bool isLegacyConfigId(const std::string & configId);
std::unique_ptr<SourceSpec> legacyConfigId2Spec(const std::string & configId);
const std::string legacyConfigId2ConfigId(const std::string & configId);

}