新增shared的模块类型

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2022-12-28 07:15:45 +00:00
parent 98df11459b
commit 3610a31bea
3 changed files with 5 additions and 2 deletions
+1
View File
@@ -29,6 +29,7 @@ public:
HAR = 1,
ENTRY = 2,
FEATURE = 3,
SHARED = 4,
};
ConfigParser();
+3 -2
View File
@@ -24,9 +24,10 @@ namespace Global {
namespace Restool {
using namespace std;
const map<string, ConfigParser::ModuleType> ConfigParser::MODULE_TYPES = {
{ "har", ModuleType::HAR, },
{ "har", ModuleType::HAR },
{ "entry", ModuleType::ENTRY },
{ "feature", ModuleType::FEATURE }
{ "feature", ModuleType::FEATURE },
{ "shared", ModuleType::SHARED }
};
const map<string, string> ConfigParser::JSON_STRING_IDS = {
+1
View File
@@ -25,6 +25,7 @@ const vector<ConfigParser::ModuleType> ResourceMerge::ORDERS = {
ConfigParser::ModuleType::NONE,
ConfigParser::ModuleType::ENTRY,
ConfigParser::ModuleType::FEATURE,
ConfigParser::ModuleType::SHARED,
ConfigParser::ModuleType::HAR
};