martinzink commented on code in PR #1543:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1543#discussion_r1155844438


##########
libminifi/src/Configuration.cpp:
##########
@@ -17,135 +17,135 @@
 #include <algorithm>
 
 #include "properties/Configuration.h"
-#include "core/PropertyBuilder.h"
+#include "core/PropertyValidation.h"
 
 namespace org::apache::nifi::minifi {
 
-const std::vector<core::ConfigurationProperty> 
Configuration::CONFIGURATION_PROPERTIES{
-  core::ConfigurationProperty{Configuration::nifi_default_directory},
-  core::ConfigurationProperty{Configuration::nifi_flow_configuration_file},
-  core::ConfigurationProperty{Configuration::nifi_flow_configuration_encrypt, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_flow_configuration_file_backup_update,
 gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_flow_engine_threads, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_flow_engine_alert_period, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_flow_engine_event_driven_time_slice,
 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_administrative_yield_duration, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_bored_yield_duration, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_graceful_shutdown_seconds, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_flowcontroller_drain_timeout, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_server_name},
-  core::ConfigurationProperty{Configuration::nifi_configuration_class_name},
-  core::ConfigurationProperty{Configuration::nifi_flow_repository_class_name},
-  
core::ConfigurationProperty{Configuration::nifi_flow_repository_rocksdb_compression},
-  
core::ConfigurationProperty{Configuration::nifi_content_repository_class_name},
-  
core::ConfigurationProperty{Configuration::nifi_content_repository_rocksdb_compression},
-  
core::ConfigurationProperty{Configuration::nifi_provenance_repository_class_name},
-  
core::ConfigurationProperty{Configuration::nifi_volatile_repository_options_flowfile_max_count,
 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_volatile_repository_options_flowfile_max_bytes,
 gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_volatile_repository_options_provenance_max_count,
 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_volatile_repository_options_provenance_max_bytes,
 gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_volatile_repository_options_content_max_count,
 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_volatile_repository_options_content_max_bytes,
 gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_volatile_repository_options_content_minimal_locking,
 gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_server_port, 
gsl::make_not_null(core::StandardValidators::get().PORT_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_server_report_interval, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_provenance_repository_max_storage_size,
 gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_provenance_repository_max_storage_time,
 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_provenance_repository_directory_default},
-  
core::ConfigurationProperty{Configuration::nifi_flowfile_repository_directory_default},
-  
core::ConfigurationProperty{Configuration::nifi_dbcontent_repository_directory_default},
-  
core::ConfigurationProperty{Configuration::nifi_flowfile_repository_rocksdb_compaction_period,
 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_dbcontent_repository_rocksdb_compaction_period,
 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_remote_input_secure, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_security_need_ClientAuth, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_sensitive_props_additional_keys},
-  core::ConfigurationProperty{Configuration::nifi_python_processor_dir},
-  core::ConfigurationProperty{Configuration::nifi_extension_path},
-  core::ConfigurationProperty{Configuration::nifi_security_client_certificate},
-  core::ConfigurationProperty{Configuration::nifi_security_client_private_key},
-  core::ConfigurationProperty{Configuration::nifi_security_client_pass_phrase},
-  
core::ConfigurationProperty{Configuration::nifi_security_client_ca_certificate},
-  
core::ConfigurationProperty{Configuration::nifi_security_use_system_cert_store},
-  
core::ConfigurationProperty{Configuration::nifi_security_windows_cert_store_location},
-  
core::ConfigurationProperty{Configuration::nifi_security_windows_server_cert_store},
-  
core::ConfigurationProperty{Configuration::nifi_security_windows_client_cert_store},
-  
core::ConfigurationProperty{Configuration::nifi_security_windows_client_cert_cn},
-  
core::ConfigurationProperty{Configuration::nifi_security_windows_client_cert_key_usage},
-  core::ConfigurationProperty{Configuration::nifi_rest_api_user_name},
-  core::ConfigurationProperty{Configuration::nifi_rest_api_password},
-  core::ConfigurationProperty{Configuration::nifi_c2_enable, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_c2_file_watch},
-  core::ConfigurationProperty{Configuration::nifi_c2_flow_id},
-  core::ConfigurationProperty{Configuration::nifi_c2_flow_url},
-  core::ConfigurationProperty{Configuration::nifi_c2_flow_base_url},
-  core::ConfigurationProperty{Configuration::nifi_c2_full_heartbeat, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_c2_coap_connector_service},
-  core::ConfigurationProperty{Configuration::nifi_c2_agent_heartbeat_period, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_c2_agent_heartbeat_reporter_classes},
-  core::ConfigurationProperty{Configuration::nifi_c2_agent_class},
-  core::ConfigurationProperty{Configuration::nifi_c2_agent_coap_host},
-  core::ConfigurationProperty{Configuration::nifi_c2_agent_coap_port, 
gsl::make_not_null(core::StandardValidators::get().PORT_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_c2_agent_protocol_class},
-  core::ConfigurationProperty{Configuration::nifi_c2_agent_identifier},
-  
core::ConfigurationProperty{Configuration::nifi_c2_agent_identifier_fallback},
-  core::ConfigurationProperty{Configuration::nifi_c2_agent_trigger_classes},
-  core::ConfigurationProperty{Configuration::nifi_c2_root_classes},
-  core::ConfigurationProperty{Configuration::nifi_c2_root_class_definitions},
-  core::ConfigurationProperty{Configuration::nifi_c2_rest_listener_port, 
gsl::make_not_null(core::StandardValidators::get().LISTEN_PORT_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_c2_rest_listener_cacert},
-  core::ConfigurationProperty{Configuration::nifi_c2_rest_url},
-  core::ConfigurationProperty{Configuration::nifi_c2_rest_url_ack},
-  core::ConfigurationProperty{Configuration::nifi_c2_rest_ssl_context_service},
-  core::ConfigurationProperty{Configuration::nifi_c2_rest_request_encoding},
-  
core::ConfigurationProperty{Configuration::nifi_c2_rest_heartbeat_minimize_updates,
 gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_c2_mqtt_connector_service},
-  core::ConfigurationProperty{Configuration::nifi_c2_mqtt_heartbeat_topic},
-  core::ConfigurationProperty{Configuration::nifi_c2_mqtt_update_topic},
-  core::ConfigurationProperty{Configuration::nifi_state_storage_local},
-  core::ConfigurationProperty{Configuration::nifi_state_storage_local_old},
-  
core::ConfigurationProperty{Configuration::nifi_state_storage_local_class_name},
-  
core::ConfigurationProperty{Configuration::nifi_state_storage_local_class_name_old},
-  
core::ConfigurationProperty{Configuration::nifi_state_storage_local_always_persist,
 gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_state_storage_local_always_persist_old,
 gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_state_storage_local_auto_persistence_interval,
 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_state_storage_local_auto_persistence_interval_old,
 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_state_storage_local_path},
-  
core::ConfigurationProperty{Configuration::nifi_state_storage_local_path_old},
-  
core::ConfigurationProperty{Configuration::minifi_disk_space_watchdog_enable, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::minifi_disk_space_watchdog_interval, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::minifi_disk_space_watchdog_stop_threshold,
 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_LONG_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::minifi_disk_space_watchdog_restart_threshold,
 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_LONG_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_framework_dir},
-  core::ConfigurationProperty{Configuration::nifi_jvm_options},
-  core::ConfigurationProperty{Configuration::nifi_nar_directory},
-  core::ConfigurationProperty{Configuration::nifi_nar_deploy_directory},
-  core::ConfigurationProperty{Configuration::nifi_log_spdlog_pattern},
-  core::ConfigurationProperty{Configuration::nifi_log_spdlog_shorten_names, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_log_appender_rolling},
-  
core::ConfigurationProperty{Configuration::nifi_log_appender_rolling_directory},
-  
core::ConfigurationProperty{Configuration::nifi_log_appender_rolling_file_name},
-  
core::ConfigurationProperty{Configuration::nifi_log_appender_rolling_max_files, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_log_appender_rolling_max_file_size,
 gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_log_appender_stdout},
-  core::ConfigurationProperty{Configuration::nifi_log_appender_stderr},
-  core::ConfigurationProperty{Configuration::nifi_log_appender_null},
-  core::ConfigurationProperty{Configuration::nifi_log_appender_syslog},
-  core::ConfigurationProperty{Configuration::nifi_log_logger_root},
-  
core::ConfigurationProperty{Configuration::nifi_log_compression_cached_log_max_size,
 gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
-  
core::ConfigurationProperty{Configuration::nifi_log_compression_compressed_log_max_size,
 gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_log_alert_url},
-  
core::ConfigurationProperty{Configuration::nifi_log_alert_ssl_context_service},
-  core::ConfigurationProperty{Configuration::nifi_log_alert_batch_size},
-  core::ConfigurationProperty{Configuration::nifi_log_alert_flush_period},
-  core::ConfigurationProperty{Configuration::nifi_log_alert_filter},
-  core::ConfigurationProperty{Configuration::nifi_log_alert_rate_limit},
-  core::ConfigurationProperty{Configuration::nifi_log_alert_buffer_limit},
-  core::ConfigurationProperty{Configuration::nifi_log_alert_level},
-  core::ConfigurationProperty{Configuration::nifi_asset_directory},
-  
core::ConfigurationProperty{Configuration::nifi_metrics_publisher_agent_identifier},
-  core::ConfigurationProperty{Configuration::nifi_metrics_publisher_class},
-  
core::ConfigurationProperty{Configuration::nifi_metrics_publisher_prometheus_metrics_publisher_port,
 gsl::make_not_null(core::StandardValidators::get().PORT_VALIDATOR.get())},
-  core::ConfigurationProperty{Configuration::nifi_metrics_publisher_metrics}
+const std::unordered_map<std::string_view, 
gsl::not_null<core::PropertyValidator*>> 
Configuration::CONFIGURATION_PROPERTIES{
+  {Configuration::nifi_default_directory, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_flow_configuration_file, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_flow_configuration_encrypt, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_flow_configuration_file_backup_update, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_flow_engine_threads, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
+  {Configuration::nifi_flow_engine_alert_period, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_flow_engine_event_driven_time_slice, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_administrative_yield_duration, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_bored_yield_duration, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_graceful_shutdown_seconds, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_flowcontroller_drain_timeout, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_server_name, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_configuration_class_name, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_flow_repository_class_name, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_flow_repository_rocksdb_compression, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_content_repository_class_name, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_content_repository_rocksdb_compression, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_provenance_repository_class_name, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_volatile_repository_options_flowfile_max_count, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
+  {Configuration::nifi_volatile_repository_options_flowfile_max_bytes, 
gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
+  {Configuration::nifi_volatile_repository_options_provenance_max_count, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
+  {Configuration::nifi_volatile_repository_options_provenance_max_bytes, 
gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
+  {Configuration::nifi_volatile_repository_options_content_max_count, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
+  {Configuration::nifi_volatile_repository_options_content_max_bytes, 
gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
+  {Configuration::nifi_volatile_repository_options_content_minimal_locking, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_server_port, 
gsl::make_not_null(core::StandardValidators::get().PORT_VALIDATOR.get())},
+  {Configuration::nifi_server_report_interval, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_provenance_repository_max_storage_size, 
gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
+  {Configuration::nifi_provenance_repository_max_storage_time, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_provenance_repository_directory_default, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_flowfile_repository_directory_default, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_dbcontent_repository_directory_default, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_flowfile_repository_rocksdb_compaction_period, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_dbcontent_repository_rocksdb_compaction_period, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_remote_input_secure, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_security_need_ClientAuth, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_sensitive_props_additional_keys, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_python_processor_dir, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_extension_path, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_client_certificate, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_client_private_key, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_client_pass_phrase, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_client_ca_certificate, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_use_system_cert_store, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_windows_cert_store_location, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_windows_server_cert_store, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_windows_client_cert_store, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_windows_client_cert_cn, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_security_windows_client_cert_key_usage, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_rest_api_user_name, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_rest_api_password, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_enable, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_c2_file_watch, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_flow_id, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_flow_url, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_flow_base_url, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_full_heartbeat, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_c2_coap_connector_service, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_heartbeat_period, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_heartbeat_reporter_classes, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_class, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_coap_host, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_coap_port, 
gsl::make_not_null(core::StandardValidators::get().PORT_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_protocol_class, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_identifier, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_identifier_fallback, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_agent_trigger_classes, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_root_classes, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_root_class_definitions, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_rest_listener_port, 
gsl::make_not_null(core::StandardValidators::get().LISTEN_PORT_VALIDATOR.get())},
+  {Configuration::nifi_c2_rest_listener_cacert, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_rest_url, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_rest_url_ack, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_rest_ssl_context_service, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_rest_request_encoding, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_rest_heartbeat_minimize_updates, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_c2_mqtt_connector_service, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_mqtt_heartbeat_topic, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_c2_mqtt_update_topic, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_old, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_class_name, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_class_name_old, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_always_persist, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_always_persist_old, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_auto_persistence_interval, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_auto_persistence_interval_old, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_path, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_state_storage_local_path_old, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::minifi_disk_space_watchdog_enable, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::minifi_disk_space_watchdog_interval, 
gsl::make_not_null(core::StandardValidators::get().TIME_PERIOD_VALIDATOR.get())},
+  {Configuration::minifi_disk_space_watchdog_stop_threshold, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_LONG_VALIDATOR.get())},
+  {Configuration::minifi_disk_space_watchdog_restart_threshold, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_LONG_VALIDATOR.get())},
+  {Configuration::nifi_framework_dir, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_jvm_options, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_nar_directory, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_nar_deploy_directory, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_spdlog_pattern, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_spdlog_shorten_names, 
gsl::make_not_null(core::StandardValidators::get().BOOLEAN_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_rolling, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_rolling_directory, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_rolling_file_name, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_rolling_max_files, 
gsl::make_not_null(core::StandardValidators::get().UNSIGNED_INT_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_rolling_max_file_size, 
gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_stdout, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_stderr, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_null, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_appender_syslog, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_logger_root, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_compression_cached_log_max_size, 
gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
+  {Configuration::nifi_log_compression_compressed_log_max_size, 
gsl::make_not_null(core::StandardValidators::get().DATA_SIZE_VALIDATOR.get())},
+  {Configuration::nifi_log_alert_url, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_alert_ssl_context_service, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_alert_batch_size, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},
+  {Configuration::nifi_log_alert_flush_period, 
gsl::make_not_null(core::StandardValidators::get().VALID_VALIDATOR.get())},

Review Comment:
   good idea, changed it in 
https://github.com/apache/nifi-minifi-cpp/pull/1543/commits/e58bc6936e88e251decd060f74f3a4994e372c0a
 (the usage was already expecting it as a time period)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@nifi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to