[
https://issues.apache.org/jira/browse/MINIFICPP-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614218#comment-16614218
]
ASF GitHub Bot commented on MINIFICPP-602:
------------------------------------------
Github user apiri commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/395#discussion_r217225710
--- Diff: libminifi/include/RemoteProcessorGroupPort.h ---
@@ -137,16 +141,27 @@ class RemoteProcessorGroupPort : public
core::Processor {
std::string getInterface() {
return local_network_interface_;
}
- // setURL
+ /**
+ * Sets the url. Supports a CSV
+ */
void setURL(std::string val) {
- url_ = val;
- utils::parse_url(&url_, &host_, &port_, &protocol_);
- if (port_ == -1) {
- if (protocol_.find("https") != std::string::npos) {
- port_ = 443;
- } else if (protocol_.find("http") != std::string::npos) {
- port_ = 80;
+ auto urls = utils::StringUtils::split(val, ",");
+ //url_ = val;
--- End diff --
should get removed
> Support a CSV within RPG URL
> ----------------------------
>
> Key: MINIFICPP-602
> URL: https://issues.apache.org/jira/browse/MINIFICPP-602
> Project: NiFi MiNiFi C++
> Issue Type: Improvement
> Reporter: Mr TheSegfault
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)