arpadboda commented on a change in pull request #528: MINIFICPP-793: Allow SSL 
Context to be defined from properties
URL: https://github.com/apache/nifi-minifi-cpp/pull/528#discussion_r273383410
 
 

 ##########
 File path: extensions/http-curl/tests/C2VerifyHeartbeatAndStop.cpp
 ##########
 @@ -165,9 +165,15 @@ class VerifyC2Heartbeat : public CoapIntegrationBase {
     configuration->set("nifi.c2.agent.protocol.class", "RESTSender");
     configuration->set("nifi.c2.enable", "true");
     configuration->set("nifi.c2.agent.class", "test");
-    configuration->set("nifi.c2.rest.url", 
"http://localhost:8888/api/heartbeat";);
+    if (!key_dir.empty()) {
+      configuration->set("nifi.c2.rest.url", 
"https://localhost:8888/api/heartbeat";);
 
 Review comment:
   Took me a while to spot the difference here :)

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to