phrocker commented on a change in pull request #460: MINIFICPP-479: Add
processor property descriptor updates. WIP
URL: https://github.com/apache/nifi-minifi-cpp/pull/460#discussion_r241749802
##########
File path: extensions/civetweb/processors/ListenHTTP.cpp
##########
@@ -40,12 +40,12 @@ core::Property ListenHTTP::SSLCertificate("SSL
Certificate", "File containing PE
core::Property ListenHTTP::SSLCertificateAuthority("SSL Certificate
Authority", "File containing trusted PEM-formatted certificates", "");
core::Property ListenHTTP::SSLVerifyPeer(
- core::PropertyBuilder::createProperty("SSL Verify
Peer")->withDescription("Whether or not to verify the client's certificate
(yes/no)")->isRequired(false)->withAllowedValue<std::string>("yes")
- ->withAllowedValue("no")->withDefaultValue("no")->build());
+ core::PropertyBuilder::createProperty("SSL Verify
Peer")->withDescription("Whether or not to verify the client's certificate
(yes/no)")->isRequired(false)->withAllowableValue<std::string>("yes")
+ ->withAllowableValue("no")->withDefaultValue("no")->build());
core::Property ListenHTTP::SSLMinimumVersion(
core::PropertyBuilder::createProperty("SSL Minimum
Version")->withDescription("Minimum TLS/SSL version allowed (SSL2, SSL3,
TLS1.0, TLS1.1, TLS1.2)")->isRequired(false)
-
->withAllowedValue<std::string>("SSL2")->withAllowedValue("SSL3")->withAllowedValue("TLS1.0")->withAllowedValue("TLS1.1")->withAllowedValue("TLS1.2")->withDefaultValue("SSL2")->build());
+
->withAllowableValue<std::string>("SSL2")->withAllowableValue("SSL3")->withAllowableValue("TLS1.0")->withAllowableValue("TLS1.1")->withAllowableValue("TLS1.2")->withDefaultValue("SSL2")->build());
Review comment:
I left it there as an example that both ways are allowed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services