I follow the steps.
Downloaded MiNiFi c2 server in Windows where my NiFi is running.
Created a template using NiFi UI with name given
examplename iot-minifi-raspberry-agent.v1
Canged MiNiFi c2 property port - 8080 (U was also getting port 10080 is already in use)
Changed minifi-c2-context.xml property
<constructor-arg> <value>http://localhost:9090/nifi/</value> </constructor-arg> in this url my nifi is working,so this only changed
My MiNiFi is running in different Windows machine. There I changed bootstrap property like below
---------------------------------------*****-------------- # Hostname on which to pull configurations from nifi.minifi.notifier.ingestors.pull.http.hostname=localhost # Port on which to pull configurations from nifi.minifi.notifier.ingestors.pull.http.port=8080 # Path to pull configurations from minifi.notifier.ingestors.pull.http.path=/c2/config # Query string to pull configurations with nifi.minifi.notifier.ingestors.pull.http.query=class=iot-minifi-raspberry-agent ----// name of my template ?? should i use version also like .v1 # Period on which to pull configurations from, defaults to 5 minutes if commented out nifi.minifi.notifier.ingestors.pull.http.period.ms=60000 -----------------------------------*****-------------------
Now all changes are done I check whether my changes are done correctly by hitting below URL
http://localhost:8080/c2/config?class=iot-minifi-raspberry-agent.v1&version=1
I can see yml is showing but that is already present in MiNiFi
c2 -->files folder
What am I doing wrong or where is my understanding incorrect?
Any help would be really appreciated. Thanks in advance