MINIFI-65 Providing make targets to generate a source and binary assembly. 
Removing target from version control.


Project: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/commit/a376ed79
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/a376ed79
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/a376ed79

Branch: refs/heads/master
Commit: a376ed795eb40b220955b488842fc8cf1928b825
Parents: feaca2e
Author: Aldrin Piri <[email protected]>
Authored: Thu Jul 21 17:57:27 2016 -0400
Committer: Aldrin Piri <[email protected]>
Committed: Tue Aug 2 11:37:42 2016 -0400

----------------------------------------------------------------------
 Makefile                             |  43 ++++-
 target/conf/flow.xml                 | 285 ------------------------------
 target/conf/flowServer.xml           | 130 --------------
 target/conf/flow_Site2SiteServer.xml | 140 ---------------
 target/conf/nifi.properties          | 191 --------------------
 5 files changed, 37 insertions(+), 752 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a376ed79/Makefile
----------------------------------------------------------------------
diff --git a/Makefile b/Makefile
index 963f473..0bcfc35 100644
--- a/Makefile
+++ b/Makefile
@@ -14,13 +14,17 @@
 # See the License for the specific language governing permissions and
 # limitations under the License
 
+
 # for ARM make CROSS_COMPILE=arm-linux-gnueabi ARCH=arm
+VERSION=0.0.1
 CC=$(CROSS_COMPILE)-g++
 AR=$(CROSS_COMPILE)-ar
 BUILD_DIR= ./build
 TARGET_DIR=./target
+ASSEMBLIES_DIR = ./assemblies
 TARGET_LIB=libminifi.a
-TARGET_EXE=minifi
+PROJECT=minifi
+TARGET_EXE=$(PROJECT)
 ifeq ($(ARCH), arm)
 CFLAGS=-O0 -fexceptions -fpermissive -Wno-write-strings -std=c++11 -fPIC -Wall 
-g -Wno-unused-private-field -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 
-Wl,--whole-archive -lpthread -Wl,--no-whole-archive -lc
 INCLUDES=-I./inc -I./src -I./thirdparty -I./test 
-I./thirdparty/libxml2/include #-I/usr/local/opt/leveldb/include/
@@ -51,12 +55,14 @@ endif
 OBJS:=$(shell /bin/ls src/*.cpp | xargs -n1 basename 2>/dev/null |  awk 
'/\.cpp$$/{a=$$0; gsub("\\.cpp$$",".o", a); print "$(BUILD_DIR)/" a}')
 TESTS:=Server
 
-all: directory $(BUILD_DIR)/$(TARGET_LIB) minifi tests
+all: directory $(BUILD_DIR)/$(TARGET_LIB) minifi tests assemblies
 
+.PHONY: directory
 directory:
        mkdir -p $(BUILD_DIR)
+       mkdir -p $(TARGET_DIR)
 ifeq ($(ARCH), arm)
-       make -C thirdparty/uuid CROSS_COMILE=$(CROSS_COMPILE)
+       make -C thirdparty/uuid CROSS_COMPILE=$(CROSS_COMPILE)
        cd thirdparty/libxml2; ./configure --host=${CROSS_COMPILE} 
--target==${CROSSS_COMPILE} --without-python --without-zlib --enable-static 
--disable-shared; make; cd ../../
 else ifeq ($(ARCH), linux)
        make -C thirdparty/uuid
@@ -73,14 +79,39 @@ minifi: $(BUILD_DIR)/$(TARGET_LIB)
        $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_DIR)/$(TARGET_EXE) 
main/MiNiFiMain.cpp $(LDDIRECTORY) $(LDFLAGS)
        cp $(BUILD_DIR)/$(TARGET_EXE) $(TARGET_DIR)/$(TARGET_EXE)
 
+.PHONY: tests
 tests: $(BUILD_DIR)/$(TARGET_LIB)
        $(foreach TEST_NAME, $(TESTS),\
        $(CC) $(CFLAGS) $(INCLUDES) -o $(BUILD_DIR)/$(TEST_NAME) 
test/$(TEST_NAME).cpp $(LDDIRECTORY) $(LDFLAGS))
 
+$(ASSEMBLIES_DIR) :
+       mkdir -p $(ASSEMBLIES_DIR)
+
+$(ASSEMBLIES_DIR)/$(PROJECT)-$(VERSION)-source.tar.gz : $(ASSEMBLIES_DIR)
+       tar -czf $(ASSEMBLIES_DIR)/$(PROJECT)-$(VERSION)-source.tar.gz \
+               LICENSE \
+               NOTICE \
+               README.md \
+               inc \
+               src \
+               main \
+               conf \
+               thirdparty \
+               Makefile
+       
+$(ASSEMBLIES_DIR)/$(PROJECT)-$(VERSION)-bin.tar.gz : $(ASSEMBLIES_DIR) 
$(TARGET_EXE)
+       tar -czf $(ASSEMBLIES_DIR)/$(PROJECT)-$(VERSION)-bin.tar.gz \
+               LICENSE \
+               NOTICE \
+               README.md \
+               conf \
+               -C target minifi
+
+.PHONY: clean
 clean:
-       rm -rf $(BUILD_DIR)/*
-       rm -rf $(TARGET_DIR)/$(TARGET_EXE)
-       cp -r $(TARGET_DIR)/conf $(BUILD_DIR)/
+       rm -rf $(BUILD_DIR)
+       rm -rf $(TARGET_DIR)
+       rm -rf $(ASSEMBLIES_DIR)
 ifeq ($(ARCH), arm)
        make -C thirdparty/uuid clean
        make -C thirdparty/libxml2 distclean

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a376ed79/target/conf/flow.xml
----------------------------------------------------------------------
diff --git a/target/conf/flow.xml b/target/conf/flow.xml
deleted file mode 100644
index 51b74e8..0000000
--- a/target/conf/flow.xml
+++ /dev/null
@@ -1,285 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<flowController>
-  <maxTimerDrivenThreadCount>10</maxTimerDrivenThreadCount>
-  <maxEventDrivenThreadCount>5</maxEventDrivenThreadCount>
-  <rootGroup>
-    <id>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</id>
-    <name>NiFi Flow</name>
-    <position x="0.0" y="0.0"/>
-    <comment/>
-    <processor>
-      <id>e01275ae-ac38-48f9-ac53-1a44df1be88e</id>
-      <name>LogAttribute</name>
-      <position x="3950.0958625440016" y="1355.8949219185629"/>
-      <styles/>
-      <comment/>
-      <class>org.apache.nifi.processors.standard.LogAttribute</class>
-      <maxConcurrentTasks>1</maxConcurrentTasks>
-      <schedulingPeriod>0 sec</schedulingPeriod>
-      <penalizationPeriod>30 sec</penalizationPeriod>
-      <yieldPeriod>1 sec</yieldPeriod>
-      <bulletinLevel>WARN</bulletinLevel>
-      <lossTolerant>false</lossTolerant>
-      <scheduledState>RUNNING</scheduledState>
-      <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
-      <runDurationNanos>0</runDurationNanos>
-      <property>
-        <name>Log Level</name>
-        <value>info</value>
-      </property>
-      <property>
-        <name>Log Payload</name>
-        <value>false</value>
-      </property>
-      <property>
-        <name>Attributes to Log</name>
-      </property>
-      <property>
-        <name>Attributes to Ignore</name>
-      </property>
-      <property>
-        <name>Log prefix</name>
-      </property>
-      <autoTerminatedRelationship>success</autoTerminatedRelationship>
-    </processor>
-    <processor>
-      <id>572aa3f3-6288-4ca1-ae43-5e492cb0ea23</id>
-      <name>LogAttribute</name>
-      <position x="3259.732177734375" y="1739.991943359375"/>
-      <styles/>
-      <comment/>
-      <class>org.apache.nifi.processors.standard.LogAttribute</class>
-      <maxConcurrentTasks>1</maxConcurrentTasks>
-      <schedulingPeriod>0 sec</schedulingPeriod>
-      <penalizationPeriod>30 sec</penalizationPeriod>
-      <yieldPeriod>1 sec</yieldPeriod>
-      <bulletinLevel>WARN</bulletinLevel>
-      <lossTolerant>false</lossTolerant>
-      <scheduledState>RUNNING</scheduledState>
-      <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
-      <runDurationNanos>0</runDurationNanos>
-      <property>
-        <name>Log Level</name>
-        <value>info</value>
-      </property>
-      <property>
-        <name>Log Payload</name>
-        <value>false</value>
-      </property>
-      <property>
-        <name>Attributes to Log</name>
-      </property>
-      <property>
-        <name>Attributes to Ignore</name>
-      </property>
-      <property>
-        <name>Log prefix</name>
-      </property>
-      <autoTerminatedRelationship>success</autoTerminatedRelationship>
-    </processor>
-    <processor>
-      <id>a0e57bb2-5b89-438e-8869-0326bbdbbe43</id>
-      <name>GenerateFlowFile</name>
-      <position x="2643.1135987796815" y="1457.4419966791334"/>
-      <styles/>
-      <comment/>
-      <class>org.apache.nifi.processors.standard.GenerateFlowFile</class>
-      <maxConcurrentTasks>1</maxConcurrentTasks>
-      <schedulingPeriod>1 s</schedulingPeriod>
-      <penalizationPeriod>30 sec</penalizationPeriod>
-      <yieldPeriod>1 sec</yieldPeriod>
-      <bulletinLevel>WARN</bulletinLevel>
-      <lossTolerant>false</lossTolerant>
-      <scheduledState>RUNNING</scheduledState>
-      <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
-      <runDurationNanos>0</runDurationNanos>
-      <property>
-        <name>File Size</name>
-        <value>1024 kB</value>
-      </property>
-      <property>
-        <name>Batch Size</name>
-        <value>1</value>
-      </property>
-      <property>
-        <name>Data Format</name>
-        <value>Text</value>
-      </property>
-      <property>
-        <name>Unique FlowFiles</name>
-        <value>false</value>
-      </property>
-    </processor>
-    <label>
-      <id>809d63d9-6feb-496a-9dc3-d23c217e52fd</id>
-      <position x="3635.581271381991" y="1309.9918825902428"/>
-      <size height="193.5023651123047" width="641.0671997070312"/>
-      <styles>
-        <style name="background-color">#9a91ff</style>
-        <style name="font-size">16px</style>
-      </styles>
-      <value>Pull From Node B</value>
-    </label>
-    <label>
-      <id>d95ce8d3-c005-4d0b-8fcc-b2f6fae7172f</id>
-      <position x="2601.7320892530847" y="1413.1875613011803"/>
-      <size height="193.5023651123047" width="641.0671997070312"/>
-      <styles>
-        <style name="font-size">16px</style>
-      </styles>
-      <value>Push to Node B</value>
-    </label>
-    <remoteProcessGroup>
-      <id>8f3b248f-d493-4269-b317-36f85719f480</id>
-      <name>NiFi Flow</name>
-      <position x="3254.3356850982673" y="1432.3274284388426"/>
-      <comment/>
-      <url>http://localhost:8081/nifi</url>
-      <timeout>30 sec</timeout>
-      <yieldPeriod>1 sec</yieldPeriod>
-      <transmitting>true</transmitting>
-      <inputPort>
-        <id>471deef6-2a6e-4a7d-912a-81cc17e3a204</id>
-        <name> From Node A</name>
-        <position x="0.0" y="0.0"/>
-        <comments/>
-        <scheduledState>RUNNING</scheduledState>
-        <maxConcurrentTasks>1</maxConcurrentTasks>
-        <useCompression>false</useCompression>
-        <property>
-            <name>Host Name</name>
-               <value>localhost</value>
-        </property>
-        <property>
-            <name>Port</name>
-            <value>10001</value>
-        </property>
-      </inputPort>
-      <outputPort>
-        <id>75f88005-0a87-4fef-8320-6219cdbcf18b</id>
-        <name>To A</name>
-        <position x="0.0" y="0.0"/>
-        <comments/>
-        <scheduledState>RUNNING</scheduledState>
-        <maxConcurrentTasks>1</maxConcurrentTasks>
-        <useCompression>false</useCompression>
-        <property>
-            <name>Host Name</name>
-            <value>localhost</value>
-        </property>
-        <property>
-            <name>Port</name>
-            <value>10001</value>
-        </property>
-      </outputPort>
-    </remoteProcessGroup>
-    <connection>
-      <id>c4cf70d8-be05-4c3d-b926-465f330d6503</id>
-      <name/>
-      <bendPoints/>
-      <labelIndex>1</labelIndex>
-      <zIndex>0</zIndex>
-      <sourceId>a0e57bb2-5b89-438e-8869-0326bbdbbe43</sourceId>
-      <sourceGroupId>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</sourceGroupId>
-      <sourceType>PROCESSOR</sourceType>
-      <destinationId>572aa3f3-6288-4ca1-ae43-5e492cb0ea23</destinationId>
-      
<destinationGroupId>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</destinationGroupId>
-      <destinationType>PROCESSOR</destinationType>
-      <relationship>success</relationship>
-      <maxWorkQueueSize>0</maxWorkQueueSize>
-      <maxWorkQueueDataSize>0 MB</maxWorkQueueDataSize>
-      <flowFileExpiration>0 sec</flowFileExpiration>
-    </connection>
-    <connection>
-      <id>c9573abe-937c-464b-b18d-48b29c42dce2</id>
-      <name>site2siteSEND</name>
-      <bendPoints/>
-      <labelIndex>1</labelIndex>
-      <zIndex>0</zIndex>
-      <sourceId>a0e57bb2-5b89-438e-8869-0326bbdbbe43</sourceId>
-      <sourceGroupId>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</sourceGroupId>
-      <sourceType>PROCESSOR</sourceType>
-      <destinationId>471deef6-2a6e-4a7d-912a-81cc17e3a204</destinationId>
-      
<destinationGroupId>8f3b248f-d493-4269-b317-36f85719f480</destinationGroupId>
-      <destinationType>REMOTE_INPUT_PORT</destinationType>
-      <relationship>success</relationship>
-      <maxWorkQueueSize>0</maxWorkQueueSize>
-      <maxWorkQueueDataSize>0 MB</maxWorkQueueDataSize>
-      <flowFileExpiration>0 sec</flowFileExpiration>
-    </connection>
-    <connection>
-      <id>2cb90b4c-d6cb-4fef-8f0f-b16459561af5</id>
-      <name>site2siteReceive</name>
-      <bendPoints/>
-      <labelIndex>1</labelIndex>
-      <zIndex>0</zIndex>
-      <sourceId>75f88005-0a87-4fef-8320-6219cdbcf18b</sourceId>
-      <sourceGroupId>8f3b248f-d493-4269-b317-36f85719f480</sourceGroupId>
-      <sourceType>REMOTE_OUTPUT_PORT</sourceType>
-      <destinationId>e01275ae-ac38-48f9-ac53-1a44df1be88e</destinationId>
-      
<destinationGroupId>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</destinationGroupId>
-      <destinationType>PROCESSOR</destinationType>
-      <relationship/>
-      <maxWorkQueueSize>0</maxWorkQueueSize>
-      <maxWorkQueueDataSize>0 MB</maxWorkQueueDataSize>
-      <flowFileExpiration>0 sec</flowFileExpiration>
-    </connection>
-  </rootGroup>
-  <controllerServices>
-    <controllerService>
-      <id>b2785fb0-e797-4c4d-8592-d2b2563504c4</id>
-      <name>DistributedMapCacheClientService</name>
-      <comment/>
-      
<class>org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService</class>
-      <enabled>true</enabled>
-      <property>
-        <name>Server Hostname</name>
-        <value>localhost</value>
-      </property>
-      <property>
-        <name>Server Port</name>
-        <value>4557</value>
-      </property>
-      <property>
-        <name>SSL Context Service</name>
-      </property>
-      <property>
-        <name>Communications Timeout</name>
-        <value>30 secs</value>
-      </property>
-    </controllerService>
-    <controllerService>
-      <id>2855f1e0-dc35-4955-9ae2-b2d7d1765d4e</id>
-      <name>StandardSSLContextService</name>
-      <comment/>
-      <class>org.apache.nifi.ssl.StandardSSLContextService</class>
-      <enabled>true</enabled>
-      <property>
-        <name>Keystore Filename</name>
-      </property>
-      <property>
-        <name>Keystore Password</name>
-      </property>
-      <property>
-        <name>Keystore Type</name>
-      </property>
-      <property>
-        <name>Truststore Filename</name>
-        
<value>/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/lib/security/cacerts</value>
-      </property>
-      <property>
-        <name>Truststore Password</name>
-        
<value>enc{3A31531B76B6395A72FB8BEB4C93E2040877D07C04FDAB5A84499B918BECEB77}</value>
-      </property>
-      <property>
-        <name>Truststore Type</name>
-        <value>JKS</value>
-      </property>
-      <property>
-        <name>SSL Protocol</name>
-        <value>TLS</value>
-      </property>
-    </controllerService>
-  </controllerServices>
-  <reportingTasks/>
-</flowController>

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a376ed79/target/conf/flowServer.xml
----------------------------------------------------------------------
diff --git a/target/conf/flowServer.xml b/target/conf/flowServer.xml
deleted file mode 100644
index caca3eb..0000000
--- a/target/conf/flowServer.xml
+++ /dev/null
@@ -1,130 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<flowController>
-  <maxTimerDrivenThreadCount>10</maxTimerDrivenThreadCount>
-  <maxEventDrivenThreadCount>5</maxEventDrivenThreadCount>
-  <rootGroup>
-    <id>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</id>
-    <name>NiFi Flow</name>
-    <position x="0.0" y="0.0"/>
-    <comment/>
-    <processor>
-      <id>572aa3f3-6288-4ca1-ae43-5e492cb0ea23</id>
-      <name>RealTimeDataCollector</name>
-      <position x="3259.732177734375" y="1739.991943359375"/>
-      <styles/>
-      <comment/>
-      <class>org.apache.nifi.processors.standard.RealTimeDataCollector</class>
-      <maxConcurrentTasks>2</maxConcurrentTasks>
-      <schedulingPeriod>10 ms</schedulingPeriod>
-      <penalizationPeriod>30 sec</penalizationPeriod>
-      <yieldPeriod>1 sec</yieldPeriod>
-      <bulletinLevel>WARN</bulletinLevel>
-      <lossTolerant>false</lossTolerant>
-      <scheduledState>RUNNING</scheduledState>
-      <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
-      <runDurationNanos>0</runDurationNanos>
-      <property>
-        <name>File Name</name>
-        <value>data.osp</value>
-      </property>
-      <property>
-        <name>Real Time Server Name</name>
-        <value>localhost</value>
-      </property>
-      <property>
-        <name>Real Time Server Port</name>
-        <value>10000</value>
-      </property>
-      <property>
-        <name>Batch Server Name</name>
-        <value>localhost</value>
-      </property>
-      <property>
-        <name>Batch Server Port</name>
-        <value>10001</value>
-      </property>
-      <property>
-        <name>Iteration</name>
-        <value>true</value>
-      </property>
-      <property>
-        <name>Real Time Message ID</name>
-        <value>41</value>
-      </property>
-      <property>
-        <name>Batch Message ID</name>
-        <value>172,48</value>
-      </property>
-      <property>
-        <name>Real Time Interval</name>
-        <value>200 ms</value>
-      </property>
-      <property>
-        <name>Batch Time Interval</name>
-        <value>1 sec</value>
-      </property>
-      <property>
-        <name>Batch Max Buffer Size</name>
-        <value>262144</value>
-      </property>
-      <autoTerminatedRelationship>success</autoTerminatedRelationship>
-    </processor>
-  </rootGroup>
-  <controllerServices>
-    <controllerService>
-      <id>b2785fb0-e797-4c4d-8592-d2b2563504c4</id>
-      <name>DistributedMapCacheClientService</name>
-      <comment/>
-      
<class>org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService</class>
-      <enabled>true</enabled>
-      <property>
-        <name>Server Hostname</name>
-        <value>localhost</value>
-      </property>
-      <property>
-        <name>Server Port</name>
-        <value>4557</value>
-      </property>
-      <property>
-        <name>SSL Context Service</name>
-      </property>
-      <property>
-        <name>Communications Timeout</name>
-        <value>30 secs</value>
-      </property>
-    </controllerService>
-    <controllerService>
-      <id>2855f1e0-dc35-4955-9ae2-b2d7d1765d4e</id>
-      <name>StandardSSLContextService</name>
-      <comment/>
-      <class>org.apache.nifi.ssl.StandardSSLContextService</class>
-      <enabled>true</enabled>
-      <property>
-        <name>Keystore Filename</name>
-      </property>
-      <property>
-        <name>Keystore Password</name>
-      </property>
-      <property>
-        <name>Keystore Type</name>
-      </property>
-      <property>
-        <name>Truststore Filename</name>
-        
<value>/Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/lib/security/cacerts</value>
-      </property>
-      <property>
-        <name>Truststore Password</name>
-        
<value>enc{9E2EE146023A0F31914706460EB177B357796CF0C768DECE09D10C4B40F344C8}</value>
-      </property>
-      <property>
-        <name>Truststore Type</name>
-        <value>JKS</value>
-      </property>
-      <property>
-        <name>SSL Protocol</name>
-        <value>TLS</value>
-      </property>
-    </controllerService>
-  </controllerServices>
-  <reportingTasks/>
-</flowController>

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a376ed79/target/conf/flow_Site2SiteServer.xml
----------------------------------------------------------------------
diff --git a/target/conf/flow_Site2SiteServer.xml 
b/target/conf/flow_Site2SiteServer.xml
deleted file mode 100644
index acd2c1e..0000000
--- a/target/conf/flow_Site2SiteServer.xml
+++ /dev/null
@@ -1,140 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<flowController>
-  <maxTimerDrivenThreadCount>10</maxTimerDrivenThreadCount>
-  <maxEventDrivenThreadCount>5</maxEventDrivenThreadCount>
-  <rootGroup>
-    <id>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</id>
-    <name>NiFi Flow</name>
-    <position x="0.0" y="0.0"/>
-    <comment/>
-    <processor>
-      <id>cd274fef-168a-486b-b21a-04ed17f981b7</id>
-      <name>LogAttribute</name>
-      <position x="2823.8107761867964" y="623.2524160253959"/>
-      <styles/>
-      <comment/>
-      <class>org.apache.nifi.processors.standard.LogAttribute</class>
-      <maxConcurrentTasks>1</maxConcurrentTasks>
-      <schedulingPeriod>0 sec</schedulingPeriod>
-      <penalizationPeriod>30 sec</penalizationPeriod>
-      <yieldPeriod>1 sec</yieldPeriod>
-      <bulletinLevel>WARN</bulletinLevel>
-      <lossTolerant>false</lossTolerant>
-      <scheduledState>RUNNING</scheduledState>
-      <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
-      <runDurationNanos>0</runDurationNanos>
-      <property>
-        <name>Log Level</name>
-        <value>info</value>
-      </property>
-      <property>
-        <name>Log Payload</name>
-        <value>true</value>
-      </property>
-      <property>
-        <name>Attributes to Log</name>
-      </property>
-      <property>
-        <name>Attributes to Ignore</name>
-      </property>
-      <property>
-        <name>Log prefix</name>
-      </property>
-      <autoTerminatedRelationship>success</autoTerminatedRelationship>
-    </processor>
-    <processor>
-      <id>4fa35a7d-d1f0-44e4-87d7-7d69f0b78b7b</id>
-      <name>GenerateFlowFile</name>
-      <position x="2248.4411151522036" y="917.8589272756209"/>
-      <styles/>
-      <comment/>
-      <class>org.apache.nifi.processors.standard.GenerateFlowFile</class>
-      <maxConcurrentTasks>1</maxConcurrentTasks>
-      <schedulingPeriod>1 sec</schedulingPeriod>
-      <penalizationPeriod>30 sec</penalizationPeriod>
-      <yieldPeriod>1 sec</yieldPeriod>
-      <bulletinLevel>WARN</bulletinLevel>
-      <lossTolerant>false</lossTolerant>
-      <scheduledState>RUNNING</scheduledState>
-      <schedulingStrategy>TIMER_DRIVEN</schedulingStrategy>
-      <runDurationNanos>0</runDurationNanos>
-      <property>
-        <name>File Size</name>
-        <value>1024 kB</value>
-      </property>
-      <property>
-        <name>Batch Size</name>
-        <value>1</value>
-      </property>
-      <property>
-        <name>Data Format</name>
-        <value>Text</value>
-      </property>
-      <property>
-        <name>Unique FlowFiles</name>
-        <value>false</value>
-      </property>
-    </processor>
-    <inputPort>
-      <id>471deef6-2a6e-4a7d-912a-81cc17e3a204</id>
-      <name> From Node A</name>
-      <position x="2305.369919163486" y="646.0466623031645"/>
-      <comments/>
-      <scheduledState>RUNNING</scheduledState>
-      <maxConcurrentTasks>1</maxConcurrentTasks>
-    </inputPort>
-    <outputPort>
-      <id>75f88005-0a87-4fef-8320-6219cdbcf18b</id>
-      <name>To A</name>
-      <position x="2915.739181824911" y="1057.8803860295386"/>
-      <comments/>
-      <scheduledState>RUNNING</scheduledState>
-      <maxConcurrentTasks>1</maxConcurrentTasks>
-    </outputPort>
-    <label>
-      <id>2f0db43e-1ce0-49ab-96a5-459c285aff09</id>
-      <position x="2197.3693058093504" y="849.4395700448451"/>
-      <size height="286.5726013183594" width="1012.2957763671875"/>
-      <styles>
-        <style name="font-size">18px</style>
-      </styles>
-      <value>Generate Data that is pushed to Node A and made available to be 
pulled</value>
-    </label>
-    <connection>
-      <id>7f869898-3a93-4e28-a60c-064789870574</id>
-      <name/>
-      <bendPoints/>
-      <labelIndex>1</labelIndex>
-      <zIndex>0</zIndex>
-      <sourceId>471deef6-2a6e-4a7d-912a-81cc17e3a204</sourceId>
-      <sourceGroupId>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</sourceGroupId>
-      <sourceType>INPUT_PORT</sourceType>
-      <destinationId>cd274fef-168a-486b-b21a-04ed17f981b7</destinationId>
-      
<destinationGroupId>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</destinationGroupId>
-      <destinationType>PROCESSOR</destinationType>
-      <relationship/>
-      <maxWorkQueueSize>0</maxWorkQueueSize>
-      <maxWorkQueueDataSize>0 MB</maxWorkQueueDataSize>
-      <flowFileExpiration>0 sec</flowFileExpiration>
-    </connection>
-    <connection>
-      <id>9dbc73f6-c827-4258-8bc7-06eb6a9b79d5</id>
-      <name/>
-      <bendPoints/>
-      <labelIndex>1</labelIndex>
-      <zIndex>0</zIndex>
-      <sourceId>4fa35a7d-d1f0-44e4-87d7-7d69f0b78b7b</sourceId>
-      <sourceGroupId>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</sourceGroupId>
-      <sourceType>PROCESSOR</sourceType>
-      <destinationId>75f88005-0a87-4fef-8320-6219cdbcf18b</destinationId>
-      
<destinationGroupId>fe4a3a42-53b6-4af1-a80d-6fdfe60de97f</destinationGroupId>
-      <destinationType>OUTPUT_PORT</destinationType>
-      <relationship>success</relationship>
-      <maxWorkQueueSize>0</maxWorkQueueSize>
-      <maxWorkQueueDataSize>0 MB</maxWorkQueueDataSize>
-      <flowFileExpiration>0 sec</flowFileExpiration>
-    </connection>
-  </rootGroup>
-  <controllerServices/>
-  <reportingTasks/>
-</flowController>

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/a376ed79/target/conf/nifi.properties
----------------------------------------------------------------------
diff --git a/target/conf/nifi.properties b/target/conf/nifi.properties
deleted file mode 100644
index 627876f..0000000
--- a/target/conf/nifi.properties
+++ /dev/null
@@ -1,191 +0,0 @@
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Core Properties #
-nifi.version=0.6.0-SNAPSHOT
-nifi.flow.configuration.file=./conf/flow.xml
-nifi.flow.configuration.archive.dir=./conf/archive/
-nifi.flowcontroller.autoResumeState=true
-nifi.flowcontroller.graceful.shutdown.period=10 sec
-nifi.flowservice.writedelay.interval=500 ms
-nifi.administrative.yield.duration=30 sec
-# If a component has no work to do (is "bored"), how long should we wait 
before checking again for work?
-nifi.bored.yield.duration=10 millis
-
-nifi.authority.provider.configuration.file=./conf/authority-providers.xml
-nifi.login.identity.provider.configuration.file=./conf/login-identity-providers.xml
-nifi.templates.directory=./conf/templates
-nifi.ui.banner.text=
-nifi.ui.autorefresh.interval=30 sec
-nifi.nar.library.directory=./lib
-nifi.nar.working.directory=./work/nar/
-nifi.documentation.working.directory=./work/docs/components
-
-####################
-# State Management #
-####################
-nifi.state.management.configuration.file=./conf/state-management.xml
-# The ID of the local state provider
-nifi.state.management.provider.local=local-provider
-# The ID of the cluster-wide state provider. This will be ignored if NiFi is 
not clustered but must be populated if running in a cluster.
-nifi.state.management.provider.cluster=zk-provider
-# Specifies whether or not this instance of NiFi should run an embedded 
ZooKeeper server
-nifi.state.management.embedded.zookeeper.start=false
-# Properties file that provides the ZooKeeper properties to use if 
<nifi.state.management.embedded.zookeeper.start> is set to true
-nifi.state.management.embedded.zookeeper.properties=./conf/zookeeper.properties
-
-
-# H2 Settings
-nifi.database.directory=./database_repository
-nifi.h2.url.append=;LOCK_TIMEOUT=25000;WRITE_DELAY=0;AUTO_SERVER=FALSE
-
-# FlowFile Repository
-nifi.flowfile.repository.implementation=org.apache.nifi.controller.repository.WriteAheadFlowFileRepository
-nifi.flowfile.repository.directory=./flowfile_repository
-nifi.flowfile.repository.partitions=256
-nifi.flowfile.repository.checkpoint.interval=2 mins
-nifi.flowfile.repository.always.sync=false
-
-nifi.swap.manager.implementation=org.apache.nifi.controller.FileSystemSwapManager
-nifi.queue.swap.threshold=20000
-nifi.swap.in.period=5 sec
-nifi.swap.in.threads=1
-nifi.swap.out.period=5 sec
-nifi.swap.out.threads=4
-
-# Content Repository
-nifi.content.repository.implementation=org.apache.nifi.controller.repository.FileSystemRepository
-nifi.content.claim.max.appendable.size=10 MB
-nifi.content.claim.max.flow.files=100
-nifi.content.repository.directory.default=./content_repository
-nifi.content.repository.archive.max.retention.period=12 hours
-nifi.content.repository.archive.max.usage.percentage=50%
-nifi.content.repository.archive.enabled=true
-nifi.content.repository.always.sync=false
-nifi.content.viewer.url=/nifi-content-viewer/
-
-# Provenance Repository Properties
-nifi.provenance.repository.implementation=org.apache.nifi.provenance.PersistentProvenanceRepository
-
-# Persistent Provenance Repository Properties
-nifi.provenance.repository.directory.default=./provenance_repository
-nifi.provenance.repository.max.storage.time=24 hours
-nifi.provenance.repository.max.storage.size=1 GB
-nifi.provenance.repository.rollover.time=30 secs
-nifi.provenance.repository.rollover.size=100 MB
-nifi.provenance.repository.query.threads=2
-nifi.provenance.repository.index.threads=1
-nifi.provenance.repository.compress.on.rollover=true
-nifi.provenance.repository.always.sync=false
-nifi.provenance.repository.journal.count=16
-# Comma-separated list of fields. Fields that are not indexed will not be 
searchable. Valid fields are: 
-# EventType, FlowFileUUID, Filename, TransitURI, ProcessorID, 
AlternateIdentifierURI, Relationship, Details
-nifi.provenance.repository.indexed.fields=EventType, FlowFileUUID, Filename, 
ProcessorID, Relationship
-# FlowFile Attributes that should be indexed and made searchable.  Some 
examples to consider are filename, uuid, mime.type
-nifi.provenance.repository.indexed.attributes=
-# Large values for the shard size will result in more Java heap usage when 
searching the Provenance Repository
-# but should provide better performance
-nifi.provenance.repository.index.shard.size=500 MB
-# Indicates the maximum length that a FlowFile attribute can be when 
retrieving a Provenance Event from
-# the repository. If the length of any attribute exceeds this value, it will 
be truncated when the event is retrieved.
-nifi.provenance.repository.max.attribute.length=65536
-
-# Volatile Provenance Respository Properties
-nifi.provenance.repository.buffer.size=100000
-
-# Component Status Repository
-nifi.components.status.repository.implementation=org.apache.nifi.controller.status.history.VolatileComponentStatusRepository
-nifi.components.status.repository.buffer.size=1440
-nifi.components.status.snapshot.frequency=1 min
-
-# Site to Site properties
-nifi.remote.input.socket.host=localhost
-nifi.remote.input.socket.port=10000
-nifi.remote.input.secure=false
-
-# web properties #
-nifi.web.war.directory=./lib
-nifi.web.http.host=
-nifi.web.http.port=8080
-nifi.web.https.host=
-nifi.web.https.port=
-nifi.web.jetty.working.directory=./work/jetty
-nifi.web.jetty.threads=200
-
-# security properties #
-nifi.sensitive.props.key=
-nifi.sensitive.props.algorithm=PBEWITHMD5AND256BITAES-CBC-OPENSSL
-nifi.sensitive.props.provider=BC
-
-nifi.security.keystore=
-nifi.security.keystoreType=
-nifi.security.keystorePasswd=
-nifi.security.keyPasswd=
-nifi.security.truststore=
-nifi.security.truststoreType=
-nifi.security.truststorePasswd=
-nifi.security.needClientAuth=
-nifi.security.user.credential.cache.duration=24 hours
-nifi.security.user.authority.provider=file-provider
-nifi.security.user.login.identity.provider=
-nifi.security.support.new.account.requests=
-# Valid Authorities include: 
ROLE_MONITOR,ROLE_DFM,ROLE_ADMIN,ROLE_PROVENANCE,ROLE_NIFI
-nifi.security.anonymous.authorities=
-nifi.security.ocsp.responder.url=
-nifi.security.ocsp.responder.certificate=
-
-# cluster common properties (cluster manager and nodes must have same values) #
-nifi.cluster.protocol.heartbeat.interval=5 sec
-nifi.cluster.protocol.is.secure=false
-nifi.cluster.protocol.socket.timeout=30 sec
-nifi.cluster.protocol.connection.handshake.timeout=45 sec
-# if multicast is used, then nifi.cluster.protocol.multicast.xxx properties 
must be configured #
-nifi.cluster.protocol.use.multicast=false
-nifi.cluster.protocol.multicast.address=
-nifi.cluster.protocol.multicast.port=
-nifi.cluster.protocol.multicast.service.broadcast.delay=500 ms
-nifi.cluster.protocol.multicast.service.locator.attempts=3
-nifi.cluster.protocol.multicast.service.locator.attempts.delay=1 sec
-
-# cluster node properties (only configure for cluster nodes) #
-nifi.cluster.is.node=false
-nifi.cluster.node.address=
-nifi.cluster.node.protocol.port=
-nifi.cluster.node.protocol.threads=2
-# if multicast is not used, nifi.cluster.node.unicast.xxx must have same 
values as nifi.cluster.manager.xxx #
-nifi.cluster.node.unicast.manager.address=
-nifi.cluster.node.unicast.manager.protocol.port=
-
-# cluster manager properties (only configure for cluster manager) #
-nifi.cluster.is.manager=false
-nifi.cluster.manager.address=
-nifi.cluster.manager.protocol.port=
-nifi.cluster.manager.node.firewall.file=
-nifi.cluster.manager.node.event.history.size=10
-nifi.cluster.manager.node.api.connection.timeout=30 sec
-nifi.cluster.manager.node.api.read.timeout=30 sec
-nifi.cluster.manager.node.api.request.threads=10
-nifi.cluster.manager.flow.retrieval.delay=5 sec
-nifi.cluster.manager.protocol.threads=10
-nifi.cluster.manager.safemode.duration=0 sec
-
-# kerberos #
-nifi.kerberos.krb5.file=
-
-# MiNiFi Server for Command Control
-nifi.server.name=localhost
-nifi.server.port=9000
-nifi.server.report.interval=1000 ms
-

Reply via email to