X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fxapp-utils%2Fxapp_config.hpp;h=f15c879926cd4b27101aed1185bdfa205b26b3b5;hb=refs%2Fchanges%2F07%2F4907%2F2;hp=389703ea4efbff31d439e337eab97d3c5e873c00;hpb=6df19a4dacb4fcb6edb35a32af9c8f5c07c95e37;p=ric-app%2Fhw.git diff --git a/src/xapp-utils/xapp_config.hpp b/src/xapp-utils/xapp_config.hpp index 389703e..f15c879 100644 --- a/src/xapp-utils/xapp_config.hpp +++ b/src/xapp-utils/xapp_config.hpp @@ -1,7 +1,7 @@ /* ================================================================================== - Copyright (c) 2018-2019 AT&T Intellectual Property. + Copyright (c) 2019-2020 AT&T Intellectual Property. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -31,23 +31,16 @@ #include #include -#define MAX_SLEEP 86400 - -#define DEFAULT_A1_SCHEMA_FILE "/etc/xapp/a1-schema.json" -#define DEFAULT_XAPP_ID "hw-xapp-123" -#define DEFAULT_VES_SCHEMA_FILE "/etc/xapp/ves-schema.json" -#define DEFAULT_VES_COLLECTOR_URL "127.0.0.1:6350" -#define DEFAULT_VES_MEASUREMENT_INTERVAL 10 +#define DEFAULT_XAPP_NAME "hwxapp" #define DEFAULT_PORT "4560" -#define DEFAULT_BUFFER "1024" -#define DEFAULT_GNODEB "GNB123" -#define DEFAULT_OPERATING_MODE "report" +#define DEFAULT_MSG_MAX_BUFFER "2072" +#define DEFAULT_THREADS "1" + #define DEFAULT_LOG_LEVEL MDCLOG_WARN -#define ASN_BUFF_MAX_SIZE 512 +#define ASN_BUFF_MAX_SIZE 4096 #define MAX_SUBSCRIPTION_ATTEMPTS 10 -#define HELLOWORLD_POLICY_ID 00000 -#define DEFAULT_THREADS 1 +#define HELLOWORLD_POLICY_ID 2 using namespace std; @@ -57,17 +50,10 @@ public: typedef enum{ XAPP_ID, XAPP_NAME, - HW_PORTS, + HW_PORT, MSG_MAX_BUFFER, - GNODEB, THREADS, - A1_SCHEMA_FILE, - VES_SCHEMA_FILE, - SAMPLE_FILE, - VES_COLLECTOR_URL, - VES_MEASUREMENT_INTERVAL, - LOG_LEVEL, - OPERATING_MODE + LOG_LEVEL }SettingName; void loadDefaultSettings();