[
https://issues.apache.org/jira/browse/NIFI-8278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17807420#comment-17807420
]
Bryan Bende commented on NIFI-8278:
-----------------------------------
After this commit I noticed the following in the logs during start up for
most/all of the Azure processors...
{code:java}
WARN [main] o.apache.nifi.documentation.DocGenerator Documentation generation
failed: Component Class [class
org.apache.nifi.processors.azure.storage.PutAzureBlobStorage_v12]
java.io.IOException: Unable to create XMLOutputStream
at
org.apache.nifi.documentation.html.HtmlDocumentationWriter.write(HtmlDocumentationWriter.java:103)
at
org.apache.nifi.documentation.DocGenerator.document(DocGenerator.java:142)
at
org.apache.nifi.documentation.DocGenerator.documentConfigurableComponent(DocGenerator.java:107)
at org.apache.nifi.documentation.DocGenerator.generate(DocGenerator.java:64)
at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:745)
at org.apache.nifi.NiFi.<init>(NiFi.java:172)
at org.apache.nifi.NiFi.<init>(NiFi.java:83)
at org.apache.nifi.NiFi.main(NiFi.java:332)
Caused by: javax.xml.stream.XMLStreamException: No property was found matching
the name 'credentials-type'
at
org.apache.nifi.documentation.html.HtmlDocumentationWriter.writeProperties(HtmlDocumentationWriter.java:744)
at
org.apache.nifi.documentation.html.HtmlDocumentationWriter.writeBody(HtmlDocumentationWriter.java:167)
at
org.apache.nifi.documentation.html.HtmlDocumentationWriter.write(HtmlDocumentationWriter.java:99)
... 7 common frames omitted {code}
I'm not totally sure, but I think the problem might be that the
PROXY_CONFIGURATION_SERVICE is defined as a property in the processors with a
dependsOn the credentials-type which is no longer a property of the processor.
The PROXY_CONFIGURATION_SERVICE is also a property inside the credentials
controller service, so maybe it doesn't belong on the processors anymore?
[~turcsanyip] [~exceptionfactory] ?
> Add Credentials Type property to ADLSCredentialsControllerService
> -----------------------------------------------------------------
>
> Key: NIFI-8278
> URL: https://issues.apache.org/jira/browse/NIFI-8278
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Peter Turcsanyi
> Assignee: Peter Turcsanyi
> Priority: Major
> Fix For: 2.0.0-M2
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {{ADLSCredentialsControllerService}} supports different authentication modes:
> Account Key, SAS Token, Managed Identity, Service Principal.
> All these modes have their own properties and the configuration is not really
> straightforward.
> Add new {{Authentication Type}} property with the enumerated values of
> authentication types. Use {{dependsOn()}} for the other properties in order
> to show only the relevant ones. Also support the current logic with default
> type AUTO for backward compatibility.
> Update:
> Add the feature only in NiFi 2.0. In that case, no AUTO option is needed for
> supporting the legacy configuration. The old-style config can be migrated
> using the new property migration feature (NIFI-12139).
> Use {{Credentials Type}} for the property name (common property with the
> existing {{AzureStorageCredentialsControllerService_v12}}).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)