This is an automated email from the ASF dual-hosted git repository. phrocker pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
The following commit(s) were added to refs/heads/master by this push: new a88fc76 MINIFICPP-913: Add configuration item a88fc76 is described below commit a88fc76ccd2681fa44836d4c8210bc0fa8a22bab Author: Marc <phroc...@apache.org> AuthorDate: Sat Jun 8 21:39:36 2019 -0400 MINIFICPP-913: Add configuration item This closes #588. Update documentation to clarify that we should have nifi.c2.flow.base.url Signed-off-by: Marc Parisi <phroc...@apache.org> --- C2.md | 1 + conf/minifi.properties | 3 +++ 2 files changed, 4 insertions(+) diff --git a/C2.md b/C2.md index 0fcf1aa..c1b411e 100644 --- a/C2.md +++ b/C2.md @@ -73,6 +73,7 @@ an alternate key, but you are encouraged to switch your configuration options as # specify the rest URIs if using RESTSender nifi.c2.rest.url=http://localhost:10080/minifi-c2-api/c2-protocol/heartbeat nifi.c2.rest.url.ack=http://localhost:10080/minifi-c2-api/c2-protocol/acknowledge + nifi.c2.flow.base.url=http://localhost:10080/minifi-c2-api/c2-protocol/ # c2 agent identifier nifi.c2.agent.identifier=<your identifier> diff --git a/conf/minifi.properties b/conf/minifi.properties index 6c4ccd5..46af4f4 100644 --- a/conf/minifi.properties +++ b/conf/minifi.properties @@ -46,6 +46,9 @@ nifi.database.content.repository.directory.default=${MINIFI_HOME}/content_reposi #nifi.c2.agent.protocol.class=CoapProtocol #nifi.c2.agent.coap.host= #nifi.c2.agent.coap.port= +## base URL of the c2 server, +## very likely the same base url of rest urls +#nifi.c2.flow.base.url= #nifi.c2.rest.url= #nifi.c2.rest.url.ack= #nifi.c2.root.classes=DeviceInfoNode,AgentInformation,FlowInformation