diff --git a/.clang-tidy b/.clang-tidy
index 2345a2425a..ac7598997a 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -55,7 +55,6 @@ Checks: >
bugprone-terminating-continue,
bugprone-throw-keyword-missing,
bugprone-too-small-loop-variable,
- bugprone-unchecked-optional-access,
bugprone-undefined-memory-manipulation,
bugprone-undelegated-constructor,
bugprone-unhandled-exception-at-new,
diff --git a/CONTROLLERS.md b/CONTROLLERS.md
index 0939a8846f..3468929deb 100644
--- a/CONTROLLERS.md
+++ b/CONTROLLERS.md
@@ -1,46 +1,53 @@
-# Controller Services
-
## Table of Contents
- [AWSCredentialsService](#AWSCredentialsService)
- [AzureStorageCredentialsService](#AzureStorageCredentialsService)
-- [GCPCredentialsControllerService](#GCPCredentialsControllerService)
- [ElasticsearchCredentialsControllerService](#ElasticsearchCredentialsControllerService)
-- [KubernetesControllerService](#kubernetesControllerService)
+- [ExecuteJavaControllerService](#ExecuteJavaControllerService)
+- [GCPCredentialsControllerService](#GCPCredentialsControllerService)
+- [JavaControllerService](#JavaControllerService)
+- [KubernetesControllerService](#KubernetesControllerService)
+- [LinuxPowerManagerService](#LinuxPowerManagerService)
+- [NetworkPrioritizerService](#NetworkPrioritizerService)
+- [ODBCService](#ODBCService)
+- [PersistentMapStateStorage](#PersistentMapStateStorage)
+- [RocksDbStateStorage](#RocksDbStateStorage)
+- [SmbConnectionControllerService](#SmbConnectionControllerService)
+- [SSLContextService](#SSLContextService)
+- [UpdatePolicyControllerService](#UpdatePolicyControllerService)
+- [VolatileMapStateStorage](#VolatileMapStateStorage)
+
## AWSCredentialsService
### Description
-Manages the Amazon Web Services (AWS) credentials for an AWS account. This allows for multiple
-AWS credential services to be defined. This also allows for multiple AWS related processors to reference this single
-controller service so that AWS credentials can be managed and controlled in a central location.
+Manages the Amazon Web Services (AWS) credentials for an AWS account. This allows for multiple AWS credential services to be defined. This also allows for multiple AWS related processors to reference this single controller service so that AWS credentials can be managed and controlled in a central location.
### Properties
-In the list below, the names of required properties appear in bold. Any other
-properties (not in bold) are considered optional.
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
| Name | Default Value | Allowable Values | Description |
|-----------------------------|---------------|------------------|---------------------------------------------------------------------------------------------------------------------------------------------|
-| **Use Default Credentials** | false | | If true, uses the Default Credential chain, including EC2 instance profiles or roles, environment variables, default user credentials, etc. |
-| Access Key | | | Specifies the AWS Access Key |
-| Secret Key | | | Specifies the AWS Secret Key |
+| **Use Default Credentials** | false | true
false | If true, uses the Default Credential chain, including EC2 instance profiles or roles, environment variables, default user credentials, etc. |
+| Access Key | | | Specifies the AWS Access Key. |
+| Secret Key | | | Specifies the AWS Secret Key. |
| Credentials File | | | Path to a file containing AWS access key and secret key in properties file format. Properties used: accessKey and secretKey |
@@ -48,13 +55,11 @@ properties (not in bold) are considered optional.
### Description
-Manages the credentials for an Azure Storage account. This allows for multiple Azure Storage related processors to reference this single
-controller service so that Azure storage credentials can be managed and controlled in a central location.
+Manages the credentials for an Azure Storage account. This allows for multiple Azure Storage related processors to reference this single controller service so that Azure storage credentials can be managed and controlled in a central location.
### Properties
-In the list below, the names of required properties appear in bold. Any other
-properties (not in bold) are considered optional.
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
| Name | Default Value | Allowable Values | Description |
|----------------------------------------|---------------|------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -63,59 +68,251 @@ properties (not in bold) are considered optional.
| SAS Token | | | Shared Access Signature token. Specify either SAS Token (recommended) or Storage Account Key together with Storage Account Name if Managed Identity is not used. |
| Common Storage Account Endpoint Suffix | | | Storage accounts in public Azure always use a common FQDN suffix. Override this endpoint suffix with a different suffix in certain circumstances (like Azure Stack or non-public Azure regions). |
| Connection String | | | Connection string used to connect to Azure Storage service. This overrides all other set credential properties if Managed Identity is not used. |
-| **Use Managed Identity Credentials** | false | | Connection string used to connect to Azure Storage service. This overrides all other set credential properties. |
+| **Use Managed Identity Credentials** | false | true
false | If true Managed Identity credentials will be used together with the Storage Account Name for authentication. |
-## GCPCredentialsControllerService
+
+## ElasticsearchCredentialsControllerService
### Description
-Manages the credentials for Google Cloud Platform. This allows for multiple Google Cloud Platform related processors to reference this single
-controller service so that Google Cloud Platform credentials can be managed and controlled in a central location.
+Elasticsearch/Opensearch Credentials Controller Service
### Properties
-In the list below, the names of required properties appear in bold. Any other
-properties (not in bold) are considered optional.
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+| Name | Default Value | Allowable Values | Description |
+|----------|---------------|------------------|----------------------------------------------------------------------------------|
+| Username | | | The username for basic authentication
**Supports Expression Language: true** |
+| Password | | | The password for basic authentication
**Supports Expression Language: true** |
+| API Key | | | The API Key to use |
-| Name | Default Value | Allowable Values | Description |
-|---------------------------|----------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|
-| **Credentials Location** | Google Application Default Credentials | Google Application Default Credentials
Use Compute Engine Credentials
Service Account JSON File
Service Account JSON
Use Anonymous credentials | The location of the credentials. |
-| Service Account JSON File | | | Path to a file containing a Service Account key file in JSON format. |
-| Service Account JSON | | | The raw JSON containing a Service Account keyfile. |
+## ExecuteJavaControllerService
-## ElasticsearchCredentialsControllerService
+### Description
+
+ExecuteJavaClass runs NiFi Controller services given a provided system path
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|-----------------------------|---------------|------------------|-------------------------------------------------|
+| **NiFi Controller Service** | | | Name of NiFi Controller Service to load and run |
+
+
+## GCPCredentialsControllerService
### Description
-Elasticsearch Credentials Controller Service
+Manages the credentials for Google Cloud Platform. This allows for multiple Google Cloud Platform related processors to reference this single controller service so that Google Cloud Platform credentials can be managed and controlled in a central location.
### Properties
-In the list below, the names of required properties appear in bold. Any other
-properties (not in bold) are considered optional.
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+| Name | Default Value | Allowable Values | Description |
+|---------------------------|----------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------|
+| **Credentials Location** | Google Application Default Credentials | Google Application Default Credentials
Use Compute Engine Credentials
Service Account JSON File
Service Account JSON
Use Anonymous credentials | The location of the credentials. |
+| Service Account JSON File | | | Path to a file containing a Service Account key file in JSON format. |
+| Service Account JSON | | | The raw JSON containing a Service Account keyfile. |
-| Name | Default Value | Allowable Values | Description |
-|------------------------|---------------|----------------------------------|---------------------------------------|
-| Username | | | The username for basic authentication |
-| Password | | | The password for basic authentication |
-| API Key | | | The API Key to use |
+
+## JavaControllerService
+
+### Description
+
+Allows specification of nars to be used within referenced processors.
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|------------------------------|---------------|------------------|-----------------------------------------------|
+| **Nar Directory** | | | Directory containing the nars to deploy |
+| **Nar Deployment Directory** | | | Directory in which nars will be deployed |
+| **Nar Document Directory** | | | Directory in which documents will be deployed |
## KubernetesControllerService
### Description
-Controller service that provides access to the Kubernetes API.
+Controller service that provides access to the Kubernetes API
### Properties
-In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional.
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
| Name | Default Value | Allowable Values | Description |
|-----------------------|---------------|------------------|----------------------------------------------------------------------------------------------|
| Namespace Filter | default | | Limit the output to pods in namespaces which match this regular expression |
| Pod Name Filter | | | If present, limit the output to pods the name of which matches this regular expression |
| Container Name Filter | | | If present, limit the output to containers the name of which matches this regular expression |
+
+
+## LinuxPowerManagerService
+
+### Description
+
+Linux power management service that enables control of power usage in the agent through Linux power management information. Use name "ThreadPoolManager" to throttle battery consumption
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|------------------------------|---------------------------------------|------------------|--------------------------------------------------------------------------------------------|
+| **Battery Capacity Path** | /sys/class/power_supply/BAT0/capacity | | Path to the battery level |
+| **Battery Status Path** | /sys/class/power_supply/BAT0/status | | Path to the battery status ( Discharging/Battery ) |
+| **Battery Status Discharge** | Discharging | | Keyword to identify if battery is discharging |
+| **Trigger Threshold** | 75 | | Battery threshold before which we consider a slow reduction. Should be a number from 1-100 |
+| **Low Battery Threshold** | 50 | | Battery threshold before which we will aggressively reduce. Should be a number from 1-100 |
+| **Wait Period** | 100 ms | | Decay between checking threshold and determining if a reduction is needed |
+
+
+## NetworkPrioritizerService
+
+### Description
+
+Enables selection of networking interfaces on defined parameters to include output and payload size
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|-----------------------|---------------|------------------|---------------------------------------------------------------------------------------|
+| Network Controllers | | | Comma separated list of network controllers in order of priority for this prioritizer |
+| **Max Throughput** | 1 MB | | Max throughput ( per second ) for these network controllers |
+| **Max Payload** | 1 GB | | Maximum payload for these network controllers |
+| **Verify Interfaces** | true | true
false | Verify that interfaces are operational |
+| Default Prioritizer | false | true
false | Sets this controller service as the default prioritizer for all comms |
+
+
+## ODBCService
+
+### Description
+
+Controller service that provides ODBC database connection
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|-----------------------|---------------|------------------|----------------------------|
+| **Connection String** | | | Database Connection String |
+
+
+## PersistentMapStateStorage
+
+### Description
+
+A persistable state storage service implemented by a locked std::unordered_map and persisted into a file
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|---------------------------|---------------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Always Persist | false | true
false | Persist every change instead of persisting it periodically. |
+| Auto Persistence Interval | 1 min | | The interval of the periodic task persisting all values. Only used if Always Persist is false. If set to 0 seconds, auto persistence will be disabled. |
+| **File** | | | Path to a file to store state |
+
+
+## RocksDbStateStorage
+
+### Description
+
+A state storage service implemented by RocksDB
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|---------------------------|---------------|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Always Persist | false | true
false | Persist every change instead of persisting it periodically. |
+| Auto Persistence Interval | 1 min | | The interval of the periodic task persisting all values. Only used if Always Persist is false. If set to 0 seconds, auto persistence will be disabled. |
+| **Directory** | | | Path to a directory for the database |
+
+
+## SmbConnectionControllerService
+
+### Description
+
+SMB Connection Controller Service
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|--------------|---------------|------------------|---------------------------------------------------------------------------------------------------------------------------------|
+| **Hostname** | | | The network host to which files should be written. |
+| **Share** | | | The network share to which files should be written. This is the "first folder" after the hostname: \\hostname\[share]\dir1\dir2 |
+| Domain | | | The domain used for authentication. Optional, in most cases username and password is sufficient. |
+| Username | | | The username used for authentication. If no username is set then anonymous authentication is attempted. |
+| Password | | | The password used for authentication. Required if Username is set. |
+
+
+## SSLContextService
+
+### Description
+
+Controller service that provides SSL/TLS capabilities to consuming interfaces
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|----------------------------|-----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------|
+| Certificate Store Location | LocalMachine | CurrentUser
LocalMachine
CurrentService
Services
Users
CurrentUserGroupPolicy
LocalMachineGroupPolicy
LocalMachineEnterprise | One of the Windows certificate store locations, eg. LocalMachine or CurrentUser (Windows only) |
+| Server Cert Store | ROOT | | The name of the certificate store which contains the server certificate (Windows only) |
+| Client Cert Store | MY | | The name of the certificate store which contains the client certificate (Windows only) |
+| Client Cert CN | | | The CN that the client certificate is required to match; default: use the first available client certificate in the store (Windows only) |
+| Client Cert Key Usage | Client Authentication | | Comma-separated list of enhanced key usage values that the client certificate is required to have (Windows only) |
+| Client Certificate | | | Client Certificate |
+| Private Key | | | Private Key file |
+| Passphrase | | | Client passphrase. Either a file or unencrypted text |
+| CA Certificate | | | CA certificate file |
+| Use System Cert Store | false | true
false | Whether to use the certificates in the OS's certificate store |
+
+
+## UpdatePolicyControllerService
+
+### Description
+
+UpdatePolicyControllerService allows a flow specific policy on allowing or disallowing updates. Since the flow dictates the purpose of a device it will also be used to dictate updates to specific components.
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|-----------------------|---------------|------------------|-----------------------------------------------------------------------|
+| Allow All Properties | false | true
false | Allows all properties, which are also not disallowed, to be updated |
+| Persist Updates | false | true
false | Property that dictates whether updates should persist after a restart |
+| Allowed Properties | | | Properties for which we will allow updates |
+| Disallowed Properties | | | Properties for which we will not allow updates |
+
+
+## VolatileMapStateStorage
+
+### Description
+
+A key-value service implemented by a locked std::unordered_map
+
+### Properties
+
+In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
+
+| Name | Default Value | Allowable Values | Description |
+|-----------------|---------------|------------------|--------------------------------|
+| Linked Services | | | Referenced Controller Services |
diff --git a/PROCESSORS.md b/PROCESSORS.md
index 6da9203df7..940f0163f9 100644
--- a/PROCESSORS.md
+++ b/PROCESSORS.md
@@ -15,91 +15,91 @@ limitations under the License.
## Table of Contents
-- [AppendHostInfo](#appendhostinfo)
-- [ApplyTemplate](#applytemplate)
-- [AttributesToJSON](#attributestojson)
-- [BinFiles](#binfiles)
-- [CapturePacket](#capturepacket)
-- [CaptureRTSPFrame](#capturertspframe)
-- [CollectKubernetesPodMetrics](#collectkubernetespodmetrics)
-- [CollectorInitiatedSubscription](#collectorinitiatedsubscription)
-- [CompressContent](#compresscontent)
-- [ConsumeJournald](#consumejournald)
-- [ConsumeKafka](#consumekafka)
-- [ConsumeMQTT](#consumemqtt)
-- [ConsumeWindowsEventLog](#consumewindowseventlog)
-- [DefragmentText](#defragmenttext)
-- [DeleteAzureBlobStorage](#deleteazureblobstorage)
-- [DeleteAzureDataLakeStorage](#deleteazuredatalakestorage)
-- [DeleteGCSObject](#deletegcsobject)
-- [DeleteS3Object](#deletes3object)
-- [ExecuteJavaProcessor](#executejavaprocessor)
-- [ExecuteProcess](#executeprocess)
-- [ExecutePythonProcessor](#executepythonprocessor)
-- [ExecuteScript](#executescript)
-- [ExecuteSQL](#executesql)
-- [ExtractText](#extracttext)
-- [FetchAzureBlobStorage](#fetchazureblobstorage)
-- [FetchAzureDataLakeStorage](#fetchazuredatalakestorage)
-- [FetchFile](#fetchfile)
-- [FetchGCSObject](#fetchgcsobject)
-- [FetchOPCProcessor](#fetchopcprocessor)
-- [FetchS3Object](#fetchs3object)
-- [FetchSFTP](#fetchsftp)
-- [FetchSmb](#fetchsmb)
-- [FocusArchiveEntry](#focusarchiveentry)
-- [GenerateFlowFile](#generateflowfile)
-- [GetEnvironmentalSensors](#getenvironmentalsensors)
-- [GetFile](#getfile)
-- [GetGPS](#getgps)
-- [GetMovementSensors](#getmovementsensors)
-- [GetTCP](#gettcp)
-- [GetUSBCamera](#getusbcamera)
-- [HashContent](#hashcontent)
-- [InvokeHTTP](#invokehttp)
-- [ListAzureBlobStorage](#listazureblobstorage)
-- [ListAzureDataLakeStorage](#listazuredatalakestorage)
-- [ListenHTTP](#listenhttp)
-- [ListenSyslog](#listensyslog)
-- [ListenTCP](#listentcp)
-- [ListenUDP](#listenudp)
-- [ListFile](#listfile)
-- [ListGCSBucket](#listgcsbucket)
-- [ListS3](#lists3)
-- [ListSFTP](#listsftp)
-- [ListSmb](#listsmb)
-- [LogAttribute](#logattribute)
-- [ManipulateArchive](#manipulatearchive)
-- [MergeContent](#mergecontent)
-- [MotionDetector](#motiondetector)
-- [PerformanceDataMonitor](#performancedatamonitor)
-- [PostElasticsearch](#postelasticsearch)
-- [ProcFsMonitor](#procfsmonitor)
-- [PublishKafka](#publishkafka)
-- [PublishMQTT](#publishmqtt)
-- [PutAzureBlobStorage](#putazureblobstorage)
-- [PutAzureDataLakeStorage](#putazuredatalakestorage)
-- [PutFile](#putfile)
-- [PutGCSObject](#putgcsobject)
-- [PutOPCProcessor](#putopcprocessor)
-- [PutS3Object](#puts3object)
-- [PutSFTP](#putsftp)
-- [PutSmb](#putsmb)
-- [PutSplunkHTTP](#putsplunkhttp)
-- [PutSQL](#putsql)
-- [PutTCP](#puttcp)
-- [PutUDP](#putudp)
-- [QueryDatabaseTable](#querydatabasetable)
-- [QuerySplunkIndexingStatus](#querysplunkindexingstatus)
-- [ReplaceText](#replacetext)
-- [RetryFlowFile](#retryflowfile)
-- [RouteOnAttribute](#routeonattribute)
-- [RouteText](#routetext)
-- [SourceInitiatedSubscriptionListener](#sourceinitiatedsubscriptionlistener)
-- [TailEventLog](#taileventlog)
-- [TailFile](#tailfile)
-- [UnfocusArchiveEntry](#unfocusarchiveentry)
-- [UpdateAttribute](#updateattribute)
+- [AppendHostInfo](#AppendHostInfo)
+- [ApplyTemplate](#ApplyTemplate)
+- [AttributesToJSON](#AttributesToJSON)
+- [BinFiles](#BinFiles)
+- [CapturePacket](#CapturePacket)
+- [CaptureRTSPFrame](#CaptureRTSPFrame)
+- [CollectKubernetesPodMetrics](#CollectKubernetesPodMetrics)
+- [CollectorInitiatedSubscription](#CollectorInitiatedSubscription)
+- [CompressContent](#CompressContent)
+- [ConsumeJournald](#ConsumeJournald)
+- [ConsumeKafka](#ConsumeKafka)
+- [ConsumeMQTT](#ConsumeMQTT)
+- [ConsumeWindowsEventLog](#ConsumeWindowsEventLog)
+- [DefragmentText](#DefragmentText)
+- [DeleteAzureBlobStorage](#DeleteAzureBlobStorage)
+- [DeleteAzureDataLakeStorage](#DeleteAzureDataLakeStorage)
+- [DeleteGCSObject](#DeleteGCSObject)
+- [DeleteS3Object](#DeleteS3Object)
+- [ExecuteJavaProcessor](#ExecuteJavaProcessor)
+- [ExecuteProcess](#ExecuteProcess)
+- [ExecutePythonProcessor](#ExecutePythonProcessor)
+- [ExecuteScript](#ExecuteScript)
+- [ExecuteSQL](#ExecuteSQL)
+- [ExtractText](#ExtractText)
+- [FetchAzureBlobStorage](#FetchAzureBlobStorage)
+- [FetchAzureDataLakeStorage](#FetchAzureDataLakeStorage)
+- [FetchFile](#FetchFile)
+- [FetchGCSObject](#FetchGCSObject)
+- [FetchOPCProcessor](#FetchOPCProcessor)
+- [FetchS3Object](#FetchS3Object)
+- [FetchSFTP](#FetchSFTP)
+- [FetchSmb](#FetchSmb)
+- [FocusArchiveEntry](#FocusArchiveEntry)
+- [GenerateFlowFile](#GenerateFlowFile)
+- [GetEnvironmentalSensors](#GetEnvironmentalSensors)
+- [GetFile](#GetFile)
+- [GetGPS](#GetGPS)
+- [GetMovementSensors](#GetMovementSensors)
+- [GetTCP](#GetTCP)
+- [GetUSBCamera](#GetUSBCamera)
+- [HashContent](#HashContent)
+- [InvokeHTTP](#InvokeHTTP)
+- [ListAzureBlobStorage](#ListAzureBlobStorage)
+- [ListAzureDataLakeStorage](#ListAzureDataLakeStorage)
+- [ListenHTTP](#ListenHTTP)
+- [ListenSyslog](#ListenSyslog)
+- [ListenTCP](#ListenTCP)
+- [ListenUDP](#ListenUDP)
+- [ListFile](#ListFile)
+- [ListGCSBucket](#ListGCSBucket)
+- [ListS3](#ListS3)
+- [ListSFTP](#ListSFTP)
+- [ListSmb](#ListSmb)
+- [LogAttribute](#LogAttribute)
+- [ManipulateArchive](#ManipulateArchive)
+- [MergeContent](#MergeContent)
+- [MotionDetector](#MotionDetector)
+- [PerformanceDataMonitor](#PerformanceDataMonitor)
+- [PostElasticsearch](#PostElasticsearch)
+- [ProcFsMonitor](#ProcFsMonitor)
+- [PublishKafka](#PublishKafka)
+- [PublishMQTT](#PublishMQTT)
+- [PutAzureBlobStorage](#PutAzureBlobStorage)
+- [PutAzureDataLakeStorage](#PutAzureDataLakeStorage)
+- [PutFile](#PutFile)
+- [PutGCSObject](#PutGCSObject)
+- [PutOPCProcessor](#PutOPCProcessor)
+- [PutS3Object](#PutS3Object)
+- [PutSFTP](#PutSFTP)
+- [PutSmb](#PutSmb)
+- [PutSplunkHTTP](#PutSplunkHTTP)
+- [PutSQL](#PutSQL)
+- [PutTCP](#PutTCP)
+- [PutUDP](#PutUDP)
+- [QueryDatabaseTable](#QueryDatabaseTable)
+- [QuerySplunkIndexingStatus](#QuerySplunkIndexingStatus)
+- [ReplaceText](#ReplaceText)
+- [RetryFlowFile](#RetryFlowFile)
+- [RouteOnAttribute](#RouteOnAttribute)
+- [RouteText](#RouteText)
+- [SourceInitiatedSubscriptionListener](#SourceInitiatedSubscriptionListener)
+- [TailEventLog](#TailEventLog)
+- [TailFile](#TailFile)
+- [UnfocusArchiveEntry](#UnfocusArchiveEntry)
+- [UpdateAttribute](#UpdateAttribute)
## AppendHostInfo
@@ -860,14 +860,14 @@ Reads the contents of a file from disk and streams it into the contents of an in
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
-| Name | Default Value | Allowable Values | Description |
-|--------------------------------------|---------------|-----------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| File to Fetch | | | The fully-qualified filename of the file to fetch from the file system. If not defined the default ${absolute.path}/${filename} path is used.
**Supports Expression Language: true** |
-| **Completion Strategy** | None | None
Move File
Delete File | Specifies what to do with the original file on the file system once it has been pulled into MiNiFi |
-| Move Destination Directory | | | The directory to move the original file to once it has been fetched from the file system. This property is ignored unless the Completion Strategy is set to "Move File". If the directory does not exist, it will be created.
**Supports Expression Language: true** |
-| **Move Conflict Strategy** | Rename | Rename
Replace File
Keep Existing
Fail | If Completion Strategy is set to Move File and a file already exists in the destination directory with the same name, this property specifies how that naming conflict should be resolved |
-| **Log level when file not found** | ERROR | TRACE
DEBUG
INFO
WARN
ERROR
OFF | Log level to use in case the file does not exist when the processor is triggered |
-| **Log level when permission denied** | ERROR | TRACE
DEBUG
INFO
WARN
ERROR
OFF | Log level to use in case agent does not have sufficient permissions to read the file |
+| Name | Default Value | Allowable Values | Description |
+|--------------------------------------|---------------|------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| File to Fetch | | | The fully-qualified filename of the file to fetch from the file system. If not defined the default ${absolute.path}/${filename} path is used.
**Supports Expression Language: true** |
+| **Completion Strategy** | None | None
Move File
Delete File | Specifies what to do with the original file on the file system once it has been pulled into MiNiFi |
+| Move Destination Directory | | | The directory to move the original file to once it has been fetched from the file system. This property is ignored unless the Completion Strategy is set to "Move File". If the directory does not exist, it will be created.
**Supports Expression Language: true** |
+| **Move Conflict Strategy** | Rename | Rename
Replace File
Keep Existing
Fail | If Completion Strategy is set to Move File and a file already exists in the destination directory with the same name, this property specifies how that naming conflict should be resolved |
+| **Log level when file not found** | ERROR | TRACE
DEBUG
INFO
WARN
ERROR
CRITICAL
OFF | Log level to use in case the file does not exist when the processor is triggered |
+| **Log level when permission denied** | ERROR | TRACE
DEBUG
INFO
WARN
ERROR
CRITICAL
OFF | Log level to use in case agent does not have sufficient permissions to read the file |
### Relationships
@@ -1042,7 +1042,7 @@ In the list below, the names of required properties appear in bold. Any other pr
| Name | Default Value | Allowable Values | Description |
|---------------------------------------|---------------|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| **SMB Connection Controller Service** | | | Specifies the SMB connection controller service to use for connecting to the SMB server. |
+| **SMB Connection Controller Service** | | | Specifies the SMB connection controller service to use for connecting to the SMB server. If the SMB share is auto-mounted to a drive letter, its recommended to use FetchFile instead. |
| Input Directory | | | The full path of the file to be retrieved from the remote server. If left empty, the path and filename attributes of the incoming flow file will be used.
**Supports Expression Language: true** |
### Relationships
@@ -1732,18 +1732,18 @@ Retrieves a listing of files from an SMB share. For each file that is listed, cr
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
-| Name | Default Value | Allowable Values | Description |
-|---------------------------------------|---------------|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| **SMB Connection Controller Service** | | | Specifies the SMB connection controller service to use for connecting to the SMB server. |
-| Input Directory | | | The input directory to list the contents of |
-| **Recurse Subdirectories** | true | | Indicates whether to list files from subdirectories of the directory |
-| File Filter | | | Only files whose names match the given regular expression will be picked up |
-| Path Filter | | | When Recurse Subdirectories is true, then only subdirectories whose path matches the given regular expression will be scanned |
-| **Minimum File Age** | 5 sec | | The minimum age that a file must be in order to be pulled; any file younger than this amount of time (according to last modification date) will be ignored |
-| Maximum File Age | | | The maximum age that a file must be in order to be pulled; any file older than this amount of time (according to last modification date) will be ignored |
-| Minimum File Size | | | The minimum size that a file must be in order to be pulled |
-| Maximum File Size | | | The maximum size that a file can be in order to be pulled |
-| **Ignore Hidden Files** | true | | Indicates whether or not hidden files should be ignored |
+| Name | Default Value | Allowable Values | Description |
+|---------------------------------------|---------------|------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **SMB Connection Controller Service** | | | Specifies the SMB connection controller service to use for connecting to the SMB server. If the SMB share is auto-mounted to a drive letter, its recommended to use ListFile instead. |
+| Input Directory | | | The input directory to list the contents of |
+| **Recurse Subdirectories** | true | true
false | Indicates whether to list files from subdirectories of the directory |
+| File Filter | | | Only files whose names match the given regular expression will be picked up |
+| Path Filter | | | When Recurse Subdirectories is true, then only subdirectories whose path matches the given regular expression will be scanned |
+| **Minimum File Age** | 5 sec | | The minimum age that a file must be in order to be pulled; any file younger than this amount of time (according to last modification date) will be ignored |
+| Maximum File Age | | | The maximum age that a file must be in order to be pulled; any file older than this amount of time (according to last modification date) will be ignored |
+| Minimum File Size | | | The minimum size that a file must be in order to be pulled |
+| Maximum File Size | | | The maximum size that a file can be in order to be pulled |
+| **Ignore Hidden Files** | true | true
false | Indicates whether or not hidden files should be ignored |
### Relationships
@@ -1753,15 +1753,15 @@ In the list below, the names of required properties appear in bold. Any other pr
### Output Attributes
-| Attribute | Relationship | Description |
-|------------------|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
-| filename | success | The name of the file that was read from filesystem. |
-| path | success | The path is set to the relative path of the file's directory on the remote filesystem compared to the Share root directory. For example, for a given remote location smb://HOSTNAME:PORT/SHARE/DIRECTORY, and a file is being listed from smb://HOSTNAME:PORT/SHARE/DIRECTORY/sub/folder/file then the path attribute will be set to "sub/folder". |
-| serviceLocation | success | The SMB URL of the share. |
-| lastModifiedTime | success | The timestamp of when the file's content changed in the filesystem as 'yyyy-MM-dd'T'HH:mm:ss'. |
-| creationTime | success | The timestamp of when the file was created in the filesystem as 'yyyy-MM-dd'T'HH:mm:ss'. |
-| lastAccessTime | success | The timestamp of when the file was accessed in the filesystem as 'yyyy-MM-dd'T'HH:mm:ss'. |
-| size | success | The size of the file in bytes. |
+| Attribute | Relationship | Description |
+|------------------|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| filename | success | The name of the file that was read from filesystem. |
+| path | success | The path is set to the relative path of the file's directory on the remote filesystem compared to the Share root directory. For example, for a given remote location smb://HOSTNAME:PORT/SHARE/DIRECTORY, and a file is being listed from smb://HOSTNAME:PORT/SHARE/DIRECTORY/sub/folder/file then the path attribute will be set to "DIRECTORY/sub/folder". |
+| serviceLocation | success | The SMB URL of the share. |
+| lastModifiedTime | success | The timestamp of when the file's content changed in the filesystem as 'yyyy-MM-dd'T'HH:mm:ss'. |
+| creationTime | success | The timestamp of when the file was created in the filesystem as 'yyyy-MM-dd'T'HH:mm:ss'. |
+| lastAccessTime | success | The timestamp of when the file was accessed in the filesystem as 'yyyy-MM-dd'T'HH:mm:ss'. |
+| size | success | The size of the file in bytes. |
## LogAttribute
@@ -2227,7 +2227,7 @@ In the list below, the names of required properties appear in bold. Any other pr
| Permissions | | | Sets the permissions on the output file to the value of this attribute. Must be an octal number (e.g. 644 or 0755). Not supported on Windows systems. |
| Directory Permissions | | | Sets the permissions on the directories being created if 'Create Missing Directories' property is set. Must be an octal number (e.g. 644 or 0755). Not supported on Windows systems. |
| Directory | . | | The output directory to which to put files
**Supports Expression Language: true** |
-| Conflict Resolution Strategy | fail | fail
ignore
replace | Indicates what should happen when a file with the same name already exists in the output directory |
+| Conflict Resolution Strategy | fail | fail
replace
ignore | Indicates what should happen when a file with the same name already exists in the output directory |
| **Create Missing Directories** | true | | If true, then missing destination directories will be created. If false, flowfiles are penalized and sent to failure. |
| Maximum File Count | -1 | | Specifies the maximum number of files that can exist in the output directory |
@@ -2445,12 +2445,12 @@ Writes the contents of a FlowFile to an smb network location
In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.
-| Name | Default Value | Allowable Values | Description |
-|---------------------------------------|---------------|-----------------------------|-----------------------------------------------------------------------------------------------------------------------|
-| **SMB Connection Controller Service** | | | Specifies the SMB connection controller service to use for connecting to the SMB server. |
-| Directory | . | | The output directory to which to put files
**Supports Expression Language: true** |
-| Conflict Resolution Strategy | fail | fail
replace
ignore | Indicates what should happen when a file with the same name already exists in the output directory |
-| **Create Missing Directories** | true | | If true, then missing destination directories will be created. If false, flowfiles are penalized and sent to failure. |
+| Name | Default Value | Allowable Values | Description |
+|---------------------------------------|---------------|-----------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| **SMB Connection Controller Service** | | | Specifies the SMB connection controller service to use for connecting to the SMB server. If the SMB share is auto-mounted to a drive letter, its recommended to use PutFile instead. |
+| Directory | . | | The output directory to which to put files
**Supports Expression Language: true** |
+| Conflict Resolution Strategy | fail | fail
replace
ignore | Indicates what should happen when a file with the same name already exists in the output directory |
+| **Create Missing Directories** | true | | If true, then missing destination directories will be created. If false, flowfiles are penalized and sent to failure. |
### Relationships
diff --git a/extensions/aws/controllerservices/AWSCredentialsService.h b/extensions/aws/controllerservices/AWSCredentialsService.h
index 46049572f7..5b2beaf224 100644
--- a/extensions/aws/controllerservices/AWSCredentialsService.h
+++ b/extensions/aws/controllerservices/AWSCredentialsService.h
@@ -47,7 +47,9 @@ class AWSCredentialsService : public core::controller::ControllerService {
: ControllerService(name) {
}
- EXTENSIONAPI static constexpr const char* Description = "AWS Credentials Management Service";
+ EXTENSIONAPI static constexpr const char* Description = "Manages the Amazon Web Services (AWS) credentials for an AWS account. This allows for multiple "
+ "AWS credential services to be defined. This also allows for multiple AWS related processors to reference this single "
+ "controller service so that AWS credentials can be managed and controlled in a central location.";
EXTENSIONAPI static constexpr auto UseDefaultCredentials = core::PropertyDefinitionBuilder<>::createProperty("Use Default Credentials")
.withDescription("If true, uses the Default Credential chain, including EC2 instance profiles or roles, environment variables, default user credentials, etc.")
diff --git a/extensions/azure/controllerservices/AzureStorageCredentialsService.h b/extensions/azure/controllerservices/AzureStorageCredentialsService.h
index 968be0aa9c..4ab86fab19 100644
--- a/extensions/azure/controllerservices/AzureStorageCredentialsService.h
+++ b/extensions/azure/controllerservices/AzureStorageCredentialsService.h
@@ -34,7 +34,8 @@ namespace org::apache::nifi::minifi::azure::controllers {
class AzureStorageCredentialsService : public core::controller::ControllerService {
public:
- EXTENSIONAPI static constexpr const char* Description = "Azure Storage Credentials Management Service";
+ EXTENSIONAPI static constexpr const char* Description = "Manages the credentials for an Azure Storage account. This allows for multiple Azure Storage related processors to reference this single "
+ "controller service so that Azure storage credentials can be managed and controlled in a central location.";
EXTENSIONAPI static constexpr auto StorageAccountName = core::PropertyDefinitionBuilder<>::createProperty("Storage Account Name")
.withDescription("The storage account name.")
diff --git a/extensions/gcp/controllerservices/GCPCredentialsControllerService.h b/extensions/gcp/controllerservices/GCPCredentialsControllerService.h
index a4f217b313..8388415258 100644
--- a/extensions/gcp/controllerservices/GCPCredentialsControllerService.h
+++ b/extensions/gcp/controllerservices/GCPCredentialsControllerService.h
@@ -64,7 +64,8 @@ namespace org::apache::nifi::minifi::extensions::gcp {
class GCPCredentialsControllerService : public core::controller::ControllerService {
public:
- EXTENSIONAPI static constexpr const char* Description = "Google Cloud Platform Credentials Controller Service";
+ EXTENSIONAPI static constexpr const char* Description = "Manages the credentials for Google Cloud Platform. This allows for multiple Google Cloud Platform related processors "
+ "to reference this single controller service so that Google Cloud Platform credentials can be managed and controlled in a central location.";
EXTENSIONAPI static constexpr auto CredentialsLoc = core::PropertyDefinitionBuilder()>::createProperty("Credentials Location")
.withDescription("The location of the credentials.")
diff --git a/libminifi/include/controllers/SSLContextService.h b/libminifi/include/controllers/SSLContextService.h
index 1c2c74a412..c3523cd8d6 100644
--- a/libminifi/include/controllers/SSLContextService.h
+++ b/libminifi/include/controllers/SSLContextService.h
@@ -177,27 +177,27 @@ class SSLContextService : public core::controller::ControllerService {
#ifdef WIN32
MINIFIAPI static constexpr auto CertStoreLocation = core::PropertyDefinitionBuilder::createProperty("Certificate Store Location")
- .withDescription("One of the Windows certificate store locations, eg. LocalMachine or CurrentUser")
+ .withDescription("One of the Windows certificate store locations, eg. LocalMachine or CurrentUser (Windows only)")
.withAllowedValues(utils::tls::WindowsCertStoreLocation::LOCATION_NAMES)
.isRequired(false)
.withDefaultValue(utils::tls::WindowsCertStoreLocation::DEFAULT_LOCATION)
.build();
MINIFIAPI static constexpr auto ServerCertStore = core::PropertyDefinitionBuilder<>::createProperty("Server Cert Store")
- .withDescription("The name of the certificate store which contains the server certificate")
+ .withDescription("The name of the certificate store which contains the server certificate (Windows only)")
.isRequired(false)
.withDefaultValue("ROOT")
.build();
MINIFIAPI static constexpr auto ClientCertStore = core::PropertyDefinitionBuilder<>::createProperty("Client Cert Store")
- .withDescription("The name of the certificate store which contains the client certificate")
+ .withDescription("The name of the certificate store which contains the client certificate (Windows only)")
.isRequired(false)
.withDefaultValue("MY")
.build();
MINIFIAPI static constexpr auto ClientCertCN = core::PropertyDefinitionBuilder<>::createProperty("Client Cert CN")
- .withDescription("The CN that the client certificate is required to match; default: use the first available client certificate in the store")
+ .withDescription("The CN that the client certificate is required to match; default: use the first available client certificate in the store (Windows only)")
.isRequired(false)
.build();
MINIFIAPI static constexpr auto ClientCertKeyUsage = core::PropertyDefinitionBuilder<>::createProperty("Client Cert Key Usage")
- .withDescription("Comma-separated list of enhanced key usage values that the client certificate is required to have")
+ .withDescription("Comma-separated list of enhanced key usage values that the client certificate is required to have (Windows only)")
.isRequired(false)
.withDefaultValue("Client Authentication")
.build();
diff --git a/libminifi/include/core/PropertyDefinition.h b/libminifi/include/core/PropertyDefinition.h
index 1af98de75d..12caa61e81 100644
--- a/libminifi/include/core/PropertyDefinition.h
+++ b/libminifi/include/core/PropertyDefinition.h
@@ -39,7 +39,7 @@ struct PropertyDefinition {
std::array dependent_properties;
std::array, NumExclusiveOfProperties> exclusive_of_properties;
std::optional default_value;
- gsl::not_null type = gsl::make_not_null(&StandardPropertyTypes::VALID_TYPE);
+ gsl::not_null type{gsl::make_not_null(&StandardPropertyTypes::VALID_TYPE)};
bool supports_expression_language = false;
};
@@ -53,7 +53,7 @@ struct PropertyReference {
std::span dependent_properties;
std::span> exclusive_of_properties;
std::optional default_value;
- gsl::not_null type = gsl::make_not_null(&StandardPropertyTypes::VALID_TYPE);
+ gsl::not_null type{gsl::make_not_null(&StandardPropertyTypes::VALID_TYPE)};
bool supports_expression_language = false;
constexpr PropertyReference() = default;
diff --git a/libminifi/include/core/PropertyType.h b/libminifi/include/core/PropertyType.h
index 1a75132e99..880e35fdf8 100644
--- a/libminifi/include/core/PropertyType.h
+++ b/libminifi/include/core/PropertyType.h
@@ -335,21 +335,21 @@ inline constexpr auto LISTEN_PORT_TYPE = ListenPortValidator{};
inline gsl::not_null getValidator(const std::shared_ptr& input) {
if (std::dynamic_pointer_cast(input) != nullptr) {
- return gsl::make_not_null(&DATA_SIZE_TYPE);
+ return gsl::make_not_null(&DATA_SIZE_TYPE);
} else if (std::dynamic_pointer_cast(input) != nullptr) {
- return gsl::make_not_null(&TIME_PERIOD_TYPE);
+ return gsl::make_not_null(&TIME_PERIOD_TYPE);
} else if (std::dynamic_pointer_cast(input) != nullptr) {
- return gsl::make_not_null(&BOOLEAN_TYPE);
+ return gsl::make_not_null(&BOOLEAN_TYPE);
} else if (std::dynamic_pointer_cast(input) != nullptr) {
- return gsl::make_not_null(&INTEGER_TYPE);
+ return gsl::make_not_null(&INTEGER_TYPE);
} else if (std::dynamic_pointer_cast(input) != nullptr) {
- return gsl::make_not_null(&UNSIGNED_INT_TYPE);;
+ return gsl::make_not_null(&UNSIGNED_INT_TYPE);;
} else if (std::dynamic_pointer_cast(input) != nullptr) {
- return gsl::make_not_null(&LONG_TYPE);
+ return gsl::make_not_null(&LONG_TYPE);
} else if (std::dynamic_pointer_cast(input) != nullptr) {
- return gsl::make_not_null(&UNSIGNED_LONG_TYPE);
+ return gsl::make_not_null(&UNSIGNED_LONG_TYPE);
} else {
- return gsl::make_not_null(&VALID_TYPE);
+ return gsl::make_not_null(&VALID_TYPE);
}
}
} // namespace StandardPropertyTypes
diff --git a/minifi_main/AgentDocs.cpp b/minifi_main/AgentDocs.cpp
index bd1c6a8d9b..3257d997c6 100644
--- a/minifi_main/AgentDocs.cpp
+++ b/minifi_main/AgentDocs.cpp
@@ -17,16 +17,17 @@
#include "AgentDocs.h"
-#include