Ed Tanous | 0260d9d | 2021-02-07 19:31:07 +0000 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <cstdint> |
Ed Tanous | 36c0f2a | 2024-02-09 13:50:26 -0800 | [diff] [blame] | 4 | #include <string_view> |
Ed Tanous | 0260d9d | 2021-02-07 19:31:07 +0000 | [diff] [blame] | 5 | |
| 6 | // clang-format off |
Ed Tanous | 25b54db | 2024-04-17 15:40:31 -0700 | [diff] [blame] | 7 | // NOLINTBEGIN(readability-identifier-naming) |
Ed Tanous | fa0b217 | 2022-03-24 10:25:03 -0700 | [diff] [blame] | 8 | |
Ed Tanous | 25b54db | 2024-04-17 15:40:31 -0700 | [diff] [blame] | 9 | // String params |
| 10 | constexpr const std::string_view BMCWEB_LOGGING_LEVEL = "@LOGGING_LEVEL@"; |
| 11 | constexpr const std::string_view BMCWEB_MUTUAL_TLS_COMMON_NAME_PARSING = "@MUTUAL_TLS_COMMON_NAME_PARSING@"; |
| 12 | constexpr const std::string_view BMCWEB_DNS_RESOLVER = "@DNS_RESOLVER@"; |
Ed Tanous | 0260d9d | 2021-02-07 19:31:07 +0000 | [diff] [blame] | 13 | |
Ed Tanous | 25b54db | 2024-04-17 15:40:31 -0700 | [diff] [blame] | 14 | // Integer params |
| 15 | constexpr const uint64_t BMCWEB_HTTP_BODY_LIMIT = @HTTP_BODY_LIMIT@; |
| 16 | constexpr const uint16_t BMCWEB_HTTPS_PORT = @HTTPS_PORT@; |
Ed Tanous | fa0b217 | 2022-03-24 10:25:03 -0700 | [diff] [blame] | 17 | |
Ed Tanous | 25b54db | 2024-04-17 15:40:31 -0700 | [diff] [blame] | 18 | // Feature Params |
| 19 | constexpr const bool BMCWEB_BASIC_AUTH = @BASIC_AUTH@; |
| 20 | constexpr const bool BMCWEB_COOKIE_AUTH = @COOKIE_AUTH@; |
| 21 | constexpr const bool BMCWEB_EXPERIMENTAL_HTTP2 = @EXPERIMENTAL_HTTP2@; |
| 22 | constexpr const bool BMCWEB_EXPERIMENTAL_REDFISH_MULTI_COMPUTER_SYSTEM = @EXPERIMENTAL_REDFISH_MULTI_COMPUTER_SYSTEM@; |
| 23 | constexpr const bool BMCWEB_HOST_SERIAL_SOCKET = @HOST_SERIAL_SOCKET@; |
| 24 | constexpr const bool BMCWEB_INSECURE_DISABLE_AUTH = @INSECURE_DISABLE_AUTH@; |
| 25 | constexpr const bool BMCWEB_INSECURE_DISABLE_CSRF = @INSECURE_DISABLE_CSRF@; |
| 26 | constexpr const bool BMCWEB_INSECURE_DISABLE_SSL = @INSECURE_DISABLE_SSL@; |
| 27 | constexpr const bool BMCWEB_INSECURE_ENABLE_REDFISH_QUERY = @INSECURE_ENABLE_REDFISH_QUERY@; |
| 28 | constexpr const bool BMCWEB_INSECURE_IGNORE_CONTENT_TYPE = @INSECURE_IGNORE_CONTENT_TYPE@; |
| 29 | constexpr const bool BMCWEB_INSECURE_PUSH_STYLE_NOTIFICATION = @INSECURE_PUSH_STYLE_NOTIFICATION@; |
| 30 | constexpr const bool BMCWEB_INSECURE_TFTP_UPDATE = @INSECURE_TFTP_UPDATE@; |
| 31 | constexpr const bool BMCWEB_KVM = @KVM@; |
| 32 | constexpr const bool BMCWEB_MUTUAL_TLS_AUTH = @MUTUAL_TLS_AUTH@; |
| 33 | constexpr const bool BMCWEB_REDFISH_AGGREGATION = @REDFISH_AGGREGATION@; |
| 34 | constexpr const bool BMCWEB_REDFISH_ALLOW_DEPRECATED_POWER_THERMAL = @REDFISH_ALLOW_DEPRECATED_POWER_THERMAL@; |
| 35 | constexpr const bool BMCWEB_REDFISH_BMC_JOURNAL = @REDFISH_BMC_JOURNAL@; |
| 36 | constexpr const bool BMCWEB_REDFISH_CPU_LOG = @REDFISH_CPU_LOG@; |
| 37 | constexpr const bool BMCWEB_REDFISH_DBUS_LOG = @REDFISH_DBUS_LOG@; |
| 38 | constexpr const bool BMCWEB_REDFISH_DUMP_LOG = @REDFISH_DUMP_LOG@; |
| 39 | constexpr const bool BMCWEB_REDFISH_HOST_LOGGER = @REDFISH_HOST_LOGGER@; |
| 40 | constexpr const bool BMCWEB_REDFISH_NEW_POWERSUBSYSTEM_THERMALSUBSYSTEM = @REDFISH_NEW_POWERSUBSYSTEM_THERMALSUBSYSTEM@; |
| 41 | constexpr const bool BMCWEB_REDFISH_OEM_MANAGER_FAN_DATA = @REDFISH_OEM_MANAGER_FAN_DATA@; |
| 42 | constexpr const bool BMCWEB_REDFISH_PROVISIONING_FEATURE = @REDFISH_PROVISIONING_FEATURE@; |
Jagpal Singh Gill | 5785566 | 2024-04-17 10:44:27 -0700 | [diff] [blame] | 43 | constexpr const bool BMCWEB_REDFISH_UPDATESERVICE_USE_DBUS = @REDFISH_UPDATESERVICE_USE_DBUS@; |
Ed Tanous | 25b54db | 2024-04-17 15:40:31 -0700 | [diff] [blame] | 44 | constexpr const bool BMCWEB_REDFISH = @REDFISH@; |
| 45 | constexpr const bool BMCWEB_REST = @REST@; |
| 46 | constexpr const bool BMCWEB_SESSION_AUTH = @SESSION_AUTH@; |
| 47 | constexpr const bool BMCWEB_STATIC_HOSTING = @STATIC_HOSTING@; |
| 48 | constexpr const bool BMCWEB_TESTS = @TESTS@; |
| 49 | constexpr const bool BMCWEB_VM_WEBSOCKET = @VM_WEBSOCKET@; |
| 50 | constexpr const bool BMCWEB_VM_NBDPROXY = false; |
| 51 | constexpr const bool BMCWEB_XTOKEN_AUTH = @XTOKEN_AUTH@; |
Myung Bae | 662aa6e | 2023-01-10 14:20:28 -0600 | [diff] [blame] | 52 | |
Ed Tanous | 25b54db | 2024-04-17 15:40:31 -0700 | [diff] [blame] | 53 | // Company specific params |
| 54 | constexpr const bool BMCWEB_GOOGLE_API = @GOOGLE_API@; |
| 55 | constexpr const bool BMCWEB_IBM_MANAGEMENT_CONSOLE = @IBM_MANAGEMENT_CONSOLE@; |
Willy Tu | 13451e3 | 2023-05-24 16:08:18 -0700 | [diff] [blame] | 56 | |
Ed Tanous | 25b54db | 2024-04-17 15:40:31 -0700 | [diff] [blame] | 57 | // NOLINTEND(readability-identifier-naming) |
Ed Tanous | 0260d9d | 2021-02-07 19:31:07 +0000 | [diff] [blame] | 58 | // clang-format on |