blob: adaf46120b488dc321415c3ee4a5211fca42ea87 [file] [log] [blame]
Ed Tanous0260d9d2021-02-07 19:31:07 +00001#pragma once
2
3#include <cstdint>
Ed Tanous36c0f2a2024-02-09 13:50:26 -08004#include <string_view>
Ed Tanous0260d9d2021-02-07 19:31:07 +00005
6// clang-format off
Ed Tanous25b54db2024-04-17 15:40:31 -07007// NOLINTBEGIN(readability-identifier-naming)
Ed Tanousfa0b2172022-03-24 10:25:03 -07008
Ed Tanous25b54db2024-04-17 15:40:31 -07009// String params
10constexpr const std::string_view BMCWEB_LOGGING_LEVEL = "@LOGGING_LEVEL@";
11constexpr const std::string_view BMCWEB_MUTUAL_TLS_COMMON_NAME_PARSING = "@MUTUAL_TLS_COMMON_NAME_PARSING@";
12constexpr const std::string_view BMCWEB_DNS_RESOLVER = "@DNS_RESOLVER@";
Ed Tanous0260d9d2021-02-07 19:31:07 +000013
Ed Tanous25b54db2024-04-17 15:40:31 -070014// Integer params
15constexpr const uint64_t BMCWEB_HTTP_BODY_LIMIT = @HTTP_BODY_LIMIT@;
16constexpr const uint16_t BMCWEB_HTTPS_PORT = @HTTPS_PORT@;
Ed Tanousfa0b2172022-03-24 10:25:03 -070017
Ed Tanous25b54db2024-04-17 15:40:31 -070018// Feature Params
19constexpr const bool BMCWEB_BASIC_AUTH = @BASIC_AUTH@;
20constexpr const bool BMCWEB_COOKIE_AUTH = @COOKIE_AUTH@;
21constexpr const bool BMCWEB_EXPERIMENTAL_HTTP2 = @EXPERIMENTAL_HTTP2@;
22constexpr const bool BMCWEB_EXPERIMENTAL_REDFISH_MULTI_COMPUTER_SYSTEM = @EXPERIMENTAL_REDFISH_MULTI_COMPUTER_SYSTEM@;
23constexpr const bool BMCWEB_HOST_SERIAL_SOCKET = @HOST_SERIAL_SOCKET@;
24constexpr const bool BMCWEB_INSECURE_DISABLE_AUTH = @INSECURE_DISABLE_AUTH@;
25constexpr const bool BMCWEB_INSECURE_DISABLE_CSRF = @INSECURE_DISABLE_CSRF@;
26constexpr const bool BMCWEB_INSECURE_DISABLE_SSL = @INSECURE_DISABLE_SSL@;
27constexpr const bool BMCWEB_INSECURE_ENABLE_REDFISH_QUERY = @INSECURE_ENABLE_REDFISH_QUERY@;
28constexpr const bool BMCWEB_INSECURE_IGNORE_CONTENT_TYPE = @INSECURE_IGNORE_CONTENT_TYPE@;
29constexpr const bool BMCWEB_INSECURE_PUSH_STYLE_NOTIFICATION = @INSECURE_PUSH_STYLE_NOTIFICATION@;
30constexpr const bool BMCWEB_INSECURE_TFTP_UPDATE = @INSECURE_TFTP_UPDATE@;
31constexpr const bool BMCWEB_KVM = @KVM@;
32constexpr const bool BMCWEB_MUTUAL_TLS_AUTH = @MUTUAL_TLS_AUTH@;
33constexpr const bool BMCWEB_REDFISH_AGGREGATION = @REDFISH_AGGREGATION@;
34constexpr const bool BMCWEB_REDFISH_ALLOW_DEPRECATED_POWER_THERMAL = @REDFISH_ALLOW_DEPRECATED_POWER_THERMAL@;
35constexpr const bool BMCWEB_REDFISH_BMC_JOURNAL = @REDFISH_BMC_JOURNAL@;
36constexpr const bool BMCWEB_REDFISH_CPU_LOG = @REDFISH_CPU_LOG@;
37constexpr const bool BMCWEB_REDFISH_DBUS_LOG = @REDFISH_DBUS_LOG@;
38constexpr const bool BMCWEB_REDFISH_DUMP_LOG = @REDFISH_DUMP_LOG@;
39constexpr const bool BMCWEB_REDFISH_HOST_LOGGER = @REDFISH_HOST_LOGGER@;
40constexpr const bool BMCWEB_REDFISH_NEW_POWERSUBSYSTEM_THERMALSUBSYSTEM = @REDFISH_NEW_POWERSUBSYSTEM_THERMALSUBSYSTEM@;
41constexpr const bool BMCWEB_REDFISH_OEM_MANAGER_FAN_DATA = @REDFISH_OEM_MANAGER_FAN_DATA@;
42constexpr const bool BMCWEB_REDFISH_PROVISIONING_FEATURE = @REDFISH_PROVISIONING_FEATURE@;
Jagpal Singh Gill57855662024-04-17 10:44:27 -070043constexpr const bool BMCWEB_REDFISH_UPDATESERVICE_USE_DBUS = @REDFISH_UPDATESERVICE_USE_DBUS@;
Ed Tanous25b54db2024-04-17 15:40:31 -070044constexpr const bool BMCWEB_REDFISH = @REDFISH@;
45constexpr const bool BMCWEB_REST = @REST@;
46constexpr const bool BMCWEB_SESSION_AUTH = @SESSION_AUTH@;
47constexpr const bool BMCWEB_STATIC_HOSTING = @STATIC_HOSTING@;
48constexpr const bool BMCWEB_TESTS = @TESTS@;
49constexpr const bool BMCWEB_VM_WEBSOCKET = @VM_WEBSOCKET@;
50constexpr const bool BMCWEB_VM_NBDPROXY = false;
51constexpr const bool BMCWEB_XTOKEN_AUTH = @XTOKEN_AUTH@;
Myung Bae662aa6e2023-01-10 14:20:28 -060052
Ed Tanous25b54db2024-04-17 15:40:31 -070053// Company specific params
54constexpr const bool BMCWEB_GOOGLE_API = @GOOGLE_API@;
55constexpr const bool BMCWEB_IBM_MANAGEMENT_CONSOLE = @IBM_MANAGEMENT_CONSOLE@;
Willy Tu13451e32023-05-24 16:08:18 -070056
Ed Tanous25b54db2024-04-17 15:40:31 -070057// NOLINTEND(readability-identifier-naming)
Ed Tanous0260d9d2021-02-07 19:31:07 +000058// clang-format on