nifi-registry git commit: NIFIREG-173 Improving logic for detecting existence of legacy database

2018-06-06 Thread kdoran
Repository: nifi-registry
Updated Branches:
  refs/heads/master 44bc4adb1 -> f82757e31


NIFIREG-173 Improving logic for detecting existence of legacy database

This closes #122.

Signed-off-by: Kevin Doran 


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

Branch: refs/heads/master
Commit: f82757e31867549681d98623eb6bda06efb56427
Parents: 44bc4ad
Author: Bryan Bende 
Authored: Wed Jun 6 15:31:33 2018 -0400
Committer: Kevin Doran 
Committed: Wed Jun 6 15:57:35 2018 -0400

--
 .../registry/db/CustomFlywayMigrationStrategy.java| 14 --
 1 file changed, 12 insertions(+), 2 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-registry/blob/f82757e3/nifi-registry-framework/src/main/java/org/apache/nifi/registry/db/CustomFlywayMigrationStrategy.java
--
diff --git 
a/nifi-registry-framework/src/main/java/org/apache/nifi/registry/db/CustomFlywayMigrationStrategy.java
 
b/nifi-registry-framework/src/main/java/org/apache/nifi/registry/db/CustomFlywayMigrationStrategy.java
index 376de6a..7748acf 100644
--- 
a/nifi-registry-framework/src/main/java/org/apache/nifi/registry/db/CustomFlywayMigrationStrategy.java
+++ 
b/nifi-registry-framework/src/main/java/org/apache/nifi/registry/db/CustomFlywayMigrationStrategy.java
@@ -35,6 +35,7 @@ import org.springframework.jdbc.core.JdbcTemplate;
 import org.springframework.stereotype.Component;
 
 import javax.sql.DataSource;
+import java.io.File;
 import java.sql.Connection;
 import java.sql.ResultSet;
 import java.sql.SQLException;
@@ -67,9 +68,18 @@ public class CustomFlywayMigrationStrategy implements 
FlywayMigrationStrategy {
 LOGGER.info("Found existing database...");
 }
 
-final boolean existingLegacyDatabase = 
!StringUtils.isBlank(properties.getLegacyDatabaseDirectory());
-if (existingLegacyDatabase) {
+boolean existingLegacyDatabase = false;
+if (!StringUtils.isBlank(properties.getLegacyDatabaseDirectory())) {
 LOGGER.info("Found legacy database properties...");
+
+final File legacyDatabaseFile = new 
File(properties.getLegacyDatabaseDirectory(), "nifi-registry.mv.db");
+if (legacyDatabaseFile.exists()) {
+LOGGER.info("Found legacy database file...");
+existingLegacyDatabase = true;
+} else {
+LOGGER.info("Did not find legacy database file...");
+existingLegacyDatabase = false;
+}
 }
 
 // If newDatabase is true, then we need to run the Flyway migration 
first to create all the tables, then the data migration



nifi git commit: NIFI-4272 support multiple captures when EL is present in replacement value This closes #2748

2018-06-06 Thread mosermw
Repository: nifi
Updated Branches:
  refs/heads/master eedf1237a -> f7f809c3d


NIFI-4272 support multiple captures when EL is present in replacement value
This closes #2748

Signed-off-by: Mike Moser 


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

Branch: refs/heads/master
Commit: f7f809c3d3632eea5234b31740984b73de322464
Parents: eedf123
Author: Otto Fowler 
Authored: Wed May 30 16:53:55 2018 -0400
Committer: Mike Moser 
Committed: Wed Jun 6 17:23:20 2018 +

--
 .../nifi/processors/standard/ReplaceText.java   | 110 +++
 .../processors/standard/TestReplaceText.java|  62 ++-
 2 files changed, 150 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi/blob/f7f809c3/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
--
diff --git 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
index de17213..f303796 100644
--- 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
+++ 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
@@ -18,16 +18,17 @@ package org.apache.nifi.processors.standard;
 
 import org.apache.commons.io.IOUtils;
 import org.apache.nifi.annotation.behavior.EventDriven;
-import org.apache.nifi.annotation.behavior.SystemResourceConsideration;
 import org.apache.nifi.annotation.behavior.InputRequirement;
 import org.apache.nifi.annotation.behavior.InputRequirement.Requirement;
 import org.apache.nifi.annotation.behavior.SideEffectFree;
 import org.apache.nifi.annotation.behavior.SupportsBatching;
 import org.apache.nifi.annotation.behavior.SystemResource;
+import org.apache.nifi.annotation.behavior.SystemResourceConsideration;
 import org.apache.nifi.annotation.documentation.CapabilityDescription;
 import org.apache.nifi.annotation.documentation.Tags;
 import org.apache.nifi.components.AllowableValue;
 import org.apache.nifi.components.PropertyDescriptor;
+import org.apache.nifi.components.PropertyValue;
 import org.apache.nifi.components.ValidationContext;
 import org.apache.nifi.components.ValidationResult;
 import org.apache.nifi.components.Validator;
@@ -79,7 +80,9 @@ import java.util.regex.Pattern;
 @SystemResourceConsideration(resource = SystemResource.MEMORY)
 public class ReplaceText extends AbstractProcessor {
 
-private static Pattern REPLACEMENT_NORMALIZATION_PATTERN = 
Pattern.compile("(\\$\\D)");
+private static Pattern QUOTED_GROUP_REF_PATTERN = 
Pattern.compile("\\$\\{\\s*?'\\$\\d+?'.+?\\}");
+private static Pattern DOUBLE_QUOTED_GROUP_REF_PATTERN = 
Pattern.compile("\\$\\{\\s*?\"\\$\\d+?\".+?\\}");
+private static Pattern LITERAL_QUOTED_PATTERN = 
Pattern.compile("literal\\(('.*?')\\)",Pattern.DOTALL);
 
 // Constants
 public static final String LINE_BY_LINE = "Line-by-Line";
@@ -301,12 +304,8 @@ public class ReplaceText extends AbstractProcessor {
 
 // If we find a back reference that is not valid, then we will treat it as 
a literal string. For example, if we have 3 capturing
 // groups and the Replacement Value has the value is "I owe $8 to him", 
then we want to treat the $8 as a literal "$8", rather
-// than attempting to use it as a back reference.
+// than attempting to use it as a back reference.  We do this even if 
there are no capture groups.
 private static String escapeLiteralBackReferences(final String unescaped, 
final int numCapturingGroups) {
-if (numCapturingGroups == 0) {
-return unescaped;
-}
-
 String value = unescaped;
 final Matcher backRefMatcher = 
unescapedBackReferencePattern.matcher(value); // consider unescaped back 
references
 while (backRefMatcher.find()) {
@@ -542,12 +541,18 @@ public class ReplaceText extends AbstractProcessor {
 additionalAttrs.put("$" + i, groupValue);
 }
 
-String replacement = 
context.getProperty(REPLACEMENT_VALUE).evaluateAttributeExpressions(flowFile, 
additionalAttrs, escapeBackRefDecorator).getValue();
+// prepare the string and do the regex replace first
+// then evaluate the EL on the result
+

[nifi-minifi-cpp] Git Push Summary

2018-06-06 Thread jeremydyer
Repository: nifi-minifi-cpp
Updated Tags:  refs/tags/rel/minifi-cpp-0.5.0 [created] 7d8442a73


nifi-site git commit: MINIFICPP-519: Release Apache NiFi MiNiFi CPP 0.5.0

2018-06-06 Thread jeremydyer
Repository: nifi-site
Updated Branches:
  refs/heads/master 8bd32db00 -> 6cf39fd95


MINIFICPP-519: Release Apache NiFi MiNiFi CPP 0.5.0


Project: http://git-wip-us.apache.org/repos/asf/nifi-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-site/commit/6cf39fd9
Tree: http://git-wip-us.apache.org/repos/asf/nifi-site/tree/6cf39fd9
Diff: http://git-wip-us.apache.org/repos/asf/nifi-site/diff/6cf39fd9

Branch: refs/heads/master
Commit: 6cf39fd95313869b292bbf8b873587586756b581
Parents: 8bd32db
Author: Jeremy Dyer 
Authored: Wed Jun 6 12:47:48 2018 -0400
Committer: Jeremy Dyer 
Committed: Wed Jun 6 12:47:48 2018 -0400

--
 src/pages/html/minifi/download.hbs | 86 -
 1 file changed, 41 insertions(+), 45 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-site/blob/6cf39fd9/src/pages/html/minifi/download.hbs
--
diff --git a/src/pages/html/minifi/download.hbs 
b/src/pages/html/minifi/download.hbs
index e8c2546..79a916b 100644
--- a/src/pages/html/minifi/download.hbs
+++ b/src/pages/html/minifi/download.hbs
@@ -95,6 +95,47 @@ title: Apache NiFi - MiNiFi Downloads
 
 MiNiFi C++
 
+  cpp-0.5.0
+  
+  
+  Sources:
+  
+  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-source.tar.gz;>nifi-minifi-cpp-0.5.0-source.tar.gz
+( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-source.tar.gz.asc;>asc,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-source.tar.gz.sha1;>sha1,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-source.tar.gz.sha256;>sha256
 )
+  
+  
+  
+  
+  Binaries
+  
+  Linux - RHEL Based Distributions - x86_64
+  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz;>nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz
+( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz.asc;>asc,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz.sha1;>sha1,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz.sha256;>sha256
 )
+  
+  Linux - Debian Based Distributions - x86_64
+  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz;>nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz
+( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz.asc;>asc,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz.sha1;>sha1,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz.sha256;>sha256
 )
+  
+  Darwin (OS X)
+  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz;>nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz
+( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz.asc;>asc,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz.sha1;>sha1,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz.sha256;>sha256
 )
+  
+  
+  
+
+  https://cwiki.apache.org/confluence/display/MINIFI/Release+Notes#ReleaseNotes-Versioncpp-0.5.0;>Release
 Notes
+  
+  
+
+
   cpp-0.4.0
   
   
@@ -142,51 +183,6 @@ title: Apache NiFi - MiNiFi Downloads
   
   
 
-
-  cpp-0.3.0
-  
-  
-  Sources:
-  
-  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.3.0/nifi-minifi-cpp-0.3.0-source.tar.gz;>nifi-minifi-cpp-0.3.0-source.tar.gz
-   

svn commit: r1833051 - /nifi/site/trunk/minifi/download.html

2018-06-06 Thread jeremydyer
Author: jeremydyer
Date: Wed Jun  6 16:18:29 2018
New Revision: 1833051

URL: http://svn.apache.org/viewvc?rev=1833051=rev
Log:
MINIFICPP-519 updated download links for Apache NiFi MiNiFi CPP 0.5.0

Modified:
nifi/site/trunk/minifi/download.html

Modified: nifi/site/trunk/minifi/download.html
URL: 
http://svn.apache.org/viewvc/nifi/site/trunk/minifi/download.html?rev=1833051=1833050=1833051=diff
==
--- nifi/site/trunk/minifi/download.html (original)
+++ nifi/site/trunk/minifi/download.html Wed Jun  6 16:18:29 2018
@@ -194,6 +194,47 @@
 
 MiNiFi C++
 
+  cpp-0.5.0
+  
+  
+  Sources:
+  
+  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-source.tar.gz;>nifi-minifi-cpp-0.5.0-source.tar.gz
+( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-source.tar.gz.asc;>asc,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-source.tar.gz.sha1;>sha1,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-source.tar.gz.sha256;>sha256
 )
+  
+  
+  
+  
+  Binaries
+  
+  Linux - RHEL Based Distributions - x86_64
+  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz;>nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz
+( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz.asc;>asc,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz.sha1;>sha1,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-rhel.tar.gz.sha256;>sha256
 )
+  
+  Linux - Debian Based Distributions - x86_64
+  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz;>nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz
+( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz.asc;>asc,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz.sha1;>sha1,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-linux-debian.tar.gz.sha256;>sha256
 )
+  
+  Darwin (OS X)
+  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz;>nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz
+( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz.asc;>asc,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz.sha1;>sha1,
+  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.5.0/nifi-minifi-cpp-0.5.0-bin-darwin.tar.gz.sha256;>sha256
 )
+  
+  
+  
+
+  https://cwiki.apache.org/confluence/display/MINIFI/Release+Notes#ReleaseNotes-Versioncpp-0.5.0;>Release
 Notes
+  
+  
+
+
   cpp-0.4.0
   
   
@@ -241,51 +282,6 @@
   
   
 
-
-  cpp-0.3.0
-  
-  
-  Sources:
-  
-  https://www.apache.org/dyn/closer.lua?path=/nifi/nifi-minifi-cpp/0.3.0/nifi-minifi-cpp-0.3.0-source.tar.gz;>nifi-minifi-cpp-0.3.0-source.tar.gz
-( https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.3.0/nifi-minifi-cpp-0.3.0-source.tar.gz.asc;>asc,
-  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.3.0/nifi-minifi-cpp-0.3.0-source.tar.gz.md5;>md5,
-  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.3.0/nifi-minifi-cpp-0.3.0-source.tar.gz.sha1;>sha1,
-  https://www.apache.org/dist/nifi/nifi-minifi-cpp/0.3.0/nifi-minifi-cpp-0.3.0-source.tar.gz.sha256;>sha256
 )
-  
-  
-  
-  
-  Binaries
-  
-  Linux - RHEL Based Distributions - x86_64
-

[56/59] [abbrv] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
update gh-pages


Project: http://git-wip-us.apache.org/repos/asf/nifi-fds/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-fds/commit/57aefda6
Tree: http://git-wip-us.apache.org/repos/asf/nifi-fds/tree/57aefda6
Diff: http://git-wip-us.apache.org/repos/asf/nifi-fds/diff/57aefda6

Branch: refs/heads/gh-pages
Commit: 57aefda64bcfbe6b1e8d710f22d79830900547e1
Parents: 0856a5c
Author: Scott Aslan 
Authored: Tue Jun 5 17:50:18 2018 -0400
Committer: Scott Aslan 
Committed: Tue Jun 5 17:50:18 2018 -0400

--
 demo-app/theming/fds-demo.scss  |   4 ++--
 node_modules/.bin/blocking-proxy|   1 +
 node_modules/.bin/cake  |   1 +
 node_modules/.bin/coffee|   1 +
 node_modules/.bin/dateformat|   1 +
 node_modules/.bin/detect-libc   |   1 +
 node_modules/.bin/ecstatic  |   1 +
 node_modules/.bin/escodegen |   1 +
 node_modules/.bin/esgenerate|   1 +
 node_modules/.bin/esparse   |   1 +
 node_modules/.bin/esvalidate|   1 +
 node_modules/.bin/grunt |   1 +
 node_modules/.bin/handlebars|   1 +
 node_modules/.bin/he|   1 +
 node_modules/.bin/hs|   1 +
 node_modules/.bin/http-server   |   1 +
 node_modules/.bin/in-install|   1 +
 node_modules/.bin/in-publish|   1 +
 node_modules/.bin/istanbul  |   1 +
 node_modules/.bin/jasmine   |   1 +
 node_modules/.bin/js-yaml   |   1 +
 node_modules/.bin/karma |   1 +
 node_modules/.bin/mime  |   1 +
 node_modules/.bin/mkdirp|   1 +
 node_modules/.bin/node-gyp  |   1 +
 node_modules/.bin/node-sass |   1 +
 node_modules/.bin/nopt  |   1 +
 node_modules/.bin/not-in-install|   1 +
 node_modules/.bin/not-in-publish|   1 +
 node_modules/.bin/opener|   1 +
 node_modules/.bin/prebuild-install  |   1 +
 node_modules/.bin/protractor|   1 +
 node_modules/.bin/rc|   1 +
 node_modules/.bin/rimraf|   1 +
 node_modules/.bin/sassgraph |   1 +
 node_modules/.bin/semver|   1 +
 node_modules/.bin/sshpk-conv|   1 +
 node_modules/.bin/sshpk-sign|   1 +
 node_modules/.bin/sshpk-verify  |   1 +
 node_modules/.bin/strip-indent  |   1 +
 node_modules/.bin/uglifyjs  |   1 +
 node_modules/.bin/uuid  |   1 +
 node_modules/.bin/webdriver-manager |   1 +
 node_modules/.bin/which |   1 +
 .../core/common/styles/_basicElements.scss  |  16 
 .../styles/css/flow-design-system.min.css   |   2 +-
 .../styles/css/flow-design-system.min.css.gz| Bin 3208 -> 3210 bytes
 node_modules/iltorb/build/Release/iltorb.node   | Bin 865768 -> 865768 bytes
 node_modules/iltorb/build/bindings/iltorb.node  | Bin 865768 -> 865768 bytes
 49 files changed, 54 insertions(+), 11 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/57aefda6/demo-app/theming/fds-demo.scss
--
diff --git a/demo-app/theming/fds-demo.scss b/demo-app/theming/fds-demo.scss
index b1aed8a..3ef54f6 100644
--- a/demo-app/theming/fds-demo.scss
+++ b/demo-app/theming/fds-demo.scss
@@ -19,10 +19,10 @@
  * In this file you should centralize your imports. After compilation simply 
import this file using the following HTML or equivalent:
  *  */
 
-@import '../../target/node_modules/@nifi-fds/core/common/styles/globalVars';
+@import '../../node_modules/@nifi-fds/core/common/styles/globalVars';
 // Include the base styles for Nifi FDS core. We include this here so that you 
only
 // have to load a single css file for Nifi FDS in your app.
-@import '../../target/node_modules/@nifi-fds/core/theming/all-theme';
+@import '../../node_modules/@nifi-fds/core/theming/all-theme';
 @import 'structureElements';
 @import 'helperClasses';
 

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/57aefda6/node_modules/.bin/blocking-proxy
--
diff --git a/node_modules/.bin/blocking-proxy b/node_modules/.bin/blocking-proxy
new file mode 12
index 000..2b0fa22
--- /dev/null
+++ b/node_modules/.bin/blocking-proxy
@@ -0,0 +1 @@
+../blocking-proxy/built/lib/bin.js
\ No newline at end of 

[37/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/bundles/animations.umd.min.js.map
--
diff --git a/node_modules/@angular/animations/bundles/animations.umd.min.js.map 
b/node_modules/@angular/animations/bundles/animations.umd.min.js.map
new file mode 100644
index 000..760d02c
--- /dev/null
+++ b/node_modules/@angular/animations/bundles/animations.umd.min.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["animations.umd.js"],"names":["global","factory","exports","module","define","amd","ng","animations","this","trigger","name","definitions","type","options","animate","timings","styles","group","steps","sequence","style","tokens","offset","state","keyframes","transition","stateChangeExpr","expr","animation","animateChild","useAnimation","query","selector","stagger","scheduleMicroTask","cb","Promise","resolve","then","AnimationBuilder","AnimationFactory","NoopAnimationPlayer","_onDoneFns","_onStartFns","_onDestroyFns","_started","_destroyed","_finished","parentPlayer","totalTime","prototype","_onFinish","forEach","fn","onStart","push","onDone","onDestroy","hasStarted","init","play","_onStart","triggerMicrotask","_this","pause","restart","finish","destroy","reset","setPosition","p","getPosition","triggerCallback","phaseName","methods","length","AnimationGroupPlayer","_players","players","doneCount","destroyCount","startCount","total","player","_onDestroy","reduc
 
e","time","Math","max","timeAtPosition","position","min","beforeDestroy","AUTO_STYLE","ɵAnimationGroupPlayer","ɵPRE_STYLE","Object","defineProperty","value"],"mappings":";CAKC,SAAUA,OAAQC,SACC,gBAAZC,UAA0C,mBAAXC,QAAyBF,QAAQC,SACrD,kBAAXE,SAAyBA,OAAOC,IAAMD,OAAO,uBAAwB,WAAYH,SACvFA,SAASD,OAAOM,GAAKN,OAAOM,OAAUN,OAAOM,GAAGC,iBAChDC,KAAM,SAAWN,SAAW,YAkT9B,SAASO,SAAQC,KAAMC,aACnB,OAASC,KAAM,EAAiBF,KAAMA,KAAMC,YAAaA,YAAaE,YAkD1E,QAASC,SAAQC,QAASC,QAEtB,WADe,KAAXA,SAAqBA,OAAS,OACzBJ,KAAM,EAAiBI,OAAQA,OAAQD,QAASA,SAoC7D,QAASE,OAAMC,MAAOL,SAElB,WADgB,KAAZA,UAAsBA,QAAU,OAC3BD,KAAM,EAAeM,MAAOA,MAAOL,QAASA,SAuCzD,QAASM,UAASD,MAAOL,SAErB,WADgB,KAAZA,UAAsBA,QAAU,OAC3BD,KAAM,EAAkBM,MAAOA,MAAOL,QAASA,SA8C5D,QAASO,OAAMC,QACX,OAAST,KAAM,EAAeI,OAAQK,OAAQC,OAAQ,MAsD1D,QAASC,OAAMb,KAAMM,OAAQH,SACzB,OAASD,KAAM,EAAeF,KAAMA,KAAMM,OAAQA,OAAQH,QAASA,SAiDvE,QAASW,WAAUN,OACf,OAASN,KAAM,EAAmBM,MAAOA,OA6M7C,QAASO,YAAWC,gBAAiBR,MAAOL,SAExC,WADgB,KAAZA,UAAsBA,QAAU,OAC3BD,KAAM,EAAoBe,KAAMD,gBAAiBE,UAAWV,MAA
 
OL,QAASA,SAwCzF,QAASe,WAAUV,MAAOL,SAEtB,WADgB,KAAZA,UAAsBA,QAAU,OAC3BD,KAAM,EAAmBgB,UAAWV,MAAOL,QAASA,SAqGjE,QAASgB,cAAahB,SAElB,WADgB,KAAZA,UAAsBA,QAAU,OAC3BD,KAAM,EAAsBC,QAASA,SAYlD,QAASiB,cAAaF,UAAWf,SAE7B,WADgB,KAAZA,UAAsBA,QAAU,OAC3BD,KAAM,GAAqBgB,UAAWA,UAAWf,QAASA,SAkGvE,QAASkB,OAAMC,SAAUJ,UAAWf,SAEhC,WADgB,KAAZA,UAAsBA,QAAU,OAC3BD,KAAM,GAAgBoB,SAAUA,SAAUJ,UAAWA,UAAWf,QAASA,SAmFtF,QAASoB,SAAQlB,QAASa,WACtB,OAAShB,KAAM,GAAkBG,QAASA,QAASa,UAAWA;AAgBlE,QAASM,mBAAkBC,IACvBC,QAAQC,QAAQ,MAAMC,KAAKH;AAllC/B,GAAII,kBAAkC,WAClC,QAASA,qBAET,MAAOA,qBASPC,iBAAkC,WAClC,QAASA,qBAET,MAAOA,qBAslCPC,oBAAqC,WACrC,QAASA,uBACLjC,KAAKkC,cACLlC,KAAKmC,eACLnC,KAAKoC,iBACLpC,KAAKqC,UAAW,EAChBrC,KAAKsC,YAAa,EAClBtC,KAAKuC,WAAY,EACjBvC,KAAKwC,aAAe,KACpBxC,KAAKyC,UAAY,EAqKrB,MAhKAR,qBAAoBS,UAAUC,UAG9B,WACS3C,KAAKuC,YACNvC,KAAKuC,WAAY,EACjBvC,KAAKkC,WAAWU,QAAQ,SAAUC,IAAM,MAAOA,QAC/C7C,KAAKkC,gBAObD,oBAAoBS,UAAUI,QAI9B,SAAUD,IAAM7C,KAAKmC,YAAYY,KAAKF,KAKtCZ,oBAAoBS,UAAUM,OAI9B,SAAUH,IAAM7C,KAA
 
KkC,WAAWa,KAAKF,KAKrCZ,oBAAoBS,UAAUO,UAI9B,SAAUJ,IAAM7C,KAAKoC,cAAcW,KAAKF,KAIxCZ,oBAAoBS,UAAUQ,WAG9B,WAAc,MAAOlD,MAAKqC,UAI1BJ,oBAAoBS,UAAUS,KAG9B,aAIAlB,oBAAoBS,UAAUU,KAG9B,WACSpD,KAAKkD,eACNlD,KAAKqD,WACLrD,KAAKsD,oBAETtD,KAAKqC,UAAW,GAMpBJ,oBAAoBS,UAAUY,iBAG9B,WACI,GAAIC,OAAQvD,IACZ0B,mBAAkB,WAAc,MAAO6B,OAAMZ,eAKjDV,oBAAoBS,UAAUW,SAG9B,WACIrD,KAAKmC,YAAYS,QAAQ,SAAUC,IAAM,MAAOA,QAChD7C,KAAKmC,gBAKTF,oBAAoBS,UAAUc,MAG9B,aAIAvB,oBAAoBS,UAAUe,QAG9B,aAIAxB,oBAAoBS,UAAUgB,OAG9B,WAAc1D,KAAK2C,aAInBV,oBAAoBS,UAAUiB,QAG9B,WACS3D,KAAKsC,aACNtC,KAAKsC,YAAa,EACbtC,KAAKkD,cACNlD,KAAKqD,WAETrD,KAAK0D,SACL1D,KAAKoC,cAAcQ,QAAQ,SAAUC,IAAM,MAAOA,QAClD7C,KAAKoC,mBAMbH,oBAAoBS,UAAUkB,MAG9B,aAKA3B,oBAAoBS,UAAUmB,YAI9B,SAAUC,KAIV7B,oBAAoBS,UAAUqB,YAG9B,WAAc,MAAO,IAMrB9B,oBAAoBS,UAAUsB,gBAI9B,SAAUC,WACN,GAAqBC,SAAuB,SAAbD,UAAuBjE,KAAKmC,YAAcnC,KAAKkC,UAC9EgC,SAAQtB,QAAQ,SAAUC,IAAM,MAAOA,QACvCqB,QAAQC,OAAS,GAEdlC,uBAcPmC,qBAAsC,WACtC,QAASA,sBAAqBC,UAC1B,GAAId,OAAQvD,IACZA,MAAKkC,cACLlC,KAAKmC,eACLnC,KA
 

[40/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/bundles/animations-browser.umd.min.js.map
--
diff --git 
a/node_modules/@angular/animations/bundles/animations-browser.umd.min.js.map 
b/node_modules/@angular/animations/bundles/animations-browser.umd.min.js.map
new file mode 100644
index 000..1ea0094
--- /dev/null
+++ b/node_modules/@angular/animations/bundles/animations-browser.umd.min.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["animations-browser.umd.js"],"names":["global","factory","exports","module","require","define","amd","ng","animations","browser","this","_angular_animations","__extends","d","b","__","constructor","extendStatics","prototype","Object","create","optimizeGroupPlayer","players","length","NoopAnimationPlayer","ɵAnimationGroupPlayer","normalizeKeyframes","driver","normalizer","element","keyframes","preStyles","postStyles","errors","normalizedKeyframes","previousOffset","previousKeyframe","forEach","kf","offset","isSameOffset","normalizedKeyframe","keys","prop","normalizedProp","normalizedValue","normalizePropertyName","ɵPRE_STYLE","AUTO_STYLE","normalizeStyleValue","push","Error","join","listenOnPlayer","player","eventName","event","callback","onStart","copyAnimationEvent","totalTime","onDone","onDestroy","e","phaseName","makeAnimationEvent","triggerName","fromState","toState","undefined","data","getOrSetAsInMap","map","key","defaultValue","value","Map","get","se
 
t","parseTimelineCommand","command","separatorPos","indexOf","substring","substr","containsVendorPrefix","validateStyleProperty","_CACHED_BODY","getBodyNode","_IS_WEBKIT","style","result","charAt","toUpperCase","document","body","resolveTimingValue","matches","match","_convertTimeValueToMS","parseFloat","unit","ONE_SECOND","resolveTiming","timings","allowNegativeValues","hasOwnProperty","parseTimeExpression","exp","duration","regex","delay","easing","delayMatch","Math","floor","easingVal","containsErrors","startIndex","splice","copyObj","obj","destination","normalizeStyles","styles","normalizedStyles","Array","isArray","copyStyles","readPrototype","setStyles","camelProp","dashCaseToCamelCase","eraseStyles","normalizeAnimationEntry","steps","sequence","validateStyleParams","options","params","extractStyleParams","varName","val","toString","PARAM_REGEX","exec","lastIndex","interpolateParams","original","str","replace","_","localVal","iteratorToArray","iterator","arr","item","next","do
 
ne","input","DASH_CASE_REGEXP","m","_i","arguments","allowPreviousPlayerStylesMerge","visitDslNode","visitor","node","context","type","visitTrigger","visitState","visitTransition","visitSequence","visitGroup","visitAnimate","visitKeyframes","visitStyle","visitReference","visitAnimateChild","visitAnimateRef","visitQuery","visitStagger","parseTransitionExpr","transitionValue","expressions","split","parseInnerTransitionStr","eventStr","parseAnimationAlias","separator","makeLambdaFromStates","isFullAnyStateExpr","ANY_STATE","alias","lhs","rhs","LHS_MATCH_BOOLEAN","TRUE_BOOLEAN_VALUES","has","FALSE_BOOLEAN_VALUES","RHS_MATCH_BOOLEAN","lhsMatch","rhsMatch","buildAnimationAst","metadata","AnimationAstBuilderVisitor","build","normalizeSelector","selector","hasAmpersand","find","token","SELF_TOKEN","SELF_TOKEN_REGEX","NG_TRIGGER_SELECTOR","NG_ANIMATING_SELECTOR","normalizeParams","consumeOffset","styleTuple","isObject","constructTimingAst","makeTimingAst","strValue","some","v","ast","dynamic
 
","normalizeAnimationOptions","createTimelineInstruction","preStyleProps","postStyleProps","subTimeline","buildAnimationTimelines","rootElement","enterClassName","leaveClassName","startingStyles","finalStyles","subInstructions","AnimationTimelineBuilderVisitor","buildKeyframes","roundOffset","decimalPoints","mult","pow","round","flattenStyles","allStyles","allProperties","createTransitionInstruction","isRemovalTransition","fromStyles","toStyles","timelines","queriedElements","oneOrMoreTransitionsMatch","matchFns","currentState","nextState","fn","buildTrigger","name","AnimationTrigger","createFallbackTransition","states","AnimationTransitionFactory","animation","matchers","queryCount","depCount","balanceProperties","key1","key2","deleteOrUnsetInMap","currentValues","index","delete","normalizeTriggerValue","isElementNode","isTriggerEventValid","cloakElement","oldValue","display","cloakAndComputeStyles","valuesMap","elements","elementPropsMap","defaultStyle","cloakVals","failedElements
 

[36/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm2015/animations.js
--
diff --git a/node_modules/@angular/animations/esm2015/animations.js 
b/node_modules/@angular/animations/esm2015/animations.js
new file mode 100644
index 000..3a864ac
--- /dev/null
+++ b/node_modules/@angular/animations/esm2015/animations.js
@@ -0,0 +1,1509 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * AnimationBuilder is an injectable service that is available when the {\@link
+ * BrowserAnimationsModule BrowserAnimationsModule} or {\@link 
NoopAnimationsModule
+ * NoopAnimationsModule} modules are used within an application.
+ *
+ * The purpose if this service is to produce an animation sequence 
programmatically within an
+ * angular component or directive.
+ *
+ * Programmatic animations are first built and then a player is created when 
the build animation is
+ * attached to an element.
+ *
+ * ```ts
+ * // remember to include the BrowserAnimationsModule module for this to 
work...
+ * import {AnimationBuilder} from '\@angular/animations';
+ *
+ * class MyCmp {
+ *   constructor(private _builder: AnimationBuilder) {}
+ *
+ *   makeAnimation(element: any) {
+ * // first build the animation
+ * const myAnimation = this._builder.build([
+ *   style({ width: 0 }),
+ *   animate(1000, style({ width: '100px' }))
+ * ]);
+ *
+ * // then create a player from it
+ * const player = myAnimation.create(element);
+ *
+ * player.play();
+ *   }
+ * }
+ * ```
+ *
+ * When an animation is built an instance of {\@link AnimationFactory 
AnimationFactory} will be
+ * returned. Using that an {\@link AnimationPlayer AnimationPlayer} can be 
created which can then be
+ * used to start the animation.
+ *
+ * \@experimental Animation support is experimental.
+ * @abstract
+ */
+class AnimationBuilder {
+}
+/**
+ * An instance of `AnimationFactory` is returned from {\@link 
AnimationBuilder#build
+ * AnimationBuilder.build}.
+ *
+ * \@experimental Animation support is experimental.
+ * @abstract
+ */
+class AnimationFactory {
+}
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * @license
+ * Copyright Google Inc. All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ */
+const AUTO_STYLE = '*';
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link trigger trigger animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link state state animation function} is called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link transition transition animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link keyframes keyframes animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link style style animation function} is called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link animate animate animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link animateChild animateChild animation 
function} is called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link useAnimation 

[34/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm2015/browser.js
--
diff --git a/node_modules/@angular/animations/esm2015/browser.js 
b/node_modules/@angular/animations/esm2015/browser.js
new file mode 100644
index 000..bae363b
--- /dev/null
+++ b/node_modules/@angular/animations/esm2015/browser.js
@@ -0,0 +1,5138 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+import { AUTO_STYLE, NoopAnimationPlayer, sequence, style, 
ɵAnimationGroupPlayer, ɵPRE_STYLE } from '@angular/animations';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * @param {?} players
+ * @return {?}
+ */
+function optimizeGroupPlayer(players) {
+switch (players.length) {
+case 0:
+return new NoopAnimationPlayer();
+case 1:
+return players[0];
+default:
+return new ɵAnimationGroupPlayer(players);
+}
+}
+/**
+ * @param {?} driver
+ * @param {?} normalizer
+ * @param {?} element
+ * @param {?} keyframes
+ * @param {?=} preStyles
+ * @param {?=} postStyles
+ * @return {?}
+ */
+function normalizeKeyframes(driver, normalizer, element, keyframes, preStyles 
= {}, postStyles = {}) {
+const /** @type {?} */ errors = [];
+const /** @type {?} */ normalizedKeyframes = [];
+let /** @type {?} */ previousOffset = -1;
+let /** @type {?} */ previousKeyframe = null;
+keyframes.forEach(kf => {
+const /** @type {?} */ offset = /** @type {?} */ (kf['offset']);
+const /** @type {?} */ isSameOffset = offset == previousOffset;
+const /** @type {?} */ normalizedKeyframe = (isSameOffset && 
previousKeyframe) || {};
+Object.keys(kf).forEach(prop => {
+let /** @type {?} */ normalizedProp = prop;
+let /** @type {?} */ normalizedValue = kf[prop];
+if (prop !== 'offset') {
+normalizedProp = 
normalizer.normalizePropertyName(normalizedProp, errors);
+switch (normalizedValue) {
+case ɵPRE_STYLE:
+normalizedValue = preStyles[prop];
+break;
+case AUTO_STYLE:
+normalizedValue = postStyles[prop];
+break;
+default:
+normalizedValue =
+normalizer.normalizeStyleValue(prop, 
normalizedProp, normalizedValue, errors);
+break;
+}
+}
+normalizedKeyframe[normalizedProp] = normalizedValue;
+});
+if (!isSameOffset) {
+normalizedKeyframes.push(normalizedKeyframe);
+}
+previousKeyframe = normalizedKeyframe;
+previousOffset = offset;
+});
+if (errors.length) {
+const /** @type {?} */ LINE_START = '\n - ';
+throw new Error(`Unable to animate due to the following 
errors:${LINE_START}${errors.join(LINE_START)}`);
+}
+return normalizedKeyframes;
+}
+/**
+ * @param {?} player
+ * @param {?} eventName
+ * @param {?} event
+ * @param {?} callback
+ * @return {?}
+ */
+function listenOnPlayer(player, eventName, event, callback) {
+switch (eventName) {
+case 'start':
+player.onStart(() => callback(event && copyAnimationEvent(event, 
'start', player.totalTime)));
+break;
+case 'done':
+player.onDone(() => callback(event && copyAnimationEvent(event, 
'done', player.totalTime)));
+break;
+case 'destroy':
+player.onDestroy(() => callback(event && copyAnimationEvent(event, 
'destroy', player.totalTime)));
+break;
+}
+}
+/**
+ * @param {?} e
+ * @param {?=} phaseName
+ * @param {?=} totalTime
+ * @return {?}
+ */
+function copyAnimationEvent(e, phaseName, totalTime) {
+const /** @type {?} */ event = makeAnimationEvent(e.element, 
e.triggerName, e.fromState, e.toState, phaseName || e.phaseName, totalTime == 
undefined ? e.totalTime : totalTime);
+const /** @type {?} */ data = (/** @type {?} */ (e))['_data'];
+if (data != null) {
+(/** @type {?} */ (event))['_data'] = data;
+}
+return event;
+}
+/**
+ * @param {?} element
+ * @param {?} triggerName
+ * @param {?} fromState
+ * @param {?} toState
+ * @param {?=} phaseName
+ * @param {?=} totalTime
+ * @return {?}
+ */
+function makeAnimationEvent(element, triggerName, fromState, toState, 
phaseName = '', totalTime = 0) {
+return { element, triggerName, fromState, toState, phaseName, totalTime };
+}
+/**
+ * @param {?} map
+ * @param {?} key
+ * @param {?} defaultValue
+ * @return {?}
+ */
+function getOrSetAsInMap(map, key, defaultValue) {
+let /** @type {?} */ value;
+if (map instanceof Map) {
+value = map.get(key);
+if (!value) {
+ 

[57/59] [abbrv] nifi-fds git commit: remove node_modules/.bin

2018-06-06 Thread scottyaslan
remove node_modules/.bin


Project: http://git-wip-us.apache.org/repos/asf/nifi-fds/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-fds/commit/370b7b5d
Tree: http://git-wip-us.apache.org/repos/asf/nifi-fds/tree/370b7b5d
Diff: http://git-wip-us.apache.org/repos/asf/nifi-fds/diff/370b7b5d

Branch: refs/heads/gh-pages
Commit: 370b7b5d68e73c49e39e929cbfc42ea21fa0a113
Parents: 57aefda
Author: Scott Aslan 
Authored: Tue Jun 5 17:52:52 2018 -0400
Committer: Scott Aslan 
Committed: Tue Jun 5 17:52:52 2018 -0400

--
 .gitignore  | 1 +
 node_modules/.bin/blocking-proxy| 1 -
 node_modules/.bin/cake  | 1 -
 node_modules/.bin/coffee| 1 -
 node_modules/.bin/dateformat| 1 -
 node_modules/.bin/detect-libc   | 1 -
 node_modules/.bin/ecstatic  | 1 -
 node_modules/.bin/escodegen | 1 -
 node_modules/.bin/esgenerate| 1 -
 node_modules/.bin/esparse   | 1 -
 node_modules/.bin/esvalidate| 1 -
 node_modules/.bin/grunt | 1 -
 node_modules/.bin/handlebars| 1 -
 node_modules/.bin/he| 1 -
 node_modules/.bin/hs| 1 -
 node_modules/.bin/http-server   | 1 -
 node_modules/.bin/in-install| 1 -
 node_modules/.bin/in-publish| 1 -
 node_modules/.bin/istanbul  | 1 -
 node_modules/.bin/jasmine   | 1 -
 node_modules/.bin/js-yaml   | 1 -
 node_modules/.bin/karma | 1 -
 node_modules/.bin/mime  | 1 -
 node_modules/.bin/mkdirp| 1 -
 node_modules/.bin/node-gyp  | 1 -
 node_modules/.bin/node-sass | 1 -
 node_modules/.bin/nopt  | 1 -
 node_modules/.bin/not-in-install| 1 -
 node_modules/.bin/not-in-publish| 1 -
 node_modules/.bin/opener| 1 -
 node_modules/.bin/prebuild-install  | 1 -
 node_modules/.bin/protractor| 1 -
 node_modules/.bin/rc| 1 -
 node_modules/.bin/rimraf| 1 -
 node_modules/.bin/sassgraph | 1 -
 node_modules/.bin/semver| 1 -
 node_modules/.bin/sshpk-conv| 1 -
 node_modules/.bin/sshpk-sign| 1 -
 node_modules/.bin/sshpk-verify  | 1 -
 node_modules/.bin/strip-indent  | 1 -
 node_modules/.bin/uglifyjs  | 1 -
 node_modules/.bin/uuid  | 1 -
 node_modules/.bin/webdriver-manager | 1 -
 node_modules/.bin/which | 1 -
 44 files changed, 1 insertion(+), 43 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/370b7b5d/.gitignore
--
diff --git a/.gitignore b/.gitignore
index ef34551..b3d76d6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@ node_modules/protractor*
 node_modules/grunt*
 node_modules/jasmine*
 node_modules/webdriver*
+node_modules/.bin/
 .github/
 demo-app/gh-pages*
 demo-app/index.html

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/370b7b5d/node_modules/.bin/blocking-proxy
--
diff --git a/node_modules/.bin/blocking-proxy b/node_modules/.bin/blocking-proxy
deleted file mode 12
index 2b0fa22..000
--- a/node_modules/.bin/blocking-proxy
+++ /dev/null
@@ -1 +0,0 @@
-../blocking-proxy/built/lib/bin.js
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/370b7b5d/node_modules/.bin/cake
--
diff --git a/node_modules/.bin/cake b/node_modules/.bin/cake
deleted file mode 12
index 373ed19..000
--- a/node_modules/.bin/cake
+++ /dev/null
@@ -1 +0,0 @@
-../coffeescript/bin/cake
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/370b7b5d/node_modules/.bin/coffee
--
diff --git a/node_modules/.bin/coffee b/node_modules/.bin/coffee
deleted file mode 12
index 52c50e8..000
--- a/node_modules/.bin/coffee
+++ /dev/null
@@ -1 +0,0 @@
-../coffeescript/bin/coffee
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/370b7b5d/node_modules/.bin/dateformat
--
diff --git a/node_modules/.bin/dateformat b/node_modules/.bin/dateformat
deleted file mode 12
index bb9cf7b..000
--- a/node_modules/.bin/dateformat
+++ /dev/null
@@ -1 +0,0 @@
-../dateformat/bin/cli.js
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/370b7b5d/node_modules/.bin/detect-libc
--
diff --git a/node_modules/.bin/detect-libc b/node_modules/.bin/detect-libc
deleted file mode 12
index b4c4b76..000
--- a/node_modules/.bin/detect-libc
+++ /dev/null
@@ -1 +0,0 @@

[19/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-observers.umd.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-observers.umd.js 
b/node_modules/@angular/cdk/bundles/cdk-observers.umd.js
new file mode 100644
index 000..bad6972
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-observers.umd.js
@@ -0,0 +1,197 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/core'), require('@angular/cdk/coercion'), 
require('rxjs/Subject'), require('rxjs/operators/debounceTime')) :
+   typeof define === 'function' && define.amd ? define(['exports', 
'@angular/core', '@angular/cdk/coercion', 'rxjs/Subject', 
'rxjs/operators/debounceTime'], factory) :
+   (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || 
{}, global.ng.cdk.observers = global.ng.cdk.observers || 
{}),global.ng.core,global.ng.cdk.coercion,global.Rx,global.Rx.operators));
+}(this, (function 
(exports,_angular_core,_angular_cdk_coercion,rxjs_Subject,rxjs_operators_debounceTime)
 { 'use strict';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Factory that creates a new MutationObserver and allows us to stub it out in 
unit tests.
+ * \@docs-private
+ */
+var MutationObserverFactory = /** @class */ (function () {
+function MutationObserverFactory() {
+}
+/**
+ * @param {?} callback
+ * @return {?}
+ */
+MutationObserverFactory.prototype.create = /**
+ * @param {?} callback
+ * @return {?}
+ */
+function (callback) {
+return typeof MutationObserver === 'undefined' ? null : new 
MutationObserver(callback);
+};
+MutationObserverFactory.decorators = [
+{ type: _angular_core.Injectable },
+];
+/** @nocollapse */
+MutationObserverFactory.ctorParameters = function () { return []; };
+return MutationObserverFactory;
+}());
+/**
+ * Directive that triggers a callback whenever the content of
+ * its associated element has changed.
+ */
+var CdkObserveContent = /** @class */ (function () {
+function CdkObserveContent(_mutationObserverFactory, _elementRef, _ngZone) 
{
+this._mutationObserverFactory = _mutationObserverFactory;
+this._elementRef = _elementRef;
+this._ngZone = _ngZone;
+this._disabled = false;
+/**
+ * Event emitted for each change in the element's content.
+ */
+this.event = new _angular_core.EventEmitter();
+/**
+ * Used for debouncing the emitted values to the observeContent event.
+ */
+this._debouncer = new rxjs_Subject.Subject();
+}
+Object.defineProperty(CdkObserveContent.prototype, "disabled", {
+get: /**
+ * Whether observing content is disabled. This option can be used
+ * to disconnect the underlying MutationObserver until it is needed.
+ * @return {?}
+ */
+function () { return this._disabled; },
+set: /**
+ * @param {?} value
+ * @return {?}
+ */
+function (value) {
+this._disabled = 
_angular_cdk_coercion.coerceBooleanProperty(value);
+},
+enumerable: true,
+configurable: true
+});
+/**
+ * @return {?}
+ */
+CdkObserveContent.prototype.ngAfterContentInit = /**
+ * @return {?}
+ */
+function () {
+var _this = this;
+if (this.debounce > 0) {
+this._ngZone.runOutsideAngular(function () {
+
_this._debouncer.pipe(rxjs_operators_debounceTime.debounceTime(_this.debounce))
+.subscribe(function (mutations) { return 
_this.event.emit(mutations); });
+});
+}
+else {
+this._debouncer.subscribe(function (mutations) { return 
_this.event.emit(mutations); });
+}
+this._observer = this._ngZone.runOutsideAngular(function () {
+return _this._mutationObserverFactory.create(function (mutations) {
+_this._debouncer.next(mutations);
+});
+});
+if (!this.disabled) {
+this._enable();
+}
+};
+/**
+ * @param {?} changes
+ * @return {?}
+ */
+CdkObserveContent.prototype.ngOnChanges = /**
+ * @param {?} changes
+ * @return {?}
+ */
+function (changes) {
+if (changes['disabled']) {
+changes['disabled'].currentValue ? this._disable() : 
this._enable();
+}
+};
+/**
+ * @return {?}
+ */
+CdkObserveContent.prototype.ngOnDestroy = /**
+ * @return 

[21/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-accordion.umd.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-accordion.umd.js 
b/node_modules/@angular/cdk/bundles/cdk-accordion.umd.js
new file mode 100644
index 000..36f8390
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-accordion.umd.js
@@ -0,0 +1,272 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/core'), require('@angular/cdk/collections'), 
require('@angular/cdk/coercion')) :
+   typeof define === 'function' && define.amd ? define(['exports', 
'@angular/core', '@angular/cdk/collections', '@angular/cdk/coercion'], factory) 
:
+   (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || 
{}, global.ng.cdk.accordion = global.ng.cdk.accordion || 
{}),global.ng.core,global.ng.cdk.collections,global.ng.cdk.coercion));
+}(this, (function 
(exports,_angular_core,_angular_cdk_collections,_angular_cdk_coercion) { 'use 
strict';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Used to generate unique ID for each accordion.
+ */
+var nextId$1 = 0;
+/**
+ * Directive whose purpose is to manage the expanded state of CdkAccordionItem 
children.
+ */
+var CdkAccordion = /** @class */ (function () {
+function CdkAccordion() {
+/**
+ * A readonly id value to use for unique selection coordination.
+ */
+this.id = "cdk-accordion-" + nextId$1++;
+this._multi = false;
+}
+Object.defineProperty(CdkAccordion.prototype, "multi", {
+get: /**
+ * Whether the accordion should allow multiple expanded accordion 
items simultaneously.
+ * @return {?}
+ */
+function () { return this._multi; },
+set: /**
+ * @param {?} multi
+ * @return {?}
+ */
+function (multi) { this._multi = 
_angular_cdk_coercion.coerceBooleanProperty(multi); },
+enumerable: true,
+configurable: true
+});
+CdkAccordion.decorators = [
+{ type: _angular_core.Directive, args: [{
+selector: 'cdk-accordion, [cdkAccordion]',
+exportAs: 'cdkAccordion',
+},] },
+];
+/** @nocollapse */
+CdkAccordion.ctorParameters = function () { return []; };
+CdkAccordion.propDecorators = {
+"multi": [{ type: _angular_core.Input },],
+};
+return CdkAccordion;
+}());
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Used to generate unique ID for each accordion item.
+ */
+var nextId = 0;
+/**
+ * An basic directive expected to be extended and decorated as a component.  
Sets up all
+ * events and attributes needed to be managed by a CdkAccordion parent.
+ */
+var CdkAccordionItem = /** @class */ (function () {
+function CdkAccordionItem(accordion, _changeDetectorRef, 
_expansionDispatcher) {
+var _this = this;
+this.accordion = accordion;
+this._changeDetectorRef = _changeDetectorRef;
+this._expansionDispatcher = _expansionDispatcher;
+/**
+ * Event emitted every time the AccordionItem is closed.
+ */
+this.closed = new _angular_core.EventEmitter();
+/**
+ * Event emitted every time the AccordionItem is opened.
+ */
+this.opened = new _angular_core.EventEmitter();
+/**
+ * Event emitted when the AccordionItem is destroyed.
+ */
+this.destroyed = new _angular_core.EventEmitter();
+/**
+ * Emits whenever the expanded state of the accordion changes.
+ * Primarily used to facilitate two-way binding.
+ * \@docs-private
+ */
+this.expandedChange = new _angular_core.EventEmitter();
+/**
+ * The unique AccordionItem id.
+ */
+this.id = "cdk-accordion-child-" + nextId++;
+this._expanded = false;
+this._disabled = false;
+/**
+ * Unregister function for _expansionDispatcher.
+ */
+this._removeUniqueSelectionListener = function () { };
+this._removeUniqueSelectionListener =
+_expansionDispatcher.listen(function (id, accordionId) {
+if (_this.accordion && !_this.accordion.multi &&
+_this.accordion.id === accordionId && _this.id !== id) {
+_this.expanded = false;
+}
+});
+}
+Object.defineProperty(CdkAccordionItem.prototype, "expanded", {
+get: /**
+ * Whether 

[25/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js 
b/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js
new file mode 100644
index 000..c5b06f8
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js
@@ -0,0 +1,2427 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/core'), require('@angular/cdk/coercion'), 
require('rxjs/operators/take'), require('@angular/cdk/platform'), 
require('@angular/common'), require('rxjs/Subject'), 
require('rxjs/Subscription'), require('@angular/cdk/keycodes'), 
require('rxjs/operators/debounceTime'), require('rxjs/operators/filter'), 
require('rxjs/operators/map'), require('rxjs/operators/tap'), 
require('rxjs/observable/of')) :
+   typeof define === 'function' && define.amd ? define(['exports', 
'@angular/core', '@angular/cdk/coercion', 'rxjs/operators/take', 
'@angular/cdk/platform', '@angular/common', 'rxjs/Subject', 
'rxjs/Subscription', '@angular/cdk/keycodes', 'rxjs/operators/debounceTime', 
'rxjs/operators/filter', 'rxjs/operators/map', 'rxjs/operators/tap', 
'rxjs/observable/of'], factory) :
+   (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || 
{}, global.ng.cdk.a11y = global.ng.cdk.a11y || 
{}),global.ng.core,global.ng.cdk.coercion,global.Rx.operators,global.ng.cdk.platform,global.ng.common,global.Rx,global.Rx,global.ng.cdk.keycodes,global.Rx.operators,global.Rx.operators,global.Rx.operators,global.Rx.operators,global.Rx.Observable));
+}(this, (function 
(exports,_angular_core,_angular_cdk_coercion,rxjs_operators_take,_angular_cdk_platform,_angular_common,rxjs_Subject,rxjs_Subscription,_angular_cdk_keycodes,rxjs_operators_debounceTime,rxjs_operators_filter,rxjs_operators_map,rxjs_operators_tap,rxjs_observable_of)
 { 'use strict';
+
+/*! 
*
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed 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
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABLITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+* 
*/
+/* global Reflect, Promise */
+
+var extendStatics = Object.setPrototypeOf ||
+({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; 
}) ||
+function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+
+function __extends(d, b) {
+extendStatics(d, b);
+function __() { this.constructor = d; }
+d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, 
new __());
+}
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Utility for checking the interactivity of an element, such as whether is is 
focusable or
+ * tabbable.
+ */
+var InteractivityChecker = /** @class */ (function () {
+function InteractivityChecker(_platform) {
+this._platform = _platform;
+}
+/**
+ * Gets whether an element is disabled.
+ *
+ * @param element Element to be checked.
+ * @returns Whether the element is disabled.
+ */
+/**
+ * Gets whether an element is disabled.
+ *
+ * @param {?} element Element to be checked.
+ * @return {?} Whether the element is disabled.
+ */
+InteractivityChecker.prototype.isDisabled = /**
+ * Gets whether an element is disabled.
+ *
+ * @param {?} element Element to be checked.
+ * @return {?} Whether the element is disabled.
+ */
+function (element) {
+// This does not capture some cases, such as a non-form control with a 
disabled attribute or
+// a form control inside of a disabled form, but should capture the 
most common cases.
+return element.hasAttribute('disabled');
+};
+/**
+ * Gets whether an element is visible for the purposes of interactivity.
+ *
+ * This will capture states like `display: none` and `visibility: hidden`, 
but not things like
+ * being clipped by an `overflow: hidden` parent or being outside the 
viewport.
+   

[12/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-scrolling.umd.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-scrolling.umd.js 
b/node_modules/@angular/cdk/bundles/cdk-scrolling.umd.js
new file mode 100644
index 000..9c601f6
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-scrolling.umd.js
@@ -0,0 +1,562 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/core'), require('@angular/cdk/platform'), 
require('rxjs/Subject'), require('rxjs/Observable'), 
require('rxjs/observable/of'), require('rxjs/observable/fromEvent'), 
require('rxjs/operators/auditTime'), require('rxjs/operators/filter'), 
require('rxjs/observable/merge')) :
+   typeof define === 'function' && define.amd ? define(['exports', 
'@angular/core', '@angular/cdk/platform', 'rxjs/Subject', 'rxjs/Observable', 
'rxjs/observable/of', 'rxjs/observable/fromEvent', 'rxjs/operators/auditTime', 
'rxjs/operators/filter', 'rxjs/observable/merge'], factory) :
+   (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || 
{}, global.ng.cdk.scrolling = global.ng.cdk.scrolling || 
{}),global.ng.core,global.ng.cdk.platform,global.Rx,global.Rx,global.Rx.Observable,global.Rx.Observable,global.Rx.operators,global.Rx.operators,global.Rx.Observable));
+}(this, (function 
(exports,_angular_core,_angular_cdk_platform,rxjs_Subject,rxjs_Observable,rxjs_observable_of,rxjs_observable_fromEvent,rxjs_operators_auditTime,rxjs_operators_filter,rxjs_observable_merge)
 { 'use strict';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Time in ms to throttle the scrolling events by default.
+ */
+var DEFAULT_SCROLL_TIME = 20;
+/**
+ * Service contained all registered Scrollable references and emits an event 
when any one of the
+ * Scrollable references emit a scrolled event.
+ */
+var ScrollDispatcher = /** @class */ (function () {
+function ScrollDispatcher(_ngZone, _platform) {
+this._ngZone = _ngZone;
+this._platform = _platform;
+/**
+ * Subject for notifying that a registered scrollable reference 
element has been scrolled.
+ */
+this._scrolled = new rxjs_Subject.Subject();
+/**
+ * Keeps track of the global `scroll` and `resize` subscriptions.
+ */
+this._globalSubscription = null;
+/**
+ * Keeps track of the amount of subscriptions to `scrolled`. Used for 
cleaning up afterwards.
+ */
+this._scrolledCount = 0;
+/**
+ * Map of all the scrollable references that are registered with the 
service and their
+ * scroll event subscriptions.
+ */
+this.scrollContainers = new Map();
+}
+/**
+ * Registers a scrollable instance with the service and listens for its 
scrolled events. When the
+ * scrollable is scrolled, the service emits the event to its scrolled 
observable.
+ * @param scrollable Scrollable instance to be registered.
+ */
+/**
+ * Registers a scrollable instance with the service and listens for its 
scrolled events. When the
+ * scrollable is scrolled, the service emits the event to its scrolled 
observable.
+ * @param {?} scrollable Scrollable instance to be registered.
+ * @return {?}
+ */
+ScrollDispatcher.prototype.register = /**
+ * Registers a scrollable instance with the service and listens for its 
scrolled events. When the
+ * scrollable is scrolled, the service emits the event to its scrolled 
observable.
+ * @param {?} scrollable Scrollable instance to be registered.
+ * @return {?}
+ */
+function (scrollable) {
+var _this = this;
+var /** @type {?} */ scrollSubscription = scrollable.elementScrolled()
+.subscribe(function () { return _this._scrolled.next(scrollable); 
});
+this.scrollContainers.set(scrollable, scrollSubscription);
+};
+/**
+ * Deregisters a Scrollable reference and unsubscribes from its scroll 
event observable.
+ * @param scrollable Scrollable instance to be deregistered.
+ */
+/**
+ * Deregisters a Scrollable reference and unsubscribes from its scroll 
event observable.
+ * @param {?} scrollable Scrollable instance to be deregistered.
+ * @return {?}
+ */
+ScrollDispatcher.prototype.deregister = /**
+ * Deregisters a Scrollable reference and unsubscribes from its scroll 
event observable.
+ * @param {?} scrollable Scrollable instance to be deregistered.
+ * @return {?}
+ */
+function (scrollable) {
+

[24/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js.map
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js.map 
b/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js.map
new file mode 100644
index 000..0f1bff8
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-a11y.umd.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"cdk-a11y.umd.js","sources":["../../src/cdk/a11y/a11y-module.ts","../../src/cdk/a11y/fake-mousedown.ts","../../src/cdk/a11y/focus-monitor/focus-monitor.ts","../../src/cdk/a11y/live-announcer/live-announcer.ts","../../src/cdk/a11y/key-manager/focus-key-manager.ts","../../src/cdk/a11y/key-manager/activedescendant-key-manager.ts","../../src/cdk/a11y/key-manager/list-key-manager.ts","../../src/cdk/a11y/aria-describer/aria-describer.ts","../../src/cdk/a11y/aria-describer/aria-reference.ts","../../src/cdk/a11y/focus-trap/focus-trap.ts","../../src/cdk/a11y/interactivity-checker/interactivity-checker.ts","../../node_modules/tslib/tslib.es6.js"],"sourcesContent":["/**\n
 * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {PlatformModule} from 
'@angular/cdk/platform';\nimport {CommonModule} from '@angular/common';\n
 import {NgModule} from '@angular/core';\nimport {ARIA_DESCRIBER_PROVIDER, 
AriaDescriber} from './aria-describer/aria-describer';\nimport 
{CdkMonitorFocus, FOCUS_MONITOR_PROVIDER} from 
'./focus-monitor/focus-monitor';\nimport {\n  CdkTrapFocus,\n  
FocusTrapDeprecatedDirective,\n  FocusTrapFactory,\n} from 
'./focus-trap/focus-trap';\nimport {InteractivityChecker} from 
'./interactivity-checker/interactivity-checker';\nimport 
{LIVE_ANNOUNCER_PROVIDER} from 
'./live-announcer/live-announcer';\n\n@NgModule({\n  imports: [CommonModule, 
PlatformModule],\n  declarations: [CdkTrapFocus, FocusTrapDeprecatedDirective, 
CdkMonitorFocus],\n  exports: [CdkTrapFocus, FocusTrapDeprecatedDirective, 
CdkMonitorFocus],\n  providers: [\nInteractivityChecker,\n
FocusTrapFactory,\nAriaDescriber,\nLIVE_ANNOUNCER_PROVIDER,\n
ARIA_DESCRIBER_PROVIDER,\nFOCUS_MONITOR_PROVIDER,\n  ]\n})\nexport class 
A11yModule {}\n","/**\n * @license\n * Copyright Google LLC All Rights 
Reserved.\n *\n * Use 
 of this source code is governed by an MIT-style license that can be\n * found 
in the LICENSE file at https://angular.io/license\n */\n\n/**\n * Screenreaders 
will often fire fake mousedown events when a focusable element\n * is activated 
using the keyboard. We can typically distinguish between these faked\n * 
mousedown events and real mousedown events using the \"buttons\" property. 
While\n * real mousedowns will indicate the mouse button that was pressed (e.g. 
\"1\" for\n * the left mouse button), faked mousedowns will usually set the 
property value to 0.\n */\nexport function 
isFakeMousedownFromScreenReader(event: MouseEvent): boolean {\n  return 
event.buttons === 0;\n}\n","/**\n * @license\n * Copyright Google LLC All 
Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style 
license that can be\n * found in the LICENSE file at 
https://angular.io/license\n */\nimport {Platform, 
supportsPassiveEventListeners} from '@angular/cdk/platform';\nimport {\n  
Directive,\
 n  ElementRef,\n  EventEmitter,\n  Injectable,\n  NgZone,\n  OnDestroy,\n  
Optional,\n  Output,\n  Renderer2,\n  SkipSelf,\n} from 
'@angular/core';\nimport {Observable} from 'rxjs/Observable';\nimport {of as 
observableOf} from 'rxjs/observable/of';\nimport {Subject} from 
'rxjs/Subject';\nimport {Subscription} from 'rxjs/Subscription';\n\n\n// This 
is the value used by AngularJS Material. Through trial and error (on iPhone 6S) 
they found\n// that a value of around 650ms seems appropriate.\nexport const 
TOUCH_BUFFER_MS = 650;\n\n\nexport type FocusOrigin = 'touch' | 'mouse' | 
'keyboard' | 'program' | null;\n\n\ntype MonitoredElementInfo = {\n  unlisten: 
Function,\n  checkChildren: boolean,\n  subject: 
Subject\n};\n\n\n/** Monitors mouse and keyboard events to 
determine the cause of focus events. */\n@Injectable()\nexport class 
FocusMonitor implements OnDestroy {\n  /** The focus origin that the next focus 
event is a result of. */\n  private _origin: FocusOrigin = null;\n\
 n  /** The FocusOrigin of the last focus event tracked by the FocusMonitor. 
*/\n  private _lastFocusOrigin: FocusOrigin;\n\n  /** Whether the window has 
just been focused. */\n  private _windowFocused = false;\n\n  /** The target of 
the last touch event. */\n  private _lastTouchTarget: EventTarget | null;\n\n  
/** The timeout id of the touch timeout, used to cancel timeout later. */\n  
private _touchTimeoutId: number;\n\n  /** The timeout id of the window focus 
timeout. */\n  private _windowFocusTimeoutId: 

[59/59] [abbrv] nifi-fds git commit: gh-pages update

2018-06-06 Thread scottyaslan
gh-pages update


Project: http://git-wip-us.apache.org/repos/asf/nifi-fds/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-fds/commit/6aea21ba
Tree: http://git-wip-us.apache.org/repos/asf/nifi-fds/tree/6aea21ba
Diff: http://git-wip-us.apache.org/repos/asf/nifi-fds/diff/6aea21ba

Branch: refs/heads/gh-pages
Commit: 6aea21ba4e2ccc923d77997bbf87c88beda6ab7e
Parents: 75ca3a9
Author: Scott Aslan 
Authored: Wed Jun 6 11:46:53 2018 -0400
Committer: Scott Aslan 
Committed: Wed Jun 6 11:46:53 2018 -0400

--
 README.md  |  24 +---
 node_modules/@nifi-fds/core/README.md  |  24 +---
 node_modules/iltorb/build/Release/iltorb.node  | Bin 865768 -> 865768 bytes
 node_modules/iltorb/build/bindings/iltorb.node | Bin 865768 -> 865768 bytes
 4 files changed, 42 insertions(+), 6 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/6aea21ba/README.md
--
diff --git a/README.md b/README.md
index 0d609e6..1e04a05 100644
--- a/README.md
+++ b/README.md
@@ -62,7 +62,7 @@ The Apache NiFi Flow Design System comes with a base CSS file 
`node_modules/@nif
 
 NiFi FDS is also a themeable UI/UX component platform. To customize the core 
FDS components create a simple Sass file that defines your palettes and passes 
them to mixins that output the corresponding styles. A typical theme file will 
look something like this:
 
-```javascript
+```sass
 @import '../../node_modules/@nifi-fds/core/common/styles/globalVars';
 @import '../../node_modules/@nifi-fds/core/theming/all-theme';
 
@@ -93,7 +93,7 @@ $fds-theme: mat-light-theme($fds-primary, $fds-accent, 
$fds-warn);
 
 You don't have to use Sass to style the rest of your application but you will 
need to compile this one. Angular CLI, grunt-sass, gulp-sass, and node-sass are 
all great options; the output of which will be a CSS file that must be included 
in the head of the HTML document after the base NiFi FDS CSS styles:
 
-```javascript
+```html
 
 
 ```
@@ -150,9 +150,27 @@ For developers with permissions releasing a new version of 
the NiFi Flow Design
 
  Deploying github.io demo
 
-The nifi-fds github.io demo can be staged to be deployed from the root 
nifi-fds directory via:
+Before deploying the demo-app to the gh-pages branch please make sure you have 
the following in your local repo:
+ 
+* Configured the apache git repo as a remote
+* Created a local gh-pages branch
+
+```bash
+git remote add apache https://git-wip-us.apache.org/repos/asf/nifi-fds.git
+git branch -f gh-pages
+``` 
+
+Then you can deploy any branch (typically this should be the latest release 
version) to the nifi-fds github.io from the root nifi-fds directory via:
 
 ```bash
+git checkout 
 npm run deploy:ghpages
 ```
 
+ npm publish
+Developers can easily publish the latest release artifacts to the public npm 
registry from the root nifi-fds directory via:
+
+```bash
+npm run publish
+```
+NOTE: These artifacts are maintained under the nifi-fds npm organization.

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/6aea21ba/node_modules/@nifi-fds/core/README.md
--
diff --git a/node_modules/@nifi-fds/core/README.md 
b/node_modules/@nifi-fds/core/README.md
index 0d609e6..1e04a05 100644
--- a/node_modules/@nifi-fds/core/README.md
+++ b/node_modules/@nifi-fds/core/README.md
@@ -62,7 +62,7 @@ The Apache NiFi Flow Design System comes with a base CSS file 
`node_modules/@nif
 
 NiFi FDS is also a themeable UI/UX component platform. To customize the core 
FDS components create a simple Sass file that defines your palettes and passes 
them to mixins that output the corresponding styles. A typical theme file will 
look something like this:
 
-```javascript
+```sass
 @import '../../node_modules/@nifi-fds/core/common/styles/globalVars';
 @import '../../node_modules/@nifi-fds/core/theming/all-theme';
 
@@ -93,7 +93,7 @@ $fds-theme: mat-light-theme($fds-primary, $fds-accent, 
$fds-warn);
 
 You don't have to use Sass to style the rest of your application but you will 
need to compile this one. Angular CLI, grunt-sass, gulp-sass, and node-sass are 
all great options; the output of which will be a CSS file that must be included 
in the head of the HTML document after the base NiFi FDS CSS styles:
 
-```javascript
+```html
 
 
 ```
@@ -150,9 +150,27 @@ For developers with permissions releasing a new version of 
the NiFi Flow Design
 
  Deploying github.io demo
 
-The nifi-fds github.io demo can be staged to be deployed from the root 
nifi-fds directory via:
+Before deploying the demo-app to the gh-pages branch please make sure you have 
the following in your local repo:
+ 
+* Configured the apache git repo as a remote
+* Created a local gh-pages 

[44/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/bundles/animations-browser-testing.umd.js.map
--
diff --git 
a/node_modules/@angular/animations/bundles/animations-browser-testing.umd.js.map
 
b/node_modules/@angular/animations/bundles/animations-browser-testing.umd.js.map
new file mode 100644
index 000..ddb6023
--- /dev/null
+++ 
b/node_modules/@angular/animations/bundles/animations-browser-testing.umd.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"animations-browser-testing.umd.js","sources":["../../../../node_modules/tslib/tslib.es6.js","../../../packages/animations/esm5/browser/src/render/shared.js","../../../packages/animations/esm5/browser/src/util.js","../../../packages/animations/esm5/browser/testing/src/mock_animation_driver.js"],"sourcesContent":["/*!
 
*\r\nCopyright
 (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache 
License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in 
compliance with the License. You may obtain a copy of the\r\nLicense at 
http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN 
*AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS 
OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR 
CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR 
NON-INFRINGEMENT.\r\n\r\nSee the Apa
 che Version 2.0 License for specific language governing permissions\r\nand 
limitations under the 
License.\r\n*
 */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = 
Object.setPrototypeOf ||\r\n({ __proto__: [] } instanceof Array && function 
(d, b) { d.__proto__ = b; }) ||\r\nfunction (d, b) { for (var p in b) if 
(b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nexport function __extends(d, b) 
{\r\nextendStatics(d, b);\r\nfunction __() { this.constructor = d; 
}\r\nd.prototype = b === null ? Object.create(b) : (__.prototype = 
b.prototype, new __());\r\n}\r\n\r\nexport var __assign = Object.assign || 
function __assign(t) {\r\nfor (var s, i = 1, n = arguments.length; i < n; 
i++) {\r\ns = arguments[i];\r\nfor (var p in s) if 
(Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n}\r\n
return t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\nvar t = {};\r
 \nfor (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && 
e.indexOf(p) < 0)\r\nt[p] = s[p];\r\nif (s != null && typeof 
Object.getOwnPropertySymbols === \"function\")\r\nfor (var i = 0, p = 
Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 
0)\r\nt[p[i]] = s[p[i]];\r\nreturn t;\r\n}\r\n\r\nexport 
function __decorate(decorators, target, key, desc) {\r\nvar c = 
arguments.length, r = c < 3 ? target : desc === null ? desc = 
Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\nif (typeof 
Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = 
Reflect.decorate(decorators, target, key, desc);\r\nelse for (var i = 
decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : 
c > 3 ? d(target, key, r) : d(target, key)) || r;\r\nreturn c > 3 && r && 
Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function 
__param(paramIndex, decorator) {\r\nreturn fu
 nction (target, key) { decorator(target, key, paramIndex); 
}\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n
if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") 
return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport 
function __awaiter(thisArg, _arguments, P, generator) {\r\nreturn new (P || 
(P = Promise))(function (resolve, reject) {\r\nfunction 
fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); 
} }\r\nfunction rejected(value) { try { step(generator.throw(value)); } 
catch (e) { reject(e); } }\r\nfunction step(result) { result.done ? 
resolve(result.value) : new P(function (resolve) { resolve(result.value); 
}).then(fulfilled, rejected); }\r\nstep((generator = 
generator.apply(thisArg, _arguments || [])).next());\r\n
});\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\nvar _ = { 
label: 0, sent: function() { if (t[0] & 1) throw t[1]; re
 turn t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\nreturn g = { next: 
verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === 
\"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n
function verb(n) { return function (v) { return step([n, v]); }; }\r\n
function step(op) {\r\nif (f) throw new TypeError(\"Generator is 
already executing.\");\r\n

[53/59] [abbrv] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
update gh-pages


Project: http://git-wip-us.apache.org/repos/asf/nifi-fds/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-fds/commit/16a14e5f
Tree: http://git-wip-us.apache.org/repos/asf/nifi-fds/tree/16a14e5f
Diff: http://git-wip-us.apache.org/repos/asf/nifi-fds/diff/16a14e5f

Branch: refs/heads/gh-pages
Commit: 16a14e5fd0881f4cdf2ababba25ea2fa20637dde
Parents: fac2a48
Author: Scott Aslan 
Authored: Tue Jun 5 17:20:29 2018 -0400
Committer: Scott Aslan 
Committed: Tue Jun 5 17:20:29 2018 -0400

--
 .github/PULL_REQUEST_TEMPLATE.md | 28 --
 .gitignore   |  2 +
 demo-app/gh-pages.index.html | 36 --
 demo-app/gh-pages.package.json   | 71 ---
 4 files changed, 2 insertions(+), 135 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/16a14e5f/.github/PULL_REQUEST_TEMPLATE.md
--
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
deleted file mode 100644
index 426a211..000
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ /dev/null
@@ -1,28 +0,0 @@
-Thank you for submitting a contribution to Apache NiFi Flow Design System.
-
-In order to streamline the review of the contribution we ask you
-to ensure the following steps have been taken:
-
-### For all changes:
-- [ ] Is there a JIRA ticket associated with this PR? Is it referenced
- in the commit message?
-
-- [ ] Does your PR title start with either NIFI- where  is the JIRA 
number you are trying to resolve? Pay particular attention to the hyphen "-" 
character.
-
-- [ ] Has your PR been rebased against the latest commit within the target 
branch (typically master)?
-
-- [ ] Is your initial contribution a single, squashed commit?
-
-### For code changes:
-- [ ] Have you written or updated unit tests to verify your changes?
-- [ ] Have you ensured that a full build and that the full suite of unit tests 
is executed via npm run clean:install at the root nifi-fds folder?
-- [ ] Have you written or updated the Apache NiFi Flow Design System demo 
application to demonstrate any new functionality, provide examples of usage, 
and to verify your changes via npm start at the nifi-fds/target folder?
-- [ ] If adding new dependencies to the code, are these dependencies licensed 
in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
-- [ ] If applicable, have you updated the LICENSE file, including the main 
LICENSE file under nifi-fds?
-- [ ] If applicable, have you updated the NOTICE file, including the main 
NOTICE file found under nifi-fds?
-
-### For documentation related changes:
-- [ ] Have you ensured that format looks appropriate for the output in which 
it is rendered?
-
-### Note:
-Please ensure that once the PR is submitted, you check travis-ci for build 
issues and submit an update to your PR as soon as possible.

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/16a14e5f/.gitignore
--
diff --git a/.gitignore b/.gitignore
index bafbf6a..45ff9c3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,8 @@ node_modules/protractor*
 node_modules/grunt*
 node_modules/jasmine*
 node_modules/webdriver*
+.github/
+demo-app/gh-pages*
 scripts/
 src/
 test/

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/16a14e5f/demo-app/gh-pages.index.html
--
diff --git a/demo-app/gh-pages.index.html b/demo-app/gh-pages.index.html
deleted file mode 100644
index b5c94b7..000
--- a/demo-app/gh-pages.index.html
+++ /dev/null
@@ -1,36 +0,0 @@
-
-
-
-
-Apache NiFi Flow Design System Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-  System.import('demo-app/fds-bootstrap.js').catch(function(err) 
{console.error(err);});
-
-

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/16a14e5f/demo-app/gh-pages.package.json
--
diff --git a/demo-app/gh-pages.package.json b/demo-app/gh-pages.package.json
deleted file mode 100644
index 00753cc..000
--- a/demo-app/gh-pages.package.json
+++ /dev/null
@@ -1,71 +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;,
-  

[58/59] [abbrv] nifi-fds git commit: gh-pages update

2018-06-06 Thread scottyaslan
gh-pages update


Project: http://git-wip-us.apache.org/repos/asf/nifi-fds/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-fds/commit/75ca3a9c
Tree: http://git-wip-us.apache.org/repos/asf/nifi-fds/tree/75ca3a9c
Diff: http://git-wip-us.apache.org/repos/asf/nifi-fds/diff/75ca3a9c

Branch: refs/heads/gh-pages
Commit: 75ca3a9c5c9eb8b0863f5995017f319d55ae9c53
Parents: 370b7b5
Author: Scott Aslan 
Authored: Tue Jun 5 23:03:21 2018 -0400
Committer: Scott Aslan 
Committed: Tue Jun 5 23:03:21 2018 -0400

--
 node_modules/@nifi-fds/core/LICENSE| 240 
 node_modules/@nifi-fds/core/NOTICE |   5 +
 node_modules/iltorb/build/Release/iltorb.node  | Bin 865768 -> 865768 bytes
 node_modules/iltorb/build/bindings/iltorb.node | Bin 865768 -> 865768 bytes
 4 files changed, 245 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/75ca3a9c/node_modules/@nifi-fds/core/LICENSE
--
diff --git a/node_modules/@nifi-fds/core/LICENSE 
b/node_modules/@nifi-fds/core/LICENSE
new file mode 100644
index 000..8d6dc97
--- /dev/null
+++ b/node_modules/@nifi-fds/core/LICENSE
@@ -0,0 +1,240 @@
+
+ Apache License
+   Version 2.0, January 2004
+http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+  "License" shall mean the terms and conditions for use, reproduction,
+  and distribution as defined by Sections 1 through 9 of this document.
+
+  "Licensor" shall mean the copyright owner or entity authorized by
+  the copyright owner that is granting the License.
+
+  "Legal Entity" shall mean the union of the acting entity and all
+  other entities that control, are controlled by, or are under common
+  control with that entity. For the purposes of this definition,
+  "control" means (i) the power, direct or indirect, to cause the
+  direction or management of such entity, whether by contract or
+  otherwise, or (ii) ownership of fifty percent (50%) or more of the
+  outstanding shares, or (iii) beneficial ownership of such entity.
+
+  "You" (or "Your") shall mean an individual or Legal Entity
+  exercising permissions granted by this License.
+
+  "Source" form shall mean the preferred form for making modifications,
+  including but not limited to software source code, documentation
+  source, and configuration files.
+
+  "Object" form shall mean any form resulting from mechanical
+  transformation or translation of a Source form, including but
+  not limited to compiled object code, generated documentation,
+  and conversions to other media types.
+
+  "Work" shall mean the work of authorship, whether in Source or
+  Object form, made available under the License, as indicated by a
+  copyright notice that is included in or attached to the work
+  (an example is provided in the Appendix below).
+
+  "Derivative Works" shall mean any work, whether in Source or Object
+  form, that is based on (or derived from) the Work and for which the
+  editorial revisions, annotations, elaborations, or other modifications
+  represent, as a whole, an original work of authorship. For the purposes
+  of this License, Derivative Works shall not include works that remain
+  separable from, or merely link (or bind by name) to the interfaces of,
+  the Work and Derivative Works thereof.
+
+  "Contribution" shall mean any work of authorship, including
+  the original version of the Work and any modifications or additions
+  to that Work or Derivative Works thereof, that is intentionally
+  submitted to Licensor for inclusion in the Work by the copyright owner
+  or by an individual or Legal Entity authorized to submit on behalf of
+  the copyright owner. For the purposes of this definition, "submitted"
+  means any form of electronic, verbal, or written communication sent
+  to the Licensor or its representatives, including but not limited to
+  communication on electronic mailing lists, source code control systems,
+  and issue tracking systems that are managed by, or on behalf of, the
+  Licensor for the purpose of discussing and improving the Work, but
+  excluding communication that is conspicuously marked or otherwise
+  designated in writing by the copyright owner as "Not a Contribution."
+
+  "Contributor" shall mean Licensor and any individual or Legal Entity
+  on behalf of whom a Contribution has been received by Licensor and
+  subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+ 

[32/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm2015/browser/testing.js
--
diff --git a/node_modules/@angular/animations/esm2015/browser/testing.js 
b/node_modules/@angular/animations/esm2015/browser/testing.js
new file mode 100644
index 000..ffe03b1
--- /dev/null
+++ b/node_modules/@angular/animations/esm2015/browser/testing.js
@@ -0,0 +1,445 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+import { AUTO_STYLE, NoopAnimationPlayer } from '@angular/animations';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * @param {?} players
+ * @return {?}
+ */
+
+/**
+ * @param {?} driver
+ * @param {?} normalizer
+ * @param {?} element
+ * @param {?} keyframes
+ * @param {?=} preStyles
+ * @param {?=} postStyles
+ * @return {?}
+ */
+
+/**
+ * @param {?} player
+ * @param {?} eventName
+ * @param {?} event
+ * @param {?} callback
+ * @return {?}
+ */
+
+/**
+ * @param {?} e
+ * @param {?=} phaseName
+ * @param {?=} totalTime
+ * @return {?}
+ */
+
+/**
+ * @param {?} element
+ * @param {?} triggerName
+ * @param {?} fromState
+ * @param {?} toState
+ * @param {?=} phaseName
+ * @param {?=} totalTime
+ * @return {?}
+ */
+
+/**
+ * @param {?} map
+ * @param {?} key
+ * @param {?} defaultValue
+ * @return {?}
+ */
+
+/**
+ * @param {?} command
+ * @return {?}
+ */
+
+let _contains = (elm1, elm2) => false;
+let _matches = (element, selector) => false;
+let _query = (element, selector, multi) => {
+return [];
+};
+if (typeof Element != 'undefined') {
+// this is well supported in all browsers
+_contains = (elm1, elm2) => { return /** @type {?} */ 
(elm1.contains(elm2)); };
+if (Element.prototype.matches) {
+_matches = (element, selector) => element.matches(selector);
+}
+else {
+const /** @type {?} */ proto = /** @type {?} */ (Element.prototype);
+const /** @type {?} */ fn = proto.matchesSelector || 
proto.mozMatchesSelector || proto.msMatchesSelector ||
+proto.oMatchesSelector || proto.webkitMatchesSelector;
+if (fn) {
+_matches = (element, selector) => fn.apply(element, [selector]);
+}
+}
+_query = (element, selector, multi) => {
+let /** @type {?} */ results = [];
+if (multi) {
+results.push(...element.querySelectorAll(selector));
+}
+else {
+const /** @type {?} */ elm = element.querySelector(selector);
+if (elm) {
+results.push(elm);
+}
+}
+return results;
+};
+}
+/**
+ * @param {?} prop
+ * @return {?}
+ */
+function containsVendorPrefix(prop) {
+// Webkit is the only real popular vendor prefix nowadays
+// cc: http://shouldiprefix.com/
+return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit
+}
+let _CACHED_BODY = null;
+let _IS_WEBKIT = false;
+/**
+ * @param {?} prop
+ * @return {?}
+ */
+function validateStyleProperty(prop) {
+if (!_CACHED_BODY) {
+_CACHED_BODY = getBodyNode() || {};
+_IS_WEBKIT = /** @type {?} */ ((_CACHED_BODY)).style ? 
('WebkitAppearance' in /** @type {?} */ ((_CACHED_BODY)).style) : false;
+}
+let /** @type {?} */ result = true;
+if (/** @type {?} */ ((_CACHED_BODY)).style && 
!containsVendorPrefix(prop)) {
+result = prop in /** @type {?} */ ((_CACHED_BODY)).style;
+if (!result && _IS_WEBKIT) {
+const /** @type {?} */ camelProp = 'Webkit' + 
prop.charAt(0).toUpperCase() + prop.substr(1);
+result = camelProp in /** @type {?} */ ((_CACHED_BODY)).style;
+}
+}
+return result;
+}
+/**
+ * @return {?}
+ */
+function getBodyNode() {
+if (typeof document != 'undefined') {
+return document.body;
+}
+return null;
+}
+const matchesElement = _matches;
+const containsElement = _contains;
+const invokeQuery = _query;
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+
+
+
+
+
+
+
+
+
+
+/**
+ * @param {?} value
+ * @return {?}
+ */
+
+/**
+ * @param {?} timings
+ * @param {?} errors
+ * @param {?=} allowNegativeValues
+ * @return {?}
+ */
+
+/**
+ * @param {?} obj
+ * @param {?=} destination
+ * @return {?}
+ */
+
+/**
+ * @param {?} styles
+ * @return {?}
+ */
+
+/**
+ * @param {?} styles
+ * @param {?} readPrototype
+ * @param {?=} destination
+ * @return {?}
+ */
+
+/**
+ * @param {?} element
+ * @param {?} styles
+ * @return {?}
+ */
+
+/**
+ * @param {?} element
+ * @param {?} styles
+ * @return {?}
+ */
+
+/**
+ * @param {?} steps
+ * @return {?}
+ */
+
+/**
+ * @param {?} value
+ * @param {?} options
+ * @param {?} errors
+ * @return {?}
+ */
+
+/**
+ * @param {?} value
+ * @return {?}
+ */
+
+/**
+ * @param {?} value
+ * @param {?} params
+ * @param {?} errors
+ * @return {?}
+ */
+
+/**
+ * @param 

[33/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm2015/browser.js.map
--
diff --git a/node_modules/@angular/animations/esm2015/browser.js.map 
b/node_modules/@angular/animations/esm2015/browser.js.map
new file mode 100644
index 000..6470106
--- /dev/null
+++ b/node_modules/@angular/animations/esm2015/browser.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"browser.js","sources":["../../../packages/animations/browser/src/render/shared.js","../../../packages/animations/browser/src/render/animation_driver.js","../../../packages/animations/browser/src/util.js","../../../packages/animations/browser/src/dsl/animation_transition_expr.js","../../../packages/animations/browser/src/dsl/animation_ast_builder.js","../../../packages/animations/browser/src/dsl/animation_timeline_instruction.js","../../../packages/animations/browser/src/dsl/element_instruction_map.js","../../../packages/animations/browser/src/dsl/animation_timeline_builder.js","../../../packages/animations/browser/src/dsl/animation.js","../../../packages/animations/browser/src/dsl/style_normalization/animation_style_normalizer.js","../../../packages/animations/browser/src/dsl/style_normalization/web_animations_style_normalizer.js","../../../packages/animations/browser/src/dsl/animation_transition_instruction.js","../../../packages/animations/browser/src/dsl/anim
 
ation_transition_factory.js","../../../packages/animations/browser/src/dsl/animation_trigger.js","../../../packages/animations/browser/src/render/timeline_animation_engine.js","../../../packages/animations/browser/src/render/transition_animation_engine.js","../../../packages/animations/browser/src/render/animation_engine_next.js","../../../packages/animations/browser/src/render/web_animations/web_animations_player.js","../../../packages/animations/browser/src/render/web_animations/web_animations_driver.js","../../../packages/animations/browser/src/private_export.js","../../../packages/animations/browser/src/browser.js","../../../packages/animations/browser/public_api.js","../../../packages/animations/browser/browser.js"],"sourcesContent":["/**\n
 * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n 
*/\nimport { AUTO_STYLE, NoopAnimationPlayer, ɵAnimationGroupPlayer, 
ɵPRE_STYLE as PRE_STYLE } from '@angular/animations';\n/**\n * @param {?} 
players\n * @return
  {?}\n */\nexport function optimizeGroupPlayer(players) {\nswitch 
(players.length) {\ncase 0:\nreturn new 
NoopAnimationPlayer();\ncase 1:\nreturn players[0];\n   
 default:\nreturn new ɵAnimationGroupPlayer(players);\n
}\n}\n/**\n * @param {?} driver\n * @param {?} normalizer\n * @param {?} 
element\n * @param {?} keyframes\n * @param {?=} preStyles\n * @param {?=} 
postStyles\n * @return {?}\n */\nexport function normalizeKeyframes(driver, 
normalizer, element, keyframes, preStyles = {}, postStyles = {}) {\nconst 
/** @type {?} */ errors = [];\nconst /** @type {?} */ normalizedKeyframes = 
[];\nlet /** @type {?} */ previousOffset = -1;\nlet /** @type {?} */ 
previousKeyframe = null;\nkeyframes.forEach(kf => {\nconst /** 
@type {?} */ offset = /** @type {?} */ (kf['offset']);\nconst /** @type 
{?} */ isSameOffset = offset == previousOffset;\nconst /** @type {?} */ 
normalizedKeyframe = 
 (isSameOffset && previousKeyframe) || {};\n
Object.keys(kf).forEach(prop => {\nlet /** @type {?} */ 
normalizedProp = prop;\nlet /** @type {?} */ normalizedValue = 
kf[prop];\nif (prop !== 'offset') {\nnormalizedProp 
= normalizer.normalizePropertyName(normalizedProp, errors);\n
switch (normalizedValue) {\ncase PRE_STYLE:\n   
 normalizedValue = preStyles[prop];\nbreak;\n   
 case AUTO_STYLE:\nnormalizedValue = 
postStyles[prop];\nbreak;\n
default:\nnormalizedValue =\n   
 normalizer.normalizeStyleValue(prop, normalizedProp, normalizedValue, 
errors);\nbreak;\n}\n}\n
normalizedKeyframe[normalizedProp] = normalizedValue;\n});\n
if (!isSameOffset) {\n 
normalizedKeyframes.push(normalizedKeyframe);\n}\n
previousKeyframe = normalizedKeyframe;\npreviousOffset = offset;\n
});\nif (errors.length) {\nconst /** @type {?} */ LINE_START = '\\n 
- ';\nthrow new Error(`Unable to animate due to the following 
errors:${LINE_START}${errors.join(LINE_START)}`);\n}\nreturn 
normalizedKeyframes;\n}\n/**\n * @param {?} player\n * @param {?} eventName\n * 
@param {?} event\n * @param {?} callback\n * @return {?}\n 

[31/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm5/animations.js
--
diff --git a/node_modules/@angular/animations/esm5/animations.js 
b/node_modules/@angular/animations/esm5/animations.js
new file mode 100644
index 000..c612650
--- /dev/null
+++ b/node_modules/@angular/animations/esm5/animations.js
@@ -0,0 +1,1644 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * AnimationBuilder is an injectable service that is available when the {\@link
+ * BrowserAnimationsModule BrowserAnimationsModule} or {\@link 
NoopAnimationsModule
+ * NoopAnimationsModule} modules are used within an application.
+ *
+ * The purpose if this service is to produce an animation sequence 
programmatically within an
+ * angular component or directive.
+ *
+ * Programmatic animations are first built and then a player is created when 
the build animation is
+ * attached to an element.
+ *
+ * ```ts
+ * // remember to include the BrowserAnimationsModule module for this to 
work...
+ * import {AnimationBuilder} from '\@angular/animations';
+ *
+ * class MyCmp {
+ *   constructor(private _builder: AnimationBuilder) {}
+ *
+ *   makeAnimation(element: any) {
+ * // first build the animation
+ * const myAnimation = this._builder.build([
+ *   style({ width: 0 }),
+ *   animate(1000, style({ width: '100px' }))
+ * ]);
+ *
+ * // then create a player from it
+ * const player = myAnimation.create(element);
+ *
+ * player.play();
+ *   }
+ * }
+ * ```
+ *
+ * When an animation is built an instance of {\@link AnimationFactory 
AnimationFactory} will be
+ * returned. Using that an {\@link AnimationPlayer AnimationPlayer} can be 
created which can then be
+ * used to start the animation.
+ *
+ * \@experimental Animation support is experimental.
+ * @abstract
+ */
+var AnimationBuilder = /** @class */ (function () {
+function AnimationBuilder() {
+}
+return AnimationBuilder;
+}());
+/**
+ * An instance of `AnimationFactory` is returned from {\@link 
AnimationBuilder#build
+ * AnimationBuilder.build}.
+ *
+ * \@experimental Animation support is experimental.
+ * @abstract
+ */
+var AnimationFactory = /** @class */ (function () {
+function AnimationFactory() {
+}
+return AnimationFactory;
+}());
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * @license
+ * Copyright Google Inc. All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ */
+var AUTO_STYLE = '*';
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link trigger trigger animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link state state animation function} is called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link transition transition animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link keyframes keyframes animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link style style animation function} is called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link animate animate animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link animateChild animateChild animation 
function} is called.
+ *
+ * \@experimental Animation support is 

[13/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map 
b/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map
new file mode 100644
index 000..3efc390
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-portal.umd.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"cdk-portal.umd.js","sources":["../../src/cdk/portal/portal-injector.ts","../../src/cdk/portal/portal-directives.ts","../../src/cdk/portal/dom-portal-outlet.ts","../../src/cdk/portal/portal.ts","../../src/cdk/portal/portal-errors.ts","../../node_modules/tslib/tslib.es6.js"],"sourcesContent":["/**\n
 * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {Injector} from 
'@angular/core';\n\n/**\n * Custom injector to be used when providing custom\n 
* injection tokens to components inside a portal.\n * @docs-private\n 
*/\nexport class PortalInjector implements Injector {\n  constructor(\n
private _parentInjector: Injector,\nprivate _customTokens: WeakMap) { }\n\n  get(token: any, notFoundValue?: any): any {\nconst value = 
this._customTokens.get(token);\n\nif (typeof value !== 'undefined')
  {\n  return value;\n}\n\nreturn 
this._parentInjector.get(token, notFoundValue);\n  }\n}\n","/**\n * 
@license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {\n  NgModule,\n  
ComponentRef,\n  Directive,\n  EmbeddedViewRef,\n  TemplateRef,\n  
ComponentFactoryResolver,\n  ViewContainerRef,\n  OnDestroy,\n  OnInit,\n  
Input,\n  EventEmitter,\n  Output,\n} from '@angular/core';\nimport {Portal, 
TemplatePortal, ComponentPortal, BasePortalOutlet} from './portal';\n\n\n/**\n 
* Directive version of a `TemplatePortal`. Because the directive *is* a 
TemplatePortal,\n * the directive instance itself can be attached to a host, 
enabling declarative use of portals.\n */\n@Directive({\n  selector: 
'[cdk-portal], [cdkPortal], [portal]',\n  exportAs: 'cdkPortal',\n})\nexport 
class CdkPortal extends TemplatePortal {\n  constructor(te
 mplateRef: TemplateRef, viewContainerRef: ViewContainerRef) {\n
super(templateRef, viewContainerRef);\n  }\n}\n\n/**\n * Possible attached 
references to the CdkPortalOutlet.\n */\nexport type CdkPortalOutletAttachedRef 
= ComponentRef | EmbeddedViewRef | null;\n\n\n/**\n * Directive 
version of a PortalOutlet. Because the directive *is* a PortalOutlet, portals 
can be\n * directly attached to it, enabling declarative use.\n *\n * Usage:\n 
* ``\n 
*/\n@Directive({\n  selector: '[cdkPortalOutlet], [cdkPortalHost], 
[portalHost]',\n  exportAs: 'cdkPortalOutlet, cdkPortalHost',\n  inputs: 
['portal: cdkPortalOutlet']\n})\nexport class CdkPortalOutlet extends 
BasePortalOutlet implements OnInit, OnDestroy {\n  /** Whether the portal 
component is initialized. */\n  private _isInitialized = false;\n\n  /** 
Reference to the currently-attached component/view ref. */\n  private 
_attachedRef: CdkPortalOutletAttachedRef;\n\n  
 constructor(\n  private _componentFactoryResolver: 
ComponentFactoryResolver,\n  private _viewContainerRef: ViewContainerRef) 
{\nsuper();\n  }\n\n  /**\n   * @deprecated\n   * @deletion-target 6.0.0\n  
 */\n  @Input('portalHost')\n  get _deprecatedPortal() { return this.portal; 
}\n  set _deprecatedPortal(v) { this.portal = v; }\n\n  /**\n   * @deprecated\n 
  * @deletion-target 6.0.0\n   */\n  @Input('cdkPortalHost')\n  get 
_deprecatedPortalHost() { return this.portal; }\n  set _deprecatedPortalHost(v) 
{ this.portal = v; }\n\n  /** Portal associated with the Portal outlet. */\n  
get portal(): Portal | null {\nreturn this._attachedPortal;\n  }\n\n  
set portal(portal: Portal | null) {\n// Ignore the cases where the 
`portal` is set to a falsy value before the lifecycle hooks have\n// run. 
This handles the cases where the user might do something like ``\n// and attach a portal programmatically in the parent 
component. When Angular
  does the first CD\n// round, it will fire the setter with empty string, 
causing the user's content to be cleared.\nif (this.hasAttached() && 
!portal && !this._isInitialized) {\n  return;\n}\n\nif 
(this.hasAttached()) {\n  super.detach();\n}\n\nif (portal) {\n 
 super.attach(portal);\n}\n\nthis._attachedPortal = portal;\n  }\n\n  
@Output('attached') attached: EventEmitter =\n  
new EventEmitter();\n\n  /** Component or view 
reference that is attached to the portal. */\n  get attachedRef(): 
CdkPortalOutletAttachedRef {\nreturn this._attachedRef;\n  }\n\n  

[29/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm5/browser.js
--
diff --git a/node_modules/@angular/animations/esm5/browser.js 
b/node_modules/@angular/animations/esm5/browser.js
new file mode 100644
index 000..e5efbef
--- /dev/null
+++ b/node_modules/@angular/animations/esm5/browser.js
@@ -0,0 +1,6131 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+import { AUTO_STYLE, NoopAnimationPlayer, sequence, style, 
ɵAnimationGroupPlayer, ɵPRE_STYLE } from '@angular/animations';
+import { __assign, __extends } from 'tslib';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * @param {?} players
+ * @return {?}
+ */
+function optimizeGroupPlayer(players) {
+switch (players.length) {
+case 0:
+return new NoopAnimationPlayer();
+case 1:
+return players[0];
+default:
+return new ɵAnimationGroupPlayer(players);
+}
+}
+/**
+ * @param {?} driver
+ * @param {?} normalizer
+ * @param {?} element
+ * @param {?} keyframes
+ * @param {?=} preStyles
+ * @param {?=} postStyles
+ * @return {?}
+ */
+function normalizeKeyframes(driver, normalizer, element, keyframes, preStyles, 
postStyles) {
+if (preStyles === void 0) { preStyles = {}; }
+if (postStyles === void 0) { postStyles = {}; }
+var /** @type {?} */ errors = [];
+var /** @type {?} */ normalizedKeyframes = [];
+var /** @type {?} */ previousOffset = -1;
+var /** @type {?} */ previousKeyframe = null;
+keyframes.forEach(function (kf) {
+var /** @type {?} */ offset = /** @type {?} */ (kf['offset']);
+var /** @type {?} */ isSameOffset = offset == previousOffset;
+var /** @type {?} */ normalizedKeyframe = (isSameOffset && 
previousKeyframe) || {};
+Object.keys(kf).forEach(function (prop) {
+var /** @type {?} */ normalizedProp = prop;
+var /** @type {?} */ normalizedValue = kf[prop];
+if (prop !== 'offset') {
+normalizedProp = 
normalizer.normalizePropertyName(normalizedProp, errors);
+switch (normalizedValue) {
+case ɵPRE_STYLE:
+normalizedValue = preStyles[prop];
+break;
+case AUTO_STYLE:
+normalizedValue = postStyles[prop];
+break;
+default:
+normalizedValue =
+normalizer.normalizeStyleValue(prop, 
normalizedProp, normalizedValue, errors);
+break;
+}
+}
+normalizedKeyframe[normalizedProp] = normalizedValue;
+});
+if (!isSameOffset) {
+normalizedKeyframes.push(normalizedKeyframe);
+}
+previousKeyframe = normalizedKeyframe;
+previousOffset = offset;
+});
+if (errors.length) {
+var /** @type {?} */ LINE_START = '\n - ';
+throw new Error("Unable to animate due to the following errors:" + 
LINE_START + errors.join(LINE_START));
+}
+return normalizedKeyframes;
+}
+/**
+ * @param {?} player
+ * @param {?} eventName
+ * @param {?} event
+ * @param {?} callback
+ * @return {?}
+ */
+function listenOnPlayer(player, eventName, event, callback) {
+switch (eventName) {
+case 'start':
+player.onStart(function () { return callback(event && 
copyAnimationEvent(event, 'start', player.totalTime)); });
+break;
+case 'done':
+player.onDone(function () { return callback(event && 
copyAnimationEvent(event, 'done', player.totalTime)); });
+break;
+case 'destroy':
+player.onDestroy(function () { return callback(event && 
copyAnimationEvent(event, 'destroy', player.totalTime)); });
+break;
+}
+}
+/**
+ * @param {?} e
+ * @param {?=} phaseName
+ * @param {?=} totalTime
+ * @return {?}
+ */
+function copyAnimationEvent(e, phaseName, totalTime) {
+var /** @type {?} */ event = makeAnimationEvent(e.element, e.triggerName, 
e.fromState, e.toState, phaseName || e.phaseName, totalTime == undefined ? 
e.totalTime : totalTime);
+var /** @type {?} */ data = (/** @type {?} */ (e))['_data'];
+if (data != null) {
+(/** @type {?} */ (event))['_data'] = data;
+}
+return event;
+}
+/**
+ * @param {?} element
+ * @param {?} triggerName
+ * @param {?} fromState
+ * @param {?} toState
+ * @param {?=} phaseName
+ * @param {?=} totalTime
+ * @return {?}
+ */
+function makeAnimationEvent(element, triggerName, fromState, toState, 
phaseName, totalTime) {
+if (phaseName === void 0) { phaseName = ''; }
+if (totalTime === void 0) { totalTime = 0; }
+return { element: element, triggerName: triggerName, fromState: 

[17/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-overlay.umd.js.map
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-overlay.umd.js.map 
b/node_modules/@angular/cdk/bundles/cdk-overlay.umd.js.map
new file mode 100644
index 000..7338bc6
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-overlay.umd.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"cdk-overlay.umd.js","sources":["../../src/cdk/overlay/fullscreen-overlay-container.ts","../../src/cdk/overlay/overlay-module.ts","../../src/cdk/overlay/overlay-directives.ts","../../src/cdk/overlay/overlay.ts","../../src/cdk/overlay/overlay-container.ts","../../src/cdk/overlay/keyboard/overlay-keyboard-dispatcher.ts","../../src/cdk/overlay/position/overlay-position-builder.ts","../../src/cdk/overlay/position/global-position-strategy.ts","../../src/cdk/overlay/position/connected-position-strategy.ts","../../src/cdk/overlay/overlay-ref.ts","../../src/cdk/overlay/scroll/scroll-strategy-options.ts","../../src/cdk/overlay/scroll/reposition-scroll-strategy.ts","../../src/cdk/overlay/position/scroll-clip.ts","../../src/cdk/overlay/scroll/block-scroll-strategy.ts","../../src/cdk/overlay/scroll/close-scroll-strategy.ts","../../src/cdk/overlay/scroll/scroll-strategy.ts","../../src/cdk/overlay/position/connected-position.ts","../../src/cdk/overlay/overlay-config.ts","../..
 
/src/cdk/overlay/scroll/noop-scroll-strategy.ts","../../node_modules/tslib/tslib.es6.js"],"sourcesContent":["/**\n
 * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {Injectable} from 
'@angular/core';\nimport {OverlayContainer} from 
'./overlay-container';\n\n/**\n * Alternative to OverlayContainer that supports 
correct displaying of overlay elements in\n * Fullscreen mode\n * 
https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n 
*\n * Should be provided in the root component.\n */\n@Injectable()\nexport 
class FullscreenOverlayContainer extends OverlayContainer {\n  protected 
_createContainer(): void {\nsuper._createContainer();\n
this._adjustParentForFullscreenChange();\n
this._addFullscreenChangeListener(() => 
this._adjustParentForFullscreenChange());\n  }\n\n  private 
_adjustParentForFullsc
 reenChange(): void {\nif (!this._containerElement) {\n  return;\n
}\nlet fullscreenElement = this.getFullscreenElement();\nlet parent = 
fullscreenElement || document.body;\n
parent.appendChild(this._containerElement);\n  }\n\n  private 
_addFullscreenChangeListener(fn: () => void) {\nif 
(document.fullscreenEnabled) {\n  
document.addEventListener('fullscreenchange', fn);\n} else if 
(document.webkitFullscreenEnabled) {\n  
document.addEventListener('webkitfullscreenchange', fn);\n} else if 
((document as any).mozFullScreenEnabled) {\n  
document.addEventListener('mozfullscreenchange', fn);\n} else if ((document 
as any).msFullscreenEnabled) {\n  
document.addEventListener('MSFullscreenChange', fn);\n}\n  }\n\n  /**\n   * 
When the page is put into fullscreen mode, a specific element is specified.\n   
* Only that element and its children are visible when in fullscreen mode.\n   
*/\n  getFullscreenElement(): Element {\nreturn docume
 nt.fullscreenElement ||\ndocument.webkitFullscreenElement ||\n
(document as any).mozFullScreenElement ||\n(document as 
any).msFullscreenElement ||\nnull;\n  }\n}\n","/**\n * @license\n * 
Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is 
governed by an MIT-style license that can be\n * found in the LICENSE file at 
https://angular.io/license\n */\n\nimport {BidiModule} from 
'@angular/cdk/bidi';\nimport {PortalModule} from '@angular/cdk/portal';\nimport 
{ScrollDispatchModule, VIEWPORT_RULER_PROVIDER} from 
'@angular/cdk/scrolling';\nimport {NgModule, Provider} from 
'@angular/core';\nimport {Overlay} from './overlay';\nimport 
{OVERLAY_CONTAINER_PROVIDER} from './overlay-container';\nimport {\n  
CdkConnectedOverlay,\n  CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,\n  
CdkOverlayOrigin,\n} from './overlay-directives';\nimport 
{OverlayPositionBuilder} from './position/overlay-position-builder';\nimport 
{OVERLAY_KEYBOARD_DISPATCHER_P
 ROVIDER} from './keyboard/overlay-keyboard-dispatcher';\nimport 
{ScrollStrategyOptions} from './scroll/scroll-strategy-options';\n\nexport 
const OVERLAY_PROVIDERS: Provider[] = [\n  Overlay,\n  
OverlayPositionBuilder,\n  OVERLAY_KEYBOARD_DISPATCHER_PROVIDER,\n  
VIEWPORT_RULER_PROVIDER,\n  OVERLAY_CONTAINER_PROVIDER,\n  
CDK_CONNECTED_OVERLAY_SCROLL_STRATEGY_PROVIDER,\n];\n\n@NgModule({\n  imports: 
[BidiModule, PortalModule, ScrollDispatchModule],\n  exports: 
[CdkConnectedOverlay, 

[4/8] nifi-minifi-cpp git commit: MINIFICPP-517: Add RTIMULib and create basic functionality.

2018-06-06 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/9dbad3bd/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUMPU9250.cpp
--
diff --git a/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUMPU9250.cpp 
b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUMPU9250.cpp
new file mode 100644
index 000..dc6cc35
--- /dev/null
+++ b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUMPU9250.cpp
@@ -0,0 +1,657 @@
+
+//
+//  This file is part of RTIMULib
+//
+//  Copyright (c) 2014-2015, richards-tech, LLC
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+//  this software and associated documentation files (the "Software"), to deal 
in
+//  the Software without restriction, including without limitation the rights 
to use,
+//  copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the
+//  Software, and to permit persons to whom the Software is furnished to do so,
+//  subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in 
all
+//  copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+//  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
FOR A
+//  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+//  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION
+//  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 
THE
+//  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+//  The MPU-9250 and SPI driver code is based on code generously supplied by
+//  stasl...@gmail.com (www.clickdrive.io)
+
+#include "RTIMUMPU9250.h"
+#include "RTIMUSettings.h"
+
+RTIMUMPU9250::RTIMUMPU9250(RTIMUSettings *settings) : RTIMU(settings)
+{
+
+}
+
+RTIMUMPU9250::~RTIMUMPU9250()
+{
+}
+
+bool RTIMUMPU9250::setSampleRate(int rate)
+{
+if ((rate < MPU9250_SAMPLERATE_MIN) || (rate > MPU9250_SAMPLERATE_MAX)) {
+HAL_ERROR1("Illegal sample rate %d\n", rate);
+return false;
+}
+
+//  Note: rates interact with the lpf settings
+
+if ((rate < MPU9250_SAMPLERATE_MAX) && (rate >= 8000))
+rate = 8000;
+
+if ((rate < 8000) && (rate >= 1000))
+rate = 1000;
+
+if (rate < 1000) {
+int sampleDiv = (1000 / rate) - 1;
+m_sampleRate = 1000 / (1 + sampleDiv);
+} else {
+m_sampleRate = rate;
+}
+m_sampleInterval = (uint64_t)100 / m_sampleRate;
+return true;
+}
+
+bool RTIMUMPU9250::setGyroLpf(unsigned char lpf)
+{
+switch (lpf) {
+case MPU9250_GYRO_LPF_8800:
+case MPU9250_GYRO_LPF_3600:
+case MPU9250_GYRO_LPF_250:
+case MPU9250_GYRO_LPF_184:
+case MPU9250_GYRO_LPF_92:
+case MPU9250_GYRO_LPF_41:
+case MPU9250_GYRO_LPF_20:
+case MPU9250_GYRO_LPF_10:
+case MPU9250_GYRO_LPF_5:
+m_gyroLpf = lpf;
+return true;
+
+default:
+HAL_ERROR1("Illegal MPU9250 gyro lpf %d\n", lpf);
+return false;
+}
+}
+
+bool RTIMUMPU9250::setAccelLpf(unsigned char lpf)
+{
+switch (lpf) {
+case MPU9250_ACCEL_LPF_1130:
+case MPU9250_ACCEL_LPF_460:
+case MPU9250_ACCEL_LPF_184:
+case MPU9250_ACCEL_LPF_92:
+case MPU9250_ACCEL_LPF_41:
+case MPU9250_ACCEL_LPF_20:
+case MPU9250_ACCEL_LPF_10:
+case MPU9250_ACCEL_LPF_5:
+m_accelLpf = lpf;
+return true;
+
+default:
+HAL_ERROR1("Illegal MPU9250 accel lpf %d\n", lpf);
+return false;
+}
+}
+
+
+bool RTIMUMPU9250::setCompassRate(int rate)
+{
+if ((rate < MPU9250_COMPASSRATE_MIN) || (rate > MPU9250_COMPASSRATE_MAX)) {
+HAL_ERROR1("Illegal compass rate %d\n", rate);
+return false;
+}
+m_compassRate = rate;
+return true;
+}
+
+bool RTIMUMPU9250::setGyroFsr(unsigned char fsr)
+{
+switch (fsr) {
+case MPU9250_GYROFSR_250:
+m_gyroFsr = fsr;
+m_gyroScale = RTMATH_PI / (131.0 * 180.0);
+return true;
+
+case MPU9250_GYROFSR_500:
+m_gyroFsr = fsr;
+m_gyroScale = RTMATH_PI / (62.5 * 180.0);
+return true;
+
+case MPU9250_GYROFSR_1000:
+m_gyroFsr = fsr;
+m_gyroScale = RTMATH_PI / (32.8 * 180.0);
+return true;
+
+case MPU9250_GYROFSR_2000:
+m_gyroFsr = fsr;
+m_gyroScale = RTMATH_PI / (16.4 * 180.0);
+return true;
+
+default:
+HAL_ERROR1("Illegal MPU9250 gyro fsr %d\n", fsr);
+return false;
+}
+}
+
+bool RTIMUMPU9250::setAccelFsr(unsigned char fsr)
+{
+switch (fsr) {
+case MPU9250_ACCELFSR_2:
+m_accelFsr = fsr;
+m_accelScale = 1.0/16384.0;
+return true;
+
+case MPU9250_ACCELFSR_4:
+m_accelFsr = fsr;
+m_accelScale = 1.0/8192.0;
+

[8/8] nifi-minifi-cpp git commit: MINIFICPP-517: Add RTIMULib and create basic functionality.

2018-06-06 Thread aldrin
MINIFICPP-517: Add RTIMULib and create basic functionality.

Ported from other work, this package contains two processors that create
simple flow files. This approach will likely evolve to improve accessing
the sensor data from the Processors and decorating flow files.

This closes #348.

Signed-off-by: Aldrin Piri 


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/9dbad3bd
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/9dbad3bd
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/9dbad3bd

Branch: refs/heads/master
Commit: 9dbad3bdec02431cc31dcb7e0019fff65c9f80fe
Parents: 3156c1e
Author: Marc Parisi 
Authored: Tue May 29 21:51:29 2018 -0400
Committer: Aldrin Piri 
Committed: Wed Jun 6 11:58:03 2018 -0400

--
 CMakeLists.txt  |   11 +-
 LICENSE |   25 +
 extensions/ExtensionHeader.txt  |   26 +
 extensions/sensors/CMakeLists.txt   |   56 +
 extensions/sensors/GetEnvironmentalSensors.cpp  |  155 ++
 extensions/sensors/GetEnvironmentalSensors.h|   85 +
 extensions/sensors/GetMovementSensors.cpp   |   97 +
 extensions/sensors/GetMovementSensors.h |   77 +
 extensions/sensors/README.MD|   20 +
 extensions/sensors/SensorBase.cpp   |   75 +
 extensions/sensors/SensorBase.h |   92 +
 extensions/sensors/SensorLoader.cpp |   30 +
 extensions/sensors/SensorLoader.h   |   71 +
 libminifi/test/resources/TestEnvironmental.yml  |   71 +
 libminifi/test/sensors-tests/CMakeLists.txt |   42 +
 libminifi/test/sensors-tests/SensorTests.cpp|  100 +
 thirdparty/RTIMULib/.gitignore  |   53 +
 thirdparty/RTIMULib/LICENSE |   29 +
 thirdparty/RTIMULib/README.md   |  370 
 thirdparty/RTIMULib/RTIMULib/CMakeLists.txt |   97 +
 .../RTIMULib/RTIMULib/IMUDrivers/RTHumidity.cpp |   62 +
 .../RTIMULib/RTIMULib/IMUDrivers/RTHumidity.h   |   55 +
 .../RTIMULib/IMUDrivers/RTHumidityDefs.h|   82 +
 .../RTIMULib/IMUDrivers/RTHumidityHTS221.cpp|  142 ++
 .../RTIMULib/IMUDrivers/RTHumidityHTS221.h  |   57 +
 .../RTIMULib/IMUDrivers/RTHumidityHTU21D.cpp|  126 ++
 .../RTIMULib/IMUDrivers/RTHumidityHTU21D.h  |   57 +
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMU.cpp  |  478 +
 thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMU.h |  200 ++
 .../RTIMULib/IMUDrivers/RTIMUBMX055.cpp |  971 ++
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMUBMX055.h  |   80 +
 .../RTIMULib/IMUDrivers/RTIMUBNO055.cpp |  191 ++
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMUBNO055.h  |   48 +
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMUDefs.h| 1119 
 .../RTIMULib/IMUDrivers/RTIMUGD20HM303D.cpp |  563 ++
 .../RTIMULib/IMUDrivers/RTIMUGD20HM303D.h   |   95 +
 .../RTIMULib/IMUDrivers/RTIMUGD20HM303DLHC.cpp  |  562 ++
 .../RTIMULib/IMUDrivers/RTIMUGD20HM303DLHC.h|   98 +
 .../RTIMULib/IMUDrivers/RTIMUGD20M303DLHC.cpp   |  537 ++
 .../RTIMULib/IMUDrivers/RTIMUGD20M303DLHC.h |   97 +
 .../RTIMULib/IMUDrivers/RTIMULSM9DS0.cpp|  538 ++
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMULSM9DS0.h |   95 +
 .../RTIMULib/IMUDrivers/RTIMULSM9DS1.cpp|  408 +
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMULSM9DS1.h |   93 +
 .../RTIMULib/IMUDrivers/RTIMUMPU9150.cpp|  633 +++
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMUMPU9150.h |  110 ++
 .../RTIMULib/IMUDrivers/RTIMUMPU9250.cpp|  657 +++
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMUMPU9250.h |  118 ++
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMUNull.cpp  |   54 +
 .../RTIMULib/RTIMULib/IMUDrivers/RTIMUNull.h|   58 +
 .../RTIMULib/RTIMULib/IMUDrivers/RTPressure.cpp |   70 +
 .../RTIMULib/RTIMULib/IMUDrivers/RTPressure.h   |   55 +
 .../RTIMULib/IMUDrivers/RTPressureBMP180.cpp|  230 +++
 .../RTIMULib/IMUDrivers/RTPressureBMP180.h  |   88 +
 .../RTIMULib/IMUDrivers/RTPressureDefs.h|  105 ++
 .../RTIMULib/IMUDrivers/RTPressureLPS25H.cpp|   91 +
 .../RTIMULib/IMUDrivers/RTPressureLPS25H.h  |   53 +
 .../RTIMULib/IMUDrivers/RTPressureMS5611.cpp|  170 ++
 .../RTIMULib/IMUDrivers/RTPressureMS5611.h  |   69 +
 .../RTIMULib/IMUDrivers/RTPressureMS5637.cpp|  172 ++
 .../RTIMULib/IMUDrivers/RTPressureMS5637.h  |   69 +
 thirdparty/RTIMULib/RTIMULib/RTFusion.cpp   |  137 ++
 thirdparty/RTIMULib/RTIMULib/RTFusion.h |  105 ++
 .../RTIMULib/RTIMULib/RTFusionKalman4.cpp   |  238 +++
 thirdparty/RTIMULib/RTIMULib/RTFusionKalman4.h  |   79 +
 thirdparty/RTIMULib/RTIMULib/RTFusionRTQF.cpp   |  163 ++
 thirdparty/RTIMULib/RTIMULib/RTFusionRTQF.h |   62 +
 thirdparty/RTIMULib/RTIMULib/RTIMUAccelCal.cpp  |  103 ++
 thirdparty/RTIMULib/RTIMULib/RTIMUAccelCal.h|   74 +
 

[7/8] nifi-minifi-cpp git commit: MINIFICPP-517: Add RTIMULib and create basic functionality.

2018-06-06 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/9dbad3bd/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTHumidityHTS221.cpp
--
diff --git a/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTHumidityHTS221.cpp 
b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTHumidityHTS221.cpp
new file mode 100644
index 000..792b6df
--- /dev/null
+++ b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTHumidityHTS221.cpp
@@ -0,0 +1,142 @@
+
+//
+//  This file is part of RTIMULib
+//
+//  Copyright (c) 2014-2015, richards-tech, LLC
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+//  this software and associated documentation files (the "Software"), to deal 
in
+//  the Software without restriction, including without limitation the rights 
to use,
+//  copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the
+//  Software, and to permit persons to whom the Software is furnished to do so,
+//  subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in 
all
+//  copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+//  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
FOR A
+//  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+//  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION
+//  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 
THE
+//  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+#include "RTHumidityHTS221.h"
+#include "RTHumidityDefs.h"
+
+RTHumidityHTS221::RTHumidityHTS221(RTIMUSettings *settings) : 
RTHumidity(settings)
+{
+m_humidityValid = false;
+m_temperatureValid = false;
+ }
+
+RTHumidityHTS221::~RTHumidityHTS221()
+{
+}
+
+bool RTHumidityHTS221::humidityInit()
+{
+unsigned char rawData[2];
+uint8_t H0_H_2 = 0;
+uint8_t H1_H_2 = 0;
+uint16_t T0_C_8 = 0;
+uint16_t T1_C_8 = 0;
+int16_t H0_T0_OUT = 0;
+int16_t H1_T0_OUT = 0;
+int16_t T0_OUT = 0;
+int16_t T1_OUT = 0;
+float H0, H1, T0, T1;
+
+m_humidityAddr = m_settings->m_I2CHumidityAddress;
+
+if (!m_settings->HALWrite(m_humidityAddr, HTS221_CTRL1, 0x87, "Failed to 
set HTS221 CTRL_REG_1"))
+return false;
+
+if (!m_settings->HALWrite(m_humidityAddr, HTS221_AV_CONF, 0x1b, "Failed to 
set HTS221 AV_CONF"))
+return false;
+
+// Get calibration data
+
+if (!m_settings->HALRead(m_humidityAddr, HTS221_T1_T0 + 0x80, 1, 
[1], "Failed to read HTS221 T1_T0"))
+return false;
+if (!m_settings->HALRead(m_humidityAddr, HTS221_T0_C_8 + 0x80, 1, rawData, 
"Failed to read HTS221 T0_C_8"))
+return false;
+T0_C_8 = (((unsigned int)rawData[1] & 0x3 ) << 8) | (unsigned 
int)rawData[0];
+T0 = (RTFLOAT)T0_C_8 / 8;
+
+if (!m_settings->HALRead(m_humidityAddr, HTS221_T1_C_8 + 0x80, 1, rawData, 
"Failed to read HTS221 T1_C_8"))
+return false;
+T1_C_8 = (unsigned int)(((uint16_t)(rawData[1] & 0xC) << 6) | 
(uint16_t)rawData[0]);
+T1 = (RTFLOAT)T1_C_8 / 8;
+
+if (!m_settings->HALRead(m_humidityAddr, HTS221_T0_OUT + 0x80, 2, rawData, 
"Failed to read HTS221 T0_OUT"))
+return false;
+T0_OUT = (int16_t)(((unsigned int)rawData[1]) << 8) | (unsigned 
int)rawData[0];
+
+if (!m_settings->HALRead(m_humidityAddr, HTS221_T1_OUT + 0x80, 2, rawData, 
"Failed to read HTS221 T1_OUT"))
+return false;
+T1_OUT = (int16_t)(((unsigned int)rawData[1]) << 8) | (unsigned 
int)rawData[0];
+
+if (!m_settings->HALRead(m_humidityAddr, HTS221_H0_H_2 + 0x80, 1, _H_2, 
"Failed to read HTS221 H0_H_2"))
+return false;
+H0 = (RTFLOAT)H0_H_2 / 2;
+
+if (!m_settings->HALRead(m_humidityAddr, HTS221_H1_H_2 + 0x80, 1, _H_2, 
"Failed to read HTS221 H1_H_2"))
+return false;
+H1 = (RTFLOAT)H1_H_2 / 2;
+
+if (!m_settings->HALRead(m_humidityAddr, HTS221_H0_T0_OUT + 0x80, 2, 
rawData, "Failed to read HTS221 H0_T_OUT"))
+return false;
+H0_T0_OUT = (int16_t)(((unsigned int)rawData[1]) << 8) | (unsigned 
int)rawData[0];
+
+
+if (!m_settings->HALRead(m_humidityAddr, HTS221_H1_T0_OUT + 0x80, 2, 
rawData, "Failed to read HTS221 H1_T_OUT"))
+return false;
+H1_T0_OUT = (int16_t)(((unsigned int)rawData[1]) << 8) | (unsigned 
int)rawData[0];
+
+m_temperature_m = (T1-T0)/(T1_OUT-T0_OUT);
+m_temperature_c = T0-(m_temperature_m*T0_OUT);
+m_humidity_m = (H1-H0)/(H1_T0_OUT-H0_T0_OUT);
+m_humidity_c = (H0)-(m_humidity_m*H0_T0_OUT);
+
+return true;
+}
+
+
+bool RTHumidityHTS221::humidityRead(RTIMU_DATA& data)
+{
+unsigned char rawData[2];
+unsigned char status;
+
+data.humidityValid = false;
+data.temperatureValid = 

[6/8] nifi-minifi-cpp git commit: MINIFICPP-517: Add RTIMULib and create basic functionality.

2018-06-06 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/9dbad3bd/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUBNO055.h
--
diff --git a/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUBNO055.h 
b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUBNO055.h
new file mode 100644
index 000..967cdaf
--- /dev/null
+++ b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUBNO055.h
@@ -0,0 +1,48 @@
+
+//
+//  This file is part of RTIMULib
+//
+//  Copyright (c) 2014-2015, richards-tech, LLC
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+//  this software and associated documentation files (the "Software"), to deal 
in
+//  the Software without restriction, including without limitation the rights 
to use,
+//  copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the
+//  Software, and to permit persons to whom the Software is furnished to do so,
+//  subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in 
all
+//  copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+//  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
FOR A
+//  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+//  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION
+//  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 
THE
+//  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+#ifndef _RTIMUBNO055_H
+#define_RTIMUBNO055_H
+
+#include "RTIMU.h"
+
+class RTIMUBNO055 : public RTIMU
+{
+public:
+RTIMUBNO055(RTIMUSettings *settings);
+~RTIMUBNO055();
+
+virtual const char *IMUName() { return "BNO055"; }
+virtual int IMUType() { return RTIMU_TYPE_BNO055; }
+virtual bool IMUInit();
+virtual int IMUGetPollInterval();
+virtual bool IMURead();
+
+private:
+unsigned char m_slaveAddr;  // I2C address of 
BNO055
+
+uint64_t m_lastReadTime;
+};
+
+#endif // _RTIMUBNO055_H

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/9dbad3bd/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUDefs.h
--
diff --git a/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUDefs.h 
b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUDefs.h
new file mode 100644
index 000..f0ba1f4
--- /dev/null
+++ b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUDefs.h
@@ -0,0 +1,1119 @@
+
+//
+//  This file is part of RTIMULib
+//
+//  Copyright (c) 2014-2015, richards-tech, LLC
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+//  this software and associated documentation files (the "Software"), to deal 
in
+//  the Software without restriction, including without limitation the rights 
to use,
+//  copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the
+//  Software, and to permit persons to whom the Software is furnished to do so,
+//  subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in 
all
+//  copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+//  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
FOR A
+//  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+//  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION
+//  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 
THE
+//  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+//  The MPU-9250 and SPI driver code is based on code generously supplied by
+//  stasl...@gmail.com (www.clickdrive.io)
+
+
+#ifndef _RTIMUDEFS_H
+#define_RTIMUDEFS_H
+
+//  IMU type codes
+//
+//  For compatibility, only add new codes at the end to avoid renumbering
+
+#define RTIMU_TYPE_AUTODISCOVER 0   // 
audodiscover the IMU
+#define RTIMU_TYPE_NULL 1   // if no 
physical hardware
+#define RTIMU_TYPE_MPU9150  2   // InvenSense 
MPU9150
+#define RTIMU_TYPE_GD20HM303D   3   // STM 
L3GD20H/LSM303D (Pololu Altimu)
+#define RTIMU_TYPE_GD20M303DLHC 4   // STM 
L3GD20/LSM303DHLC (old Adafruit IMU)
+#define RTIMU_TYPE_LSM9DS0  5   // STM LSM9DS0 
(eg Sparkfun IMU)
+#define RTIMU_TYPE_LSM9DS1  6   // STM LSM9DS1
+#define 

[5/8] nifi-minifi-cpp git commit: MINIFICPP-517: Add RTIMULib and create basic functionality.

2018-06-06 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/9dbad3bd/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUGD20M303DLHC.cpp
--
diff --git a/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUGD20M303DLHC.cpp 
b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUGD20M303DLHC.cpp
new file mode 100644
index 000..d8ab502
--- /dev/null
+++ b/thirdparty/RTIMULib/RTIMULib/IMUDrivers/RTIMUGD20M303DLHC.cpp
@@ -0,0 +1,537 @@
+
+//
+//  This file is part of RTIMULib
+//
+//  Copyright (c) 2014-2015, richards-tech, LLC
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+//  this software and associated documentation files (the "Software"), to deal 
in
+//  the Software without restriction, including without limitation the rights 
to use,
+//  copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the
+//  Software, and to permit persons to whom the Software is furnished to do so,
+//  subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in 
all
+//  copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+//  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
FOR A
+//  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+//  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION
+//  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 
THE
+//  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+#include "RTIMUGD20M303DLHC.h"
+#include "RTIMUSettings.h"
+
+//  this sets the learning rate for compass running average calculation
+
+#define COMPASS_ALPHA 0.2f
+
+RTIMUGD20M303DLHC::RTIMUGD20M303DLHC(RTIMUSettings *settings) : RTIMU(settings)
+{
+m_sampleRate = 100;
+}
+
+RTIMUGD20M303DLHC::~RTIMUGD20M303DLHC()
+{
+}
+
+bool RTIMUGD20M303DLHC::IMUInit()
+{
+unsigned char result;
+
+#ifdef GD20M303DLHC_CACHE_MODE
+m_firstTime = true;
+m_cacheIn = m_cacheOut = m_cacheCount = 0;
+#endif
+// set validity flags
+
+m_imuData.fusionPoseValid = false;
+m_imuData.fusionQPoseValid = false;
+m_imuData.gyroValid = true;
+m_imuData.accelValid = true;
+m_imuData.compassValid = true;
+m_imuData.pressureValid = false;
+m_imuData.temperatureValid = false;
+m_imuData.humidityValid = false;
+
+//  configure IMU
+
+m_gyroSlaveAddr = m_settings->m_I2CSlaveAddress;
+m_accelSlaveAddr = LSM303DLHC_ACCEL_ADDRESS;
+m_compassSlaveAddr = LSM303DLHC_COMPASS_ADDRESS;
+
+setCalibrationData();
+
+//  enable the I2C bus
+
+if (!m_settings->HALOpen())
+return false;
+
+//  Set up the gyro
+
+if (!m_settings->HALWrite(m_gyroSlaveAddr, L3GD20_CTRL5, 0x80, "Failed to 
boot L3GD20"))
+return false;
+
+if (!m_settings->HALRead(m_gyroSlaveAddr, L3GD20_WHO_AM_I, 1, , 
"Failed to read L3GD20 id"))
+return false;
+
+if (result != L3GD20_ID) {
+HAL_ERROR1("Incorrect L3GD20 id %d\n", result);
+return false;
+}
+
+if (!setGyroSampleRate())
+return false;
+
+if (!setGyroCTRL2())
+return false;
+
+if (!setGyroCTRL4())
+return false;
+
+//  Set up the accel
+
+if (!setAccelCTRL1())
+return false;
+
+if (!setAccelCTRL4())
+return false;
+
+//  Set up the compass
+
+if (!setCompassCRA())
+return false;
+
+if (!setCompassCRB())
+return false;
+
+if (!setCompassCRM())
+return false;
+
+#ifdef GD20M303DLHC_CACHE_MODE
+
+//  turn on gyro fifo
+
+if (!m_settings->HALWrite(m_gyroSlaveAddr, L3GD20_FIFO_CTRL, 0x3f, "Failed 
to set L3GD20 FIFO mode"))
+return false;
+#endif
+
+if (!setGyroCTRL5())
+return false;
+
+gyroBiasInit();
+
+HAL_INFO("GD20M303DLHC init complete\n");
+return true;
+}
+
+bool RTIMUGD20M303DLHC::setGyroSampleRate()
+{
+unsigned char ctrl1;
+
+switch (m_settings->m_GD20M303DLHCGyroSampleRate) {
+case L3GD20_SAMPLERATE_95:
+ctrl1 = 0x0f;
+m_sampleRate = 95;
+break;
+
+case L3GD20_SAMPLERATE_190:
+ctrl1 = 0x4f;
+m_sampleRate = 190;
+break;
+
+case L3GD20_SAMPLERATE_380:
+ctrl1 = 0x8f;
+m_sampleRate = 380;
+break;
+
+case L3GD20_SAMPLERATE_760:
+ctrl1 = 0xcf;
+m_sampleRate = 760;
+break;
+
+default:
+HAL_ERROR1("Illegal L3GD20 sample rate code %d\n", 
m_settings->m_GD20M303DLHCGyroSampleRate);
+return false;
+}
+
+m_sampleInterval = (uint64_t)100 / m_sampleRate;
+
+switch (m_settings->m_GD20M303DLHCGyroBW) {
+case L3GD20_BANDWIDTH_0:
+ctrl1 |= 

[1/8] nifi-minifi-cpp git commit: MINIFICPP-517: Add RTIMULib and create basic functionality.

2018-06-06 Thread aldrin
Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/master 3156c1e00 -> 9dbad3bde


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/9dbad3bd/thirdparty/RTIMULib/RTIMULib/RTMath.cpp
--
diff --git a/thirdparty/RTIMULib/RTIMULib/RTMath.cpp 
b/thirdparty/RTIMULib/RTIMULib/RTMath.cpp
new file mode 100644
index 000..686817d
--- /dev/null
+++ b/thirdparty/RTIMULib/RTIMULib/RTMath.cpp
@@ -0,0 +1,630 @@
+
+//
+//  This file is part of RTIMULib
+//
+//  Copyright (c) 2014-2015, richards-tech, LLC
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+//  this software and associated documentation files (the "Software"), to deal 
in
+//  the Software without restriction, including without limitation the rights 
to use,
+//  copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the
+//  Software, and to permit persons to whom the Software is furnished to do so,
+//  subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in 
all
+//  copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+//  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
FOR A
+//  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+//  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION
+//  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 
THE
+//  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+#include "RTMath.h"
+#ifdef WIN32
+#include 
+#endif
+
+//  Strings are put here. So the display functions are no re-entrant!
+
+char RTMath::m_string[1000];
+
+uint64_t RTMath::currentUSecsSinceEpoch()
+{
+#ifdef WIN32
+#include 
+return QDateTime::currentMSecsSinceEpoch();
+#else
+struct timeval tv;
+
+gettimeofday(, NULL);
+return (uint64_t)tv.tv_sec * 100 + (uint64_t)tv.tv_usec;
+#endif
+}
+
+const char *RTMath::displayRadians(const char *label, RTVector3& vec)
+{
+sprintf(m_string, "%s: x:%f, y:%f, z:%f\n", label, vec.x(), vec.y(), 
vec.z());
+return m_string;
+}
+
+const char *RTMath::displayDegrees(const char *label, RTVector3& vec)
+{
+sprintf(m_string, "%s: roll:%f, pitch:%f, yaw:%f", label, vec.x() * 
RTMATH_RAD_TO_DEGREE,
+vec.y() * RTMATH_RAD_TO_DEGREE, vec.z() * RTMATH_RAD_TO_DEGREE);
+return m_string;
+}
+
+const char *RTMath::display(const char *label, RTQuaternion& quat)
+{
+sprintf(m_string, "%s: scalar: %f, x:%f, y:%f, z:%f\n", label, 
quat.scalar(), quat.x(), quat.y(), quat.z());
+return m_string;
+}
+
+const char *RTMath::display(const char *label, RTMatrix4x4& mat)
+{
+sprintf(m_string, "%s(0): %f %f %f %f\n%s(1): %f %f %f %f\n%s(2): %f %f %f 
%f\n%s(3): %f %f %f %f\n",
+label, mat.val(0,0), mat.val(0,1), mat.val(0,2), mat.val(0,3),
+label, mat.val(1,0), mat.val(1,1), mat.val(1,2), mat.val(1,3),
+label, mat.val(2,0), mat.val(2,1), mat.val(2,2), mat.val(2,3),
+label, mat.val(3,0), mat.val(3,1), mat.val(3,2), mat.val(3,3));
+return m_string;
+}
+
+//  convertPressureToHeight() - the conversion uses the formula:
+//
+//  h = (T0 / L0) * ((p / P0)**(-(R* * L0) / (g0 * M)) - 1)
+//
+//  where:
+//  h  = height above sea level
+//  T0 = standard temperature at sea level = 288.15
+//  L0 = standard temperatur elapse rate = -0.0065
+//  p  = measured pressure
+//  P0 = static pressure = 1013.25 (but can be overridden)
+//  g0 = gravitational acceleration = 9.80665
+//  M  = mloecular mass of earth's air = 0.0289644
+//  R* = universal gas constant = 8.31432
+//
+//  Given the constants, this works out to:
+//
+//  h = 44330.8 * (1 - (p / P0)**0.190263)
+
+RTFLOAT RTMath::convertPressureToHeight(RTFLOAT pressure, RTFLOAT 
staticPressure)
+{
+return 44330.8 * (1 - pow(pressure / staticPressure, (RTFLOAT)0.190263));
+}
+
+
+RTVector3 RTMath::poseFromAccelMag(const RTVector3& accel, const RTVector3& 
mag)
+{
+RTVector3 result;
+RTQuaternion m;
+RTQuaternion q;
+
+accel.accelToEuler(result);
+
+//  q.fromEuler(result);
+//  since result.z() is always 0, this can be optimized a little
+
+RTFLOAT cosX2 = cos(result.x() / 2.0f);
+RTFLOAT sinX2 = sin(result.x() / 2.0f);
+RTFLOAT cosY2 = cos(result.y() / 2.0f);
+RTFLOAT sinY2 = sin(result.y() / 2.0f);
+
+q.setScalar(cosX2 * cosY2);
+q.setX(sinX2 * cosY2);
+q.setY(cosX2 * sinY2);
+q.setZ(-sinX2 * sinY2);
+//q.normalize();
+
+m.setScalar(0);
+m.setX(mag.x());
+m.setY(mag.y());
+m.setZ(mag.z());
+
+m = q * m * q.conjugate();
+result.setZ(-atan2(m.y(), m.x()));
+return result;
+}
+
+void RTMath::convertToVector(unsigned 

[3/8] nifi-minifi-cpp git commit: MINIFICPP-517: Add RTIMULib and create basic functionality.

2018-06-06 Thread aldrin
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/9dbad3bd/thirdparty/RTIMULib/RTIMULib/RTFusionKalman4.cpp
--
diff --git a/thirdparty/RTIMULib/RTIMULib/RTFusionKalman4.cpp 
b/thirdparty/RTIMULib/RTIMULib/RTFusionKalman4.cpp
new file mode 100644
index 000..78c099f
--- /dev/null
+++ b/thirdparty/RTIMULib/RTIMULib/RTFusionKalman4.cpp
@@ -0,0 +1,238 @@
+
+//
+//  This file is part of RTIMULib
+//
+//  Copyright (c) 2014-2015, richards-tech, LLC
+//
+//  Permission is hereby granted, free of charge, to any person obtaining a 
copy of
+//  this software and associated documentation files (the "Software"), to deal 
in
+//  the Software without restriction, including without limitation the rights 
to use,
+//  copy, modify, merge, publish, distribute, sublicense, and/or sell copies 
of the
+//  Software, and to permit persons to whom the Software is furnished to do so,
+//  subject to the following conditions:
+//
+//  The above copyright notice and this permission notice shall be included in 
all
+//  copies or substantial portions of the Software.
+//
+//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED,
+//  INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 
FOR A
+//  PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 
COPYRIGHT
+//  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 
ACTION
+//  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH 
THE
+//  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+#include "RTFusionKalman4.h"
+#include "RTIMUSettings.h"
+
+//  The QVALUE affects the gyro response.
+
+#define KALMAN_QVALUE  0.001f
+
+//  The RVALUE controls the influence of the accels and compass.
+//  The bigger the value, the more sluggish the response.
+
+#define KALMAN_RVALUE  0.0005f
+
+#define KALMAN_QUATERNION_LENGTH   4
+
+#defineKALMAN_STATE_LENGTH 4   
// just the quaternion for the moment
+
+
+RTFusionKalman4::RTFusionKalman4()
+{
+reset();
+}
+
+RTFusionKalman4::~RTFusionKalman4()
+{
+}
+
+void RTFusionKalman4::reset()
+{
+m_firstTime = true;
+m_fusionPose = RTVector3();
+m_fusionQPose.fromEuler(m_fusionPose);
+m_gyro = RTVector3();
+m_accel = RTVector3();
+m_compass = RTVector3();
+m_measuredPose = RTVector3();
+m_measuredQPose.fromEuler(m_measuredPose);
+m_Rk.fill(0);
+m_Q.fill(0);
+
+// initialize process noise covariance matrix
+
+for (int i = 0; i < KALMAN_STATE_LENGTH; i++)
+for (int j = 0; j < KALMAN_STATE_LENGTH; j++)
+m_Q.setVal(i, i, KALMAN_QVALUE);
+
+// initialize observation noise covariance matrix
+
+
+for (int i = 0; i < KALMAN_STATE_LENGTH; i++)
+for (int j = 0; j < KALMAN_STATE_LENGTH; j++)
+m_Rk.setVal(i, i, KALMAN_RVALUE);
+ }
+
+void RTFusionKalman4::predict()
+{
+RTMatrix4x4 mat;
+RTQuaternion tQuat;
+RTFLOAT x2, y2, z2;
+
+//  compute the state transition matrix
+
+x2 = m_gyro.x() / (RTFLOAT)2.0;
+y2 = m_gyro.y() / (RTFLOAT)2.0;
+z2 = m_gyro.z() / (RTFLOAT)2.0;
+
+m_Fk.setVal(0, 1, -x2);
+m_Fk.setVal(0, 2, -y2);
+m_Fk.setVal(0, 3, -z2);
+
+m_Fk.setVal(1, 0, x2);
+m_Fk.setVal(1, 2, z2);
+m_Fk.setVal(1, 3, -y2);
+
+m_Fk.setVal(2, 0, y2);
+m_Fk.setVal(2, 1, -z2);
+m_Fk.setVal(2, 3, x2);
+
+m_Fk.setVal(3, 0, z2);
+m_Fk.setVal(3, 1, y2);
+m_Fk.setVal(3, 2, -x2);
+
+m_FkTranspose = m_Fk.transposed();
+
+// Predict new state estimate Xkk_1 = Fk * Xk_1k_1
+
+tQuat = m_Fk * m_stateQ;
+tQuat *= m_timeDelta;
+m_stateQ += tQuat;
+
+//m_stateQ.normalize();
+
+// Compute PDot = Fk * Pk_1k_1 + Pk_1k_1 * FkTranspose (note Pkk == 
Pk_1k_1 at this stage)
+
+m_PDot = m_Fk * m_Pkk;
+mat = m_Pkk * m_FkTranspose;
+m_PDot += mat;
+
+// add in Q to get the new prediction
+
+m_Pkk_1 = m_PDot + m_Q;
+
+//  multiply by deltaTime (variable name is now misleading though)
+
+m_Pkk_1 *= m_timeDelta;
+}
+
+
+void RTFusionKalman4::update()
+{
+RTQuaternion delta;
+RTMatrix4x4 Sk, SkInverse;
+
+if (m_enableCompass || m_enableAccel) {
+m_stateQError = m_measuredQPose - m_stateQ;
+} else {
+m_stateQError = RTQuaternion();
+}
+
+// Compute residual covariance Sk = Hk * Pkk_1 * HkTranspose + Rk
+//  Note: since Hk is the identity matrix, this has been simplified
+
+Sk = m_Pkk_1 + m_Rk;
+
+// Compute Kalman gain Kk = Pkk_1 * HkTranspose * SkInverse
+//  Note: again, the HkTranspose part is omitted
+
+SkInverse = Sk.inverted();
+
+m_Kk = m_Pkk_1 * SkInverse;
+
+if (m_debug)
+HAL_INFO(RTMath::display("Gain", m_Kk));
+
+// make new state 

[46/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/css/fds-demo.min.css.map
--
diff --git a/demo-app/css/fds-demo.min.css.map 
b/demo-app/css/fds-demo.min.css.map
new file mode 100644
index 000..0ac6551
--- /dev/null
+++ b/demo-app/css/fds-demo.min.css.map
@@ -0,0 +1,64 @@
+{
+   "version": 3,
+   "file": "fds-demo.min.css",
+   "sources": [
+   "../theming/fds-demo.scss",
+   
"../../node_modules/@nifi-fds/core/common/styles/_globalVars.scss",
+   "../../node_modules/@nifi-fds/core/theming/_all-theme.scss",
+   "../../node_modules/@angular/material/_theming.scss",
+   "../../node_modules/@covalent/core/theming/_all-theme.scss",
+   "../../node_modules/@covalent/core/common/_common-theme.scss",
+   
"../../node_modules/@covalent/core/common/styles/_theme-functions.scss",
+   "../../node_modules/@covalent/core/chips/_chips-theme.scss",
+   
"../../node_modules/@covalent/core/common/styles/_typography-functions.scss",
+   
"../../node_modules/@covalent/core/data-table/_data-table-theme.scss",
+   "../../node_modules/@covalent/core/layout/_layout-theme.scss",
+   
"../../node_modules/@covalent/core/common/styles/_elevation.scss",
+   
"../../node_modules/@covalent/core/common/styles/_variables.scss",
+   "../../node_modules/@covalent/core/steps/_steps-theme.scss",
+   
"../../node_modules/@covalent/core/expansion-panel/_expansion-panel-theme.scss",
+   "../../node_modules/@covalent/core/file/_file-theme.scss",
+   "../../node_modules/@covalent/core/loading/_loading-theme.scss",
+   "../../node_modules/@covalent/core/dialogs/_dialog-theme.scss",
+   
"../../node_modules/@covalent/core/json-formatter/_json-formatter-theme.scss",
+   
"../../node_modules/@covalent/core/paging/_paging-bar-theme.scss",
+   
"../../node_modules/@covalent/core/notifications/_notification-count-theme.scss",
+   "../../node_modules/@covalent/core/message/_message-theme.scss",
+   "../../node_modules/@covalent/core/common/styles/_styles.scss",
+   
"../../node_modules/@covalent/core/common/styles/font/_font.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_core.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_button.scss",
+   "../../node_modules/@covalent/core/common/styles/_rtl.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_card.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_content.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_divider.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_icons.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_list.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_sidenav.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_structure.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_toolbar.scss",
+   
"../../node_modules/@covalent/core/common/styles/core/_whiteframe.scss",
+   
"../../node_modules/@covalent/core/common/styles/_typography.scss",
+   "../../node_modules/@covalent/core/common/styles/_layout.scss",
+   
"../../node_modules/@covalent/core/common/styles/colors/_colors.scss",
+   
"../../node_modules/@covalent/core/common/styles/colors/_colors-dark.scss",
+   
"../../node_modules/@covalent/core/common/styles/_palette-dark.scss",
+   
"../../node_modules/@covalent/core/common/styles/colors/_colors-light.scss",
+   
"../../node_modules/@covalent/core/common/styles/_palette-light.scss",
+   
"../../node_modules/@covalent/core/common/styles/utilities/_utilities.scss",
+   
"../../node_modules/@covalent/core/common/styles/utilities/_general.scss",
+   
"../../node_modules/@covalent/core/common/styles/utilities/_pad.scss",
+   
"../../node_modules/@covalent/core/common/styles/utilities/_pull.scss",
+   
"../../node_modules/@covalent/core/common/styles/utilities/_push.scss",
+   
"../../node_modules/@covalent/core/common/styles/utilities/_size.scss",
+   
"../../node_modules/@covalent/core/common/styles/utilities/_text.scss",
+   
"../../node_modules/@covalent/core/typography/_all-typography.scss",
+   "../../node_modules/@nifi-fds/core/common/styles/_buttons.scss",
+   
"../../node_modules/@nifi-fds/core/common/styles/_expansionPanels.scss",
+   

[49/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/components/flow-design-system/fds-demo.html
--
diff --git a/demo-app/components/flow-design-system/fds-demo.html 
b/demo-app/components/flow-design-system/fds-demo.html
new file mode 100644
index 000..e32b36c
--- /dev/null
+++ b/demo-app/components/flow-design-system/fds-demo.html
@@ -0,0 +1,2980 @@
+
+
+
+
+
+You can also open a dialog from a side nav.
+Show simple dialog
+
+
+
+
+Apache NiFi Flow Design 
System
+
+
+With the Apache NiFi Flow Design System module, we get an 
atomic, reusable component platform for Apache NiFi and Apache NiFi Registry to 
consume, while collaborating in an open source model. This module packages the 
https://material.angular.io/components; 
target="_blank">Angular Material module as well as the https://teradata.github.io/covalent/#/components; 
target="_blank">Teradata Covalent module. These modules have been themed to 
match the FDS color palette.
+
+
+
+Setup
+
+
+Import the FDS Core NgModule into your AppModule
+HTML:
+
+
+
+The core FDS styles also need to be included in your 
`index.html` like:
+HTML:
+
+
+
+Or, if you are using the Angular CLI you will need to add a 
new entry to the "styles" list in .angular-cli.json.
+JSON:
+
+
+
+
+
+
+Typography
+
+
+Angular Material provides https://material.io/guidelines/style/typography.html; 
target="_blank">typography CSS classes you can use to create visual 
consistency across your application.
+
+Note:
+Base font size is 10px for easy rem units (1.2rem = 
12px). Body font size is 14px. sp = scalable pixels.
+
+Header Styles
+To preserve semantic structures, you can 
optionally style the h1 - h6 heading 
tags with the styling classes shown below:
+CSS:
+
+
+.mat-display-4
+Light 112px
+
+
+.mat-display-3
+Regular 56px
+
+
+.mat-display-2
+Regular 45px
+
+
+.mat-display-1
+Regular 34px
+
+
+.mat-headline
+Regular 24px
+
+
+.mat-title
+Medium 20px
+
+
+.md-subhead
+Regular 16px
+
+
+Usage
+HTML:
+
+
+
+Body Copy
+CSS:
+
+
+.mat-body-1
+Regular 14px
+
+
+.mat-body-2
+Medium 14px
+
+
+.mat-button
+Medium 14px
+
+
+.mat-caption
+Regular 12px
+
+
+Usage
+HTML:
+
+
+
+
+
+
+Raised 
Buttons
+
+
+Tip: Use UPPERCASE text for 1-2 words, and Titlecase text 
for 3+ words.
+Primary
+Accent
+Warn
+FDS 
Primary
+FDS 
Secondary
+FDS 
regular
+FDS warn
+FDS 
critical
+Primary
+Accent
+Warn
+FDS 
primary
+FDS 
Secondary
+FDS 
regular
+FDS 
warn
+FDS 
critical
+Usage
+HTML:
+
+
+
+
+
+
+Links
+
+
+https://material.angular.io; 
target="_blank">Angular Material
+Usage
+HTML:
+
+
+
+
+
+
+Flat Buttons
+
+
+ 

[28/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm5/browser.js.map
--
diff --git a/node_modules/@angular/animations/esm5/browser.js.map 
b/node_modules/@angular/animations/esm5/browser.js.map
new file mode 100644
index 000..f7e160f
--- /dev/null
+++ b/node_modules/@angular/animations/esm5/browser.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"browser.js","sources":["../../../packages/animations/esm5/browser/src/render/shared.js","../../../packages/animations/esm5/browser/src/render/animation_driver.js","../../../packages/animations/esm5/browser/src/util.js","../../../packages/animations/esm5/browser/src/dsl/animation_transition_expr.js","../../../packages/animations/esm5/browser/src/dsl/animation_ast_builder.js","../../../packages/animations/esm5/browser/src/dsl/animation_timeline_instruction.js","../../../packages/animations/esm5/browser/src/dsl/element_instruction_map.js","../../../packages/animations/esm5/browser/src/dsl/animation_timeline_builder.js","../../../packages/animations/esm5/browser/src/dsl/animation.js","../../../packages/animations/esm5/browser/src/dsl/style_normalization/animation_style_normalizer.js","../../../packages/animations/esm5/browser/src/dsl/style_normalization/web_animations_style_normalizer.js","../../../packages/animations/esm5/browser/src/dsl/animation_transition_instru
 
ction.js","../../../packages/animations/esm5/browser/src/dsl/animation_transition_factory.js","../../../packages/animations/esm5/browser/src/dsl/animation_trigger.js","../../../packages/animations/esm5/browser/src/render/timeline_animation_engine.js","../../../packages/animations/esm5/browser/src/render/transition_animation_engine.js","../../../packages/animations/esm5/browser/src/render/animation_engine_next.js","../../../packages/animations/esm5/browser/src/render/web_animations/web_animations_player.js","../../../packages/animations/esm5/browser/src/render/web_animations/web_animations_driver.js","../../../packages/animations/esm5/browser/src/private_export.js","../../../packages/animations/esm5/browser/src/browser.js","../../../packages/animations/esm5/browser/public_api.js","../../../packages/animations/esm5/browser/browser.js"],"sourcesContent":["/**\n
 * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n 
*/\nimport { AUTO_STYLE, NoopAnimationPlayer, ɵA
 nimationGroupPlayer, ɵPRE_STYLE as PRE_STYLE } from 
'@angular/animations';\n/**\n * @param {?} players\n * @return {?}\n */\nexport 
function optimizeGroupPlayer(players) {\nswitch (players.length) {\n
case 0:\nreturn new NoopAnimationPlayer();\ncase 1:\n   
 return players[0];\ndefault:\nreturn new 
ɵAnimationGroupPlayer(players);\n}\n}\n/**\n * @param {?} driver\n * 
@param {?} normalizer\n * @param {?} element\n * @param {?} keyframes\n * 
@param {?=} preStyles\n * @param {?=} postStyles\n * @return {?}\n */\nexport 
function normalizeKeyframes(driver, normalizer, element, keyframes, preStyles, 
postStyles) {\nif (preStyles === void 0) { preStyles = {}; }\nif 
(postStyles === void 0) { postStyles = {}; }\nvar /** @type {?} */ errors = 
[];\nvar /** @type {?} */ normalizedKeyframes = [];\nvar /** @type {?} 
*/ previousOffset = -1;\nvar /** @type {?} */ previousKeyframe = null;\n
keyframes.forEach(fun
 ction (kf) {\nvar /** @type {?} */ offset = /** @type {?} */ 
(kf['offset']);\nvar /** @type {?} */ isSameOffset = offset == 
previousOffset;\nvar /** @type {?} */ normalizedKeyframe = 
(isSameOffset && previousKeyframe) || {};\n
Object.keys(kf).forEach(function (prop) {\nvar /** @type {?} */ 
normalizedProp = prop;\nvar /** @type {?} */ normalizedValue = 
kf[prop];\nif (prop !== 'offset') {\nnormalizedProp 
= normalizer.normalizePropertyName(normalizedProp, errors);\n
switch (normalizedValue) {\ncase PRE_STYLE:\n   
 normalizedValue = preStyles[prop];\nbreak;\n   
 case AUTO_STYLE:\nnormalizedValue = 
postStyles[prop];\nbreak;\n
default:\nnormalizedValue =\n   
 normalizer.normalizeStyleValue(prop, norma
 lizedProp, normalizedValue, errors);\nbreak;\n 
   }\n}\nnormalizedKeyframe[normalizedProp] = 
normalizedValue;\n});\nif (!isSameOffset) {\n
normalizedKeyframes.push(normalizedKeyframe);\n}\n
previousKeyframe = normalizedKeyframe;\npreviousOffset = offset;\n
});\nif (errors.length) {\nvar /** @type {?} */ LINE_START = '\\n - 
';\nthrow new Error(\"Unable to animate due to the following 

[54/59] [abbrv] nifi-fds git commit: update path to demo-app

2018-06-06 Thread scottyaslan
update path to demo-app


Project: http://git-wip-us.apache.org/repos/asf/nifi-fds/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-fds/commit/877eecf3
Tree: http://git-wip-us.apache.org/repos/asf/nifi-fds/tree/877eecf3
Diff: http://git-wip-us.apache.org/repos/asf/nifi-fds/diff/877eecf3

Branch: refs/heads/gh-pages
Commit: 877eecf3097750342ddb296ab9c1438e7e814e8b
Parents: 16a14e5
Author: Scott Aslan 
Authored: Tue Jun 5 17:26:34 2018 -0400
Committer: Scott Aslan 
Committed: Tue Jun 5 17:26:34 2018 -0400

--
 index.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/877eecf3/index.html
--
diff --git a/index.html b/index.html
index e759f14..b5c94b7 100644
--- a/index.html
+++ b/index.html
@@ -22,15 +22,15 @@
 
 
 
-
+
 
 
 
 
 
 
-
+
 
-  System.import('../demo-app/fds-bootstrap.js').catch(function(err) 
{console.error(err);});
+  System.import('demo-app/fds-bootstrap.js').catch(function(err) 
{console.error(err);});
 
 



[55/59] [abbrv] nifi-fds git commit: remove files and update README

2018-06-06 Thread scottyaslan
remove files and update README


Project: http://git-wip-us.apache.org/repos/asf/nifi-fds/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi-fds/commit/0856a5c8
Tree: http://git-wip-us.apache.org/repos/asf/nifi-fds/tree/0856a5c8
Diff: http://git-wip-us.apache.org/repos/asf/nifi-fds/diff/0856a5c8

Branch: refs/heads/gh-pages
Commit: 0856a5c8c2c5fff58e3f436bf03ed0ddccd89e73
Parents: 877eecf
Author: Scott Aslan 
Authored: Tue Jun 5 17:41:59 2018 -0400
Committer: Scott Aslan 
Committed: Tue Jun 5 17:41:59 2018 -0400

--
 .gitignore  |  1 +
 README.md   | 13 -
 demo-app/index.html | 37 -
 3 files changed, 9 insertions(+), 42 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/0856a5c8/.gitignore
--
diff --git a/.gitignore b/.gitignore
index 45ff9c3..ef34551 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ node_modules/jasmine*
 node_modules/webdriver*
 .github/
 demo-app/gh-pages*
+demo-app/index.html
 scripts/
 src/
 test/

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/0856a5c8/README.md
--
diff --git a/README.md b/README.md
index 6ddaea3..0d609e6 100644
--- a/README.md
+++ b/README.md
@@ -56,12 +56,14 @@ AppModule.annotations = [
 ...
 ```
 
- Theming
-The Apache NiFi Flow Design System provides a themeable UI/UX component 
platform. To customize the core FDS components create a simple Sass file that 
defines your palettes and passes them to mixins that output the corresponding 
styles. A typical theme file will look something like this:
+ Style and Theming
+The Apache NiFi Flow Design System comes with a base CSS file 
`node_modules/@nifi-fds/core/common/styles/css/flow-design-system.min.css` 
(includes icons). This file must be included in the head of the HTML document 
before the theme file.
+
+
+NiFi FDS is also a themeable UI/UX component platform. To customize the core 
FDS components create a simple Sass file that defines your palettes and passes 
them to mixins that output the corresponding styles. A typical theme file will 
look something like this:
 
 ```javascript
 @import '../../node_modules/@nifi-fds/core/common/styles/globalVars';
-@import '../../node_modules/@nifi-fds/core/common/styles/flow-design-system';
 @import '../../node_modules/@nifi-fds/core/theming/all-theme';
 
 //Change these
@@ -89,10 +91,11 @@ $fds-theme: mat-light-theme($fds-primary, $fds-accent, 
$fds-warn);
 @include fds-theme($fds-theme);
 ```
 
-You don't have to use Sass to style the rest of your application but you will 
need to compile this one. Angular CLI, grunt-sass, gulp-sass, and node-sass are 
all great options; the output of which will be a CSS file that must be included 
in the head of the HTML document:
+You don't have to use Sass to style the rest of your application but you will 
need to compile this one. Angular CLI, grunt-sass, gulp-sass, and node-sass are 
all great options; the output of which will be a CSS file that must be included 
in the head of the HTML document after the base NiFi FDS CSS styles:
 
 ```javascript
-
+
+
 ```
 
 NOTE: The theme file may be concatenated and minified with the rest of the 
application's CSS.

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/0856a5c8/demo-app/index.html
--
diff --git a/demo-app/index.html b/demo-app/index.html
deleted file mode 100644
index ce269ea..000
--- a/demo-app/index.html
+++ /dev/null
@@ -1,37 +0,0 @@
-
-
-
-
-Apache NiFi Flow Design System Demo
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-System.import('demo-app/fds-bootstrap.js').catch(function (err) {
-console.error(err);
-});
-
-



[50/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/Gruntfile.js
--
diff --git a/Gruntfile.js b/Gruntfile.js
deleted file mode 100644
index 9d30a0b..000
--- a/Gruntfile.js
+++ /dev/null
@@ -1,68 +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.
- */
-
-module.exports = function (grunt) {
-// load all grunt tasks matching the ['grunt-*', '@*/grunt-*'] patterns
-require('load-grunt-tasks')(grunt);
-
-grunt.initConfig({
-sass: {
-options: {
-outputStyle: 'compressed',
-sourceMap: true
-},
-minifyFdsDemo: {
-files: [{
-'./demo-app/css/fds-demo.min.css': 
['./demo-app/theming/fds-demo.scss']
-}]
-}
-},
-compress: {
-options: {
-mode: 'gzip'
-},
-fdsDemoStyles: {
-files: [{
-expand: true,
-src: ['./demo-app/css/fds-demo.min.css'],
-dest: './',
-ext: '.min.css.gz'
-}]
-}
-},
-bump: {
-options: {
-files: ['package.json'],
-updateConfigs: [],
-commit: true,
-commitMessage: 'Release FDS-%VERSION%',
-commitFiles: ['-a'],
-createTag: true,
-tagName: 'FDS-%VERSION%',
-tagMessage: 'Version FDS-%VERSION%',
-push: true,
-pushTo: 'origin',
-gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d',
-globalReplace: false,
-prereleaseName: 'RC',
-metadata: '',
-regExp: false
-}
-}
-});
-grunt.registerTask('compile-fds-demo-styles', ['sass:minifyFdsDemo', 
'compress:fdsDemoStyles']);
-};

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/LICENSE
--
diff --git a/LICENSE b/LICENSE
deleted file mode 100644
index 8d6dc97..000
--- a/LICENSE
+++ /dev/null
@@ -1,240 +0,0 @@
-
- Apache License
-   Version 2.0, January 2004
-http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-  "License" shall mean the terms and conditions for use, reproduction,
-  and distribution as defined by Sections 1 through 9 of this document.
-
-  "Licensor" shall mean the copyright owner or entity authorized by
-  the copyright owner that is granting the License.
-
-  "Legal Entity" shall mean the union of the acting entity and all
-  other entities that control, are controlled by, or are under common
-  control with that entity. For the purposes of this definition,
-  "control" means (i) the power, direct or indirect, to cause the
-  direction or management of such entity, whether by contract or
-  otherwise, or (ii) ownership of fifty percent (50%) or more of the
-  outstanding shares, or (iii) beneficial ownership of such entity.
-
-  "You" (or "Your") shall mean an individual or Legal Entity
-  exercising permissions granted by this License.
-
-  "Source" form shall mean the preferred form for making modifications,
-  including but not limited to software source code, documentation
-  source, and configuration files.
-
-  "Object" form shall mean any form resulting from mechanical
-  transformation or translation of a Source form, including but
-  not limited to compiled object code, generated documentation,
-  and conversions to other media types.
-
-  "Work" shall mean the work of authorship, whether in Source or
-  Object form, made available under the License, as indicated by a
-  copyright notice that is included in or attached to the work
-  (an example is provided in the Appendix below).
-
-  "Derivative Works" shall mean any work, whether in Source or 

[48/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/components/flow-design-system/fds-demo.js
--
diff --git a/demo-app/components/flow-design-system/fds-demo.js 
b/demo-app/components/flow-design-system/fds-demo.js
new file mode 100644
index 000..3ae86c5
--- /dev/null
+++ b/demo-app/components/flow-design-system/fds-demo.js
@@ -0,0 +1,1066 @@
+/*
+ * 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.
+ */
+
+var ngCore = require('@angular/core');
+var covalentCore = require('@covalent/core');
+var ngRouter = require('@angular/router');
+var ngMaterial = require('@angular/material');
+var fdsAnimations = require('demo-app/fds.animations.js');
+var fdsDialogsModule = require('@flow-design-system/dialogs');
+var fdsSnackBarsModule = require('@flow-design-system/snackbars');
+var FdsService = require('demo-app/services/fds.service.js');
+var FdsDemoDialog = 
require('demo-app/components/flow-design-system/dialogs/demo/fds-demo-dialog.js');
+
+var NUMBER_FORMAT = function (v) {
+return v;
+};
+var DECIMAL_FORMAT = function (v) {
+return v.toFixed(2);
+};
+var date = new Date();
+
+/**
+ * FdsDemo constructor.
+ *
+ * @param FdsSnackBarServiceThe FDS snack bar service module.
+ * @param FdsServiceThe FDS service module.
+ * @param dialogThe angular material dialog module.
+ * @param TdDialogService   The covalent dialog service module.
+ * @param TdDataTableServiceThe covalent data table service module.
+ * @constructor
+ */
+function FdsDemo(FdsSnackBarService, FdsService, dialog, TdDataTableService, 
FdsDialogService) {
+
+this.fdsService = FdsService;
+
+//
+
+this.snackBarService = FdsSnackBarService;
+
+//
+
+//
+
+this.dialog = dialog;
+
+//
+
+//
+
+this.dialogService = FdsDialogService;
+
+//
+
+//
+
+this.expandCollapseExpansion1Msg = 'No expanded/collapsed detected yet';
+this.expansion1 = false;
+this.disabled = false;
+
+//
+
+//
+
+this.currentState = '';
+this.reactiveStates = '';
+this.tdStates = [];
+this.tdDisabled = false;
+this.states = [
+{code: 'AL', name: 'Alabama'},
+{code: 'AK', name: 'Alaska'},
+{code: 'AZ', name: 'Arizona'},
+{code: 'AR', name: 'Arkansas'},
+{code: 'CA', name: 'California'},
+{code: 'CO', name: 'Colorado'},
+{code: 'CT', name: 'Connecticut'},
+{code: 'DE', name: 'Delaware'},
+{code: 'FL', name: 'Florida'},
+{code: 'GA', name: 'Georgia'},
+{code: 'HI', name: 'Hawaii'},
+{code: 'ID', name: 'Idaho'},
+{code: 'IL', name: 'Illinois'},
+{code: 'IN', name: 'Indiana'},
+{code: 'IA', name: 'Iowa'},
+{code: 'KS', name: 'Kansas'},
+{code: 'KY', name: 'Kentucky'},
+{code: 'LA', name: 'Louisiana'},
+{code: 'ME', name: 'Maine'},
+{code: 'MD', name: 'Maryland'},
+{code: 'MA', name: 'Massachusetts'},
+{code: 'MI', name: 'Michigan'},
+{code: 'MN', name: 'Minnesota'},
+{code: 'MS', name: 'Mississippi'},
+{code: 'MO', name: 'Missouri'},
+{code: 'MT', name: 'Montana'},
+{code: 'NE', name: 'Nebraska'},
+{code: 'NV', name: 'Nevada'},
+{code: 'NH', name: 'New Hampshire'},
+{code: 'NJ', name: 'New Jersey'},
+{code: 'NM', name: 'New Mexico'},
+{code: 'NY', name: 'New York'},
+{code: 'NC', name: 'North Carolina'},
+{code: 'ND', name: 'North Dakota'},
+{code: 'OH', name: 'Ohio'},
+{code: 'OK', name: 'Oklahoma'},
+{code: 'OR', name: 'Oregon'},
+{code: 'PA', name: 'Pennsylvania'},
+{code: 'RI', name: 'Rhode Island'},
+{code: 'SC', name: 'South Carolina'},
+{code: 'SD', name: 'South Dakota'},
+{code: 'TN', name: 'Tennessee'},
+{code: 'TX', name: 'Texas'},
+{code: 'UT', name: 'Utah'},
+{code: 'VT', name: 'Vermont'},
+{code: 'VA', name: 'Virginia'},
+{code: 'WA', name: 'Washington'},
+{code: 'WV', name: 'West Virginia'},
+{code: 'WI', name: 'Wisconsin'},
+   

[26/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/a11y/typings/index.metadata.json
--
diff --git a/node_modules/@angular/cdk/a11y/typings/index.metadata.json 
b/node_modules/@angular/cdk/a11y/typings/index.metadata.json
new file mode 100644
index 000..dcfd118
--- /dev/null
+++ b/node_modules/@angular/cdk/a11y/typings/index.metadata.json
@@ -0,0 +1 @@
+{"__symbolic":"module","version":4,"metadata":{"FocusTrapDirective":{"__symbolic":"reference","name":"CdkTrapFocus"},"RegisteredMessage":{"__symbolic":"interface"},"MESSAGES_CONTAINER_ID":"cdk-describedby-message-container","CDK_DESCRIBEDBY_ID_PREFIX":"cdk-describedby-message","CDK_DESCRIBEDBY_HOST_ATTRIBUTE":"cdk-describedby-host","AriaDescriber":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":48,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":52,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":52,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}],"describe":[{"__symbolic":"method"}],"removeDescription":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symb
 
olic":"method"}],"_createMessageElement":[{"__symbolic":"method"}],"_deleteMessageElement":[{"__symbolic":"method"}],"_createMessagesContainer":[{"__symbolic":"method"}],"_deleteMessagesContainer":[{"__symbolic":"method"}],"_removeCdkDescribedByReferenceIds":[{"__symbolic":"method"}],"_addMessageReference":[{"__symbolic":"method"}],"_removeMessageReference":[{"__symbolic":"method"}],"_isElementDescribedByMessage":[{"__symbolic":"method"}]}},"ARIA_DESCRIBER_PROVIDER_FACTORY":{"__symbolic":"function","parameters":["parentDispatcher","_document"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"reference","name":"parentDispatcher"},"right":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"AriaDescriber"},"arguments":[{"__symbolic":"reference","name":"_document"}]}}},"ARIA_DESCRIBER_PROVIDER":{"provide":{"__symbolic":"reference","name":"AriaDescriber"},"deps":[[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":
 
"Optional","line":210,"character":9}},{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"SkipSelf","line":210,"character":25}},{"__symbolic":"reference","name":"AriaDescriber"}],{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":211,"character":4}],"useFactory":{"__symbolic":"reference","name":"ARIA_DESCRIBER_PROVIDER_FACTORY"}},"Highlightable":{"__symbolic":"interface"},"ActiveDescendantKeyManager":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"ListKeyManager"},"members":{"setActiveItem":[{"__symbolic":"method"}]}},"FocusableOption":{"__symbolic":"interface"},"FocusKeyManager":{"__symbolic":"class","arity":1,"extends":{"__symbolic":"reference","name":"ListKeyManager"},"members":{"setFocusOrigin":[{"__symbolic":"method"}],"setActiveItem":[{"__symbolic":"method"}]}},"ListKeyManagerOption":{"__symbolic":"interface"},"ListKeyManager":{"__symbolic":"class","arity":1,"members":{"__ctor__":[{"
 
__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"QueryList","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could
 not resolve 
type","line":52,"character":40,"context":{"typeName":"T"},"module":"./key-manager/list-key-manager"}]}]}],"withWrap":[{"__symbolic":"method"}],"withVerticalOrientation":[{"__symbolic":"method"}],"withHorizontalOrientation":[{"__symbolic":"method"}],"withTypeAhead":[{"__symbolic":"method"}],"setActiveItem":[{"__symbolic":"method"}],"onKeydown":[{"__symbolic":"method"}],"setFirstItemActive":[{"__symbolic":"method"}],"setLastItemActive":[{"__symbolic":"method"}],"setNextItemActive":[{"__symbolic":"method"}],"setPreviousItemActive":[{"__symbolic":"method"}],"updateActiveItemIndex":[{"__symbolic":"method"}],"_setActiveItemByDelta":[{"__symbolic":"method"}],"_setActiveInWrapMode":[{"__symbolic":"method"}],"_setActiveInDefaultMode":[{"__symbolic":"method"}],"_setActiveItemByIndex":[{"__symbolic":"method"}]}},"FocusTrap
 
":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"error","message":"Could
 not resolve 
type","line":47,"character":22,"context":{"typeName":"HTMLElement"},"module":"./focus-trap/focus-trap"},{"__symbolic":"reference","name":"InteractivityChecker"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":49,"character":21},{"__symbolic":"error","message":"Could
 not resolve 

[20/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-collections.umd.js.map
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-collections.umd.js.map 
b/node_modules/@angular/cdk/bundles/cdk-collections.umd.js.map
new file mode 100644
index 000..0c6bc2c
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-collections.umd.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"cdk-collections.umd.js","sources":["../../src/cdk/collections/unique-selection-dispatcher.ts","../../src/cdk/collections/selection.ts","../../src/cdk/collections/data-source.ts"],"sourcesContent":["/**\n
 * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {Injectable, 
Optional, SkipSelf, OnDestroy} from '@angular/core';\n\n\n// Users of the 
Dispatcher never need to see this type, but TypeScript requires it to be 
exported.\nexport type UniqueSelectionDispatcherListener = (id: string, name: 
string) => void;\n\n/**\n * Class to coordinate unique selection based on 
name.\n * Intended to be consumed as an Angular service.\n * This service is 
needed because native radio change events are only fired on the item 
currently\n * being selected, and we still need to uncheck the previous 
selection.\n *\n * This servic
 e does not *store* any IDs and names because they may change at any time, so 
it is\n * less error-prone if they are simply passed through when the events 
occur.\n */\n@Injectable()\nexport class UniqueSelectionDispatcher implements 
OnDestroy {\n  private _listeners: UniqueSelectionDispatcherListener[] = 
[];\n\n  /**\n   * Notify other items that selection for the given name has 
been set.\n   * @param id ID of the item.\n   * @param name Name of the item.\n 
  */\n  notify(id: string, name: string) {\nfor (let listener of 
this._listeners) {\n  listener(id, name);\n}\n  }\n\n  /**\n   * Listen 
for future changes to item selection.\n   * @return Function used to deregister 
listener\n   */\n  listen(listener: UniqueSelectionDispatcherListener): () => 
void {\nthis._listeners.push(listener);\nreturn () => {\n  
this._listeners = this._listeners.filter((registered: 
UniqueSelectionDispatcherListener) => {\nreturn listener !== 
registered;\n  });\n};\n  }
 \n\n  ngOnDestroy() {\nthis._listeners = [];\n  }\n}\n\n/** @docs-private 
*/\nexport function UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY(\n
parentDispatcher: UniqueSelectionDispatcher) {\n  return parentDispatcher || 
new UniqueSelectionDispatcher();\n}\n\n/** @docs-private */\nexport const 
UNIQUE_SELECTION_DISPATCHER_PROVIDER = {\n  // If there is already a dispatcher 
available, use that. Otherwise, provide a new one.\n  provide: 
UniqueSelectionDispatcher,\n  deps: [[new Optional(), new SkipSelf(), 
UniqueSelectionDispatcher]],\n  useFactory: 
UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY\n};\n","/**\n * @license\n * 
Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is 
governed by an MIT-style license that can be\n * found in the LICENSE file at 
https://angular.io/license\n */\n\nimport {Subject} from 
'rxjs/Subject';\n\n/**\n * Class to be used to power selecting one or more 
options from a list.\n */\nexport class SelectionModel {\n  /** Currently-se
 lected values. */\n  private _selection: Set = new Set();\n\n  /** Keeps 
track of the deselected options that haven't been emitted by the change event. 
*/\n  private _deselectedToEmit: T[] = [];\n\n  /** Keeps track of the selected 
options that haven't been emitted by the change event. */\n  private 
_selectedToEmit: T[] = [];\n\n  /** Cache for the array value of the selected 
items. */\n  private _selected: T[] | null;\n\n  /** Selected values. */\n  get 
selected(): T[] {\nif (!this._selected) {\n  this._selected = 
Array.from(this._selection.values());\n}\n\nreturn this._selected;\n  
}\n\n  /** Event emitted when the value has changed. */\n  onChange: 
Subject> | null = this._emitChanges ? new Subject() : 
null;\n\n  constructor(\nprivate _multiple = false,\n
initiallySelectedValues?: T[],\nprivate _emitChanges = true) {\n\nif 
(initiallySelectedValues && initiallySelectedValues.length) {\n  if 
(_multiple) {\ninitiallySel
 ectedValues.forEach(value => this._markSelected(value));\n  } else {\n 
   this._markSelected(initiallySelectedValues[0]);\n  }\n\n  // Clear 
the array in order to avoid firing the change event for preselected values.\n   
   this._selectedToEmit.length = 0;\n}\n  }\n\n  /**\n   * Selects a value 
or an array of values.\n   */\n  select(...values: T[]): void {\n
this._verifyValueAssignment(values);\nvalues.forEach(value => 
this._markSelected(value));\n

[47/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/css/fds-demo.min.css
--
diff --git a/demo-app/css/fds-demo.min.css b/demo-app/css/fds-demo.min.css
new file mode 100644
index 000..4e1166e
--- /dev/null
+++ b/demo-app/css/fds-demo.min.css
@@ -0,0 +1,3 @@
+@-moz-document 
url-prefix(){[layout-fill]{margin:0;width:100%;min-height:100%;height:100%}}body{background:#EEEFF0;background-size:40%}#fds-app-container{margin:0;width:100%;height:100%}#fds-toolbar{min-width:1045px;background-color:#FF;position:absolute;z-index:1000;background:#2C3E44}#fds-toolbar
 .mat-icon-button{color:#eee;font-size:20px;margin:0}#fds-toolbar 
.mat-select-value-text,#fds-toolbar .mat-select-arrow{color:white}#fds-toolbar 
span,#fds-toolbar 
.link{color:#eee;font-weight:lighter}#fds-perspectives-container{position:absolute;top:64px;left:0px;right:0px;bottom:0px;min-height:370px;min-width:1045px;overflow:auto;background:#EEEFF0;background-size:40%}#loading-spinner{position:absolute;top:calc(50%
 - 50px);left:calc(50% - 
50px);z-index:2}mat-sidenav{width:40%;min-width:418px}.sidenav-content{position:absolute;bottom:60px;top:80px;right:0px;left:0px;overflow:auto}.fa-rotate-45{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-o-t
 
ransform:rotate(45deg);transform:rotate(45deg)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.ellipsis{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block
 
!important}.info{color:#1291c1}.authorized{color:#D14A50}.suspended{color:#429929}.nonconfigurable{background:#b2b8c1}.selected-nonconfigurable{background:repeating-linear-gradient(-45deg,
 #eee, #eee 10px, #fff 10px, #fff 20px) 
!important}.fds-button-container{position:absolute;bottom:0px;height:64px;left:0px;right:0px;border-top:1px
 solid #ccc}.fds-button-container 
.done-button{float:right;margin-right:15px;margin-top:15px}.td-expansion-content{background:#F8F9F9}.mat-elevation-z0{box-shadow:0px
 0px 0px 0px rgba(0,0,0,0.2),0px 0px 0px 0px rgba(0,0,0,0.14),0px 0px 0px 0px 
rgba(0,0,0,0.12)}.mat-elevation-z1{box-shadow:0px 2px 1px -1px 
rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px 
rgba(0,0,0,0.12)}.mat-elevation-z2{box-shadow:0px 3px 1px -2px 
rgba(0,0,0,0.2),0px 2px 
 2px 0px rgba(0,0,0,0.14),0px 1px 5px 0px 
rgba(0,0,0,0.12)}.mat-elevation-z3{box-shadow:0px 3px 3px -2px 
rgba(0,0,0,0.2),0px 3px 4px 0px rgba(0,0,0,0.14),0px 1px 8px 0px 
rgba(0,0,0,0.12)}.mat-elevation-z4{box-shadow:0px 2px 4px -1px 
rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px 
rgba(0,0,0,0.12)}.mat-elevation-z5{box-shadow:0px 3px 5px -1px 
rgba(0,0,0,0.2),0px 5px 8px 0px rgba(0,0,0,0.14),0px 1px 14px 0px 
rgba(0,0,0,0.12)}.mat-elevation-z6{box-shadow:0px 3px 5px -1px 
rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px 
rgba(0,0,0,0.12)}.mat-elevation-z7{box-shadow:0px 4px 5px -2px 
rgba(0,0,0,0.2),0px 7px 10px 1px rgba(0,0,0,0.14),0px 2px 16px 1px 
rgba(0,0,0,0.12)}.mat-elevation-z8{box-shadow:0px 5px 5px -3px 
rgba(0,0,0,0.2),0px 8px 10px 1px rgba(0,0,0,0.14),0px 3px 14px 2px 
rgba(0,0,0,0.12)}.mat-elevation-z9{box-shadow:0px 5px 6px -3px 
rgba(0,0,0,0.2),0px 9px 12px 1px rgba(0,0,0,0.14),0px 3px 16px 2px 
rgba(0,0,0,0.12)}.mat-elevation-z10{box-shadow:0px
  6px 6px -3px rgba(0,0,0,0.2),0px 10px 14px 1px rgba(0,0,0,0.14),0px 4px 18px 
3px rgba(0,0,0,0.12)}.mat-elevation-z11{box-shadow:0px 6px 7px -4px 
rgba(0,0,0,0.2),0px 11px 15px 1px rgba(0,0,0,0.14),0px 4px 20px 3px 
rgba(0,0,0,0.12)}.mat-elevation-z12{box-shadow:0px 7px 8px -4px 
rgba(0,0,0,0.2),0px 12px 17px 2px rgba(0,0,0,0.14),0px 5px 22px 4px 
rgba(0,0,0,0.12)}.mat-elevation-z13{box-shadow:0px 7px 8px -4px 
rgba(0,0,0,0.2),0px 13px 19px 2px rgba(0,0,0,0.14),0px 5px 24px 4px 
rgba(0,0,0,0.12)}.mat-elevation-z14{box-shadow:0px 7px 9px -4px 
rgba(0,0,0,0.2),0px 14px 21px 2px rgba(0,0,0,0.14),0px 5px 26px 4px 
rgba(0,0,0,0.12)}.mat-elevation-z15{box-shadow:0px 8px 9px -5px 
rgba(0,0,0,0.2),0px 15px 22px 2px rgba(0,0,0,0.14),0px 6px 28px 5px 
rgba(0,0,0,0.12)}.mat-elevation-z16{box-shadow:0px 8px 10px -5px 
rgba(0,0,0,0.2),0px 16px 24px 2px rgba(0,0,0,0.14),0px 6px 30px 5px 
rgba(0,0,0,0.12)}.mat-elevation-z17{box-shadow:0px 8px 11px -5px 
rgba(0,0,0,0.2),0px 17px 26px 2px rgba(0,0,0,0.14),0px 6p
 x 32px 5px rgba(0,0,0,0.12)}.mat-elevation-z18{box-shadow:0px 9px 11px -5px 
rgba(0,0,0,0.2),0px 18px 28px 2px rgba(0,0,0,0.14),0px 7px 34px 6px 
rgba(0,0,0,0.12)}.mat-elevation-z19{box-shadow:0px 9px 12px -6px 
rgba(0,0,0,0.2),0px 19px 29px 2px rgba(0,0,0,0.14),0px 7px 36px 6px 
rgba(0,0,0,0.12)}.mat-elevation-z20{box-shadow:0px 10px 13px -6px 
rgba(0,0,0,0.2),0px 20px 31px 3px rgba(0,0,0,0.14),0px 8px 38px 7px 
rgba(0,0,0,0.12)}.mat-elevation-z21{box-shadow:0px 10px 13px -6px 
rgba(0,0,0,0.2),0px 21px 33px 3px rgba(0,0,0,0.14),0px 8px 40px 7px 
rgba(0,0,0,0.12)}.mat-elevation-z22{box-shadow:0px 

[35/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm2015/animations.js.map
--
diff --git a/node_modules/@angular/animations/esm2015/animations.js.map 
b/node_modules/@angular/animations/esm2015/animations.js.map
new file mode 100644
index 000..96c1fe8
--- /dev/null
+++ b/node_modules/@angular/animations/esm2015/animations.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"animations.js","sources":["../../../packages/animations/src/animation_builder.js","../../../packages/animations/src/animation_metadata.js","../../../packages/animations/src/util.js","../../../packages/animations/src/players/animation_player.js","../../../packages/animations/src/players/animation_group_player.js","../../../packages/animations/src/private_export.js","../../../packages/animations/src/animations.js","../../../packages/animations/public_api.js","../../../packages/animations/animations.js"],"sourcesContent":["/**\n
 * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n 
*/\n/**\n * AnimationBuilder is an injectable service that is available when 
the {\\@link\n * BrowserAnimationsModule BrowserAnimationsModule} or {\\@link 
NoopAnimationsModule\n * NoopAnimationsModule} modules are used within an 
application.\n *\n * The purpose if this service is to produce an animation 
sequence programmatically within an\n * angular component or d
 irective.\n *\n * Programmatic animations are first built and then a player is 
created when the build animation is\n * attached to an element.\n *\n * ```ts\n 
* // remember to include the BrowserAnimationsModule module for this to 
work...\n * import {AnimationBuilder} from '\\@angular/animations';\n *\n * 
class MyCmp {\n *   constructor(private _builder: AnimationBuilder) {}\n *\n *  
 makeAnimation(element: any) {\n * // first build the animation\n * 
const myAnimation = this._builder.build([\n *   style({ width: 0 }),\n *
   animate(1000, style({ width: '100px' }))\n * ]);\n *\n * // then 
create a player from it\n * const player = myAnimation.create(element);\n 
*\n * player.play();\n *   }\n * }\n * ```\n *\n * When an animation is 
built an instance of {\\@link AnimationFactory AnimationFactory} will be\n * 
returned. Using that an {\\@link AnimationPlayer AnimationPlayer} can be 
created which can then be\n * used to start the animation.\n *\n * \\@expe
 rimental Animation support is experimental.\n * @abstract\n */\nexport class 
AnimationBuilder {\n}\nfunction AnimationBuilder_tsickle_Closure_declarations() 
{\n/**\n * @abstract\n * @param {?} animation\n * @return {?}\n 
*/\nAnimationBuilder.prototype.build = function (animation) { 
};\n}\n/**\n * An instance of `AnimationFactory` is returned from {\\@link 
AnimationBuilder#build\n * AnimationBuilder.build}.\n *\n * \\@experimental 
Animation support is experimental.\n * @abstract\n */\nexport class 
AnimationFactory {\n}\nfunction AnimationFactory_tsickle_Closure_declarations() 
{\n/**\n * @abstract\n * @param {?} element\n * @param {?=} 
options\n * @return {?}\n */\nAnimationFactory.prototype.create = 
function (element, options) { };\n}\n//# 
sourceMappingURL=animation_builder.js.map","/**\n * @fileoverview added by 
tsickle\n * @suppress {checkTypes} checked by tsc\n */\n/**\n * @license\n * 
Copyright Google Inc. All Rights Reserved.\n
  *\n * Use of this source code is governed by an MIT-style license that can 
be\n * found in the LICENSE file at https://angular.io/license\n * @record\n 
*/\nexport function ɵStyleData() { }\nfunction 
ɵStyleData_tsickle_Closure_declarations() {\n/* TODO: handle strange 
member:\n[key: string]: string|number;\n*/\n}\n/** @enum {number} 
*/\nconst AnimationMetadataType = {\nState: 0,\nTransition: 1,\n
Sequence: 2,\nGroup: 3,\nAnimate: 4,\nKeyframes: 5,\nStyle: 
6,\nTrigger: 7,\nReference: 8,\nAnimateChild: 9,\nAnimateRef: 
10,\nQuery: 11,\nStagger: 12,\n};\nexport { AnimationMetadataType 
};\n/**\n * \\@experimental Animation support is experimental.\n */\nexport 
const /** @type {?} */ AUTO_STYLE = '*';\n/**\n * \\@experimental Animation 
support is experimental.\n * @record\n */\nexport function AnimationMetadata() 
{ }\nfunction AnimationMetadata_tsickle_Closure_declarations() {\n/** @type 
{?} */\nAnimationMetadata.pro
 totype.type;\n}\n/**\n * Metadata representing the entry of animations. 
Instances of this interface are provided via the\n * animation DSL when the 
{\\@link trigger trigger animation function} is called.\n *\n * \\@experimental 
Animation support is experimental.\n * @record\n */\nexport function 
AnimationTriggerMetadata() { }\nfunction 
AnimationTriggerMetadata_tsickle_Closure_declarations() {\n/** @type {?} 
*/\nAnimationTriggerMetadata.prototype.name;\n/** @type {?} */\n  

[41/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/bundles/animations-browser.umd.min.js
--
diff --git 
a/node_modules/@angular/animations/bundles/animations-browser.umd.min.js 
b/node_modules/@angular/animations/bundles/animations-browser.umd.min.js
new file mode 100644
index 000..1a74fe5
--- /dev/null
+++ b/node_modules/@angular/animations/bundles/animations-browser.umd.min.js
@@ -0,0 +1,15 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+!function(global,factory){"object"==typeof exports&&"undefined"!=typeof 
module?factory(exports,require("@angular/animations")):"function"==typeof 
define&?define("@angular/animations/browser",["exports","@angular/animations"],factory):factory((global.ng=global.ng||{},global.ng.animations=global.ng.animations||{},global.ng.animations.browser={}),global.ng.animations)}(this,function(exports,_angular_animations){"use
 strict";function __extends(d,b){function 
__(){this.constructor=d}extendStatics(d,b),d.prototype=null===b?Object.create(b):(__.prototype=b.prototype,new
 __)}/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+function optimizeGroupPlayer(players){switch(players.length){case 0:return new 
_angular_animations.NoopAnimationPlayer;case 1:return players[0];default:return 
new _angular_animations.ɵAnimationGroupPlayer(players)}}function 
normalizeKeyframes(driver,normalizer,element,keyframes,preStyles,postStyles){void
 0===preStyles&&(preStyles={}),void 0===postStyles&&(postStyles={});var 
errors=[],normalizedKeyframes=[],previousOffset=-1,previousKeyframe=null;if(keyframes.forEach(function(kf){var
 
offset=kf.offset,isSameOffset=offset==previousOffset,normalizedKeyframe=isSameOffset&||{};Object.keys(kf).forEach(function(prop){var
 
normalizedProp=prop,normalizedValue=kf[prop];if("offset"!==prop)switch(normalizedProp=normalizer.normalizePropertyName(normalizedProp,errors),normalizedValue){case
 _angular_animations.ɵPRE_STYLE:normalizedValue=preStyles[prop];break;case 
_angular_animations.AUTO_STYLE:normalizedValue=postStyles[prop];break;default:normalizedValue=normalizer.normalizeStyle
 
Value(prop,normalizedProp,normalizedValue,errors)}normalizedKeyframe[normalizedProp]=normalizedValue}),isSameOffset||normalizedKeyframes.push(normalizedKeyframe),previousKeyframe=normalizedKeyframe,previousOffset=offset}),errors.length){throw
 new Error("Unable to animate due to the following errors:\n - 
"+errors.join("\n - "))}return normalizedKeyframes}function 
listenOnPlayer(player,eventName,event,callback){switch(eventName){case"start":player.onStart(function(){return
 
callback(event&(event,"start",player.totalTime))});break;case"done":player.onDone(function(){return
 
callback(event&(event,"done",player.totalTime))});break;case"destroy":player.onDestroy(function(){return
 
callback(event&(event,"destroy",player.totalTime))})}}function
 copyAnimationEvent(e,phaseName,totalTime){var 
event=makeAnimationEvent(e.element,e.triggerName,e.fromState,e.toState,phaseName||e.phaseName,void
 0==totalTime?e.totalTime:totalTime),data=e._data;re
 turn null!=data&&(event._data=data),event}function 
makeAnimationEvent(element,triggerName,fromState,toState,phaseName,totalTime){return
 void 0===phaseName&&(phaseName=""),void 
0===totalTime&&(totalTime=0),{element:element,triggerName:triggerName,fromState:fromState,toState:toState,phaseName:phaseName,totalTime:totalTime}}function
 getOrSetAsInMap(map,key,defaultValue){var value;return map instanceof 
Map?(value=map.get(key))||map.set(key,value=defaultValue):(value=map[key])||(value=map[key]=defaultValue),value}function
 parseTimelineCommand(command){var 
separatorPos=command.indexOf(":");return[command.substring(1,separatorPos),command.substr(separatorPos+1)]}function
 containsVendorPrefix(prop){return"ebkit"==prop.substring(1,6)}function 
validateStyleProperty(prop){_CACHED_BODY||(_CACHED_BODY=getBodyNode()||{},_IS_WEBKIT=!!_CACHED_BODY.style&&"WebkitAppearance"in
 _CACHED_BODY.style);var 
result=!0;if(_CACHED_BODY.style&&!containsVendorPrefix(prop)&&!(result=prop in 
_CACHED_BODY.style)&&_
 IS_WEBKIT){result="Webkit"+prop.charAt(0).toUpperCase()+prop.substr(1)in 
_CACHED_BODY.style}return result}function 
getBodyNode(){return"undefined"!=typeof document?document.body:null}function 
resolveTimingValue(value){if("number"==typeof value)return value;var 
matches=value.match(/^(-?[\.\d]+)(m?s)/);return!matches||matches.length<2?0:_convertTimeValueToMS(parseFloat(matches[1]),matches[2])}function
 _convertTimeValueToMS(value,unit){switch(unit){case"s":return 
value*ONE_SECOND;default:return value}}function 
resolveTiming(timings,errors,allowNegativeValues){return 
timings.hasOwnProperty("duration")?timings:parseTimeExpression(timings,errors,allowNegativeValues)}function
 

[15/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-overlay.umd.min.js.map
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-overlay.umd.min.js.map 
b/node_modules/@angular/cdk/bundles/cdk-overlay.umd.min.js.map
new file mode 100644
index 000..2455e4b
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-overlay.umd.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"cdk-overlay.umd.min.js","sources":["../../node_modules/tslib/tslib.es6.js","../../src/cdk/overlay/scroll/scroll-strategy.ts","../../src/cdk/overlay/position/scroll-clip.ts","../../src/cdk/overlay/overlay-ref.ts","../../src/cdk/overlay/keyboard/overlay-keyboard-dispatcher.ts","../../src/cdk/overlay/overlay-container.ts","../../src/cdk/overlay/overlay-directives.ts","../../src/cdk/overlay/scroll/noop-scroll-strategy.ts","../../src/cdk/overlay/overlay-config.ts","../../src/cdk/overlay/position/connected-position.ts","../../src/cdk/overlay/scroll/close-scroll-strategy.ts","../../src/cdk/overlay/scroll/block-scroll-strategy.ts","../../src/cdk/overlay/scroll/reposition-scroll-strategy.ts","../../src/cdk/overlay/scroll/scroll-strategy-options.ts","../../src/cdk/overlay/position/connected-position-strategy.ts","../../src/cdk/overlay/position/global-position-strategy.ts","../../src/cdk/overlay/position/overlay-position-builder.ts","../../src/cdk/overlay/overlay.ts","../.
 
./src/cdk/overlay/overlay-module.ts","../../src/cdk/overlay/fullscreen-overlay-container.ts"],"sourcesContent":["/*!
 
*\r\nCopyright
 (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache 
License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in 
compliance with the License. You may obtain a copy of the\r\nLicense at 
http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN 
*AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS 
OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR 
CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR 
NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific 
language governing permissions\r\nand limitations under the 
License.\r\n*
 */\r\n/* global Reflect, Promise */
 \r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n({ __proto__: [] } 
instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\nfunction 
(d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; 
};\r\n\r\nexport function __extends(d, b) {\r\nextendStatics(d, b);\r\n
function __() { this.constructor = d; }\r\nd.prototype = b === null ? 
Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport 
var __assign = Object.assign || function __assign(t) {\r\nfor (var s, i = 
1, n = arguments.length; i < n; i++) {\r\ns = arguments[i];\r\n
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = 
s[p];\r\n}\r\nreturn t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\n  
  var t = {};\r\nfor (var p in s) if 
(Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n
t[p] = s[p];\r\nif (s != null && typeof Object.getOwnPropertySymbols === 
\"function\")\r\nfor (var i = 0, p 
 = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 
0)\r\nt[p[i]] = s[p[i]];\r\nreturn t;\r\n}\r\n\r\nexport 
function __decorate(decorators, target, key, desc) {\r\nvar c = 
arguments.length, r = c < 3 ? target : desc === null ? desc = 
Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\nif (typeof 
Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = 
Reflect.decorate(decorators, target, key, desc);\r\nelse for (var i = 
decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : 
c > 3 ? d(target, key, r) : d(target, key)) || r;\r\nreturn c > 3 && r && 
Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function 
__param(paramIndex, decorator) {\r\nreturn function (target, key) { 
decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function 
__metadata(metadataKey, metadataValue) {\r\nif (typeof Reflect === 
\"object\" && typeof Reflect.metadata === \"function\") return
  Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function 
__awaiter(thisArg, _arguments, P, generator) {\r\nreturn new (P || (P = 
Promise))(function (resolve, reject) {\r\nfunction fulfilled(value) { 
try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n
function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) 
{ reject(e); } }\r\nfunction step(result) { result.done ? 
resolve(result.value) : new 

[43/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/bundles/animations-browser.umd.js
--
diff --git a/node_modules/@angular/animations/bundles/animations-browser.umd.js 
b/node_modules/@angular/animations/bundles/animations-browser.umd.js
new file mode 100644
index 000..a4a5e7f
--- /dev/null
+++ b/node_modules/@angular/animations/bundles/animations-browser.umd.js
@@ -0,0 +1,6144 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/animations')) :
+   typeof define === 'function' && define.amd ? 
define('@angular/animations/browser', ['exports', '@angular/animations'], 
factory) :
+   (factory((global.ng = global.ng || {}, global.ng.animations = 
global.ng.animations || {}, global.ng.animations.browser = 
{}),global.ng.animations));
+}(this, (function (exports,_angular_animations) { 'use strict';
+
+/*! 
*
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed 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
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABLITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+* 
*/
+/* global Reflect, Promise */
+
+var extendStatics = Object.setPrototypeOf ||
+({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; 
}) ||
+function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+
+function __extends(d, b) {
+extendStatics(d, b);
+function __() { this.constructor = d; }
+d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, 
new __());
+}
+
+var __assign = Object.assign || function __assign(t) {
+for (var s, i = 1, n = arguments.length; i < n; i++) {
+s = arguments[i];
+for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] 
= s[p];
+}
+return t;
+};
+
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * @param {?} players
+ * @return {?}
+ */
+function optimizeGroupPlayer(players) {
+switch (players.length) {
+case 0:
+return new _angular_animations.NoopAnimationPlayer();
+case 1:
+return players[0];
+default:
+return new _angular_animations.ɵAnimationGroupPlayer(players);
+}
+}
+/**
+ * @param {?} driver
+ * @param {?} normalizer
+ * @param {?} element
+ * @param {?} keyframes
+ * @param {?=} preStyles
+ * @param {?=} postStyles
+ * @return {?}
+ */
+function normalizeKeyframes(driver, normalizer, element, keyframes, preStyles, 
postStyles) {
+if (preStyles === void 0) { preStyles = {}; }
+if (postStyles === void 0) { postStyles = {}; }
+var /** @type {?} */ errors = [];
+var /** @type {?} */ normalizedKeyframes = [];
+var /** @type {?} */ previousOffset = -1;
+var /** @type {?} */ previousKeyframe = null;
+keyframes.forEach(function (kf) {
+var /** @type {?} */ offset = /** @type {?} */ (kf['offset']);
+var /** @type {?} */ isSameOffset = offset == previousOffset;
+var /** @type {?} */ normalizedKeyframe = (isSameOffset && 
previousKeyframe) || {};
+Object.keys(kf).forEach(function (prop) {
+var /** @type {?} */ normalizedProp = prop;
+var /** @type {?} */ normalizedValue = kf[prop];
+if (prop !== 'offset') {
+normalizedProp = 
normalizer.normalizePropertyName(normalizedProp, errors);
+switch (normalizedValue) {
+case _angular_animations.ɵPRE_STYLE:
+normalizedValue = preStyles[prop];
+break;
+case _angular_animations.AUTO_STYLE:
+normalizedValue = postStyles[prop];
+break;
+default:
+normalizedValue =
+normalizer.normalizeStyleValue(prop, 
normalizedProp, normalizedValue, errors);
+break;
+}
+}
+normalizedKeyframe[normalizedProp] = 

[45/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/index.html
--
diff --git a/demo-app/index.html b/demo-app/index.html
new file mode 100644
index 000..ce269ea
--- /dev/null
+++ b/demo-app/index.html
@@ -0,0 +1,37 @@
+
+
+
+
+Apache NiFi Flow Design System Demo
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+System.import('demo-app/fds-bootstrap.js').catch(function (err) {
+console.error(err);
+});
+
+

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/services/fds.service.js
--
diff --git a/demo-app/services/fds.service.js b/demo-app/services/fds.service.js
new file mode 100644
index 000..7609ddc
--- /dev/null
+++ b/demo-app/services/fds.service.js
@@ -0,0 +1,52 @@
+/*
+ * 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.
+ */
+
+var covalentCore = require('@covalent/core');
+var fdsDialogsModule = require('@flow-design-system/dialogs');
+var fdsSnackBarsModule = require('@flow-design-system/snackbars');
+
+/**
+ * FdsService constructor.
+ *
+ * @param tdDataTableServiceThe covalent data table service module.
+ * @param fdsDialogService  The FDS dialog service.
+ * @param fdsSnackBarServiceThe FDS snack bar service module.
+ * @constructor
+ */
+function FdsService(tdDataTableService, fdsDialogService, fdsSnackBarService) {
+// Services
+this.dialogService = fdsDialogService;
+this.snackBarService = fdsSnackBarService;
+this.dataTableService = tdDataTableService;
+
+// General
+this.title = "Apache NiFi Flow Design System Demo";
+this.inProgress = true;
+this.perspective = '';
+};
+
+FdsService.prototype = {
+constructor: FdsService,
+};
+
+FdsService.parameters = [
+covalentCore.TdDataTableService,
+fdsDialogsModule.FdsDialogService,
+fdsSnackBarsModule.FdsSnackBarService
+];
+
+module.exports = FdsService;

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/demo-app/systemjs-angular-loader.js
--
diff --git a/demo-app/systemjs-angular-loader.js 
b/demo-app/systemjs-angular-loader.js
new file mode 100644
index 000..8e33bb5
--- /dev/null
+++ b/demo-app/systemjs-angular-loader.js
@@ -0,0 +1,66 @@
+/*
+ * 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.
+ */
+
+var templateUrlRegex = /templateUrl\s*:(\s*['"`](.*?)['"`]\s*)/gm;
+var stylesRegex = /styleUrls *:(\s*\[[^\]]*?\])/g;
+var stringRegex = /(['`"])((?:[^\\]\\\1|.)*?)\1/g;
+
+module.exports.translate = function (load) {
+if (load.source.indexOf('moduleId') != -1) return load;
+
+var url = document.createElement('a');
+url.href = load.address;
+
+var basePathParts = url.pathname.split('/');
+
+basePathParts.pop();
+var basePath = basePathParts.join('/');
+
+var baseHref = document.createElement('a');
+baseHref.href = this.baseURL;
+baseHref = baseHref.pathname;
+
+if (!baseHref.startsWith('/base/')) { // it is not karma
+basePath = basePath.replace(baseHref, '');
+}
+
+load.source = load.source
+.replace(templateUrlRegex, function (match, quote, url) {
+var resolvedUrl = url;
+
+if (url.startsWith('.')) {
+resolvedUrl = basePath + url.substr(1);
+}
+
+return 'templateUrl: "' + resolvedUrl + 

[39/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/bundles/animations.umd.js
--
diff --git a/node_modules/@angular/animations/bundles/animations.umd.js 
b/node_modules/@angular/animations/bundles/animations.umd.js
new file mode 100644
index 000..5426bf6
--- /dev/null
+++ b/node_modules/@angular/animations/bundles/animations.umd.js
@@ -0,0 +1,1640 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports) :
+   typeof define === 'function' && define.amd ? 
define('@angular/animations', ['exports'], factory) :
+   (factory((global.ng = global.ng || {}, global.ng.animations = {})));
+}(this, (function (exports) { 'use strict';
+
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * AnimationBuilder is an injectable service that is available when the {\@link
+ * BrowserAnimationsModule BrowserAnimationsModule} or {\@link 
NoopAnimationsModule
+ * NoopAnimationsModule} modules are used within an application.
+ *
+ * The purpose if this service is to produce an animation sequence 
programmatically within an
+ * angular component or directive.
+ *
+ * Programmatic animations are first built and then a player is created when 
the build animation is
+ * attached to an element.
+ *
+ * ```ts
+ * // remember to include the BrowserAnimationsModule module for this to 
work...
+ * import {AnimationBuilder} from '\@angular/animations';
+ *
+ * class MyCmp {
+ *   constructor(private _builder: AnimationBuilder) {}
+ *
+ *   makeAnimation(element: any) {
+ * // first build the animation
+ * const myAnimation = this._builder.build([
+ *   style({ width: 0 }),
+ *   animate(1000, style({ width: '100px' }))
+ * ]);
+ *
+ * // then create a player from it
+ * const player = myAnimation.create(element);
+ *
+ * player.play();
+ *   }
+ * }
+ * ```
+ *
+ * When an animation is built an instance of {\@link AnimationFactory 
AnimationFactory} will be
+ * returned. Using that an {\@link AnimationPlayer AnimationPlayer} can be 
created which can then be
+ * used to start the animation.
+ *
+ * \@experimental Animation support is experimental.
+ * @abstract
+ */
+var AnimationBuilder = /** @class */ (function () {
+function AnimationBuilder() {
+}
+return AnimationBuilder;
+}());
+/**
+ * An instance of `AnimationFactory` is returned from {\@link 
AnimationBuilder#build
+ * AnimationBuilder.build}.
+ *
+ * \@experimental Animation support is experimental.
+ * @abstract
+ */
+var AnimationFactory = /** @class */ (function () {
+function AnimationFactory() {
+}
+return AnimationFactory;
+}());
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * @license
+ * Copyright Google Inc. All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ */
+var AUTO_STYLE = '*';
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link trigger trigger animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link state state animation function} is called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link transition transition animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link keyframes keyframes animation function} is 
called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata representing the entry of animations. Instances of this interface 
are provided via the
+ * animation DSL when the {\@link style style animation function} is called.
+ *
+ * \@experimental Animation support is experimental.
+ * @record
+ */
+
+/**
+ * Metadata 

[27/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm5/browser/testing.js
--
diff --git a/node_modules/@angular/animations/esm5/browser/testing.js 
b/node_modules/@angular/animations/esm5/browser/testing.js
new file mode 100644
index 000..4c42ca0
--- /dev/null
+++ b/node_modules/@angular/animations/esm5/browser/testing.js
@@ -0,0 +1,511 @@
+/**
+ * @license Angular v5.2.0
+ * (c) 2010-2018 Google, Inc. https://angular.io/
+ * License: MIT
+ */
+import { __extends } from 'tslib';
+import { AUTO_STYLE, NoopAnimationPlayer } from '@angular/animations';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+/**
+ * @param {?} players
+ * @return {?}
+ */
+
+/**
+ * @param {?} driver
+ * @param {?} normalizer
+ * @param {?} element
+ * @param {?} keyframes
+ * @param {?=} preStyles
+ * @param {?=} postStyles
+ * @return {?}
+ */
+
+/**
+ * @param {?} player
+ * @param {?} eventName
+ * @param {?} event
+ * @param {?} callback
+ * @return {?}
+ */
+
+/**
+ * @param {?} e
+ * @param {?=} phaseName
+ * @param {?=} totalTime
+ * @return {?}
+ */
+
+/**
+ * @param {?} element
+ * @param {?} triggerName
+ * @param {?} fromState
+ * @param {?} toState
+ * @param {?=} phaseName
+ * @param {?=} totalTime
+ * @return {?}
+ */
+
+/**
+ * @param {?} map
+ * @param {?} key
+ * @param {?} defaultValue
+ * @return {?}
+ */
+
+/**
+ * @param {?} command
+ * @return {?}
+ */
+
+var _contains = function (elm1, elm2) { return false; };
+var _matches = function (element, selector) {
+return false;
+};
+var _query = function (element, selector, multi) {
+return [];
+};
+if (typeof Element != 'undefined') {
+// this is well supported in all browsers
+_contains = function (elm1, elm2) { return /** @type {?} */ 
(elm1.contains(elm2)); };
+if (Element.prototype.matches) {
+_matches = function (element, selector) { return 
element.matches(selector); };
+}
+else {
+var /** @type {?} */ proto = /** @type {?} */ (Element.prototype);
+var /** @type {?} */ fn_1 = proto.matchesSelector || 
proto.mozMatchesSelector || proto.msMatchesSelector ||
+proto.oMatchesSelector || proto.webkitMatchesSelector;
+if (fn_1) {
+_matches = function (element, selector) { return 
fn_1.apply(element, [selector]); };
+}
+}
+_query = function (element, selector, multi) {
+var /** @type {?} */ results = [];
+if (multi) {
+results.push.apply(results, element.querySelectorAll(selector));
+}
+else {
+var /** @type {?} */ elm = element.querySelector(selector);
+if (elm) {
+results.push(elm);
+}
+}
+return results;
+};
+}
+/**
+ * @param {?} prop
+ * @return {?}
+ */
+function containsVendorPrefix(prop) {
+// Webkit is the only real popular vendor prefix nowadays
+// cc: http://shouldiprefix.com/
+return prop.substring(1, 6) == 'ebkit'; // webkit or Webkit
+}
+var _CACHED_BODY = null;
+var _IS_WEBKIT = false;
+/**
+ * @param {?} prop
+ * @return {?}
+ */
+function validateStyleProperty(prop) {
+if (!_CACHED_BODY) {
+_CACHED_BODY = getBodyNode() || {};
+_IS_WEBKIT = /** @type {?} */ ((_CACHED_BODY)).style ? 
('WebkitAppearance' in /** @type {?} */ ((_CACHED_BODY)).style) : false;
+}
+var /** @type {?} */ result = true;
+if (/** @type {?} */ ((_CACHED_BODY)).style && 
!containsVendorPrefix(prop)) {
+result = prop in /** @type {?} */ ((_CACHED_BODY)).style;
+if (!result && _IS_WEBKIT) {
+var /** @type {?} */ camelProp = 'Webkit' + 
prop.charAt(0).toUpperCase() + prop.substr(1);
+result = camelProp in /** @type {?} */ ((_CACHED_BODY)).style;
+}
+}
+return result;
+}
+/**
+ * @return {?}
+ */
+function getBodyNode() {
+if (typeof document != 'undefined') {
+return document.body;
+}
+return null;
+}
+var matchesElement = _matches;
+var containsElement = _contains;
+var invokeQuery = _query;
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+
+
+
+
+
+
+
+
+
+
+/**
+ * @param {?} value
+ * @return {?}
+ */
+
+/**
+ * @param {?} timings
+ * @param {?} errors
+ * @param {?=} allowNegativeValues
+ * @return {?}
+ */
+
+/**
+ * @param {?} obj
+ * @param {?=} destination
+ * @return {?}
+ */
+
+/**
+ * @param {?} styles
+ * @return {?}
+ */
+
+/**
+ * @param {?} styles
+ * @param {?} readPrototype
+ * @param {?=} destination
+ * @return {?}
+ */
+
+/**
+ * @param {?} element
+ * @param {?} styles
+ * @return {?}
+ */
+
+/**
+ * @param {?} element
+ * @param {?} styles
+ * @return {?}
+ */
+
+/**
+ * @param {?} steps
+ * @return {?}
+ */
+
+/**
+ * @param {?} value
+ * @param {?} options
+ * @param {?} errors
+ * @return {?}
+ */
+
+/**
+ * @param {?} value
+ * 

[52/59] [abbrv] nifi-fds git commit: remove .bin node_module

2018-06-06 Thread scottyaslan
remove .bin node_module


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

Branch: refs/heads/gh-pages
Commit: fac2a48f7eea9886747602a26e80edae0448baa9
Parents: eec354e
Author: Scott Aslan 
Authored: Tue Jun 5 17:11:11 2018 -0400
Committer: Scott Aslan 
Committed: Tue Jun 5 17:11:11 2018 -0400

--
 node_modules/.bin/blocking-proxy| 1 -
 node_modules/.bin/cake  | 1 -
 node_modules/.bin/coffee| 1 -
 node_modules/.bin/dateformat| 1 -
 node_modules/.bin/detect-libc   | 1 -
 node_modules/.bin/ecstatic  | 1 -
 node_modules/.bin/escodegen | 1 -
 node_modules/.bin/esgenerate| 1 -
 node_modules/.bin/esparse   | 1 -
 node_modules/.bin/esvalidate| 1 -
 node_modules/.bin/grunt | 1 -
 node_modules/.bin/handlebars| 1 -
 node_modules/.bin/he| 1 -
 node_modules/.bin/hs| 1 -
 node_modules/.bin/http-server   | 1 -
 node_modules/.bin/in-install| 1 -
 node_modules/.bin/in-publish| 1 -
 node_modules/.bin/istanbul  | 1 -
 node_modules/.bin/jasmine   | 1 -
 node_modules/.bin/js-yaml   | 1 -
 node_modules/.bin/karma | 1 -
 node_modules/.bin/mime  | 1 -
 node_modules/.bin/mkdirp| 1 -
 node_modules/.bin/node-gyp  | 1 -
 node_modules/.bin/node-sass | 1 -
 node_modules/.bin/nopt  | 1 -
 node_modules/.bin/not-in-install| 1 -
 node_modules/.bin/not-in-publish| 1 -
 node_modules/.bin/opener| 1 -
 node_modules/.bin/prebuild-install  | 1 -
 node_modules/.bin/protractor| 1 -
 node_modules/.bin/rc| 1 -
 node_modules/.bin/rimraf| 1 -
 node_modules/.bin/sassgraph | 1 -
 node_modules/.bin/semver| 1 -
 node_modules/.bin/sshpk-conv| 1 -
 node_modules/.bin/sshpk-sign| 1 -
 node_modules/.bin/sshpk-verify  | 1 -
 node_modules/.bin/strip-indent  | 1 -
 node_modules/.bin/uglifyjs  | 1 -
 node_modules/.bin/uuid  | 1 -
 node_modules/.bin/webdriver-manager | 1 -
 node_modules/.bin/which | 1 -
 43 files changed, 43 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/fac2a48f/node_modules/.bin/blocking-proxy
--
diff --git a/node_modules/.bin/blocking-proxy b/node_modules/.bin/blocking-proxy
deleted file mode 12
index 2b0fa22..000
--- a/node_modules/.bin/blocking-proxy
+++ /dev/null
@@ -1 +0,0 @@
-../blocking-proxy/built/lib/bin.js
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/fac2a48f/node_modules/.bin/cake
--
diff --git a/node_modules/.bin/cake b/node_modules/.bin/cake
deleted file mode 12
index 373ed19..000
--- a/node_modules/.bin/cake
+++ /dev/null
@@ -1 +0,0 @@
-../coffeescript/bin/cake
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/fac2a48f/node_modules/.bin/coffee
--
diff --git a/node_modules/.bin/coffee b/node_modules/.bin/coffee
deleted file mode 12
index 52c50e8..000
--- a/node_modules/.bin/coffee
+++ /dev/null
@@ -1 +0,0 @@
-../coffeescript/bin/coffee
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/fac2a48f/node_modules/.bin/dateformat
--
diff --git a/node_modules/.bin/dateformat b/node_modules/.bin/dateformat
deleted file mode 12
index bb9cf7b..000
--- a/node_modules/.bin/dateformat
+++ /dev/null
@@ -1 +0,0 @@
-../dateformat/bin/cli.js
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/fac2a48f/node_modules/.bin/detect-libc
--
diff --git a/node_modules/.bin/detect-libc b/node_modules/.bin/detect-libc
deleted file mode 12
index b4c4b76..000
--- a/node_modules/.bin/detect-libc
+++ /dev/null
@@ -1 +0,0 @@
-../detect-libc/bin/detect-libc.js
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/fac2a48f/node_modules/.bin/ecstatic
--
diff --git a/node_modules/.bin/ecstatic b/node_modules/.bin/ecstatic
deleted file mode 12
index 5a8a58a..000
--- a/node_modules/.bin/ecstatic
+++ /dev/null
@@ -1 +0,0 @@
-../ecstatic/lib/ecstatic.js
\ No newline at end of file


[30/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/animations/esm5/animations.js.map
--
diff --git a/node_modules/@angular/animations/esm5/animations.js.map 
b/node_modules/@angular/animations/esm5/animations.js.map
new file mode 100644
index 000..674fb43
--- /dev/null
+++ b/node_modules/@angular/animations/esm5/animations.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"animations.js","sources":["../../../packages/animations/esm5/src/animation_builder.js","../../../packages/animations/esm5/src/animation_metadata.js","../../../packages/animations/esm5/src/util.js","../../../packages/animations/esm5/src/players/animation_player.js","../../../packages/animations/esm5/src/players/animation_group_player.js","../../../packages/animations/esm5/src/private_export.js","../../../packages/animations/esm5/src/animations.js","../../../packages/animations/esm5/public_api.js","../../../packages/animations/esm5/animations.js"],"sourcesContent":["/**\n
 * @fileoverview added by tsickle\n * @suppress {checkTypes} checked by tsc\n 
*/\n/**\n * AnimationBuilder is an injectable service that is available when 
the {\\@link\n * BrowserAnimationsModule BrowserAnimationsModule} or {\\@link 
NoopAnimationsModule\n * NoopAnimationsModule} modules are used within an 
application.\n *\n * The purpose if this service is to produce an animation 
sequence programm
 atically within an\n * angular component or directive.\n *\n * Programmatic 
animations are first built and then a player is created when the build 
animation is\n * attached to an element.\n *\n * ```ts\n * // remember to 
include the BrowserAnimationsModule module for this to work...\n * import 
{AnimationBuilder} from '\\@angular/animations';\n *\n * class MyCmp {\n *   
constructor(private _builder: AnimationBuilder) {}\n *\n *   
makeAnimation(element: any) {\n * // first build the animation\n * 
const myAnimation = this._builder.build([\n *   style({ width: 0 }),\n *
   animate(1000, style({ width: '100px' }))\n * ]);\n *\n * // then 
create a player from it\n * const player = myAnimation.create(element);\n 
*\n * player.play();\n *   }\n * }\n * ```\n *\n * When an animation is 
built an instance of {\\@link AnimationFactory AnimationFactory} will be\n * 
returned. Using that an {\\@link AnimationPlayer AnimationPlayer} can be 
created which can then be\n *
  used to start the animation.\n *\n * \\@experimental Animation support is 
experimental.\n * @abstract\n */\nvar /**\n * AnimationBuilder is an injectable 
service that is available when the {\\@link\n * BrowserAnimationsModule 
BrowserAnimationsModule} or {\\@link NoopAnimationsModule\n * 
NoopAnimationsModule} modules are used within an application.\n *\n * The 
purpose if this service is to produce an animation sequence programmatically 
within an\n * angular component or directive.\n *\n * Programmatic animations 
are first built and then a player is created when the build animation is\n * 
attached to an element.\n *\n * ```ts\n * // remember to include the 
BrowserAnimationsModule module for this to work...\n * import 
{AnimationBuilder} from '\\@angular/animations';\n *\n * class MyCmp {\n *   
constructor(private _builder: AnimationBuilder) {}\n *\n *   
makeAnimation(element: any) {\n * // first build the animation\n * 
const myAnimation = this._builder.build([\n *   style(
 { width: 0 }),\n *   animate(1000, style({ width: '100px' }))\n * 
]);\n *\n * // then create a player from it\n * const player = 
myAnimation.create(element);\n *\n * player.play();\n *   }\n * }\n * ```\n 
*\n * When an animation is built an instance of {\\@link AnimationFactory 
AnimationFactory} will be\n * returned. Using that an {\\@link AnimationPlayer 
AnimationPlayer} can be created which can then be\n * used to start the 
animation.\n *\n * \\@experimental Animation support is experimental.\n * 
@abstract\n */\nAnimationBuilder = /** @class */ (function () {\nfunction 
AnimationBuilder() {\n}\nreturn AnimationBuilder;\n}());\n/**\n * 
AnimationBuilder is an injectable service that is available when the {\\@link\n 
* BrowserAnimationsModule BrowserAnimationsModule} or {\\@link 
NoopAnimationsModule\n * NoopAnimationsModule} modules are used within an 
application.\n *\n * The purpose if this service is to produce an animation 
sequence programmatically wi
 thin an\n * angular component or directive.\n *\n * Programmatic animations 
are first built and then a player is created when the build animation is\n * 
attached to an element.\n *\n * ```ts\n * // remember to include the 
BrowserAnimationsModule module for this to work...\n * import 
{AnimationBuilder} from '\\@angular/animations';\n *\n * class MyCmp {\n *   
constructor(private _builder: AnimationBuilder) {}\n *\n *   
makeAnimation(element: any) {\n * // first build the animation\n * 

[23/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-a11y.umd.min.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-a11y.umd.min.js 
b/node_modules/@angular/cdk/bundles/cdk-a11y.umd.min.js
new file mode 100644
index 000..958a2e1
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-a11y.umd.min.js
@@ -0,0 +1,9 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof 
module?t(exports,require("@angular/core"),require("@angular/cdk/coercion"),require("rxjs/operators/take"),require("@angular/cdk/platform"),require("@angular/common"),require("rxjs/Subject"),require("rxjs/Subscription"),require("@angular/cdk/keycodes"),require("rxjs/operators/debounceTime"),require("rxjs/operators/filter"),require("rxjs/operators/map"),require("rxjs/operators/tap"),require("rxjs/observable/of")):"function"==typeof
 
define&?define(["exports","@angular/core","@angular/cdk/coercion","rxjs/operators/take","@angular/cdk/platform","@angular/common","rxjs/Subject","rxjs/Subscription","@angular/cdk/keycodes","rxjs/operators/debounceTime","rxjs/operators/filter","rxjs/operators/map","rxjs/operators/tap","rxjs/observable/of"],t):t((e.ng=e.ng||{},e.ng.cdk=e.ng.cdk||{},e.ng.cdk.a11y=e.ng.cdk.a11y||{}),e.ng.core,e.ng.cdk.coercion,e.Rx.operators,e.ng.cdk.platform,e.ng.common,e.Rx,e.Rx,e.ng.cdk.keycodes,e.Rx.ope
 
rators,e.Rx.operators,e.Rx.operators,e.Rx.operators,e.Rx.Observable)}(this,function(e,t,n,r,i,o,s,c,a,u,l,d,h,p){"use
 strict";function f(e,t){function 
n(){this.constructor=e}M(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new
 n)}function _(e){try{return e.frameElement}catch(e){return null}}function 
m(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof 
e.getClientRects&().length)}function b(e){var 
t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}function
 y(e){return g(e)&&"hidden"==e.type}function v(e){return 
I(e)&("href")}function 
g(e){return"input"==e.nodeName.toLowerCase()}function 
I(e){return"a"==e.nodeName.toLowerCase()}function 
E(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var 
t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function
 A(e){if(!E(e))return null;var 
t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t
 }function T(e){var 
t=e.nodeName.toLowerCase(),n="input"===t&return"text"===n||"password"===n||"select"===t||"textarea"===t}function
 
C(e){return!y(e)&&(b(e)||v(e)||e.hasAttribute("contenteditable")||E(e))}function
 k(e){return e.ownerDocument.defaultView||window}function O(e,t,n){var 
r=R(e,t);r.some(function(e){return 
e.trim()==n.trim()})||(r.push(n.trim()),e.setAttribute(t,r.join(K)))}function 
x(e,t,n){var r=R(e,t),i=r.filter(function(e){return 
e!=n.trim()});e.setAttribute(t,i.join(K))}function 
R(e,t){return(e.getAttribute(t)||"").match(/\S+/g)||[]}function F(e,t){return 
e||new V(t)}function w(e,t,n){return e||new Q(t,n)}function N(e,t,n){return 
e||new J(t,n)}function L(e){return 0===e.buttons}var 
M=Object.setPrototypeOf||{__proto__:[]}instanceof 
Array&(e,t){e.__proto__=t}||function(e,t){for(var n in 
t)t.hasOwnProperty(n)&&(e[n]=t[n])},D=function(){function 
e(e){this._platform=e}return e.prototype.isDisabled=function(e){return 
e.hasAttribute("disabled")},e.prototype.
 isVisible=function(e){return 
m(e)&&"visible"===getComputedStyle(e).visibility},e.prototype.isTabbable=function(e){if(!this._platform.isBrowser)return!1;var
 t=_(k(e));if(t){var 
n=t&();if(-1===A(t))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===n)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(t))return!1}var
 
r=e.nodeName.toLowerCase(),i=A(e);if(e.hasAttribute("contenteditable"))return-1!==i;if("iframe"===r)return!1;if("audio"===r){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===r){if(!e.hasAttribute("controls")&_platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==r||!this._platform.BLINK&&!this._platform.WEBKIT)&&(!(this._platform.WEBKIT&_platform.IOS&&!T(e))&>=0)},e.prototype.isFocusable=function(e){return
 
C(e)&&!this.isDisabled(e)&(e)},e.decorators=[{type:t.Injectable}],e.ctorParameters=
 function(){return[{type:i.Platform}]},e}(),j=function(){function 
e(e,t,n,r,i){void 
0===i&&(i=!1),this._element=e,this._checker=t,this._ngZone=n,this._document=r,this._enabled=!0,i||this.attachAnchors()}return
 Object.defineProperty(e.prototype,"enabled",{get:function(){return 

[06/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/a11y.js.map
--
diff --git a/node_modules/@angular/cdk/esm2015/a11y.js.map 
b/node_modules/@angular/cdk/esm2015/a11y.js.map
new file mode 100644
index 000..2b4eb28
--- /dev/null
+++ b/node_modules/@angular/cdk/esm2015/a11y.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"a11y.js","sources":["../../../src/cdk/a11y/index.ts","../../../src/cdk/a11y/public-api.ts","../../../src/cdk/a11y/a11y-module.ts","../../../src/cdk/a11y/fake-mousedown.ts","../../../src/cdk/a11y/focus-monitor/focus-monitor.ts","../../../src/cdk/a11y/live-announcer/live-announcer.ts","../../../src/cdk/a11y/key-manager/focus-key-manager.ts","../../../src/cdk/a11y/key-manager/activedescendant-key-manager.ts","../../../src/cdk/a11y/key-manager/list-key-manager.ts","../../../src/cdk/a11y/aria-describer/aria-describer.ts","../../../src/cdk/a11y/aria-describer/aria-reference.ts","../../../src/cdk/a11y/focus-trap/focus-trap.ts","../../../src/cdk/a11y/interactivity-checker/interactivity-checker.ts"],"sourcesContent":["/**\n
 * Generated bundle index. Do not edit.\n */\n\nexport * from 
'./public-api';\n","/**\n * @license\n * Copyright Google LLC All Rights 
Reserved.\n *\n * Use of this source code is governed by an MIT-style license 
that can be\n * found in the LICENSE fi
 le at https://angular.io/license\n */\nimport {CdkTrapFocus} from 
'./focus-trap/focus-trap';\n\n\nexport * from 
'./aria-describer/aria-describer';\nexport * from 
'./key-manager/activedescendant-key-manager';\nexport * from 
'./key-manager/focus-key-manager';\nexport * from 
'./key-manager/list-key-manager';\nexport * from 
'./focus-trap/focus-trap';\nexport * from 
'./interactivity-checker/interactivity-checker';\nexport * from 
'./live-announcer/live-announcer';\nexport * from 
'./focus-monitor/focus-monitor';\nexport * from './fake-mousedown';\nexport * 
from './a11y-module';\n\n/**\n * @deprecated Renamed to CdkTrapFocus.\n * 
@deletion-target 6.0.0\n */\nexport {CdkTrapFocus as 
FocusTrapDirective};\n","/**\n * @license\n * Copyright Google LLC All Rights 
Reserved.\n *\n * Use of this source code is governed by an MIT-style license 
that can be\n * found in the LICENSE file at https://angular.io/license\n 
*/\n\nimport {PlatformModule} from '@angular/cdk/platform';\nimport 
{CommonModule} f
 rom '@angular/common';\nimport {NgModule} from '@angular/core';\nimport 
{ARIA_DESCRIBER_PROVIDER, AriaDescriber} from 
'./aria-describer/aria-describer';\nimport {CdkMonitorFocus, 
FOCUS_MONITOR_PROVIDER} from './focus-monitor/focus-monitor';\nimport {\n  
CdkTrapFocus,\n  FocusTrapDeprecatedDirective,\n  FocusTrapFactory,\n} from 
'./focus-trap/focus-trap';\nimport {InteractivityChecker} from 
'./interactivity-checker/interactivity-checker';\nimport 
{LIVE_ANNOUNCER_PROVIDER} from 
'./live-announcer/live-announcer';\n\n@NgModule({\n  imports: [CommonModule, 
PlatformModule],\n  declarations: [CdkTrapFocus, FocusTrapDeprecatedDirective, 
CdkMonitorFocus],\n  exports: [CdkTrapFocus, FocusTrapDeprecatedDirective, 
CdkMonitorFocus],\n  providers: [\nInteractivityChecker,\n
FocusTrapFactory,\nAriaDescriber,\nLIVE_ANNOUNCER_PROVIDER,\n
ARIA_DESCRIBER_PROVIDER,\nFOCUS_MONITOR_PROVIDER,\n  ]\n})\nexport class 
A11yModule {}\n","/**\n * @license\n * Copyright Google LLC All Right
 s Reserved.\n *\n * Use of this source code is governed by an MIT-style 
license that can be\n * found in the LICENSE file at 
https://angular.io/license\n */\n\n/**\n * Screenreaders will often fire fake 
mousedown events when a focusable element\n * is activated using the keyboard. 
We can typically distinguish between these faked\n * mousedown events and real 
mousedown events using the \"buttons\" property. While\n * real mousedowns will 
indicate the mouse button that was pressed (e.g. \"1\" for\n * the left mouse 
button), faked mousedowns will usually set the property value to 0.\n 
*/\nexport function isFakeMousedownFromScreenReader(event: MouseEvent): boolean 
{\n  return event.buttons === 0;\n}\n","/**\n * @license\n * Copyright Google 
LLC All Rights Reserved.\n *\n * Use of this source code is governed by an 
MIT-style license that can be\n * found in the LICENSE file at 
https://angular.io/license\n */\nimport {Platform, 
supportsPassiveEventListeners} from '@angular/cdk/platform';\
 nimport {\n  Directive,\n  ElementRef,\n  EventEmitter,\n  Injectable,\n  
NgZone,\n  OnDestroy,\n  Optional,\n  Output,\n  Renderer2,\n  SkipSelf,\n} 
from '@angular/core';\nimport {Observable} from 'rxjs/Observable';\nimport {of 
as observableOf} from 'rxjs/observable/of';\nimport {Subject} from 
'rxjs/Subject';\nimport {Subscription} from 'rxjs/Subscription';\n\n\n// This 
is the value used by AngularJS Material. Through trial and error (on iPhone 6S) 
they found\n// that a value of around 650ms seems appropriate.\nexport const 

[08/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-table.umd.min.js.map
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-table.umd.min.js.map 
b/node_modules/@angular/cdk/bundles/cdk-table.umd.min.js.map
new file mode 100644
index 000..50dd3f2
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-table.umd.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"cdk-table.umd.min.js","sources":["../../node_modules/tslib/tslib.es6.js","../../src/cdk/table/table-errors.ts","../../src/cdk/table/row.ts","../../src/cdk/table/cell.ts","../../src/cdk/table/table.ts","../../src/cdk/table/table-module.ts"],"sourcesContent":["/*!
 
*\r\nCopyright
 (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache 
License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in 
compliance with the License. You may obtain a copy of the\r\nLicense at 
http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN 
*AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS 
OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR 
CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR 
NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific 
language governing
  permissions\r\nand limitations under the 
License.\r\n*
 */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = 
Object.setPrototypeOf ||\r\n({ __proto__: [] } instanceof Array && function 
(d, b) { d.__proto__ = b; }) ||\r\nfunction (d, b) { for (var p in b) if 
(b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nexport function __extends(d, b) 
{\r\nextendStatics(d, b);\r\nfunction __() { this.constructor = d; 
}\r\nd.prototype = b === null ? Object.create(b) : (__.prototype = 
b.prototype, new __());\r\n}\r\n\r\nexport var __assign = Object.assign || 
function __assign(t) {\r\nfor (var s, i = 1, n = arguments.length; i < n; 
i++) {\r\ns = arguments[i];\r\nfor (var p in s) if 
(Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n}\r\n
return t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\nvar t = {};\r\n
for (var p in s) if (Object.prototype.hasOwnPrope
 rty.call(s, p) && e.indexOf(p) < 0)\r\nt[p] = s[p];\r\nif (s != 
null && typeof Object.getOwnPropertySymbols === \"function\")\r\nfor 
(var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if 
(e.indexOf(p[i]) < 0)\r\nt[p[i]] = s[p[i]];\r\nreturn 
t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n  
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = 
Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\nif (typeof 
Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = 
Reflect.decorate(decorators, target, key, desc);\r\nelse for (var i = 
decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : 
c > 3 ? d(target, key, r) : d(target, key)) || r;\r\nreturn c > 3 && r && 
Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function 
__param(paramIndex, decorator) {\r\nreturn function (target, key) { 
decorator(target, key, paramInde
 x); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n 
   if (typeof Reflect === \"object\" && typeof Reflect.metadata === 
\"function\") return Reflect.metadata(metadataKey, 
metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, 
generator) {\r\nreturn new (P || (P = Promise))(function (resolve, reject) 
{\r\nfunction fulfilled(value) { try { step(generator.next(value)); } 
catch (e) { reject(e); } }\r\nfunction rejected(value) { try { 
step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n
function step(result) { result.done ? resolve(result.value) : new P(function 
(resolve) { resolve(result.value); }).then(fulfilled, rejected); }\r\n
step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n
});\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\nvar _ = { 
label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: 
[], ops: [] }, f, y, t, g;\r\n
 return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, 
typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return 
this; }), g;\r\nfunction verb(n) { return function (v) { return step([n, 
v]); }; }\r\nfunction step(op) {\r\nif (f) throw new 
TypeError(\"Generator is already executing.\");\r\nwhile (_) try {\r\n  
  if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : 
\"next\"]) && !(t = t.call(y, 

[10/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-table.umd.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-table.umd.js 
b/node_modules/@angular/cdk/bundles/cdk-table.umd.js
new file mode 100644
index 000..6de9475
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-table.umd.js
@@ -0,0 +1,1144 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/core'), require('@angular/cdk/collections'), 
require('rxjs/operators/takeUntil'), require('rxjs/BehaviorSubject'), 
require('rxjs/Subject'), require('rxjs/Observable'), 
require('rxjs/observable/of'), require('@angular/common')) :
+   typeof define === 'function' && define.amd ? define(['exports', 
'@angular/core', '@angular/cdk/collections', 'rxjs/operators/takeUntil', 
'rxjs/BehaviorSubject', 'rxjs/Subject', 'rxjs/Observable', 
'rxjs/observable/of', '@angular/common'], factory) :
+   (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || 
{}, global.ng.cdk.table = global.ng.cdk.table || 
{}),global.ng.core,global.ng.cdk.collections,global.Rx.operators,global.Rx,global.Rx,global.Rx,global.Rx.Observable,global.ng.common));
+}(this, (function 
(exports,_angular_core,_angular_cdk_collections,rxjs_operators_takeUntil,rxjs_BehaviorSubject,rxjs_Subject,rxjs_Observable,rxjs_observable_of,_angular_common)
 { 'use strict';
+
+/*! 
*
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed 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
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABLITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+* 
*/
+/* global Reflect, Promise */
+
+var extendStatics = Object.setPrototypeOf ||
+({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; 
}) ||
+function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+
+function __extends(d, b) {
+extendStatics(d, b);
+function __() { this.constructor = d; }
+d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, 
new __());
+}
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * The row template that can be used by the mat-table. Should not be used 
outside of the
+ * material library.
+ */
+var CDK_ROW_TEMPLATE = "";
+/**
+ * Base class for the CdkHeaderRowDef and CdkRowDef that handles checking 
their columns inputs
+ * for changes and notifying the table.
+ * @abstract
+ */
+var BaseRowDef = /** @class */ (function () {
+function BaseRowDef(template, _differs) {
+this.template = template;
+this._differs = _differs;
+}
+/**
+ * @param {?} changes
+ * @return {?}
+ */
+BaseRowDef.prototype.ngOnChanges = /**
+ * @param {?} changes
+ * @return {?}
+ */
+function (changes) {
+// Create a new columns differ if one does not yet exist. Initialize 
it based on initial value
+// of the columns property or an empty array if none is provided.
+var /** @type {?} */ columns = changes['columns'].currentValue || [];
+if (!this._columnsDiffer) {
+this._columnsDiffer = this._differs.find(columns).create();
+this._columnsDiffer.diff(columns);
+}
+};
+/**
+ * Returns the difference between the current columns and the columns from 
the last diff, or null
+ * if there is no difference.
+ */
+/**
+ * Returns the difference between the current columns and the columns from 
the last diff, or null
+ * if there is no difference.
+ * @return {?}
+ */
+BaseRowDef.prototype.getColumnsDiff = /**
+ * Returns the difference between the current columns and the columns from 
the last diff, or null
+ * if there is no difference.
+ * @return {?}
+ */
+function () {
+return this._columnsDiffer.diff(this.columns);
+};
+return BaseRowDef;
+}());
+/**
+ * Header row definition for the CDK table.
+ * Captures the header row's template and other header properties such 

[18/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-overlay.umd.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-overlay.umd.js 
b/node_modules/@angular/cdk/bundles/cdk-overlay.umd.js
new file mode 100644
index 000..8f56f3a
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-overlay.umd.js
@@ -0,0 +1,3096 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/core'), require('@angular/cdk/scrolling'), 
require('@angular/common'), require('@angular/cdk/bidi'), 
require('@angular/cdk/portal'), require('rxjs/operators/take'), 
require('rxjs/Subject'), require('rxjs/Subscription'), 
require('rxjs/operators/filter'), require('rxjs/observable/fromEvent'), 
require('@angular/cdk/coercion'), require('@angular/cdk/keycodes')) :
+   typeof define === 'function' && define.amd ? define(['exports', 
'@angular/core', '@angular/cdk/scrolling', '@angular/common', 
'@angular/cdk/bidi', '@angular/cdk/portal', 'rxjs/operators/take', 
'rxjs/Subject', 'rxjs/Subscription', 'rxjs/operators/filter', 
'rxjs/observable/fromEvent', '@angular/cdk/coercion', '@angular/cdk/keycodes'], 
factory) :
+   (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || 
{}, global.ng.cdk.overlay = global.ng.cdk.overlay || 
{}),global.ng.core,global.ng.cdk.scrolling,global.ng.common,global.ng.cdk.bidi,global.ng.cdk.portal,global.Rx.operators,global.Rx,global.Rx,global.Rx.operators,global.Rx.Observable,global.ng.cdk.coercion,global.ng.cdk.keycodes));
+}(this, (function 
(exports,_angular_core,_angular_cdk_scrolling,_angular_common,_angular_cdk_bidi,_angular_cdk_portal,rxjs_operators_take,rxjs_Subject,rxjs_Subscription,rxjs_operators_filter,rxjs_observable_fromEvent,_angular_cdk_coercion,_angular_cdk_keycodes)
 { 'use strict';
+
+/*! 
*
+Copyright (c) Microsoft Corporation. All rights reserved.
+Licensed 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
+
+THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF 
ANY
+KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
+WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
+MERCHANTABLITY OR NON-INFRINGEMENT.
+
+See the Apache Version 2.0 License for specific language governing permissions
+and limitations under the License.
+* 
*/
+/* global Reflect, Promise */
+
+var extendStatics = Object.setPrototypeOf ||
+({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; 
}) ||
+function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
+
+function __extends(d, b) {
+extendStatics(d, b);
+function __() { this.constructor = d; }
+d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, 
new __());
+}
+
+var __assign = Object.assign || function __assign(t) {
+for (var s, i = 1, n = arguments.length; i < n; i++) {
+s = arguments[i];
+for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] 
= s[p];
+}
+return t;
+};
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Scroll strategy that doesn't do anything.
+ */
+var NoopScrollStrategy = /** @class */ (function () {
+function NoopScrollStrategy() {
+}
+/** Does nothing, as this scroll strategy is a no-op. */
+/**
+ * Does nothing, as this scroll strategy is a no-op.
+ * @return {?}
+ */
+NoopScrollStrategy.prototype.enable = /**
+ * Does nothing, as this scroll strategy is a no-op.
+ * @return {?}
+ */
+function () { };
+/** Does nothing, as this scroll strategy is a no-op. */
+/**
+ * Does nothing, as this scroll strategy is a no-op.
+ * @return {?}
+ */
+NoopScrollStrategy.prototype.disable = /**
+ * Does nothing, as this scroll strategy is a no-op.
+ * @return {?}
+ */
+function () { };
+/** Does nothing, as this scroll strategy is a no-op. */
+/**
+ * Does nothing, as this scroll strategy is a no-op.
+ * @return {?}
+ */
+NoopScrollStrategy.prototype.attach = /**
+ * Does nothing, as this scroll strategy is a no-op.
+ * @return {?}
+ */
+function () { };
+return NoopScrollStrategy;
+}());
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked 

[22/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-a11y.umd.min.js.map
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-a11y.umd.min.js.map 
b/node_modules/@angular/cdk/bundles/cdk-a11y.umd.min.js.map
new file mode 100644
index 000..8b86704
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-a11y.umd.min.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"cdk-a11y.umd.min.js","sources":["../../node_modules/tslib/tslib.es6.js","../../src/cdk/a11y/interactivity-checker/interactivity-checker.ts","../../src/cdk/a11y/aria-describer/aria-reference.ts","../../src/cdk/a11y/aria-describer/aria-describer.ts","../../src/cdk/a11y/live-announcer/live-announcer.ts","../../src/cdk/a11y/focus-monitor/focus-monitor.ts","../../src/cdk/a11y/fake-mousedown.ts","../../src/cdk/a11y/focus-trap/focus-trap.ts","../../src/cdk/a11y/key-manager/list-key-manager.ts","../../src/cdk/a11y/key-manager/activedescendant-key-manager.ts","../../src/cdk/a11y/key-manager/focus-key-manager.ts","../../src/cdk/a11y/a11y-module.ts"],"sourcesContent":["/*!
 
*\r\nCopyright
 (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache 
License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in 
compliance with the License. You may obtain a copy of the\
 r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS 
PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, 
EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY 
IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR 
PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 
2.0 License for specific language governing permissions\r\nand limitations 
under the 
License.\r\n*
 */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = 
Object.setPrototypeOf ||\r\n({ __proto__: [] } instanceof Array && function 
(d, b) { d.__proto__ = b; }) ||\r\nfunction (d, b) { for (var p in b) if 
(b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nexport function __extends(d, b) 
{\r\nextendStatics(d, b);\r\nfunction __() { this.constructor = d; 
}\r\nd.prototype = b === null ? Object.create(b) : (__.prototype = 
b.prototype, n
 ew __());\r\n}\r\n\r\nexport var __assign = Object.assign || function 
__assign(t) {\r\nfor (var s, i = 1, n = arguments.length; i < n; i++) {\r\n 
   s = arguments[i];\r\nfor (var p in s) if 
(Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n}\r\n
return t;\r\n}\r\n\r\nexport function __rest(s, e) {\r\nvar t = {};\r\n
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) 
< 0)\r\nt[p] = s[p];\r\nif (s != null && typeof 
Object.getOwnPropertySymbols === \"function\")\r\nfor (var i = 0, p = 
Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 
0)\r\nt[p[i]] = s[p[i]];\r\nreturn t;\r\n}\r\n\r\nexport 
function __decorate(decorators, target, key, desc) {\r\nvar c = 
arguments.length, r = c < 3 ? target : desc === null ? desc = 
Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\nif (typeof 
Reflect === \"object\" && typeof Reflect.decorate === \"function\") r
  = Reflect.decorate(decorators, target, key, desc);\r\nelse for (var i = 
decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : 
c > 3 ? d(target, key, r) : d(target, key)) || r;\r\nreturn c > 3 && r && 
Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function 
__param(paramIndex, decorator) {\r\nreturn function (target, key) { 
decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function 
__metadata(metadataKey, metadataValue) {\r\nif (typeof Reflect === 
\"object\" && typeof Reflect.metadata === \"function\") return 
Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function 
__awaiter(thisArg, _arguments, P, generator) {\r\nreturn new (P || (P = 
Promise))(function (resolve, reject) {\r\nfunction fulfilled(value) { 
try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n
function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) 
{ reject(e); } }\r\nfunction s
 tep(result) { result.done ? resolve(result.value) : new P(function (resolve) { 
resolve(result.value); }).then(fulfilled, rejected); }\r\n
step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n
});\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\nvar _ = { 
label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: 
[], ops: [] }, f, y, t, g;\r\nreturn g = { next: verb(0), \"throw\": 
verb(1), \"return\": verb(2) }, typeof 

[05/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/accordion.js
--
diff --git a/node_modules/@angular/cdk/esm2015/accordion.js 
b/node_modules/@angular/cdk/esm2015/accordion.js
new file mode 100644
index 000..e49f57e
--- /dev/null
+++ b/node_modules/@angular/cdk/esm2015/accordion.js
@@ -0,0 +1,244 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+import { ChangeDetectorRef, Directive, EventEmitter, Input, NgModule, 
Optional, Output } from '@angular/core';
+import { UNIQUE_SELECTION_DISPATCHER_PROVIDER, UniqueSelectionDispatcher } 
from '@angular/cdk/collections';
+import { coerceBooleanProperty } from '@angular/cdk/coercion';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Used to generate unique ID for each accordion.
+ */
+let nextId$1 = 0;
+/**
+ * Directive whose purpose is to manage the expanded state of CdkAccordionItem 
children.
+ */
+class CdkAccordion {
+constructor() {
+/**
+ * A readonly id value to use for unique selection coordination.
+ */
+this.id = `cdk-accordion-${nextId$1++}`;
+this._multi = false;
+}
+/**
+ * Whether the accordion should allow multiple expanded accordion items 
simultaneously.
+ * @return {?}
+ */
+get multi() { return this._multi; }
+/**
+ * @param {?} multi
+ * @return {?}
+ */
+set multi(multi) { this._multi = coerceBooleanProperty(multi); }
+}
+CdkAccordion.decorators = [
+{ type: Directive, args: [{
+selector: 'cdk-accordion, [cdkAccordion]',
+exportAs: 'cdkAccordion',
+},] },
+];
+/** @nocollapse */
+CdkAccordion.ctorParameters = () => [];
+CdkAccordion.propDecorators = {
+"multi": [{ type: Input },],
+};
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Used to generate unique ID for each accordion item.
+ */
+let nextId = 0;
+/**
+ * An basic directive expected to be extended and decorated as a component.  
Sets up all
+ * events and attributes needed to be managed by a CdkAccordion parent.
+ */
+class CdkAccordionItem {
+/**
+ * @param {?} accordion
+ * @param {?} _changeDetectorRef
+ * @param {?} _expansionDispatcher
+ */
+constructor(accordion, _changeDetectorRef, _expansionDispatcher) {
+this.accordion = accordion;
+this._changeDetectorRef = _changeDetectorRef;
+this._expansionDispatcher = _expansionDispatcher;
+/**
+ * Event emitted every time the AccordionItem is closed.
+ */
+this.closed = new EventEmitter();
+/**
+ * Event emitted every time the AccordionItem is opened.
+ */
+this.opened = new EventEmitter();
+/**
+ * Event emitted when the AccordionItem is destroyed.
+ */
+this.destroyed = new EventEmitter();
+/**
+ * Emits whenever the expanded state of the accordion changes.
+ * Primarily used to facilitate two-way binding.
+ * \@docs-private
+ */
+this.expandedChange = new EventEmitter();
+/**
+ * The unique AccordionItem id.
+ */
+this.id = `cdk-accordion-child-${nextId++}`;
+this._expanded = false;
+this._disabled = false;
+/**
+ * Unregister function for _expansionDispatcher.
+ */
+this._removeUniqueSelectionListener = () => { };
+this._removeUniqueSelectionListener =
+_expansionDispatcher.listen((id, accordionId) => {
+if (this.accordion && !this.accordion.multi &&
+this.accordion.id === accordionId && this.id !== id) {
+this.expanded = false;
+}
+});
+}
+/**
+ * Whether the AccordionItem is expanded.
+ * @return {?}
+ */
+get expanded() { return this._expanded; }
+/**
+ * @param {?} expanded
+ * @return {?}
+ */
+set expanded(expanded) {
+expanded = coerceBooleanProperty(expanded);
+// Only emit events and update the internal value if the value changes.
+if (this._expanded !== expanded) {
+this._expanded = expanded;
+this.expandedChange.emit(expanded);
+if (expanded) {
+this.opened.emit();
+/**
+ * In the unique selection dispatcher, the id parameter is the 
id of the CdkAccordionItem,
+ * the name value is the id of the accordion.
+ */
+const /** @type {?} */ accordionId = this.accordion ? 
this.accordion.id : this.id;
+

[14/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-platform.umd.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-platform.umd.js 
b/node_modules/@angular/cdk/bundles/cdk-platform.umd.js
new file mode 100644
index 000..e198c49
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-platform.umd.js
@@ -0,0 +1,183 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/core')) :
+   typeof define === 'function' && define.amd ? define(['exports', 
'@angular/core'], factory) :
+   (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || 
{}, global.ng.cdk.platform = global.ng.cdk.platform || {}),global.ng.core));
+}(this, (function (exports,_angular_core) { 'use strict';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+// Whether the current platform supports the V8 Break Iterator. The V8 check
+// is necessary to detect all Blink based browsers.
+var hasV8BreakIterator = (typeof (Intl) !== 'undefined' && (/** @type {?} */ 
(Intl)).v8BreakIterator);
+/**
+ * Service to detect the current platform by comparing the userAgent strings 
and
+ * checking browser-specific global properties.
+ */
+var Platform = /** @class */ (function () {
+function Platform() {
+/**
+ * Whether the Angular application is being rendered in the browser.
+ */
+this.isBrowser = typeof document === 'object' && !!document;
+/**
+ * Whether the current browser is Microsoft Edge.
+ */
+this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);
+/**
+ * Whether the current rendering engine is Microsoft Trident.
+ */
+this.TRIDENT = this.isBrowser && 
/(msie|trident)/i.test(navigator.userAgent);
+/**
+ * Whether the current rendering engine is Blink.
+ */
+this.BLINK = this.isBrowser &&
+(!!((/** @type {?} */ (window)).chrome || hasV8BreakIterator) && 
!!CSS && !this.EDGE && !this.TRIDENT);
+/**
+ * Whether the current rendering engine is WebKit.
+ */
+this.WEBKIT = this.isBrowser &&
+/AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && 
!this.EDGE && !this.TRIDENT;
+/**
+ * Whether the current platform is Apple iOS.
+ */
+this.IOS = this.isBrowser && 
/iPad|iPhone|iPod/.test(navigator.userAgent) &&
+!(/** @type {?} */ (window)).MSStream;
+/**
+ * Whether the current browser is Firefox.
+ */
+this.FIREFOX = this.isBrowser && 
/(firefox|minefield)/i.test(navigator.userAgent);
+/**
+ * Whether the current platform is Android.
+ */
+this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) 
&& !this.TRIDENT;
+/**
+ * Whether the current browser is Safari.
+ */
+this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && 
this.WEBKIT;
+}
+Platform.decorators = [
+{ type: _angular_core.Injectable },
+];
+/** @nocollapse */
+Platform.ctorParameters = function () { return []; };
+return Platform;
+}());
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Cached result of whether the user's browser supports passive event 
listeners.
+ */
+var supportsPassiveEvents;
+/**
+ * Checks whether the user's browser supports passive event listeners.
+ * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md
+ * @return {?}
+ */
+function supportsPassiveEventListeners() {
+if (supportsPassiveEvents == null && typeof window !== 'undefined') {
+try {
+window.addEventListener('test', /** @type {?} */ ((null)), 
Object.defineProperty({}, 'passive', {
+get: function () { return supportsPassiveEvents = true; }
+}));
+}
+finally {
+supportsPassiveEvents = supportsPassiveEvents || false;
+}
+}
+return supportsPassiveEvents;
+}
+/**
+ * Cached result Set of input types support by the current browser.
+ */
+var supportedInputTypes;
+/**
+ * Types of `` that *might* be supported.
+ */
+var candidateInputTypes = [
+'color',
+'button',
+'checkbox',
+'date',
+'datetime-local',
+'email',
+'file',
+'hidden',
+'image',
+'month',
+'number',
+'password',
+'radio',
+'range',
+'reset',
+'search',
+'submit',
+'tel',
+'text',
+'time',
+'url',
+'week',
+];
+/**
+ 

[07/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/a11y.js
--
diff --git a/node_modules/@angular/cdk/esm2015/a11y.js 
b/node_modules/@angular/cdk/esm2015/a11y.js
new file mode 100644
index 000..d291173
--- /dev/null
+++ b/node_modules/@angular/cdk/esm2015/a11y.js
@@ -0,0 +1,1873 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+import { Directive, ElementRef, EventEmitter, Inject, Injectable, 
InjectionToken, Input, NgModule, NgZone, Optional, Output, Renderer2, SkipSelf 
} from '@angular/core';
+import { coerceBooleanProperty } from '@angular/cdk/coercion';
+import { take } from 'rxjs/operators/take';
+import { Platform, PlatformModule, supportsPassiveEventListeners } from 
'@angular/cdk/platform';
+import { CommonModule, DOCUMENT } from '@angular/common';
+import { Subject } from 'rxjs/Subject';
+import { Subscription } from 'rxjs/Subscription';
+import { A, DOWN_ARROW, LEFT_ARROW, NINE, RIGHT_ARROW, TAB, UP_ARROW, Z, ZERO 
} from '@angular/cdk/keycodes';
+import { debounceTime } from 'rxjs/operators/debounceTime';
+import { filter } from 'rxjs/operators/filter';
+import { map } from 'rxjs/operators/map';
+import { tap } from 'rxjs/operators/tap';
+import { of } from 'rxjs/observable/of';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Utility for checking the interactivity of an element, such as whether is is 
focusable or
+ * tabbable.
+ */
+class InteractivityChecker {
+/**
+ * @param {?} _platform
+ */
+constructor(_platform) {
+this._platform = _platform;
+}
+/**
+ * Gets whether an element is disabled.
+ *
+ * @param {?} element Element to be checked.
+ * @return {?} Whether the element is disabled.
+ */
+isDisabled(element) {
+// This does not capture some cases, such as a non-form control with a 
disabled attribute or
+// a form control inside of a disabled form, but should capture the 
most common cases.
+return element.hasAttribute('disabled');
+}
+/**
+ * Gets whether an element is visible for the purposes of interactivity.
+ *
+ * This will capture states like `display: none` and `visibility: hidden`, 
but not things like
+ * being clipped by an `overflow: hidden` parent or being outside the 
viewport.
+ *
+ * @param {?} element
+ * @return {?} Whether the element is visible.
+ */
+isVisible(element) {
+return hasGeometry(element) && getComputedStyle(element).visibility 
=== 'visible';
+}
+/**
+ * Gets whether an element can be reached via Tab key.
+ * Assumes that the element has already been checked with isFocusable.
+ *
+ * @param {?} element Element to be checked.
+ * @return {?} Whether the element is tabbable.
+ */
+isTabbable(element) {
+// Nothing is tabbable on the the server 😎
+if (!this._platform.isBrowser) {
+return false;
+}
+const /** @type {?} */ frameElement = 
getFrameElement(getWindow(element));
+if (frameElement) {
+const /** @type {?} */ frameType = frameElement && 
frameElement.nodeName.toLowerCase();
+// Frame elements inherit their tabindex onto all child elements.
+if (getTabIndexValue(frameElement) === -1) {
+return false;
+}
+// Webkit and Blink consider anything inside of an  
element as non-tabbable.
+if ((this._platform.BLINK || this._platform.WEBKIT) && frameType 
=== 'object') {
+return false;
+}
+// Webkit and Blink disable tabbing to an element inside of an 
invisible frame.
+if ((this._platform.BLINK || this._platform.WEBKIT) && 
!this.isVisible(frameElement)) {
+return false;
+}
+}
+let /** @type {?} */ nodeName = element.nodeName.toLowerCase();
+let /** @type {?} */ tabIndexValue = getTabIndexValue(element);
+if (element.hasAttribute('contenteditable')) {
+return tabIndexValue !== -1;
+}
+if (nodeName === 'iframe') {
+// The frames may be tabbable depending on content, but it's not 
possibly to reliably
+// investigate the content of the frames.
+return false;
+}
+if (nodeName === 'audio') {
+if (!element.hasAttribute('controls')) {
+// By default an  element without the controls enabled 
is not tabbable.
+return false;
+}
+else if (this._platform.BLINK) {
+// In Blink  elements are always tabbable.
+return true;
+}
+}

[11/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-stepper.umd.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-stepper.umd.js 
b/node_modules/@angular/cdk/bundles/cdk-stepper.umd.js
new file mode 100644
index 000..5514336
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-stepper.umd.js
@@ -0,0 +1,633 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+(function (global, factory) {
+   typeof exports === 'object' && typeof module !== 'undefined' ? 
factory(exports, require('@angular/core'), require('@angular/cdk/keycodes'), 
require('@angular/cdk/coercion'), require('@angular/forms'), 
require('@angular/cdk/bidi'), require('rxjs/Subject'), 
require('@angular/common')) :
+   typeof define === 'function' && define.amd ? define(['exports', 
'@angular/core', '@angular/cdk/keycodes', '@angular/cdk/coercion', 
'@angular/forms', '@angular/cdk/bidi', 'rxjs/Subject', '@angular/common'], 
factory) :
+   (factory((global.ng = global.ng || {}, global.ng.cdk = global.ng.cdk || 
{}, global.ng.cdk.stepper = global.ng.cdk.stepper || 
{}),global.ng.core,global.ng.cdk.keycodes,global.ng.cdk.coercion,global.ng.forms,global.ng.cdk.bidi,global.Rx,global.ng.common));
+}(this, (function 
(exports,_angular_core,_angular_cdk_keycodes,_angular_cdk_coercion,_angular_forms,_angular_cdk_bidi,rxjs_Subject,_angular_common)
 { 'use strict';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+var CdkStepLabel = /** @class */ (function () {
+function CdkStepLabel(template) {
+this.template = template;
+}
+CdkStepLabel.decorators = [
+{ type: _angular_core.Directive, args: [{
+selector: '[cdkStepLabel]',
+},] },
+];
+/** @nocollapse */
+CdkStepLabel.ctorParameters = function () { return [
+{ type: _angular_core.TemplateRef, },
+]; };
+return CdkStepLabel;
+}());
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Used to generate unique ID for each stepper component.
+ */
+var nextId = 0;
+/**
+ * Change event emitted on selection changes.
+ */
+var StepperSelectionEvent = /** @class */ (function () {
+function StepperSelectionEvent() {
+}
+return StepperSelectionEvent;
+}());
+var CdkStep = /** @class */ (function () {
+function CdkStep(_stepper) {
+this._stepper = _stepper;
+/**
+ * Whether user has seen the expanded step content or not.
+ */
+this.interacted = false;
+this._editable = true;
+this._optional = false;
+this._customCompleted = null;
+}
+Object.defineProperty(CdkStep.prototype, "editable", {
+get: /**
+ * Whether the user can return to this step once it has been marked as 
complted.
+ * @return {?}
+ */
+function () { return this._editable; },
+set: /**
+ * @param {?} value
+ * @return {?}
+ */
+function (value) {
+this._editable = 
_angular_cdk_coercion.coerceBooleanProperty(value);
+},
+enumerable: true,
+configurable: true
+});
+Object.defineProperty(CdkStep.prototype, "optional", {
+get: /**
+ * Whether the completion of step is optional.
+ * @return {?}
+ */
+function () { return this._optional; },
+set: /**
+ * @param {?} value
+ * @return {?}
+ */
+function (value) {
+this._optional = 
_angular_cdk_coercion.coerceBooleanProperty(value);
+},
+enumerable: true,
+configurable: true
+});
+Object.defineProperty(CdkStep.prototype, "completed", {
+get: /**
+ * Whether step is marked as completed.
+ * @return {?}
+ */
+function () {
+return this._customCompleted == null ? this._defaultCompleted : 
this._customCompleted;
+},
+set: /**
+ * @param {?} value
+ * @return {?}
+ */
+function (value) {
+this._customCompleted = 
_angular_cdk_coercion.coerceBooleanProperty(value);
+},
+enumerable: true,
+configurable: true
+});
+Object.defineProperty(CdkStep.prototype, "_defaultCompleted", {
+get: /**
+ * @return {?}
+ */
+function () {
+return this.stepControl ? this.stepControl.valid && 
this.interacted : this.interacted;
+},
+enumerable: true,
+configurable: true
+});
+/** Selects this step component. */
+/**
+ * Selects this step component.
+ * @return {?}
+ */
+CdkStep.prototype.select 

[01/59] [abbrv] [partial] nifi-fds git commit: update gh-pages [Forced Update!]

2018-06-06 Thread scottyaslan
Repository: nifi-fds
Updated Branches:
  refs/heads/gh-pages 90759b86d -> 6aea21ba4 (forced update)


http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/platform.js
--
diff --git a/node_modules/@angular/cdk/esm2015/platform.js 
b/node_modules/@angular/cdk/esm2015/platform.js
new file mode 100644
index 000..a2cc254
--- /dev/null
+++ b/node_modules/@angular/cdk/esm2015/platform.js
@@ -0,0 +1,181 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+import { Injectable, NgModule } from '@angular/core';
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+// Whether the current platform supports the V8 Break Iterator. The V8 check
+// is necessary to detect all Blink based browsers.
+const hasV8BreakIterator = (typeof (Intl) !== 'undefined' && (/** @type {?} */ 
(Intl)).v8BreakIterator);
+/**
+ * Service to detect the current platform by comparing the userAgent strings 
and
+ * checking browser-specific global properties.
+ */
+class Platform {
+constructor() {
+/**
+ * Whether the Angular application is being rendered in the browser.
+ */
+this.isBrowser = typeof document === 'object' && !!document;
+/**
+ * Whether the current browser is Microsoft Edge.
+ */
+this.EDGE = this.isBrowser && /(edge)/i.test(navigator.userAgent);
+/**
+ * Whether the current rendering engine is Microsoft Trident.
+ */
+this.TRIDENT = this.isBrowser && 
/(msie|trident)/i.test(navigator.userAgent);
+/**
+ * Whether the current rendering engine is Blink.
+ */
+this.BLINK = this.isBrowser &&
+(!!((/** @type {?} */ (window)).chrome || hasV8BreakIterator) && 
!!CSS && !this.EDGE && !this.TRIDENT);
+/**
+ * Whether the current rendering engine is WebKit.
+ */
+this.WEBKIT = this.isBrowser &&
+/AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && 
!this.EDGE && !this.TRIDENT;
+/**
+ * Whether the current platform is Apple iOS.
+ */
+this.IOS = this.isBrowser && 
/iPad|iPhone|iPod/.test(navigator.userAgent) &&
+!(/** @type {?} */ (window)).MSStream;
+/**
+ * Whether the current browser is Firefox.
+ */
+this.FIREFOX = this.isBrowser && 
/(firefox|minefield)/i.test(navigator.userAgent);
+/**
+ * Whether the current platform is Android.
+ */
+this.ANDROID = this.isBrowser && /android/i.test(navigator.userAgent) 
&& !this.TRIDENT;
+/**
+ * Whether the current browser is Safari.
+ */
+this.SAFARI = this.isBrowser && /safari/i.test(navigator.userAgent) && 
this.WEBKIT;
+}
+}
+Platform.decorators = [
+{ type: Injectable },
+];
+/** @nocollapse */
+Platform.ctorParameters = () => [];
+
+/**
+ * @fileoverview added by tsickle
+ * @suppress {checkTypes} checked by tsc
+ */
+
+/**
+ * Cached result of whether the user's browser supports passive event 
listeners.
+ */
+let supportsPassiveEvents;
+/**
+ * Checks whether the user's browser supports passive event listeners.
+ * See: https://github.com/WICG/EventListenerOptions/blob/gh-pages/explainer.md
+ * @return {?}
+ */
+function supportsPassiveEventListeners() {
+if (supportsPassiveEvents == null && typeof window !== 'undefined') {
+try {
+window.addEventListener('test', /** @type {?} */ ((null)), 
Object.defineProperty({}, 'passive', {
+get: () => supportsPassiveEvents = true
+}));
+}
+finally {
+supportsPassiveEvents = supportsPassiveEvents || false;
+}
+}
+return supportsPassiveEvents;
+}
+/**
+ * Cached result Set of input types support by the current browser.
+ */
+let supportedInputTypes;
+/**
+ * Types of `` that *might* be supported.
+ */
+const candidateInputTypes = [
+'color',
+'button',
+'checkbox',
+'date',
+'datetime-local',
+'email',
+'file',
+'hidden',
+'image',
+'month',
+'number',
+'password',
+'radio',
+'range',
+'reset',
+'search',
+'submit',
+'tel',
+'text',
+'time',
+'url',
+'week',
+];
+/**
+ * @return {?} The input types supported by this browser.
+ */
+function getSupportedInputTypes() {
+// Result is cached.
+if (supportedInputTypes) {
+return supportedInputTypes;
+}
+// We can't check if an input type is not supported until we're on the 
browser, so say that
+// everything is supported when not on the browser. We don't use 
`Platform` here since it's
+// just a helper function and can't inject it.
+if (typeof 

[16/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-overlay.umd.min.js
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-overlay.umd.min.js 
b/node_modules/@angular/cdk/bundles/cdk-overlay.umd.min.js
new file mode 100644
index 000..1cefdce
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-overlay.umd.min.js
@@ -0,0 +1,10 @@
+/**
+ * @license
+ * Copyright Google LLC All Rights Reserved.
+ *
+ * Use of this source code is governed by an MIT-style license that can be
+ * found in the LICENSE file at https://angular.io/license
+ */
+!function(t,e){"object"==typeof exports&&"undefined"!=typeof 
module?e(exports,require("@angular/core"),require("@angular/cdk/scrolling"),require("@angular/common"),require("@angular/cdk/bidi"),require("@angular/cdk/portal"),require("rxjs/operators/take"),require("rxjs/Subject"),require("rxjs/Subscription"),require("rxjs/operators/filter"),require("rxjs/observable/fromEvent"),require("@angular/cdk/coercion"),require("@angular/cdk/keycodes")):"function"==typeof
 
define&?define(["exports","@angular/core","@angular/cdk/scrolling","@angular/common","@angular/cdk/bidi","@angular/cdk/portal","rxjs/operators/take","rxjs/Subject","rxjs/Subscription","rxjs/operators/filter","rxjs/observable/fromEvent","@angular/cdk/coercion","@angular/cdk/keycodes"],e):e((t.ng=t.ng||{},t.ng.cdk=t.ng.cdk||{},t.ng.cdk.overlay=t.ng.cdk.overlay||{}),t.ng.core,t.ng.cdk.scrolling,t.ng.common,t.ng.cdk.bidi,t.ng.cdk.portal,t.Rx.operators,t.Rx,t.Rx,t.Rx.operators,t.Rx.Observable,t.ng.cdk.coercion,t.ng.cdk.ke
 ycodes)}(this,function(t,e,i,o,n,r,s,c,a,h,l,p,u){"use strict";function 
d(t,e){function 
i(){this.constructor=t}O(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new
 i)}function f(){return Error("Scroll strategy has already been 
attached.")}function _(t,e){return e.some(function(e){var 
i=t.bottome.bottom,n=t.righte.right;return 
i||o||n||r})}function y(t,e){return e.some(function(e){var 
i=t.tope.bottom,n=t.lefte.right;return 
i||o||n||r})}function g(t){return"string"==typeof t?t:t+"px"}function 
b(t,e){return t||new L(e)}function v(t,e){return t||new H(e)}function 
m(t){return function(){return t.scrollStrategies.reposition()}}var 
O=Object.setPrototypeOf||{__proto__:[]}instanceof 
Array&(t,e){t.__proto__=e}||function(t,e){for(var i in 
e)e.hasOwnProperty(i)&&(t[i]=e[i])},k=Object.assign||function(t){for(var 
e,i=1,o=arguments.length;i1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=e.subscribe(function(){var
 
e=t._viewportRuler.getViewportScrollPosition().top;Math.abs(e-t._initialScrollPosition)>t._config.threshold?t._detach():t._overlayRef.updatePosition()})):this._scrollSubscription=e.subscribe(this._detach)}},t.prototype.disable=function(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)},t}(),j=function(){function
 
t(t,e){this._viewportRuler=t,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}retu
 rn 
t.prototype.attach=function(){},t.prototype.enable=function(){if(this._canBeEnabled()){var
 
t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=-this._previousScrollPosition.left+"px",t.style.top=-this._previousScrollPosition.top+"px",t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}},t.prototype.disable=function(){if(this._isEnabled){var
 
t=this._document.documentElement,e=this._document.body,i=t.style.scrollBehavior||"",o=e.style.scrollBehavior||"";this._isEnabled=!1,t.style.left=this._previousHTMLStyles.left,t.style.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),t.style.scrollBehavior=e.style.scrollBehavior="auto",window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),t.style.scrollBehavior=i,e.style.scrollBehavior=o}},t.prototype._canBeEnabled=funct
 
ion(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;var
 t=this._document.body,e=this._viewportRuler.getViewportSize();return 
t.scrollHeight>e.height||t.scrollWidth>e.width},t}(),x=function(){function 
t(t,e,i,o){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}return
 t.prototype.attach=function(t){if(this._overlayRef)throw 
f();this._overlayRef=t},t.prototype.enable=function(){var 
t=this;if(!this._scrollSubscription){var 
e=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(e).subscribe(function(){if(t._overlayRef.updatePosition(),t._config&_config.autoClose){var
 

[04/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/esm2015/layout.js.map
--
diff --git a/node_modules/@angular/cdk/esm2015/layout.js.map 
b/node_modules/@angular/cdk/esm2015/layout.js.map
new file mode 100644
index 000..81f48c2
--- /dev/null
+++ b/node_modules/@angular/cdk/esm2015/layout.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"layout.js","sources":["../../../src/cdk/layout/index.ts","../../../src/cdk/layout/public-api.ts","../../../src/cdk/layout/breakpoints.ts","../../../src/cdk/layout/breakpoints-observer.ts","../../../src/cdk/layout/media-matcher.ts"],"sourcesContent":["/**\n
 * Generated bundle index. Do not edit.\n */\n\nexport * from 
'./public-api';\n","/**\n * @license\n * Copyright Google LLC All Rights 
Reserved.\n *\n * Use of this source code is governed by an MIT-style license 
that can be\n * found in the LICENSE file at https://angular.io/license\n 
*/\nimport {NgModule} from '@angular/core';\nimport {PlatformModule} from 
'@angular/cdk/platform';\nimport {BreakpointObserver} from 
'./breakpoints-observer';\nimport {MediaMatcher} from 
'./media-matcher';\n\n@NgModule({\n  providers: [BreakpointObserver, 
MediaMatcher],\n  imports: [PlatformModule],\n})\nexport class LayoutModule 
{}\n\nexport {BreakpointObserver, BreakpointState} from 
'./breakpoints-observer';\nexport {Breakpoint
 s} from './breakpoints';\nexport {MediaMatcher} from 
'./media-matcher';\n","/**\n * @license\n * Copyright Google LLC All Rights 
Reserved.\n *\n * Use of this source code is governed by an MIT-style license 
that can be\n * found in the LICENSE file at https://angular.io/license\n 
*/\n// PascalCase is being used as Breakpoints is used like an enum.\n// 
tslint:disable-next-line:variable-name\nexport const Breakpoints = {\n  XSmall: 
'(max-width: 599px)',\n  Small: '(min-width: 600px) and (max-width: 959px)',\n  
Medium: '(min-width: 960px) and (max-width: 1279px)',\n  Large: '(min-width: 
1280px) and (max-width: 1919px)',\n  XLarge: '(min-width: 1920px)',\n\n  
Handset: '(max-width: 599px) and (orientation: portrait), ' +\n   
'(max-width: 959px) and (orientation: landscape)',\n  Tablet: '(min-width: 
600px) and (max-width: 839px) and (orientation: portrait), ' +\n  
'(min-width: 960px) and (max-width: 1279px) and (orientation: landscape)',\n  
Web: '(min-width: 840px) and (or
 ientation: portrait), ' +\n   '(min-width: 1280px) and (orientation: 
landscape)',\n\n  HandsetPortrait: '(max-width: 599px) and (orientation: 
portrait)',\n  TabletPortrait: '(min-width: 600px) and (max-width: 839px) and 
(orientation: portrait)',\n  WebPortrait: '(min-width: 840px) and (orientation: 
portrait)',\n\n  HandsetLandscape: '(max-width: 959px) and (orientation: 
landscape)',\n  TabletLandscape: '(min-width: 960px) and (max-width: 1279px) 
and (orientation: landscape)',\n  WebLandscape: '(min-width: 1280px) and 
(orientation: landscape)',\n};\n","/**\n * @license\n * Copyright Google LLC 
All Rights Reserved.\n *\n * Use of this source code is governed by an 
MIT-style license that can be\n * found in the LICENSE file at 
https://angular.io/license\n */\nimport {Injectable, NgZone, OnDestroy} from 
'@angular/core';\nimport {MediaMatcher} from './media-matcher';\nimport 
{Observable} from 'rxjs/Observable';\nimport {Subject} from 
'rxjs/Subject';\nimport {map} from 'rxjs/operators
 /map';\nimport {startWith} from 'rxjs/operators/startWith';\nimport 
{takeUntil} from 'rxjs/operators/takeUntil';\nimport {coerceArray} from 
'@angular/cdk/coercion';\nimport {combineLatest} from 
'rxjs/observable/combineLatest';\nimport {fromEventPattern} from 
'rxjs/observable/fromEventPattern';\n\n/** The current state of a layout 
breakpoint. */\nexport interface BreakpointState {\n  /** Whether the 
breakpoint is currently matching. */\n  matches: boolean;\n}\n\ninterface Query 
{\n  observable: Observable;\n  mql: MediaQueryList;\n}\n\n/** 
Utility for checking the matching state of @media queries. 
*/\n@Injectable()\nexport class BreakpointObserver implements OnDestroy {\n  
/**  A map of all media queries currently being listened for. */\n  private 
_queries: Map = new Map();\n  /** A subject for all other 
observables to takeUntil based on. */\n  private _destroySubject: Subject<{}> = 
new Subject();\n\n  constructor(private mediaMatcher: MediaMatcher, pr
 ivate zone: NgZone) {}\n\n  /** Completes the active subject, signalling to 
all other observables to complete. */\n  ngOnDestroy() {\n
this._destroySubject.next();\nthis._destroySubject.complete();\n  }\n\n  
/**\n   * Whether one or more media queries match the current viewport size.\n  
 * @param value One or more media queries to check.\n   * @returns Whether any 
of the media queries match.\n   */\n  isMatched(value: string | string[]): 
boolean {\nlet queries = coerceArray(value);\nreturn 
queries.some(mediaQuery => 

[09/59] [abbrv] [partial] nifi-fds git commit: update gh-pages

2018-06-06 Thread scottyaslan
http://git-wip-us.apache.org/repos/asf/nifi-fds/blob/eec354e6/node_modules/@angular/cdk/bundles/cdk-table.umd.js.map
--
diff --git a/node_modules/@angular/cdk/bundles/cdk-table.umd.js.map 
b/node_modules/@angular/cdk/bundles/cdk-table.umd.js.map
new file mode 100644
index 000..c172da0
--- /dev/null
+++ b/node_modules/@angular/cdk/bundles/cdk-table.umd.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"cdk-table.umd.js","sources":["../../src/cdk/table/table-module.ts","../../src/cdk/table/table.ts","../../src/cdk/table/table-errors.ts","../../src/cdk/table/cell.ts","../../src/cdk/table/row.ts","../../node_modules/tslib/tslib.es6.js"],"sourcesContent":["/**\n
 * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {CommonModule} from 
'@angular/common';\nimport {NgModule} from '@angular/core';\nimport 
{HeaderRowPlaceholder, RowPlaceholder, CdkTable} from './table';\nimport 
{CdkCellOutlet, CdkHeaderRow, CdkHeaderRowDef, CdkRow, CdkRowDef} from 
'./row';\nimport {CdkColumnDef, CdkHeaderCellDef, CdkHeaderCell, CdkCell, 
CdkCellDef} from './cell';\n\nconst EXPORTED_DECLARATIONS = [\n  CdkTable,\n  
CdkRowDef,\n  CdkCellDef,\n  CdkCellOutlet,\n  CdkHeaderCellDef,\n  
CdkColumnDef,\n  CdkCell,\n  CdkRow,\n  CdkHeaderCe
 ll,\n  CdkHeaderRow,\n  CdkHeaderRowDef,\n  RowPlaceholder,\n  
HeaderRowPlaceholder,\n];\n\n@NgModule({\n  imports: [CommonModule],\n  
exports: [EXPORTED_DECLARATIONS],\n  declarations: 
[EXPORTED_DECLARATIONS]\n\n})\nexport class CdkTableModule { }\n","/**\n * 
@license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this 
source code is governed by an MIT-style license that can be\n * found in the 
LICENSE file at https://angular.io/license\n */\n\nimport {\n  
AfterContentChecked,\n  Attribute,\n  ChangeDetectionStrategy,\n  
ChangeDetectorRef,\n  Component,\n  ContentChild,\n  ContentChildren,\n  
Directive,\n  ElementRef,\n  EmbeddedViewRef,\n  Input,\n  isDevMode,\n  
IterableChangeRecord,\n  IterableDiffer,\n  IterableDiffers,\n  OnInit,\n  
QueryList,\n  TrackByFunction,\n  ViewChild,\n  ViewContainerRef,\n  
ViewEncapsulation,\n} from '@angular/core';\nimport {CollectionViewer, 
DataSource} from '@angular/cdk/collections';\nimport {CdkCellOutlet, 
CdkCellOutletRowContext, 
 CdkHeaderRowDef, CdkRowDef} from './row';\nimport {takeUntil} from 
'rxjs/operators/takeUntil';\nimport {BehaviorSubject} from 
'rxjs/BehaviorSubject';\nimport {Subscription} from 
'rxjs/Subscription';\nimport {Subject} from 'rxjs/Subject';\nimport 
{CdkCellDef, CdkColumnDef, CdkHeaderCellDef} from './cell';\nimport {\n  
getTableDuplicateColumnNameError,\n  getTableMissingMatchingRowDefError,\n  
getTableMissingRowDefsError,\n  getTableMultipleDefaultRowDefsError,\n  
getTableUnknownColumnError,\n  getTableUnknownDataSourceError\n} from 
'./table-errors';\nimport {Observable} from 'rxjs/Observable';\nimport {of as 
observableOf} from 'rxjs/observable/of';\n\n/**\n * Provides a handle for the 
table to grab the view container's ng-container to insert data rows.\n * 
@docs-private\n */\n@Directive({selector: '[rowPlaceholder]'})\nexport class 
RowPlaceholder {\n  constructor(public viewContainer: ViewContainerRef) { 
}\n}\n\n/**\n * Provides a handle for the table to grab the view container's ng-
 container to insert the header.\n * @docs-private\n */\n@Directive({selector: 
'[headerRowPlaceholder]'})\nexport class HeaderRowPlaceholder {\n  
constructor(public viewContainer: ViewContainerRef) { }\n}\n\n/**\n * The table 
template that can be used by the mat-table. Should not be used outside of the\n 
* material library.\n */\nexport const CDK_TABLE_TEMPLATE = `\n  \n  `;\n\n/**\n * Class used to conveniently type the 
embedded view ref for rows with a context.\n * @docs-private\n */\nabstract 
class RowViewRef extends EmbeddedViewRef> { 
}\n\n/**\n * A data table that renders a header row and data rows. Uses the 
dataSource input to determine\n * the data to be rendered. The data can be 
provided either as a data array, an Observable stream\n * that emits the data 
array to render, or a DataSource with a connect function that will\n * return 
an Observable stream t
 hat emits the data array to render.\n */\n@Component({\n  moduleId: 
module.id,\n  selector: 'cdk-table',\n  exportAs: 'cdkTable',\n  template: 
CDK_TABLE_TEMPLATE,\n  host: {\n'class': 'cdk-table',\n  },\n  
encapsulation: ViewEncapsulation.None,\n  preserveWhitespaces: false,\n  
changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class CdkTable 
implements CollectionViewer, OnInit, AfterContentChecked {\n  /** Subject that 
emits when the component has been destroyed. */\n  private _onDestroy = new 
Subject();\n\n  /** Latest data provided by the data source. */\n  
private _data: T[];\n\n  /** Subscription 

[34/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka.h 
b/thirdparty/librdkafka-0.11.1/src/rdkafka.h
deleted file mode 100644
index efb781c..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka.h
+++ /dev/null
@@ -1,3820 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012-2013 Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @file rdkafka.h
- * @brief Apache Kafka C/C++ consumer and producer client library.
- *
- * rdkafka.h contains the public API for librdkafka.
- * The API is documented in this file as comments prefixing the function, type,
- * enum, define, etc.
- *
- * @sa For the C++ interface see rdkafkacpp.h
- *
- * @tableofcontents
- */
-
-
-/* @cond NO_DOC */
-#pragma once
-
-#include 
-#include 
-#include 
-
-#ifdef __cplusplus
-extern "C" {
-#if 0
-} /* Restore indent */
-#endif
-#endif
-
-#ifdef _MSC_VER
-#include 
-#ifndef WIN32_MEAN_AND_LEAN
-#define WIN32_MEAN_AND_LEAN
-#endif
-#include   /* for sockaddr, .. */
-typedef SSIZE_T ssize_t;
-#define RD_UNUSED
-#define RD_INLINE __inline
-#define RD_DEPRECATED __declspec(deprecated)
-#undef RD_EXPORT
-#ifdef LIBRDKAFKA_STATICLIB
-#define RD_EXPORT
-#else
-#ifdef LIBRDKAFKA_EXPORTS
-#define RD_EXPORT __declspec(dllexport)
-#else
-#define RD_EXPORT __declspec(dllimport)
-#endif
-#ifndef LIBRDKAFKA_TYPECHECKS
-#define LIBRDKAFKA_TYPECHECKS 0
-#endif
-#endif
-
-#else
-#include  /* for sockaddr, .. */
-
-#define RD_UNUSED __attribute__((unused))
-#define RD_INLINE inline
-#define RD_EXPORT
-#define RD_DEPRECATED __attribute__((deprecated))
-
-#ifndef LIBRDKAFKA_TYPECHECKS
-#define LIBRDKAFKA_TYPECHECKS 1
-#endif
-#endif
-
-
-/**
- * @brief Type-checking macros
- * Compile-time checking that \p ARG is of type \p TYPE.
- * @returns \p RET
- */
-#if LIBRDKAFKA_TYPECHECKS
-#define _LRK_TYPECHECK(RET,TYPE,ARG)\
-({ if (0) { TYPE __t RD_UNUSED = (ARG); } RET; })
-
-#define _LRK_TYPECHECK2(RET,TYPE,ARG,TYPE2,ARG2)\
-({  \
-if (0) {\
-TYPE __t RD_UNUSED = (ARG); \
-TYPE2 __t2 RD_UNUSED = (ARG2);  \
-}   \
-RET; })
-#else
-#define _LRK_TYPECHECK(RET,TYPE,ARG)  (RET)
-#define _LRK_TYPECHECK2(RET,TYPE,ARG,TYPE2,ARG2) (RET)
-#endif
-
-/* @endcond */
-
-
-/**
- * @name librdkafka version
- * @{
- *
- *
- */
-
-/**
- * @brief librdkafka version
- *
- * Interpreted as hex \c MM.mm.rr.xx:
- *  - MM = Major
- *  - mm = minor
- *  - rr = revision
- *  - xx = pre-release id (0xff is the final release)
- *
- * E.g.: \c 0x000801ff = 0.8.1
- *
- * @remark This value should only be used during compile time,
- * for runtime checks of version use rd_kafka_version()
- */
-#define RD_KAFKA_VERSION  0x000b01ff
-
-/**
- * @brief Returns the librdkafka version as integer.
- *
- * @returns Version integer.
- *
- * @sa See RD_KAFKA_VERSION for how to parse the integer format.
- * @sa Use rd_kafka_version_str() to retreive the version as a string.
- */
-RD_EXPORT
-int rd_kafka_version(void);
-
-/**
- * @brief Returns the librdkafka version as string.
- *
- * @returns Version string
- */
-RD_EXPORT
-const char *rd_kafka_version_str (void);
-
-/**@}*/
-
-
-/**
- * @name Constants, errors, types
- * @{
- *
- *
- */
-
-
-/**
- * @enum rd_kafka_type_t
- *
- * @brief rd_kafka_t handle type.
- *
- * 

[46/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/examples/rdkafka_zookeeper_example.c
--
diff --git a/thirdparty/librdkafka-0.11.1/examples/rdkafka_zookeeper_example.c 
b/thirdparty/librdkafka-0.11.1/examples/rdkafka_zookeeper_example.c
deleted file mode 100644
index 2f9a61e..000
--- a/thirdparty/librdkafka-0.11.1/examples/rdkafka_zookeeper_example.c
+++ /dev/null
@@ -1,728 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012, Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * Apache Kafka consumer & producer example programs
- * using the Kafka driver from librdkafka
- * (https://github.com/edenhill/librdkafka)
- */
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-/* Typical include path would be , but this program
- * is builtin from within the librdkafka source tree and thus differs. */
-#include "rdkafka.h"  /* for Kafka driver */
-
-#include 
-#include 
-#include 
-
-#define BROKER_PATH "/brokers/ids"
-
-static int run = 1;
-static rd_kafka_t *rk;
-static int exit_eof = 0;
-static int quiet = 0;
-static enum {
-   OUTPUT_HEXDUMP,
-   OUTPUT_RAW,
-} output = OUTPUT_HEXDUMP;
-
-static void stop (int sig) {
-   run = 0;
-   fclose(stdin); /* abort fgets() */
-}
-
-
-static void hexdump (FILE *fp, const char *name, const void *ptr, size_t len) {
-   const char *p = (const char *)ptr;
-   int of = 0;
-
-
-   if (name)
-   fprintf(fp, "%s hexdump (%zd bytes):\n", name, len);
-
-   for (of = 0 ; of < len ; of += 16) {
-   char hexen[16*3+1];
-   char charen[16+1];
-   int hof = 0;
-
-   int cof = 0;
-   int i;
-
-   for (i = of ; i < of + 16 && i < len ; i++) {
-   hof += sprintf(hexen+hof, "%02x ", p[i] & 0xff);
-   cof += sprintf(charen+cof, "%c",
-  isprint((int)p[i]) ? p[i] : '.');
-   }
-   fprintf(fp, "%08x: %-48s %-16s\n",
-   of, hexen, charen);
-   }
-}
-
-/**
- * Kafka logger callback (optional)
- */
-static void logger (const rd_kafka_t *rk, int level,
-   const char *fac, const char *buf) {
-   struct timeval tv;
-   gettimeofday(, NULL);
-   fprintf(stderr, "%u.%03u RDKAFKA-%i-%s: %s: %s\n",
-   (int)tv.tv_sec, (int)(tv.tv_usec / 1000),
-   level, fac, rd_kafka_name(rk), buf);
-}
-
-/**
- * Message delivery report callback.
- * Called once for each message.
- * See rdkafka.h for more information.
- */
-static void msg_delivered (rd_kafka_t *rk,
-  void *payload, size_t len,
-  int error_code,
-  void *opaque, void *msg_opaque) {
-
-   if (error_code)
-   fprintf(stderr, "%% Message delivery failed: %s\n",
-   rd_kafka_err2str(error_code));
-   else if (!quiet)
-   fprintf(stderr, "%% Message delivered (%zd bytes)\n", len);
-}
-
-
-static void msg_consume (rd_kafka_message_t *rkmessage,
-void *opaque) {
-   if (rkmessage->err) {
-   if (rkmessage->err == RD_KAFKA_RESP_ERR__PARTITION_EOF) {
-   fprintf(stderr,
-   "%% Consumer reached end of %s [%"PRId32"] "
-  "message queue at offset %"PRId64"\n",
-  

[39/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/lz4hc.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/lz4hc.c 
b/thirdparty/librdkafka-0.11.1/src/lz4hc.c
deleted file mode 100644
index ac15d20..000
--- a/thirdparty/librdkafka-0.11.1/src/lz4hc.c
+++ /dev/null
@@ -1,786 +0,0 @@
-/*
-LZ4 HC - High Compression Mode of LZ4
-Copyright (C) 2011-2017, Yann Collet.
-
-BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-* Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-You can contact the author at :
-   - LZ4 source repository : https://github.com/lz4/lz4
-   - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c
-*/
-/* note : lz4hc is not an independent module, it requires lz4.h/lz4.c for 
proper compilation */
-
-
-/* *
-*  Tuning Parameter
-***/
-
-/*! HEAPMODE :
- *  Select how default compression function will allocate workplace memory,
- *  in stack (0:fastest), or in heap (1:requires malloc()).
- *  Since workplace is rather large, heap mode is recommended.
- */
-#ifndef LZ4HC_HEAPMODE
-#  define LZ4HC_HEAPMODE 1
-#endif
-
-
-/*===Dependency===*/
-#include "lz4hc.h"
-
-
-/*===   Common LZ4 definitions   ===*/
-#if defined(__GNUC__)
-#  pragma GCC diagnostic ignored "-Wunused-function"
-#endif
-#if defined (__clang__)
-#  pragma clang diagnostic ignored "-Wunused-function"
-#endif
-
-#define LZ4_COMMONDEFS_ONLY
-#include "lz4.c"   /* LZ4_count, constants, mem */
-
-
-/*===   Constants   ===*/
-#define OPTIMAL_ML (int)((ML_MASK-1)+MINMATCH)
-
-
-/*===   Macros   ===*/
-#define HASH_FUNCTION(i)   (((i) * 2654435761U) >> 
((MINMATCH*8)-LZ4HC_HASH_LOG))
-#define DELTANEXTMAXD(p)   chainTable[(p) & LZ4HC_MAXD_MASK]/* 
flexible, LZ4HC_MAXD dependent */
-#define DELTANEXTU16(p)chainTable[(U16)(p)]   /* faster */
-
-static U32 LZ4HC_hashPtr(const void* ptr) { return 
HASH_FUNCTION(LZ4_read32(ptr)); }
-
-
-
-/**
-*  HC Compression
-**/
-static void LZ4HC_init (LZ4HC_CCtx_internal* hc4, const BYTE* start)
-{
-MEM_INIT((void*)hc4->hashTable, 0, sizeof(hc4->hashTable));
-MEM_INIT(hc4->chainTable, 0xFF, sizeof(hc4->chainTable));
-hc4->nextToUpdate = 64 KB;
-hc4->base = start - 64 KB;
-hc4->end = start;
-hc4->dictBase = start - 64 KB;
-hc4->dictLimit = 64 KB;
-hc4->lowLimit = 64 KB;
-}
-
-
-/* Update chains up to ip (excluded) */
-FORCE_INLINE void LZ4HC_Insert (LZ4HC_CCtx_internal* hc4, const BYTE* ip)
-{
-U16* const chainTable = hc4->chainTable;
-U32* const hashTable  = hc4->hashTable;
-const BYTE* const base = hc4->base;
-U32 const target = (U32)(ip - base);
-U32 idx = hc4->nextToUpdate;
-
-while (idx < target) {
-U32 const h = LZ4HC_hashPtr(base+idx);
-size_t delta = idx - hashTable[h];
-if (delta>MAX_DISTANCE) delta = MAX_DISTANCE;
-DELTANEXTU16(idx) = (U16)delta;
-hashTable[h] = idx;
-idx++;
-}
-
-hc4->nextToUpdate = target;
-}
-
-
-FORCE_INLINE int LZ4HC_InsertAndFindBestMatch (LZ4HC_CCtx_internal* hc4,   /* 
Index table will be updated */
-   const BYTE* ip, const BYTE* 
const iLimit,
-   const BYTE** matchpos,
-   const int maxNbAttempts)
-{
-U16* const chainTable = hc4->chainTable;
-U32* const HashTable = hc4->hashTable;
-const BYTE* const base 

[28/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_conf.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_conf.h 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_conf.h
deleted file mode 100644
index 0da8015..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_conf.h
+++ /dev/null
@@ -1,338 +0,0 @@
-#pragma once
-
-#include "rdlist.h"
-
-
-/**
- * Forward declarations
- */
-struct rd_kafka_transport_s;
-
-
-/**
- * MessageSet compression codecs
- */
-typedef enum {
-   RD_KAFKA_COMPRESSION_NONE,
-   RD_KAFKA_COMPRESSION_GZIP = RD_KAFKA_MSG_ATTR_GZIP,
-   RD_KAFKA_COMPRESSION_SNAPPY = RD_KAFKA_MSG_ATTR_SNAPPY,
-RD_KAFKA_COMPRESSION_LZ4 = RD_KAFKA_MSG_ATTR_LZ4,
-   RD_KAFKA_COMPRESSION_INHERIT /* Inherit setting from global conf */
-} rd_kafka_compression_t;
-
-
-typedef enum {
-   RD_KAFKA_PROTO_PLAINTEXT,
-   RD_KAFKA_PROTO_SSL,
-   RD_KAFKA_PROTO_SASL_PLAINTEXT,
-   RD_KAFKA_PROTO_SASL_SSL,
-   RD_KAFKA_PROTO_NUM,
-} rd_kafka_secproto_t;
-
-
-typedef enum {
-   RD_KAFKA_CONFIGURED,
-   RD_KAFKA_LEARNED,
-   RD_KAFKA_INTERNAL,
-} rd_kafka_confsource_t;
-
-typedefenum {
-   _RK_GLOBAL = 0x1,
-   _RK_PRODUCER = 0x2,
-   _RK_CONSUMER = 0x4,
-   _RK_TOPIC = 0x8,
-_RK_CGRP = 0x10
-} rd_kafka_conf_scope_t;
-
-typedef enum {
-   _RK_CONF_PROP_SET_REPLACE,  /* Replace current value (default) */
-   _RK_CONF_PROP_SET_ADD,  /* Add value (S2F) */
-   _RK_CONF_PROP_SET_DEL  /* Remove value (S2F) */
-} rd_kafka_conf_set_mode_t;
-
-
-
-typedef enum {
-RD_KAFKA_OFFSET_METHOD_NONE,
-RD_KAFKA_OFFSET_METHOD_FILE,
-RD_KAFKA_OFFSET_METHOD_BROKER
-} rd_kafka_offset_method_t;
-
-
-
-
-/**
- * Optional configuration struct passed to rd_kafka_new*().
- *
- * The struct is populated ted through string properties
- * by calling rd_kafka_conf_set().
- *
- */
-struct rd_kafka_conf_s {
-   /*
-* Generic configuration
-*/
-   int enabled_events;
-   int max_msg_size;
-   int msg_copy_max_size;
-int recv_max_msg_size;
-   int max_inflight;
-   int metadata_request_timeout_ms;
-   int metadata_refresh_interval_ms;
-   int metadata_refresh_fast_cnt;
-   int metadata_refresh_fast_interval_ms;
-int metadata_refresh_sparse;
-int metadata_max_age_ms;
-   int debug;
-   int broker_addr_ttl;
-int broker_addr_family;
-   int socket_timeout_ms;
-   int socket_blocking_max_ms;
-   int socket_sndbuf_size;
-   int socket_rcvbuf_size;
-int socket_keepalive;
-   int socket_nagle_disable;
-int socket_max_fails;
-   char   *client_id_str;
-   char   *brokerlist;
-   int stats_interval_ms;
-   int term_sig;
-int reconnect_jitter_ms;
-   int api_version_request;
-   int api_version_request_timeout_ms;
-   int api_version_fallback_ms;
-   char   *broker_version_fallback;
-   rd_kafka_secproto_t security_protocol;
-
-#if WITH_SSL
-   struct {
-   SSL_CTX *ctx;
-   char *cipher_suites;
-   char *key_location;
-   char *key_password;
-   char *cert_location;
-   char *ca_location;
-   char *crl_location;
-   } ssl;
-#endif
-
-struct {
-const struct rd_kafka_sasl_provider *provider;
-char *principal;
-char *mechanisms;
-char *service_name;
-char *kinit_cmd;
-char *keytab;
-int   relogin_min_time;
-char *username;
-char *password;
-#if WITH_SASL_SCRAM
-/* SCRAM EVP-wrapped hash function
- * (return value from EVP_shaX()) */
-const void/*EVP_MD*/ *scram_evp;
-/* SCRAM direct hash function (e.g., SHA256()) */
-unsigned char *(*scram_H) (const unsigned char *d, size_t n,
-   unsigned char *md);
-/* Hash size */
-size_t scram_H_size;
-#endif
-} sasl;
-
-#if WITH_PLUGINS
-char *plugin_paths;
-rd_list_t plugins;
-#endif
-
-/* Interceptors */
-struct {
-/* rd_kafka_interceptor_method_t lists */
-rd_list_t on_conf_set;/* on_conf_set interceptors
-   * (not copied on conf_dup()) */
-rd_list_t on_conf_dup;/* .. (not copied) */
-rd_list_t on_conf_destroy;/* .. (not copied) */
-rd_list_t on_new; /* .. (copied) */
-rd_list_t 

[50/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/Doxyfile
--
diff --git a/thirdparty/librdkafka-0.11.1/Doxyfile 
b/thirdparty/librdkafka-0.11.1/Doxyfile
deleted file mode 100644
index 8e94e12..000
--- a/thirdparty/librdkafka-0.11.1/Doxyfile
+++ /dev/null
@@ -1,2385 +0,0 @@
-# Doxyfile 1.8.9.1
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project.
-#
-# All text after a double hash (##) is considered a comment and is placed in
-# front of the TAG it is preceding.
-#
-# All text after a single hash (#) is considered a comment and will be ignored.
-# The format is:
-# TAG = value [value, ...]
-# For lists, items can also be appended using:
-# TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (\" \").
-
-#---
-# Project related configuration options
-#---
-
-# This tag specifies the encoding used for all characters in the config file
-# that follow. The default is UTF-8 which is also the encoding used for all 
text
-# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
-# built into libc) for the transcoding. See 
http://www.gnu.org/software/libiconv
-# for the list of possible encodings.
-# The default value is: UTF-8.
-
-DOXYFILE_ENCODING  = UTF-8
-
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
-# double-quotes, unless you are using Doxywizard) that should identify the
-# project for which the documentation is generated. This name is used in the
-# title of most generated pages and in a few other places.
-# The default value is: My Project.
-
-PROJECT_NAME   = "librdkafka"
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number. 
This
-# could be handy for archiving the generated documentation or if some version
-# control system is used.
-
-PROJECT_NUMBER =
-
-# Using the PROJECT_BRIEF tag one can provide an optional one line description
-# for a project that appears at the top of each page and should give viewer a
-# quick idea about the purpose of the project. Keep the description short.
-
-PROJECT_BRIEF  = "The Apache Kafka C/C++ client library"
-
-# With the PROJECT_LOGO tag one can specify a logo or an icon that is included
-# in the documentation. The maximum height of the logo should not exceed 55
-# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
-# the logo to the output directory.
-
-#PROJECT_LOGO   = kafka_logo.png
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
-# into which the generated documentation will be written. If a relative path is
-# entered, it will be relative to the location where doxygen was started. If
-# left blank the current directory will be used.
-
-OUTPUT_DIRECTORY   = staging-docs
-
-# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
-# directories (in 2 levels) under the output directory of each output format 
and
-# will distribute the generated files over these directories. Enabling this
-# option can be useful when feeding doxygen a huge amount of source files, 
where
-# putting all generated files in the same directory would otherwise causes
-# performance problems for the file system.
-# The default value is: NO.
-
-CREATE_SUBDIRS = NO
-
-# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
-# characters to appear in the names of generated files. If set to NO, non-ASCII
-# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
-# U+3044.
-# The default value is: NO.
-
-ALLOW_UNICODE_NAMES= NO
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-# documentation generated by doxygen is written. Doxygen will use this
-# information to generate all constant output in the proper language.
-# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, 
Chinese,
-# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
-# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
-# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
-# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
-# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, 
Russian,
-# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
-# Ukrainian and Vietnamese.
-# The default value is: English.
-
-OUTPUT_LANGUAGE= English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
-# descriptions after the members that are listed in the file and class
-# documentation (similar to Javadoc). Set to NO to 

[29/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_cgrp.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_cgrp.h 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_cgrp.h
deleted file mode 100644
index 0424b5d..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_cgrp.h
+++ /dev/null
@@ -1,275 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012-2015, Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-#pragma once
-
-#include "rdinterval.h"
-
-#include "rdkafka_assignor.h"
-
-/**
- * Client groups implementation
- *
- * Client groups handling for a single cgrp is assigned to a single
- * rd_kafka_broker_t object at any given time.
- * The main thread will call cgrp_serve() to serve its cgrps.
- *
- * This means that the cgrp itself does not need to be locked since it
- * is only ever used from the main thread.
- *
- */
-
-
-extern const char *rd_kafka_cgrp_join_state_names[];
-
-/**
- * Client group
- */
-typedef struct rd_kafka_cgrp_s {
-TAILQ_ENTRY(rd_kafka_cgrp_s) rkcg_rkb_link;  /* rkb_cgrps */
-const rd_kafkap_str_t*rkcg_group_id;
-rd_kafkap_str_t  *rkcg_member_id;  /* Last assigned MemberId */
-const rd_kafkap_str_t*rkcg_client_id;
-
-enum {
-/* Init state */
-RD_KAFKA_CGRP_STATE_INIT,
-
-/* Cgrp has been stopped. This is a final state */
-RD_KAFKA_CGRP_STATE_TERM,
-
-/* Query for group coordinator */
-RD_KAFKA_CGRP_STATE_QUERY_COORD,
-
-/* Outstanding query, awaiting response */
-RD_KAFKA_CGRP_STATE_WAIT_COORD,
-
-/* Wait ack from assigned cgrp manager broker thread */
-RD_KAFKA_CGRP_STATE_WAIT_BROKER,
-
-/* Wait for manager broker thread to connect to broker */
-RD_KAFKA_CGRP_STATE_WAIT_BROKER_TRANSPORT,
-
-/* Coordinator is up and manager is assigned. */
-RD_KAFKA_CGRP_STATE_UP,
-} rkcg_state;
-rd_ts_trkcg_ts_statechange; /* Timestamp of last
- * state change. */
-
-
-enum {
-RD_KAFKA_CGRP_JOIN_STATE_INIT,
-
-/* all: JoinGroupRequest sent, awaiting response. */
-RD_KAFKA_CGRP_JOIN_STATE_WAIT_JOIN,
-
-/* Leader: MetadataRequest sent, awaiting response. */
-RD_KAFKA_CGRP_JOIN_STATE_WAIT_METADATA,
-
-/* Follower: SyncGroupRequest sent, awaiting response. */
-RD_KAFKA_CGRP_JOIN_STATE_WAIT_SYNC,
-
-/* all: waiting for previous assignment to decommission */
-RD_KAFKA_CGRP_JOIN_STATE_WAIT_UNASSIGN,
-
-/* all: waiting for application's rebalance_cb to assign() */
-RD_KAFKA_CGRP_JOIN_STATE_WAIT_ASSIGN_REBALANCE_CB,
-
-   /* all: waiting for application's rebalance_cb to revoke */
-RD_KAFKA_CGRP_JOIN_STATE_WAIT_REVOKE_REBALANCE_CB,
-
-/* all: synchronized and assigned
- *  may be an empty assignment. */
-RD_KAFKA_CGRP_JOIN_STATE_ASSIGNED,
-
-   /* all: fetchers are started and operational */
-   RD_KAFKA_CGRP_JOIN_STATE_STARTED
-} rkcg_join_state;
-
-/* State when group leader */
-struct {
-char *protocol;
-rd_kafka_group_member_t *members;
- 

[20/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_queue.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_queue.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_queue.c
deleted file mode 100644
index fab2899..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_queue.c
+++ /dev/null
@@ -1,860 +0,0 @@
-/*
- * librdkafka - The Apache Kafka C/C++ library
- *
- * Copyright (c) 2016 Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "rdkafka_int.h"
-#include "rdkafka_offset.h"
-#include "rdkafka_topic.h"
-#include "rdkafka_interceptor.h"
-
-int RD_TLS rd_kafka_yield_thread = 0;
-
-void rd_kafka_yield (rd_kafka_t *rk) {
-rd_kafka_yield_thread = 1;
-}
-
-
-/**
- * Destroy a queue. refcnt must be at zero.
- */
-void rd_kafka_q_destroy_final (rd_kafka_q_t *rkq) {
-
-mtx_lock(>rkq_lock);
-   if (unlikely(rkq->rkq_qio != NULL)) {
-   rd_free(rkq->rkq_qio);
-   rkq->rkq_qio = NULL;
-   }
-rd_kafka_q_fwd_set0(rkq, NULL, 0/*no-lock*/, 0 /*no-fwd-app*/);
-rd_kafka_q_disable0(rkq, 0/*no-lock*/);
-rd_kafka_q_purge0(rkq, 0/*no-lock*/);
-   assert(!rkq->rkq_fwdq);
-mtx_unlock(>rkq_lock);
-   mtx_destroy(>rkq_lock);
-   cnd_destroy(>rkq_cond);
-
-if (rkq->rkq_flags & RD_KAFKA_Q_F_ALLOCATED)
-rd_free(rkq);
-}
-
-
-
-/**
- * Initialize a queue.
- */
-void rd_kafka_q_init (rd_kafka_q_t *rkq, rd_kafka_t *rk) {
-rd_kafka_q_reset(rkq);
-   rkq->rkq_fwdq   = NULL;
-rkq->rkq_refcnt = 1;
-rkq->rkq_flags  = RD_KAFKA_Q_F_READY;
-rkq->rkq_rk = rk;
-   rkq->rkq_qio= NULL;
-rkq->rkq_serve  = NULL;
-rkq->rkq_opaque = NULL;
-   mtx_init(>rkq_lock, mtx_plain);
-   cnd_init(>rkq_cond);
-}
-
-
-/**
- * Allocate a new queue and initialize it.
- */
-rd_kafka_q_t *rd_kafka_q_new0 (rd_kafka_t *rk, const char *func, int line) {
-rd_kafka_q_t *rkq = rd_malloc(sizeof(*rkq));
-rd_kafka_q_init(rkq, rk);
-rkq->rkq_flags |= RD_KAFKA_Q_F_ALLOCATED;
-#if ENABLE_DEVEL
-   rd_snprintf(rkq->rkq_name, sizeof(rkq->rkq_name), "%s:%d", func, line);
-#else
-   rkq->rkq_name = func;
-#endif
-return rkq;
-}
-
-/**
- * Set/clear forward queue.
- * Queue forwarding enables message routing inside rdkafka.
- * Typical use is to re-route all fetched messages for all partitions
- * to one single queue.
- *
- * All access to rkq_fwdq are protected by rkq_lock.
- */
-void rd_kafka_q_fwd_set0 (rd_kafka_q_t *srcq, rd_kafka_q_t *destq,
-  int do_lock, int fwd_app) {
-
-if (do_lock)
-mtx_lock(>rkq_lock);
-if (fwd_app)
-srcq->rkq_flags |= RD_KAFKA_Q_F_FWD_APP;
-   if (srcq->rkq_fwdq) {
-   rd_kafka_q_destroy(srcq->rkq_fwdq);
-   srcq->rkq_fwdq = NULL;
-   }
-   if (destq) {
-   rd_kafka_q_keep(destq);
-
-   /* If rkq has ops in queue, append them to fwdq's queue.
-* This is an irreversible operation. */
-if (srcq->rkq_qlen > 0) {
-   rd_dassert(destq->rkq_flags & RD_KAFKA_Q_F_READY);
-   rd_kafka_q_concat(destq, srcq);
-   }
-
-   srcq->rkq_fwdq = destq;
-   }
-if (do_lock)
-mtx_unlock(>rkq_lock);
-}
-
-/**
- * Purge all entries from a queue.
- */
-int rd_kafka_q_purge0 (rd_kafka_q_t *rkq, int do_lock) {
-   rd_kafka_op_t *rko, *next;
-   TAILQ_HEAD(, 

[19/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_request.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_request.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_request.c
deleted file mode 100644
index 2d023b4..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_request.c
+++ /dev/null
@@ -1,1848 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012-2015, Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include 
-
-#include "rdkafka_int.h"
-#include "rdkafka_request.h"
-#include "rdkafka_broker.h"
-#include "rdkafka_offset.h"
-#include "rdkafka_topic.h"
-#include "rdkafka_partition.h"
-#include "rdkafka_metadata.h"
-#include "rdkafka_msgset.h"
-
-#include "rdrand.h"
-
-/**
- * Kafka protocol request and response handling.
- * All of this code runs in the broker thread and uses op queues for
- * propagating results back to the various sub-systems operating in
- * other threads.
- */
-
-
-/**
- * @brief Decide action(s) to take based on the returned error code.
- *
- * The optional var-args is a .._ACTION_END terminated list
- * of action,error tuples which overrides the general behaviour.
- * It is to be read as: for \p error, return \p action(s).
- */
-int rd_kafka_err_action (rd_kafka_broker_t *rkb,
-rd_kafka_resp_err_t err,
-rd_kafka_buf_t *rkbuf,
-rd_kafka_buf_t *request, ...) {
-   va_list ap;
-int actions = 0;
-   int exp_act;
-
-   /* Match explicitly defined error mappings first. */
-   va_start(ap, request);
-   while ((exp_act = va_arg(ap, int))) {
-   int exp_err = va_arg(ap, int);
-
-   if (err == exp_err)
-   actions |= exp_act;
-   }
-   va_end(ap);
-
-   if (err && rkb && request)
-rd_rkb_dbg(rkb, BROKER, "REQERR",
-   "%sRequest failed: %s: explicit actions 0x%x",
-   rd_kafka_ApiKey2str(request->rkbuf_reqhdr.ApiKey),
-   rd_kafka_err2str(err), actions);
-
-   /* Explicit error match. */
-   if (actions)
-   return actions;
-
-   /* Default error matching */
-switch (err)
-{
-case RD_KAFKA_RESP_ERR_NO_ERROR:
-break;
-case RD_KAFKA_RESP_ERR_LEADER_NOT_AVAILABLE:
-case RD_KAFKA_RESP_ERR_NOT_LEADER_FOR_PARTITION:
-case RD_KAFKA_RESP_ERR_BROKER_NOT_AVAILABLE:
-case RD_KAFKA_RESP_ERR_REPLICA_NOT_AVAILABLE:
-case RD_KAFKA_RESP_ERR_GROUP_COORDINATOR_NOT_AVAILABLE:
-case RD_KAFKA_RESP_ERR_NOT_COORDINATOR_FOR_GROUP:
-case RD_KAFKA_RESP_ERR__WAIT_COORD:
-/* Request metadata information update */
-actions |= RD_KAFKA_ERR_ACTION_REFRESH;
-break;
-case RD_KAFKA_RESP_ERR__TIMED_OUT:
-case RD_KAFKA_RESP_ERR_REQUEST_TIMED_OUT:
-/* Broker-side request handling timeout */
-   case RD_KAFKA_RESP_ERR__TRANSPORT:
-   /* Broker connection down */
-   actions |= RD_KAFKA_ERR_ACTION_RETRY;
-   break;
-case RD_KAFKA_RESP_ERR__DESTROY:
-   case RD_KAFKA_RESP_ERR_INVALID_SESSION_TIMEOUT:
-case RD_KAFKA_RESP_ERR__UNSUPPORTED_FEATURE:
-default:
-actions |= RD_KAFKA_ERR_ACTION_PERMANENT;
-break;
-}
-
-return actions;
-}
-
-
-/**
- * Send GroupCoordinatorRequest
- */
-void 

[21/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_partition.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_partition.h 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_partition.h
deleted file mode 100644
index 8721f67..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_partition.h
+++ /dev/null
@@ -1,636 +0,0 @@
-/*
- * librdkafka - The Apache Kafka C/C++ library
- *
- * Copyright (c) 2015 Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-#pragma once
-
-#include "rdkafka_topic.h"
-#include "rdkafka_cgrp.h"
-#include "rdkafka_broker.h"
-
-extern const char *rd_kafka_fetch_states[];
-
-
-/**
- * @brief Offset statistics
- */
-struct offset_stats {
-int64_t fetch_offset; /**< Next offset to fetch */
-int64_t eof_offset;   /**< Last offset we reported EOF for */
-int64_t hi_offset;/**< Current broker hi offset */
-};
-
-/**
- * @brief Reset offset_stats struct to default values
- */
-static RD_UNUSED void rd_kafka_offset_stats_reset (struct offset_stats *offs) {
-offs->fetch_offset = 0;
-offs->eof_offset = RD_KAFKA_OFFSET_INVALID;
-offs->hi_offset = RD_KAFKA_OFFSET_INVALID;
-}
-
-
-
-/**
- * Topic + Partition combination
- */
-struct rd_kafka_toppar_s { /* rd_kafka_toppar_t */
-   TAILQ_ENTRY(rd_kafka_toppar_s) rktp_rklink;  /* rd_kafka_t link */
-   TAILQ_ENTRY(rd_kafka_toppar_s) rktp_rkblink; /* rd_kafka_broker_t link*/
-CIRCLEQ_ENTRY(rd_kafka_toppar_s) rktp_fetchlink; /* rkb_fetch_toppars 
*/
-   TAILQ_ENTRY(rd_kafka_toppar_s) rktp_rktlink; /* rd_kafka_itopic_t link*/
-TAILQ_ENTRY(rd_kafka_toppar_s) rktp_cgrplink;/* rd_kafka_cgrp_t link */
-rd_kafka_itopic_t   *rktp_rkt;
-shptr_rd_kafka_itopic_t *rktp_s_rkt;  /* shared pointer for rktp_rkt */
-   int32_trktp_partition;
-//LOCK: toppar_lock() + topic_wrlock()
-//LOCK: .. in partition_available()
-int32_trktp_leader_id;   /**< Current leader broker id.
-  *   This is updated directly
-  *   from metadata. */
-   rd_kafka_broker_t *rktp_leader;  /**< Current leader broker
-  *   This updated asynchronously
-  *   by issuing JOIN op to
-  *   broker thread, so be careful
-  *   in using this since it
-  *   may lag. */
-rd_kafka_broker_t *rktp_next_leader; /**< Next leader broker after
-  *   async migration op. */
-   rd_refcnt_trktp_refcnt;
-   mtx_t  rktp_lock;
-
-//LOCK: toppar_lock. Should move the lock inside the msgq instead
-//LOCK: toppar_lock. toppar_insert_msg(), concat_msgq()
-//LOCK: toppar_lock. toppar_enq_msg(), deq_msg(), insert_msgq()
-intrktp_msgq_wakeup_fd; /* Wake-up fd */
-   rd_kafka_msgq_trktp_msgq;  /* application->rdkafka queue.
-   * protected by rktp_lock */
-   rd_kafka_msgq_trktp_xmit_msgq; /* internal broker xmit queue */
-
-intrktp_fetch; /* On rkb_fetch_toppars list */
-
-   /* Consumer */
-   rd_kafka_q_t  *rktp_fetchq;  /* Queue of fetched messages
- * 

[35/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka.c
deleted file mode 100644
index 6867a6c..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka.c
+++ /dev/null
@@ -1,3392 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012-2013, Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-#define _GNU_SOURCE
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#include "rdkafka_int.h"
-#include "rdkafka_msg.h"
-#include "rdkafka_broker.h"
-#include "rdkafka_topic.h"
-#include "rdkafka_partition.h"
-#include "rdkafka_offset.h"
-#include "rdkafka_transport.h"
-#include "rdkafka_cgrp.h"
-#include "rdkafka_assignor.h"
-#include "rdkafka_request.h"
-#include "rdkafka_event.h"
-#include "rdkafka_sasl.h"
-#include "rdkafka_interceptor.h"
-
-#include "rdtime.h"
-#include "crc32c.h"
-#include "rdunittest.h"
-
-#ifdef _MSC_VER
-#include 
-#include 
-#endif
-
-
-
-static once_flag rd_kafka_global_init_once = ONCE_FLAG_INIT;
-
-/**
- * @brief Global counter+lock for all active librdkafka instances
- */
-mtx_t rd_kafka_global_lock;
-int rd_kafka_global_cnt;
-
-
-/**
- * Last API error code, per thread.
- * Shared among all rd_kafka_t instances.
- */
-rd_kafka_resp_err_t RD_TLS rd_kafka_last_error_code;
-
-
-/**
- * Current number of threads created by rdkafka.
- * This is used in regression tests.
- */
-rd_atomic32_t rd_kafka_thread_cnt_curr;
-int rd_kafka_thread_cnt (void) {
-#if ENABLE_SHAREDPTR_DEBUG
-rd_shared_ptrs_dump();
-#endif
-
-   return rd_atomic32_get(_kafka_thread_cnt_curr);
-}
-
-/**
- * Current thread's name (TLS)
- */
-char RD_TLS rd_kafka_thread_name[64] = "app";
-
-
-
-static void rd_kafka_global_init (void) {
-#if ENABLE_SHAREDPTR_DEBUG
-LIST_INIT(_shared_ptr_debug_list);
-mtx_init(_shared_ptr_debug_mtx, mtx_plain);
-atexit(rd_shared_ptrs_dump);
-#endif
-   mtx_init(_kafka_global_lock, mtx_plain);
-#if ENABLE_DEVEL
-   rd_atomic32_init(_kafka_op_cnt, 0);
-#endif
-crc32c_global_init();
-}
-
-/**
- * @returns the current number of active librdkafka instances
- */
-static int rd_kafka_global_cnt_get (void) {
-   int r;
-   mtx_lock(_kafka_global_lock);
-   r = rd_kafka_global_cnt;
-   mtx_unlock(_kafka_global_lock);
-   return r;
-}
-
-
-/**
- * @brief Increase counter for active librdkafka instances.
- * If this is the first instance the global constructors will be called, if 
any.
- */
-static void rd_kafka_global_cnt_incr (void) {
-   mtx_lock(_kafka_global_lock);
-   rd_kafka_global_cnt++;
-   if (rd_kafka_global_cnt == 1) {
-   rd_kafka_transport_init();
-#if WITH_SSL
-   rd_kafka_transport_ssl_init();
-#endif
-rd_kafka_sasl_global_init();
-   }
-   mtx_unlock(_kafka_global_lock);
-}
-
-/**
- * @brief Decrease counter for active librdkafka instances.
- * If this counter reaches 0 the global destructors will be called, if any.
- */
-static void rd_kafka_global_cnt_decr (void) {
-   mtx_lock(_kafka_global_lock);
-   rd_kafka_assert(NULL, rd_kafka_global_cnt > 0);
-   rd_kafka_global_cnt--;
-   if (rd_kafka_global_cnt == 0) {
-rd_kafka_sasl_global_term();
-#if WITH_SSL
-   rd_kafka_transport_ssl_term();
-#endif
-   }
-   mtx_unlock(_kafka_global_lock);
-}
-
-
-/**
- * Wait for all rd_kafka_t objects to be destroyed.
- * Returns 0 if all kafka 

nifi-minifi-cpp git commit: MINIFICPP-531 Adding LICENSE entry for utlist bundled as part of libuvc.

2018-06-06 Thread phrocker
Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/master 7528d23ee -> 3156c1e00


MINIFICPP-531 Adding LICENSE entry for utlist bundled as part of libuvc.

This closes #353.

Signed-off-by: Marc Parisi 


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/3156c1e0
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/3156c1e0
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/3156c1e0

Branch: refs/heads/master
Commit: 3156c1e009aef85f2f3c5ac734e01254367a2d81
Parents: 7528d23
Author: Aldrin Piri 
Authored: Tue Jun 5 21:14:14 2018 -0400
Committer: Marc Parisi 
Committed: Wed Jun 6 10:20:15 2018 -0400

--
 LICENSE | 22 ++
 1 file changed, 22 insertions(+)
--


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/3156c1e0/LICENSE
--
diff --git a/LICENSE b/LICENSE
index dfa1e2b..d3d076a 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1353,3 +1353,25 @@ Permission is hereby granted, free of charge, to any 
person obtaining a copy of
 The above copyright notice and this permission notice shall be included in all 
copies or substantial portions of the Software.
 
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
SOFTWARE.
+
+This product bundles "utlist.h" from uthash:
+Copyright (c) 2007-2010, Troy D. Hanson   http://uthash.sourceforge.net
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
+OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file



[36/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdgz.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdgz.h 
b/thirdparty/librdkafka-0.11.1/src/rdgz.h
deleted file mode 100644
index 8ce9052..000
--- a/thirdparty/librdkafka-0.11.1/src/rdgz.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * librd - Rapid Development C library
- *
- * Copyright (c) 2012, Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#pragma once
-
-/**
- * Simple gzip decompression returning the inflated data
- * in a malloced buffer.
- * '*decompressed_lenp' must be 0 if the length of the uncompressed data
- * is not known in which case it will be calculated.
- * The returned buffer is nul-terminated (the actual allocated length
- * is '*decompressed_lenp'+1.
- *
- * The decompressed length is returned in '*decompressed_lenp'.
- */
-void *rd_gz_decompress (const void *compressed, int compressed_len,
-   uint64_t *decompressed_lenp);

http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdinterval.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdinterval.h 
b/thirdparty/librdkafka-0.11.1/src/rdinterval.h
deleted file mode 100644
index b4be600..000
--- a/thirdparty/librdkafka-0.11.1/src/rdinterval.h
+++ /dev/null
@@ -1,116 +0,0 @@
-#pragma once
-
-
-
-#include "rd.h"
-
-typedef struct rd_interval_s {
-rd_ts_tri_ts_last; /* last interval timestamp */
-rd_ts_tri_fixed;   /* fixed interval if provided interval is 0 */
-intri_backoff; /* back off the next interval by this much */
-} rd_interval_t;
-
-
-static RD_INLINE RD_UNUSED void rd_interval_init (rd_interval_t *ri) {
-memset(ri, 0, sizeof(*ri));
-}
-
-
-
-/**
- * Returns the number of microseconds the interval has been over-shot.
- * If the return value is >0 (i.e., time for next intervalled something) then
- * the time interval is updated for the next inteval.
- *
- * A current time can be provided in 'now', if set to 0 the time will be
- * gathered automatically.
- *
- * If 'interval_us' is set to 0 the fixed interval will be used, see
- * 'rd_interval_fixed()'.
- *
- * If this is the first time rd_interval() is called after an _init() or
- * _reset() and the \p immediate parameter is true, then a positive value
- * will be returned immediately even though the initial interval has not 
passed.
- */
-#define rd_interval(ri,interval_us,now) rd_interval0(ri,interval_us,now,0)
-#define rd_interval_immediate(ri,interval_us,now) \
-   rd_interval0(ri,interval_us,now,1)
-static RD_INLINE RD_UNUSED rd_ts_t rd_interval0 (rd_interval_t *ri,
-rd_ts_t interval_us,
-rd_ts_t now,
-int immediate) {
-rd_ts_t diff;
-
-if (!now)
-now = rd_clock();
-if (!interval_us)
-interval_us = ri->ri_fixed;
-
-if (ri->ri_ts_last || !immediate) {
-diff = now - (ri->ri_ts_last + interval_us + ri->ri_backoff);
-} else
-diff = 1;
-if (unlikely(diff > 0)) {
-ri->ri_ts_last = now;
-ri->ri_backoff = 0;
-}
-
-return diff;
-}
-
-
-/**
- * Reset the interval to zero, i.e., the next call to rd_interval()
- * will be immediate.
- */
-static RD_INLINE RD_UNUSED void rd_interval_reset (rd_interval_t *ri) {
-

[48/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/examples/kafkatest_verifiable_client.cpp
--
diff --git 
a/thirdparty/librdkafka-0.11.1/examples/kafkatest_verifiable_client.cpp 
b/thirdparty/librdkafka-0.11.1/examples/kafkatest_verifiable_client.cpp
deleted file mode 100644
index 057db32..000
--- a/thirdparty/librdkafka-0.11.1/examples/kafkatest_verifiable_client.cpp
+++ /dev/null
@@ -1,934 +0,0 @@
-/*
- * Copyright (c) 2015, Confluent Inc
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * librdkafka version of the Java VerifiableProducer and VerifiableConsumer
- * for use with the official Kafka client tests.
- */
-
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-#ifdef _MSC_VER
-#include "../win32/wingetopt.h"
-#elif _AIX
-#include 
-#else
-#include 
-#endif
-
-/*
- * Typically include path in a real application would be
- * #include 
- */
-#include "rdkafkacpp.h"
-
-static bool run = true;
-static bool exit_eof = false;
-static int verbosity = 1;
-static std::string value_prefix;
-
-class Assignment {
-
- public:
-  static std::string name (const std::string , int partition) {
-std::stringstream stm;
-stm << t << "." << partition;
-return stm.str();
-  }
-
-  Assignment(): topic(""), partition(-1), consumedMessages(0),
-minOffset(-1), maxOffset(0) {
-printf("Created assignment\n");
-  }
-  Assignment(const Assignment ) {
-topic = a.topic;
-partition = a.partition;
-consumedMessages = a.consumedMessages;
-minOffset = a.minOffset;
-maxOffset = a.maxOffset;
-  }
-
-  Assignment =(const Assignment ) {
-this->topic = a.topic;
-this->partition = a.partition;
-this->consumedMessages = a.consumedMessages;
-this->minOffset = a.minOffset;
-this->maxOffset = a.maxOffset;
-return *this;
-  }
-
-  int operator==(const Assignment ) const {
-return !(this->topic == a.topic &&
- this->partition == a.partition);
-  }
-
-  int operator<(const Assignment ) const {
-if (this->topic < a.topic) return 1;
-if (this->topic >= a.topic) return 0;
-return (this->partition < a.partition);
-  }
-
-  void setup (std::string t, int32_t p) {
-assert(!t.empty());
-assert(topic.empty() || topic == t);
-assert(partition == -1 || partition == p);
-topic = t;
-partition = p;
-  }
-
-  std::string topic;
-  int partition;
-  int consumedMessages;
-  int64_t minOffset;
-  int64_t maxOffset;
-};
-
-
-
-
-static struct {
-  int maxMessages;
-
-  struct {
-int numAcked;
-int numSent;
-int numErr;
-  } producer;
-
-  struct {
-int consumedMessages;
-int consumedMessagesLastReported;
-int consumedMessagesAtLastCommit;
-bool useAutoCommit;
-std::map assignments;
-  } consumer;
-} state = {
-  /* .maxMessages = */ -1
-};
-
-
-static RdKafka::KafkaConsumer *consumer;
-
-
-static std::string now () {
-  struct timeval tv;
-  gettimeofday(, NULL);
-  time_t t = tv.tv_sec;
-  struct tm tm;
-  char buf[64];
-
-  localtime_r(, );
-  strftime(buf, sizeof(buf), "%H:%M:%S", );
-  snprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), ".%03d",
-   (int)(tv.tv_usec / 1000));
-
-  return buf;
-}
-
-
-static time_t watchdog_last_kick;
-static const int watchdog_timeout = 20; /* Must be > socket.timeout.ms */
-static void sigwatchdog (int sig) {
-  time_t t = time(NULL);
-  if (watchdog_last_kick + watchdog_timeout <= t) {
-std::cerr << now() << ": WATCHDOG TIMEOUT (" <<
- 

[51/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
MINIFICPP-512 - upgrade to librdkafka 0.11.4

This closes #345.

Signed-off-by: Marc Parisi 


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/7528d23e
Tree: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/tree/7528d23e
Diff: http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/diff/7528d23e

Branch: refs/heads/master
Commit: 7528d23eecd0dc83b97a35f3e699804d25bf842d
Parents: bc6d2a1
Author: Dustin Rodrigues 
Authored: Sat May 26 18:34:31 2018 -0400
Committer: Marc Parisi 
Committed: Wed Jun 6 10:13:56 2018 -0400

--
 CMakeLists.txt  |2 +-
 libminifi/test/kafka-tests/CMakeLists.txt   |4 +-
 thirdparty/librdkafka-0.11.1/.appveyor.yml  |   88 -
 thirdparty/librdkafka-0.11.1/.dir-locals.el |3 -
 thirdparty/librdkafka-0.11.1/.doozer.json   |   88 -
 .../librdkafka-0.11.1/.github/ISSUE_TEMPLATE|   26 -
 thirdparty/librdkafka-0.11.1/.gitignore |   29 -
 thirdparty/librdkafka-0.11.1/.travis.yml|   41 -
 thirdparty/librdkafka-0.11.1/CMakeLists.txt |  168 -
 thirdparty/librdkafka-0.11.1/CONFIGURATION.md   |  128 -
 thirdparty/librdkafka-0.11.1/CONTRIBUTING.md|  271 --
 thirdparty/librdkafka-0.11.1/Doxyfile   | 2385 --
 thirdparty/librdkafka-0.11.1/INTRODUCTION.md|  566 ---
 thirdparty/librdkafka-0.11.1/LICENSE|   25 -
 thirdparty/librdkafka-0.11.1/LICENSE.crc32c |   28 -
 thirdparty/librdkafka-0.11.1/LICENSE.lz4|   26 -
 thirdparty/librdkafka-0.11.1/LICENSE.pycrc  |   23 -
 thirdparty/librdkafka-0.11.1/LICENSE.queue  |   31 -
 thirdparty/librdkafka-0.11.1/LICENSE.regexp |5 -
 thirdparty/librdkafka-0.11.1/LICENSE.snappy |   36 -
 .../librdkafka-0.11.1/LICENSE.tinycthread   |   26 -
 thirdparty/librdkafka-0.11.1/LICENSE.wingetopt  |   49 -
 thirdparty/librdkafka-0.11.1/LICENSES.txt   |  284 --
 thirdparty/librdkafka-0.11.1/Makefile   |   68 -
 thirdparty/librdkafka-0.11.1/README.md  |  160 -
 thirdparty/librdkafka-0.11.1/README.win32   |   28 -
 thirdparty/librdkafka-0.11.1/config.h.in|   39 -
 thirdparty/librdkafka-0.11.1/configure  |  214 -
 .../librdkafka-0.11.1/configure.librdkafka  |  204 -
 thirdparty/librdkafka-0.11.1/dev-conf.sh|   15 -
 .../librdkafka-0.11.1/examples/.gitignore   |7 -
 .../librdkafka-0.11.1/examples/CMakeLists.txt   |   20 -
 thirdparty/librdkafka-0.11.1/examples/Makefile  |   92 -
 .../librdkafka-0.11.1/examples/globals.json |   11 -
 .../examples/kafkatest_verifiable_client.cpp|  934 
 .../examples/rdkafka_consumer_example.c |  624 ---
 .../examples/rdkafka_consumer_example.cpp   |  485 --
 .../examples/rdkafka_example.c  |  806 
 .../examples/rdkafka_example.cpp|  645 ---
 .../examples/rdkafka_performance.c  | 1561 ---
 .../examples/rdkafka_simple_producer.c  |  260 --
 .../examples/rdkafka_zookeeper_example.c|  728 ---
 thirdparty/librdkafka-0.11.1/lds-gen.py |   38 -
 thirdparty/librdkafka-0.11.1/mainpage.doxy  |   35 -
 .../librdkafka-0.11.1/mklove/Makefile.base  |  193 -
 .../mklove/modules/configure.atomics|  144 -
 .../mklove/modules/configure.base   | 1772 
 .../mklove/modules/configure.builtin|   62 -
 .../mklove/modules/configure.cc |  178 -
 .../mklove/modules/configure.cxx|8 -
 .../mklove/modules/configure.fileversion|   65 -
 .../mklove/modules/configure.gitversion |   19 -
 .../mklove/modules/configure.good_cflags|   18 -
 .../mklove/modules/configure.host   |  110 -
 .../mklove/modules/configure.lib|   49 -
 .../mklove/modules/configure.parseversion   |   95 -
 .../mklove/modules/configure.pic|   16 -
 .../mklove/modules/configure.socket |   20 -
 .../librdkafka-0.11.1/packaging/RELEASE.md  |  116 -
 .../packaging/archlinux/PKGBUILD|5 -
 .../packaging/cmake/Config.cmake.in |   20 -
 .../cmake/try_compile/atomic_32_test.c  |8 -
 .../cmake/try_compile/atomic_64_test.c  |8 -
 .../cmake/try_compile/rdkafka_setup.cmake   |   76 -
 .../packaging/cmake/try_compile/regex_test.c|   10 -
 .../packaging/cmake/try_compile/strndup_test.c  |5 -
 .../packaging/cmake/try_compile/sync_32_test.c  |8 -
 .../packaging/cmake/try_compile/sync_64_test.c  |8 -
 .../packaging/debian/.gitignore |6 -
 .../packaging/debian/changelog  |   66 -
 .../librdkafka-0.11.1/packaging/debian/compat   |1 -
 .../librdkafka-0.11.1/packaging/debian/control  |   49 -
 .../packaging/debian/copyright  |   84 -
 

[30/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_cgrp.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_cgrp.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_cgrp.c
deleted file mode 100644
index 4f052ad..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_cgrp.c
+++ /dev/null
@@ -1,3204 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012-2015, Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "rdkafka_int.h"
-#include "rdkafka_broker.h"
-#include "rdkafka_request.h"
-#include "rdkafka_topic.h"
-#include "rdkafka_partition.h"
-#include "rdkafka_assignor.h"
-#include "rdkafka_offset.h"
-#include "rdkafka_metadata.h"
-#include "rdkafka_cgrp.h"
-#include "rdkafka_interceptor.h"
-
-
-static void rd_kafka_cgrp_check_unassign_done (rd_kafka_cgrp_t *rkcg,
-   const char *reason);
-static void rd_kafka_cgrp_offset_commit_tmr_cb (rd_kafka_timers_t *rkts,
-void *arg);
-static void rd_kafka_cgrp_assign (rd_kafka_cgrp_t *rkcg,
- rd_kafka_topic_partition_list_t *assignment);
-static rd_kafka_resp_err_t rd_kafka_cgrp_unassign (rd_kafka_cgrp_t *rkcg);
-static void
-rd_kafka_cgrp_partitions_fetch_start0 (rd_kafka_cgrp_t *rkcg,
-  rd_kafka_topic_partition_list_t
-  *assignment, int usable_offsets,
-  int line);
-#define rd_kafka_cgrp_partitions_fetch_start(rkcg,assignment,usable_offsets) \
-   rd_kafka_cgrp_partitions_fetch_start0(rkcg,assignment,usable_offsets,\
- __LINE__)
-static rd_kafka_op_res_t
-rd_kafka_cgrp_op_serve (rd_kafka_t *rk, rd_kafka_q_t *rkq,
-rd_kafka_op_t *rko, rd_kafka_q_cb_type_t cb_type,
-void *opaque);
-
-static void rd_kafka_cgrp_group_leader_reset (rd_kafka_cgrp_t *rkcg,
-  const char *reason);
-
-/**
- * @returns true if cgrp can start partition fetchers, which is true if
- *  there is a subscription and the group is fully joined, or there
- *  is no subscription (in which case the join state is irrelevant)
- *  such as for an assign() without subscribe(). */
-#define RD_KAFKA_CGRP_CAN_FETCH_START(rkcg) \
-   ((rkcg)->rkcg_join_state == RD_KAFKA_CGRP_JOIN_STATE_ASSIGNED)
-
-/**
- * @returns true if cgrp is waiting for a rebalance_cb to be handled by
- *  the application.
- */
-#define RD_KAFKA_CGRP_WAIT_REBALANCE_CB(rkcg)  \
-   ((rkcg)->rkcg_join_state == \
-RD_KAFKA_CGRP_JOIN_STATE_WAIT_ASSIGN_REBALANCE_CB ||   \
-(rkcg)->rkcg_join_state == \
-RD_KAFKA_CGRP_JOIN_STATE_WAIT_REVOKE_REBALANCE_CB)
-
-
-const char *rd_kafka_cgrp_state_names[] = {
-"init",
-"term",
-"query-coord",
-"wait-coord",
-"wait-broker",
-"wait-broker-transport",
-"up"
-};
-
-const char *rd_kafka_cgrp_join_state_names[] = {
-"init",
-"wait-join",
-"wait-metadata",
-"wait-sync",
-"wait-unassign",
-"wait-assign-rebalance_cb",
-   "wait-revoke-rebalance_cb",
-"assigned",
-   "started"
-};
-
-
-static void rd_kafka_cgrp_set_state (rd_kafka_cgrp_t *rkcg, int state) {
-if ((int)rkcg->rkcg_state == state)
-return;
-
-

[09/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.4/INTRODUCTION.md
--
diff --git a/thirdparty/librdkafka-0.11.4/INTRODUCTION.md 
b/thirdparty/librdkafka-0.11.4/INTRODUCTION.md
new file mode 100644
index 000..9b712a5
--- /dev/null
+++ b/thirdparty/librdkafka-0.11.4/INTRODUCTION.md
@@ -0,0 +1,735 @@
+//@file INTRODUCTION.md
+# Introduction to librdkafka - the Apache Kafka C/C++ client library
+
+
+librdkafka is a high performance C implementation of the Apache
+Kafka client, providing a reliable and performant client for production use.
+librdkafka also provides a native C++ interface.
+
+## Contents
+
+The following chapters are available in this document
+
+  * Performance
+* Performance numbers
+* High throughput
+* Low latency
+* Compression
+  * Message reliability
+  * Usage
+* Documentation
+* Initialization
+* Configuration
+* Threads and callbacks
+* Brokers
+* Producer API
+* Consumer API
+  * Appendix
+* Test detailts
+  
+
+
+
+## Performance
+
+librdkafka is a multi-threaded library designed for use on modern hardware and
+it attempts to keep memory copying at a minimal. The payload of produced or
+consumed messages may pass through without any copying
+(if so desired by the application) putting no limit on message sizes.
+
+librdkafka allows you to decide if high throughput is the name of the game,
+or if a low latency service is required, all through the configuration
+property interface.
+
+The two most important configuration properties for performance tuning are:
+
+  * `batch.num.messages` - the minimum number of messages to wait for to
+ accumulate in the local queue before sending off a message set.
+  * `queue.buffering.max.ms` - how long to wait for batch.num.messages to
+ fill up in the local queue. A lower value improves latency at the
+  cost of lower throughput and higher per-message overhead.
+  A higher value improves throughput at the expense of latency.
+  The recommended value for high throughput is > 50ms.
+
+
+### Performance numbers
+
+The following performance numbers stem from tests using the following setup:
+
+  * Intel Quad Core i7 at 3.4GHz, 8GB of memory
+  * Disk performance has been shortcut by setting the brokers' flush
+   configuration properties as so:
+   * `log.flush.interval.messages=1000`
+   * `log.flush.interval.ms=10`
+  * Two brokers running on the same machine as librdkafka.
+  * One topic with two partitions.
+  * Each broker is leader for one partition each.
+  * Using `rdkafka_performance` program available in the `examples` subdir.
+
+
+
+   
+
+**Test results**
+
+  * **Test1**: 2 brokers, 2 partitions, required.acks=2, 100 byte messages: 
+ **85 messages/second**, **85 MB/second**
+
+  * **Test2**: 1 broker, 1 partition, required.acks=0, 100 byte messages: 
+ **71 messages/second**, **71 MB/second**
+ 
+  * **Test3**: 2 broker2, 2 partitions, required.acks=2, 100 byte messages,
+ snappy compression:
+ **30 messages/second**, **30 MB/second**
+
+  * **Test4**: 2 broker2, 2 partitions, required.acks=2, 100 byte messages,
+ gzip compression:
+ **23 messages/second**, **23 MB/second**
+
+
+
+**Note**: See the *Test details* chapter at the end of this document for
+   information about the commands executed, etc.
+
+**Note**: Consumer performance tests will be announced soon.
+
+
+### High throughput
+
+The key to high throughput is message batching - waiting for a certain amount
+of messages to accumulate in the local queue before sending them off in
+one large message set or batch to the peer. This amortizes the messaging
+overhead and eliminates the adverse effect of the round trip time (rtt).
+
+`queue.buffering.max.ms` (also called `linger.ms`) allows librdkafka to
+wait up to the specified amount of time to accumulate up to
+`batch.num.messages` in a single batch (MessageSet) before sending
+to the broker. The larger the batch the higher the throughput.
+Enabling `msg` debugging (set `debug` property to `msg`) will emit log
+messages for the accumulation process which lets you see what batch sizes
+are being produced.
+
+Example using `queue.buffering.max.ms=1`:
+
+```
+... test [0]: MessageSet with 1514 message(s) delivered
+... test [3]: MessageSet with 1690 message(s) delivered
+... test [0]: MessageSet with 1720 message(s) delivered
+... test [3]: MessageSet with 2 message(s) delivered
+... test [3]: MessageSet with 4 message(s) delivered
+... test [0]: MessageSet with 4 message(s) delivered
+... test [3]: MessageSet with 11 message(s) delivered
+```
+
+Example using `queue.buffering.max.ms=1000`:
+```
+... test [0]: MessageSet with 1 message(s) delivered
+... test [0]: MessageSet with 1 message(s) delivered
+... test [0]: 

[42/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src-cpp/rdkafkacpp_int.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src-cpp/rdkafkacpp_int.h 
b/thirdparty/librdkafka-0.11.1/src-cpp/rdkafkacpp_int.h
deleted file mode 100644
index d231d20..000
--- a/thirdparty/librdkafka-0.11.1/src-cpp/rdkafkacpp_int.h
+++ /dev/null
@@ -1,897 +0,0 @@
-/*
- * librdkafka - Apache Kafka C/C++ library
- *
- * Copyright (c) 2014 Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#pragma once
-
-#include 
-#include 
-#include 
-#include 
-
-#include "rdkafkacpp.h"
-
-extern "C" {
-#include "../src/rdkafka.h"
-}
-
-#ifdef _MSC_VER
-typedef int mode_t;
-#pragma warning(disable : 4250)
-#endif
-
-
-namespace RdKafka {
-
-
-void consume_cb_trampoline(rd_kafka_message_t *msg, void *opaque);
-void log_cb_trampoline (const rd_kafka_t *rk, int level,
-const char *fac, const char *buf);
-void error_cb_trampoline (rd_kafka_t *rk, int err, const char *reason,
-  void *opaque);
-void throttle_cb_trampoline (rd_kafka_t *rk, const char *broker_name,
-int32_t broker_id, int throttle_time_ms,
-void *opaque);
-int stats_cb_trampoline (rd_kafka_t *rk, char *json, size_t json_len,
- void *opaque);
-int socket_cb_trampoline (int domain, int type, int protocol, void *opaque);
-int open_cb_trampoline (const char *pathname, int flags, mode_t mode,
-void *opaque);
-void rebalance_cb_trampoline (rd_kafka_t *rk,
-  rd_kafka_resp_err_t err,
-  rd_kafka_topic_partition_list_t *c_partitions,
-  void *opaque);
-void offset_commit_cb_trampoline0 (
-rd_kafka_t *rk,
-rd_kafka_resp_err_t err,
-rd_kafka_topic_partition_list_t *c_offsets, void *opaque);
-
-rd_kafka_topic_partition_list_t *
-partitions_to_c_parts (const std::vector );
-
-/**
- * @brief Update the application provided 'partitions' with info from 'c_parts'
- */
-void update_partitions_from_c_parts (std::vector ,
- const rd_kafka_topic_partition_list_t 
*c_parts);
-
-
-class EventImpl : public Event {
- public:
-  ~EventImpl () {};
-
-  EventImpl (Type type, ErrorCode err, Severity severity,
- const char *fac, const char *str):
-  type_(type), err_(err), severity_(severity), fac_(fac ? fac : ""),
- str_(str), id_(0), throttle_time_(0) {};
-
-  EventImpl (Type type):
-  type_(type), err_(ERR_NO_ERROR), severity_(EVENT_SEVERITY_EMERG),
- fac_(""), str_(""), id_(0), throttle_time_(0) {};
-
-  Typetype () const { return type_; }
-  ErrorCode   err () const { return err_; }
-  Severityseverity () const { return severity_; }
-  std::string fac () const { return fac_; }
-  std::string str () const { return str_; }
-  std::string broker_name () const {
- if (type_ == EVENT_THROTTLE)
- return str_;
- else
- return std::string("");
-  }
-  int broker_id () const { return id_; }
-  int throttle_time () const { return throttle_time_; }
-
-  Typetype_;
-  ErrorCode   err_;
-  Severityseverity_;
-  std::string fac_;
-  std::string str_; /* reused for THROTTLE broker_name */
-  int id_;
-  int throttle_time_;
-};
-
-
-class MessageImpl : public Message {
- public:
-  ~MessageImpl () {
-if (free_rkmessage_)
-  rd_kafka_message_destroy(const_cast(rkmessage_));

[16/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_topic.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_topic.h 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_topic.h
deleted file mode 100644
index 49d1d29..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_topic.h
+++ /dev/null
@@ -1,185 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012,2013 Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#pragma once
-
-#include "rdlist.h"
-
-extern const char *rd_kafka_topic_state_names[];
-
-
-/* rd_kafka_itopic_t: internal representation of a topic */
-struct rd_kafka_itopic_s {
-   TAILQ_ENTRY(rd_kafka_itopic_s) rkt_link;
-
-   rd_refcnt_trkt_refcnt;
-
-   rwlock_t   rkt_lock;
-   rd_kafkap_str_t   *rkt_topic;
-
-   shptr_rd_kafka_toppar_t  *rkt_ua;  /* unassigned partition */
-   shptr_rd_kafka_toppar_t **rkt_p;
-   int32_trkt_partition_cnt;
-
-rd_list_t  rkt_desp;  /* Desired partitions
-   * that are not yet seen
-   * in the cluster. */
-
-   rd_ts_trkt_ts_metadata; /* Timestamp of last metadata
-* update for this topic. */
-
-mtx_t  rkt_app_lock;/* Protects rkt_app_* */
-rd_kafka_topic_t *rkt_app_rkt;  /* A shared topic pointer
- * to be used for callbacks
- * to the application. */
-
-   int   rkt_app_refcnt;   /* Number of active rkt's new()ed
-* by application. */
-
-   enum {
-   RD_KAFKA_TOPIC_S_UNKNOWN,   /* No cluster information yet */
-   RD_KAFKA_TOPIC_S_EXISTS,/* Topic exists in cluster */
-   RD_KAFKA_TOPIC_S_NOTEXISTS, /* Topic is not known in cluster */
-   } rkt_state;
-
-int   rkt_flags;
-#define RD_KAFKA_TOPIC_F_LEADER_UNAVAIL   0x1 /* Leader lost/unavailable
-   * for at least one partition. */
-
-   rd_kafka_t   *rkt_rk;
-
-shptr_rd_kafka_itopic_t *rkt_shptr_app; /* Application's topic_new() */
-
-   rd_kafka_topic_conf_t rkt_conf;
-};
-
-#define rd_kafka_topic_rdlock(rkt) rwlock_rdlock(&(rkt)->rkt_lock)
-#define rd_kafka_topic_wrlock(rkt) rwlock_wrlock(&(rkt)->rkt_lock)
-#define rd_kafka_topic_rdunlock(rkt)   rwlock_rdunlock(&(rkt)->rkt_lock)
-#define rd_kafka_topic_wrunlock(rkt)   rwlock_wrunlock(&(rkt)->rkt_lock)
-
-
-/* Converts a shptr..itopic_t to an internal itopic_t */
-#define rd_kafka_topic_s2i(s_rkt) rd_shared_ptr_obj(s_rkt)
-
-/* Converts an application topic_t (a shptr topic) to an internal itopic_t */
-#define rd_kafka_topic_a2i(app_rkt) \
-rd_kafka_topic_s2i((shptr_rd_kafka_itopic_t *)app_rkt)
-
-/* Converts a shptr..itopic_t to an app topic_t (they are the same thing) */
-#define rd_kafka_topic_s2a(s_rkt) ((rd_kafka_topic_t *)(s_rkt))
-
-/* Converts an app topic_t to a shptr..itopic_t (they are the same thing) */
-#define rd_kafka_topic_a2s(app_rkt) ((shptr_rd_kafka_itopic_t *)(app_rkt))
-
-
-
-
-
-/**
- * Returns a shared pointer for the topic.
- */
-#define rd_kafka_topic_keep(rkt) \
-rd_shared_ptr_get(rkt, &(rkt)->rkt_refcnt, shptr_rd_kafka_itopic_t)
-
-/* Same, but casts to an app topic_t */
-#define 

[26/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_metadata_cache.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_metadata_cache.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_metadata_cache.c
deleted file mode 100644
index 5781d0f..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_metadata_cache.c
+++ /dev/null
@@ -1,732 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012-2013, Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-#include "rd.h"
-#include "rdkafka_int.h"
-#include "rdkafka_topic.h"
-#include "rdkafka_broker.h"
-#include "rdkafka_request.h"
-#include "rdkafka_metadata.h"
-
-#include 
-/**
- * @{
- *
- * @brief Metadata cache
- *
- * The metadata cache consists of cached topic metadata as
- * retrieved from the cluster using MetadataRequest.
- *
- * The topic cache entries are made up \c struct rd_kafka_metadata_cache_entry
- * each containing the topic name, a copy of the topic's metadata
- * and a cache expiry time.
- *
- * On update any previous entry for the topic are removed and replaced
- * with a new entry.
- *
- * The cache is also populated when the topic metadata is being requested
- * for specific topics, this will not interfere with existing cache entries
- * for topics, but for any topics not currently in the cache a new
- * entry will be added with a flag (RD_KAFKA_METADATA_CACHE_VALID(rkmce))
- * indicating that the entry is waiting to be populated by the 
MetadataResponse.
- *
- * The cache is locked in its entirety with rd_kafka_wr/rdlock() by the caller
- * and the returned cache entry must only be accessed during the duration
- * of the lock.
- *
- */
-
-static void rd_kafka_metadata_cache_propagate_changes (rd_kafka_t *rk);
-
-
-/**
- * @brief Remove and free cache entry.
- *
- * @remark The expiry timer is not updated, for simplicity.
- * @locks rd_kafka_wrlock()
- */
-static RD_INLINE void
-rd_kafka_metadata_cache_delete (rd_kafka_t *rk,
-struct rd_kafka_metadata_cache_entry *rkmce,
-int unlink_avl) {
-if (unlink_avl)
-RD_AVL_REMOVE_ELM(>rk_metadata_cache.rkmc_avl, rkmce);
-TAILQ_REMOVE(>rk_metadata_cache.rkmc_expiry, rkmce, rkmce_link);
-rd_kafka_assert(NULL, rk->rk_metadata_cache.rkmc_cnt > 0);
-rk->rk_metadata_cache.rkmc_cnt--;
-
-rd_free(rkmce);
-}
-
-/**
- * @brief Delete cache entry by topic name
- * @locks rd_kafka_wrlock()
- * @returns 1 if entry was found and removed, else 0.
- */
-static int rd_kafka_metadata_cache_delete_by_name (rd_kafka_t *rk,
-const char *topic) {
-struct rd_kafka_metadata_cache_entry *rkmce;
-
-rkmce = rd_kafka_metadata_cache_find(rk, topic, 1);
-if (rkmce)
-rd_kafka_metadata_cache_delete(rk, rkmce, 1);
-return rkmce ? 1 : 0;
-}
-
-static int rd_kafka_metadata_cache_evict (rd_kafka_t *rk);
-
-/**
- * @brief Cache eviction timer callback.
- * @locality rdkafka main thread
- * @locks NOT rd_kafka_*lock()
- */
-static void rd_kafka_metadata_cache_evict_tmr_cb (rd_kafka_timers_t *rkts,
-  void *arg) {
-rd_kafka_t *rk = arg;
-
-rd_kafka_wrlock(rk);
-rd_kafka_metadata_cache_evict(rk);
-rd_kafka_wrunlock(rk);
-}
-
-
-/**
- * @brief Evict timed out entries from cache and rearm timer for
- *next expiry.
- *
- * @returns the number of entries evicted.
- *
- * @locks 

[15/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdposix.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdposix.h 
b/thirdparty/librdkafka-0.11.1/src/rdposix.h
deleted file mode 100644
index 72f9814..000
--- a/thirdparty/librdkafka-0.11.1/src/rdposix.h
+++ /dev/null
@@ -1,182 +0,0 @@
-#pragma once
-/*
-* librdkafka - Apache Kafka C library
-*
-* Copyright (c) 2012-2015 Magnus Edenhill
-* All rights reserved.
-*
-* Redistribution and use in source and binary forms, with or without
-* modification, are permitted provided that the following conditions are met:
-*
-* 1. Redistributions of source code must retain the above copyright notice,
-*this list of conditions and the following disclaimer.
-* 2. Redistributions in binary form must reproduce the above copyright notice,
-*this list of conditions and the following disclaimer in the documentation
-*and/or other materials provided with the distribution.
-*
-* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
-* POSSIBILITY OF SUCH DAMAGE.
-*/
-
-/**
- * POSIX system support
- */
-#pragma once
-
-#include 
-#include 
-#include 
-#include 
-#include 
-#include 
-
-/**
-* Types
-*/
-
-
-/**
- * Annotations, attributes, optimizers
- */
-#ifndef likely
-#define likely(x)   __builtin_expect((x),1)
-#endif
-#ifndef unlikely
-#define unlikely(x) __builtin_expect((x),0)
-#endif
-
-#define RD_UNUSED   __attribute__((unused))
-#define RD_INLINE   inline
-#define RD_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
-#define RD_NORETURN __attribute__((noreturn))
-#define RD_IS_CONSTANT(p)  __builtin_constant_p((p))
-#define RD_TLS  __thread
-
-/**
-* Allocation
-*/
-#if !defined(__FreeBSD__)
-/* alloca(3) is in stdlib on FreeBSD */
-#include 
-#endif
-
-#define rd_alloca(N)  alloca(N)
-
-
-/**
-* Strings, formatting, printf, ..
-*/
-
-/* size_t and ssize_t format strings */
-#define PRIusz  "zu"
-#define PRIdsz  "zd"
-
-#define RD_FORMAT(...) __attribute__((format (__VA_ARGS__)))
-#define rd_snprintf(...)  snprintf(__VA_ARGS__)
-#define rd_vsnprintf(...) vsnprintf(__VA_ARGS__)
-
-#define rd_strcasecmp(A,B) strcasecmp(A,B)
-#define rd_strncasecmp(A,B,N) strncasecmp(A,B,N)
-
-/**
- * Errors
- */
-#if HAVE_STRERROR_R
-static RD_INLINE RD_UNUSED const char *rd_strerror(int err) {
-static RD_TLS char ret[128];
-
-#if defined(__linux__) && defined(_GNU_SOURCE)
-return strerror_r(err, ret, sizeof(ret));
-#else /* XSI version */
-int r;
-/* The r assignment is to catch the case where
- * _GNU_SOURCE is not defined but the GNU version is
- * picked up anyway. */
-r = strerror_r(err, ret, sizeof(ret));
-if (unlikely(r))
-rd_snprintf(ret, sizeof(ret),
-"strerror_r(%d) failed (ret %d)", err, r);
-return ret;
-#endif
-}
-#else
-#define rd_strerror(err) strerror(err)
-#endif
-
-
-/**
- * Atomics
- */
-#include "rdatomic.h"
-
-/**
-* Misc
-*/
-
-/**
- * Microsecond sleep.
- * Will retry on signal interrupt unless *terminate is true.
- */
-static RD_INLINE RD_UNUSED
-void rd_usleep (int usec, rd_atomic32_t *terminate) {
-struct timespec req = {usec / 100, (long)(usec % 100) * 1000};
-
-/* Retry until complete (issue #272), unless terminating. */
-while (nanosleep(, ) == -1 &&
-   (errno == EINTR && (!terminate || !rd_atomic32_get(terminate
-;
-}
-
-
-
-
-#define rd_gettimeofday(tv,tz)  gettimeofday(tv,tz)
-
-
-#define rd_assert(EXPR)  assert(EXPR)
-
-/**
- * Empty struct initializer
- */
-#define RD_ZERO_INIT  {}
-
-/**
- * Sockets, IO
- */
-
-/**
- * @brief Set socket to non-blocking
- * @returns 0 on success or errno on failure.
- */
-static RD_UNUSED int rd_fd_set_nonblocking (int fd) {
-int fl = fcntl(fd, F_GETFL, 0);
-if (fl == -1 ||
-fcntl(fd, F_SETFL, fl | O_NONBLOCK) == -1)
-return errno;
-return 0;
-}
-
-/**
- * @brief Create non-blocking pipe
- * @returns 0 on success or errno on failure
- */
-static RD_UNUSED int rd_pipe_nonblocking (int *fds) {
-if (pipe(fds) == -1 ||
-

[32/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_broker.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_broker.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_broker.c
deleted file mode 100644
index 742e0fd..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_broker.c
+++ /dev/null
@@ -1,3797 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012-2015, Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-
-#ifndef _MSC_VER
-#define _GNU_SOURCE
-/*
- * AIX defines this and the value needs to be set correctly. For Solaris,
- * src/rd.h defines _POSIX_SOURCE to be 200809L, which corresponds to XPG7,
- * which itself is not compatible with _XOPEN_SOURCE on that platform.
- */
-#if !defined(_AIX) && !defined(__sun)
-#define _XOPEN_SOURCE
-#endif
-#include 
-#endif
-
-#include 
-#include 
-#include 
-#include 
-
-#include "rd.h"
-#include "rdkafka_int.h"
-#include "rdkafka_msg.h"
-#include "rdkafka_msgset.h"
-#include "rdkafka_topic.h"
-#include "rdkafka_partition.h"
-#include "rdkafka_broker.h"
-#include "rdkafka_offset.h"
-#include "rdkafka_transport.h"
-#include "rdkafka_proto.h"
-#include "rdkafka_buf.h"
-#include "rdkafka_request.h"
-#include "rdkafka_sasl.h"
-#include "rdkafka_interceptor.h"
-#include "rdtime.h"
-#include "rdcrc32.h"
-#include "rdrand.h"
-#include "rdkafka_lz4.h"
-#if WITH_SSL
-#include 
-#endif
-#include "rdendian.h"
-
-
-const char *rd_kafka_broker_state_names[] = {
-   "INIT",
-   "DOWN",
-   "CONNECT",
-   "AUTH",
-   "UP",
-"UPDATE",
-   "APIVERSION_QUERY",
-   "AUTH_HANDSHAKE"
-};
-
-const char *rd_kafka_secproto_names[] = {
-   [RD_KAFKA_PROTO_PLAINTEXT] = "plaintext",
-   [RD_KAFKA_PROTO_SSL] = "ssl",
-   [RD_KAFKA_PROTO_SASL_PLAINTEXT] = "sasl_plaintext",
-   [RD_KAFKA_PROTO_SASL_SSL] = "sasl_ssl",
-   NULL
-};
-
-
-
-
-
-
-
-#define rd_kafka_broker_terminating(rkb) \
-(rd_refcnt_get(&(rkb)->rkb_refcnt) <= 1)
-
-
-/**
- * Construct broker nodename.
- */
-static void rd_kafka_mk_nodename (char *dest, size_t dsize,
-  const char *name, uint16_t port) {
-rd_snprintf(dest, dsize, "%s:%hu", name, port);
-}
-
-/**
- * Construct descriptive broker name
- */
-static void rd_kafka_mk_brokername (char *dest, size_t dsize,
-   rd_kafka_secproto_t proto,
-   const char *nodename, int32_t nodeid,
-   rd_kafka_confsource_t source) {
-
-   /* Prepend protocol name to brokername, unless it is a
-* standard plaintext broker in which case we omit the protocol part. */
-   if (proto != RD_KAFKA_PROTO_PLAINTEXT) {
-   int r = rd_snprintf(dest, dsize, "%s://",
-   rd_kafka_secproto_names[proto]);
-   if (r >= (int)dsize) /* Skip proto name if it wont fit.. */
-   r = 0;
-
-   dest += r;
-   dsize -= r;
-   }
-
-   if (nodeid == RD_KAFKA_NODEID_UA)
-   rd_snprintf(dest, dsize, "%s/%s",
-   nodename,
-   source == RD_KAFKA_INTERNAL ?
-   "internal":"bootstrap");
-   else
-   rd_snprintf(dest, dsize, "%s/%"PRId32, nodename, nodeid);
-}
-
-
-/**
- * @brief Enable protocol feature(s) for the current broker.
- *
- * Locality: broker thread
- */
-static void rd_kafka_broker_feature_enable (rd_kafka_broker_t *rkb,
-  

[27/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_lz4.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_lz4.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_lz4.c
deleted file mode 100644
index 9ee50de..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_lz4.c
+++ /dev/null
@@ -1,429 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2017 Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "rdkafka_int.h"
-#include "rdkafka_lz4.h"
-
-#if WITH_LZ4_EXT
-#include 
-#else
-#include "lz4frame.h"
-#endif
-#include "xxhash.h"
-
-#include "rdbuf.h"
-
-/**
- * Fix-up bad LZ4 framing caused by buggy Kafka client / broker.
- * The LZ4F framing format is described in detail here:
- * https://github.com/Cyan4973/lz4/blob/master/lz4_Frame_format.md
- *
- * NOTE: This modifies 'inbuf'.
- *
- * Returns an error on failure to fix (nothing modified), else NO_ERROR.
- */
-static rd_kafka_resp_err_t
-rd_kafka_lz4_decompress_fixup_bad_framing (rd_kafka_broker_t *rkb,
-   char *inbuf, size_t inlen) {
-static const char magic[4] = { 0x04, 0x22, 0x4d, 0x18 };
-uint8_t FLG, HC, correct_HC;
-size_t of = 4;
-
-/* Format is:
- *int32_t magic;
- *int8_t_ FLG;
- *int8_t  BD;
- *  [ int64_t contentSize; ]
- *int8_t  HC;
- */
-if (inlen < 4+3 || memcmp(inbuf, magic, 4)) {
-rd_rkb_dbg(rkb, BROKER,  "LZ4FIXUP",
-   "Unable to fix-up legacy LZ4 framing "
-   "(%"PRIusz" bytes): invalid length or magic value",
-   inlen);
-return RD_KAFKA_RESP_ERR__BAD_COMPRESSION;
-}
-
-of = 4; /* past magic */
-FLG = inbuf[of++];
-of++; /* BD */
-
-if ((FLG >> 3) & 1) /* contentSize */
-of += 8;
-
-if (of >= inlen) {
-rd_rkb_dbg(rkb, BROKER,  "LZ4FIXUP",
-   "Unable to fix-up legacy LZ4 framing "
-   "(%"PRIusz" bytes): requires %"PRIusz" bytes",
-   inlen, of);
-return RD_KAFKA_RESP_ERR__BAD_COMPRESSION;
-}
-
-/* Header hash code */
-HC = inbuf[of];
-
-/* Calculate correct header hash code */
-correct_HC = (XXH32(inbuf+4, of-4, 0) >> 8) & 0xff;
-
-if (HC != correct_HC)
-inbuf[of] = correct_HC;
-
-return RD_KAFKA_RESP_ERR_NO_ERROR;
-}
-
-
-/**
- * Reverse of fix-up: break LZ4 framing caused to be compatbile with with
- * buggy Kafka client / broker.
- *
- * NOTE: This modifies 'outbuf'.
- *
- * Returns an error on failure to recognize format (nothing modified),
- * else NO_ERROR.
- */
-static rd_kafka_resp_err_t
-rd_kafka_lz4_compress_break_framing (rd_kafka_broker_t *rkb,
- char *outbuf, size_t outlen) {
-static const char magic[4] = { 0x04, 0x22, 0x4d, 0x18 };
-uint8_t FLG, HC, bad_HC;
-size_t of = 4;
-
-/* Format is:
- *int32_t magic;
- *int8_t_ FLG;
- *int8_t  BD;
- *  [ int64_t contentSize; ]
- *int8_t  HC;
- */
-if (outlen < 4+3 || memcmp(outbuf, magic, 4)) {
-rd_rkb_dbg(rkb, BROKER,  "LZ4FIXDOWN",
-   "Unable to break legacy LZ4 framing "
-   "(%"PRIusz" bytes): invalid length or magic value",
-  

[40/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/lz4frame.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/lz4frame.c 
b/thirdparty/librdkafka-0.11.1/src/lz4frame.c
deleted file mode 100644
index e04fe83..000
--- a/thirdparty/librdkafka-0.11.1/src/lz4frame.c
+++ /dev/null
@@ -1,1440 +0,0 @@
-/*
-LZ4 auto-framing library
-Copyright (C) 2011-2016, Yann Collet.
-
-BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are
-met:
-
-* Redistributions of source code must retain the above copyright
-notice, this list of conditions and the following disclaimer.
-* Redistributions in binary form must reproduce the above
-copyright notice, this list of conditions and the following disclaimer
-in the documentation and/or other materials provided with the
-distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-You can contact the author at :
-- LZ4 homepage : http://www.lz4.org
-- LZ4 source repository : https://github.com/lz4/lz4
-*/
-
-/* LZ4F is a stand-alone API to create LZ4-compressed Frames
-*  in full conformance with specification v1.5.0
-*  All related operations, including memory management, are handled by the 
library.
-* */
-
-
-/*-
-*  Compiler Options
-**/
-#ifdef _MSC_VER/* Visual Studio */
-#  pragma warning(disable : 4127)/* disable: C4127: conditional 
expression is constant */
-#endif
-
-
-/*-
-*  Memory routines
-**/
-#include/* malloc, calloc, free */
-#define ALLOCATOR(s)   calloc(1,s)
-#define FREEMEMfree
-#include/* memset, memcpy, memmove */
-#define MEM_INIT   memset
-
-
-/*-
-*  Includes
-**/
-#include "lz4frame_static.h"
-#include "lz4.h"
-#include "lz4hc.h"
-#define XXH_STATIC_LINKING_ONLY
-#include "xxhash.h"
-
-
-/*-
-*  Common Utils
-**/
-#define LZ4_STATIC_ASSERT(c){ enum { LZ4_static_assert = 1/(int)(!!(c)) }; 
}   /* use only *after* variable declarations */
-
-
-/*-
-*  Basic Types
-**/
-#if !defined (__VMS) && (defined (__cplusplus) || (defined (__STDC_VERSION__) 
&& (__STDC_VERSION__ >= 199901L) /* C99 */) )
-# include 
-  typedef  uint8_t BYTE;
-  typedef uint16_t U16;
-  typedef uint32_t U32;
-  typedef  int32_t S32;
-  typedef uint64_t U64;
-#else
-  typedef unsigned char   BYTE;
-  typedef unsigned short  U16;
-  typedef unsigned intU32;
-  typedef   signed intS32;
-  typedef unsigned long long  U64;
-#endif
-
-
-/* unoptimized version; solves endianess & alignment issues */
-static U32 LZ4F_readLE32 (const void* src)
-{
-const BYTE* const srcPtr = (const BYTE*)src;
-U32 value32 = srcPtr[0];
-value32 += (srcPtr[1]<<8);
-value32 += (srcPtr[2]<<16);
-value32 += ((U32)srcPtr[3])<<24;
-return value32;
-}
-
-static void LZ4F_writeLE32 (void* dst, U32 value32)
-{
-BYTE* const dstPtr = (BYTE*)dst;
-dstPtr[0] = (BYTE)value32;
-dstPtr[1] = (BYTE)(value32 >> 8);
-dstPtr[2] = (BYTE)(value32 >> 16);
-dstPtr[3] = (BYTE)(value32 >> 24);
-}
-
-static U64 LZ4F_readLE64 (const void* src)
-{
-const BYTE* const srcPtr = (const BYTE*)src;
-U64 value64 = srcPtr[0];
-value64 += ((U64)srcPtr[1]<<8);
-value64 += ((U64)srcPtr[2]<<16);
-value64 += ((U64)srcPtr[3]<<24);
-value64 += ((U64)srcPtr[4]<<32);
-value64 += ((U64)srcPtr[5]<<40);
-value64 += ((U64)srcPtr[6]<<48);
-value64 += ((U64)srcPtr[7]<<56);
-return value64;
-}
-
-static void LZ4F_writeLE64 (void* dst, U64 value64)
-{
-BYTE* const dstPtr = (BYTE*)dst;
-dstPtr[0] = (BYTE)value64;
-dstPtr[1] = (BYTE)(value64 >> 8);
-dstPtr[2] = (BYTE)(value64 >> 16);
-dstPtr[3] = (BYTE)(value64 >> 24);
-dstPtr[4] = (BYTE)(value64 >> 32);
-

[14/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/regexp.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/regexp.c 
b/thirdparty/librdkafka-0.11.1/src/regexp.c
deleted file mode 100644
index 022c4fc..000
--- a/thirdparty/librdkafka-0.11.1/src/regexp.c
+++ /dev/null
@@ -1,1156 +0,0 @@
-#include "rd.h"
-
-#include 
-#include 
-#include 
-#include 
-
-#include "regexp.h"
-
-#define nelem(a) (sizeof (a) / sizeof (a)[0])
-
-typedef unsigned int Rune;
-
-static int isalpharune(Rune c)
-{
-   /* TODO: Add unicode support */
-   return (c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z');
-}
-
-static Rune toupperrune(Rune c)
-{
-   /* TODO: Add unicode support */
-   if (c >= 'a' && c <= 'z')
-   return c - 'a' + 'A';
-   return c;
-}
-
-static int chartorune(Rune *r, const char *s)
-{
-   /* TODO: Add UTF-8 decoding */
-   *r = *s;
-   return 1;
-}
-
-#define REPINF 255
-#define MAXTHREAD 1000
-#define MAXSUB REG_MAXSUB
-
-typedef struct Reclass Reclass;
-typedef struct Renode Renode;
-typedef struct Reinst Reinst;
-typedef struct Rethread Rethread;
-
-struct Reclass {
-   Rune *end;
-   Rune spans[64];
-};
-
-struct Reprog {
-   Reinst *start, *end;
-   int flags;
-   unsigned int nsub;
-   Reclass cclass[16];
-};
-
-static struct {
-   Reprog *prog;
-   Renode *pstart, *pend;
-
-   const char *source;
-   unsigned int ncclass;
-   unsigned int nsub;
-   Renode *sub[MAXSUB];
-
-   int lookahead;
-   Rune yychar;
-   Reclass *yycc;
-   int yymin, yymax;
-
-   const char *error;
-   jmp_buf kaboom;
-} g;
-
-static void die(const char *message)
-{
-   g.error = message;
-   longjmp(g.kaboom, 1);
-}
-
-static Rune canon(Rune c)
-{
-   Rune u = toupperrune(c);
-   if (c >= 128 && u < 128)
-   return c;
-   return u;
-}
-
-/* Scan */
-
-enum {
-   L_CHAR = 256,
-   L_CCLASS,   /* character class */
-   L_NCCLASS,  /* negative character class */
-   L_NC,   /* "(?:" no capture */
-   L_PLA,  /* "(?=" positive lookahead */
-   L_NLA,  /* "(?!" negative lookahead */
-   L_WORD, /* "\b" word boundary */
-   L_NWORD,/* "\B" non-word boundary */
-   L_REF,  /* "\1" back-reference */
-   L_COUNT /* {M,N} */
-};
-
-static int hex(int c)
-{
-   if (c >= '0' && c <= '9') return c - '0';
-   if (c >= 'a' && c <= 'f') return c - 'a' + 0xA;
-   if (c >= 'A' && c <= 'F') return c - 'A' + 0xA;
-   die("invalid escape sequence");
-   return 0;
-}
-
-static int dec(int c)
-{
-   if (c >= '0' && c <= '9') return c - '0';
-   die("invalid quantifier");
-   return 0;
-}
-
-#define ESCAPES "BbDdSsWw^$\\.*+?()[]{}|0123456789"
-
-static int nextrune(void)
-{
-   g.source += chartorune(, g.source);
-   if (g.yychar == '\\') {
-   g.source += chartorune(, g.source);
-   switch (g.yychar) {
-   case 0: die("unterminated escape sequence");
-   case 'f': g.yychar = '\f'; return 0;
-   case 'n': g.yychar = '\n'; return 0;
-   case 'r': g.yychar = '\r'; return 0;
-   case 't': g.yychar = '\t'; return 0;
-   case 'v': g.yychar = '\v'; return 0;
-   case 'c':
-   g.yychar = (*g.source++) & 31;
-   return 0;
-   case 'x':
-   g.yychar = hex(*g.source++) << 4;
-   g.yychar += hex(*g.source++);
-   if (g.yychar == 0) {
-   g.yychar = '0';
-   return 1;
-   }
-   return 0;
-   case 'u':
-   g.yychar = hex(*g.source++) << 12;
-   g.yychar += hex(*g.source++) << 8;
-   g.yychar += hex(*g.source++) << 4;
-   g.yychar += hex(*g.source++);
-   if (g.yychar == 0) {
-   g.yychar = '0';
-   return 1;
-   }
-   return 0;
-   }
-   if (strchr(ESCAPES, g.yychar))
-   return 1;
-   if (isalpharune(g.yychar) || g.yychar == '_') /* check identity 
escape */
-   die("invalid escape character");
-   return 0;
-   }
-   return 0;
-}
-
-static int lexcount(void)
-{
-   g.yychar = *g.source++;
-
-   g.yymin = dec(g.yychar);
-   g.yychar = *g.source++;
-   while (g.yychar != ',' && g.yychar != '}') {
-   g.yymin = g.yymin * 10 + dec(g.yychar);
-   g.yychar = *g.source++;
-   }
-   if (g.yymin >= REPINF)
-  

[31/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_broker.h
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_broker.h 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_broker.h
deleted file mode 100644
index a30f2bd..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_broker.h
+++ /dev/null
@@ -1,328 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012,2013 Magnus Edenhill
- * All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met: 
- * 
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer. 
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution. 
- * 
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#pragma once
-
-#include "rdkafka_feature.h"
-
-
-extern const char *rd_kafka_broker_state_names[];
-extern const char *rd_kafka_secproto_names[];
-
-struct rd_kafka_broker_s { /* rd_kafka_broker_t */
-   TAILQ_ENTRY(rd_kafka_broker_s) rkb_link;
-
-   int32_t rkb_nodeid;
-#define RD_KAFKA_NODEID_UA -1
-
-   rd_sockaddr_list_t *rkb_rsal;
-   time_t  rkb_t_rsal_last;
-const rd_sockaddr_inx_t  *rkb_addr_last; /* Last used connect address 
*/
-
-   rd_kafka_transport_t *rkb_transport;
-
-   uint32_trkb_corrid;
-   int rkb_connid;/* Connection id, increased by
-   * one for each connection by
-   * this broker. Used as a safe-guard
-   * to help troubleshooting buffer
-   * problems across disconnects. */
-
-   rd_kafka_q_t   *rkb_ops;
-
-mtx_t   rkb_lock;
-
-int rkb_blocking_max_ms; /* Maximum IO poll blocking
-  * time. */
-
-/* Toppars handled by this broker */
-   TAILQ_HEAD(, rd_kafka_toppar_s) rkb_toppars;
-   int rkb_toppar_cnt;
-
-/* Underflowed toppars that are eligible for fetching. */
-CIRCLEQ_HEAD(, rd_kafka_toppar_s) rkb_fetch_toppars;
-int rkb_fetch_toppar_cnt;
-rd_kafka_toppar_t  *rkb_fetch_toppar_next;  /* Next 'first' toppar
- * in fetch list.
- * This is used for
- * round-robin. */
-
-
-rd_kafka_cgrp_t*rkb_cgrp;
-
-   rd_ts_t rkb_ts_fetch_backoff;
-   int rkb_fetching;
-
-   enum {
-   RD_KAFKA_BROKER_STATE_INIT,
-   RD_KAFKA_BROKER_STATE_DOWN,
-   RD_KAFKA_BROKER_STATE_CONNECT,
-   RD_KAFKA_BROKER_STATE_AUTH,
-
-   /* Any state >= STATE_UP means the Kafka protocol layer
-* is operational (to some degree). */
-   RD_KAFKA_BROKER_STATE_UP,
-RD_KAFKA_BROKER_STATE_UPDATE,
-   RD_KAFKA_BROKER_STATE_APIVERSION_QUERY,
-   RD_KAFKA_BROKER_STATE_AUTH_HANDSHAKE
-   } rkb_state;
-
-rd_ts_t rkb_ts_state;/* Timestamp of last
-  * state change */
-rd_interval_t   rkb_timeout_scan_intvl;  /* Waitresp timeout scan
-  * interval. */
-
-rd_atomic32_t   rkb_blocking_request_cnt; /* The number of
-   * in-flight blocking
-   * requests.
-   * A blocking request is
-   

[25/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_msgset_reader.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_msgset_reader.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_msgset_reader.c
deleted file mode 100644
index a073819..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_msgset_reader.c
+++ /dev/null
@@ -1,1090 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2017 Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-/**
- * @name MessageSet reader interface
- *
- * Parses FetchResponse for Messages
- *
- *
- * @remark
- * The broker may send partial messages, when this happens we bail out
- * silently and keep the messages that we successfully parsed.
- *
- * "A Guide To The Kafka Protocol" states:
- *   "As an optimization the server is allowed to
- *return a partial message at the end of the
- *message set.
- *Clients should handle this case."
- *
- * We're handling it by not passing the error upstream.
- * This is why most err_parse: goto labels (that are called from buf parsing
- * macros) suppress the error message and why log_decode_errors is off
- * unless PROTOCOL debugging is enabled.
- *
- * When a FetchResponse contains multiple partitions, each partition's
- * MessageSet may be partial, regardless of the other partitions.
- * To make sure the next partition can be parsed, each partition parse
- * uses its own sub-slice of only that partition's MessageSetSize length.
- */
-
-#include "rd.h"
-#include "rdkafka_int.h"
-#include "rdkafka_msg.h"
-#include "rdkafka_msgset.h"
-#include "rdkafka_topic.h"
-#include "rdkafka_partition.h"
-#include "rdkafka_lz4.h"
-
-#include "rdvarint.h"
-#include "crc32c.h"
-
-#if WITH_ZLIB
-#include "rdgz.h"
-#endif
-#if WITH_SNAPPY
-#include "snappy.h"
-#endif
-
-
-
-struct msgset_v2_hdr {
-int64_t BaseOffset;
-int32_t Length;
-int32_t PartitionLeaderEpoch;
-int8_t  MagicByte;
-int32_t Crc;
-int16_t Attributes;
-int32_t LastOffsetDelta;
-int64_t BaseTimestamp;
-int64_t MaxTimestamp;
-int64_t PID;
-int16_t ProducerEpoch;
-int32_t BaseSequence;
-int32_t RecordCount;
-};
-
-
-typedef struct rd_kafka_msgset_reader_s {
-rd_kafka_buf_t *msetr_rkbuf; /**< Response read buffer */
-
-int msetr_relative_offsets;  /**< Bool: using relative offsets */
-
-/**< Outer/wrapper Message fields. */
-struct {
-int64_t offset;  /**< Relative_offsets: outer message's
-  *   Offset (last offset) */
-rd_kafka_timestamp_type_t tstype; /**< Compressed
-   *   MessageSet's
-   *   timestamp type. */
-int64_t timestamp;/**< ... timestamp*/
-} msetr_outer;
-
-struct msgset_v2_hdr   *msetr_v2_hdr;/**< MessageSet v2 header */
-
-const struct rd_kafka_toppar_ver *msetr_tver; /**< Toppar op version of
-   *   request. */
-
-rd_kafka_broker_t *msetr_rkb;/* @warning Not a refcounted
-  *  reference! */
-rd_kafka_toppar_t *msetr_rktp;   /* @warning Not a refcounted
-  *  reference! */
-
-int  msetr_msgcnt;  /**< Number of messages in rkq */
-rd_kafka_q_t msetr_rkq;   

[06/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.4/examples/rdkafka_performance.c
--
diff --git a/thirdparty/librdkafka-0.11.4/examples/rdkafka_performance.c 
b/thirdparty/librdkafka-0.11.4/examples/rdkafka_performance.c
new file mode 100644
index 000..bceb23b
--- /dev/null
+++ b/thirdparty/librdkafka-0.11.4/examples/rdkafka_performance.c
@@ -0,0 +1,1651 @@
+/*
+ * librdkafka - Apache Kafka C library
+ *
+ * Copyright (c) 2012, Magnus Edenhill
+ * All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met: 
+ * 
+ * 1. Redistributions of source code must retain the above copyright notice,
+ *this list of conditions and the following disclaimer. 
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ *this list of conditions and the following disclaimer in the documentation
+ *and/or other materials provided with the distribution. 
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/**
+ * Apache Kafka consumer & producer performance tester
+ * using the Kafka driver from librdkafka
+ * (https://github.com/edenhill/librdkafka)
+ */
+
+#ifdef _MSC_VER
+#define  _CRT_SECURE_NO_WARNINGS /* Silence nonsense on MSVC */
+#endif
+
+#include "../src/rd.h"
+
+#define _GNU_SOURCE /* for strndup() */
+#include 
+#include 
+#include 
+#include 
+
+/* Typical include path would be , but this program
+ * is built from within the librdkafka source tree and thus differs. */
+#include "rdkafka.h"  /* for Kafka driver */
+/* Do not include these defines from your program, they will not be
+ * provided by librdkafka. */
+#include "rd.h"
+#include "rdtime.h"
+
+#ifdef _MSC_VER
+#include "../win32/wingetopt.h"
+#include "../win32/wintime.h"
+#endif
+
+
+static int run = 1;
+static int forever = 1;
+static rd_ts_t dispintvl = 1000;
+static int do_seq = 0;
+static int exit_after = 0;
+static int exit_eof = 0;
+static FILE *stats_fp;
+static int dr_disp_div;
+static int verbosity = 1;
+static int latency_mode = 0;
+static int report_offset = 0;
+static FILE *latency_fp = NULL;
+static int msgcnt = -1;
+static int incremental_mode = 0;
+static int partition_cnt = 0;
+static int eof_cnt = 0;
+static int with_dr = 1;
+static int read_hdrs = 0;
+
+
+static void stop (int sig) {
+if (!run)
+exit(0);
+   run = 0;
+}
+
+static long int msgs_wait_cnt = 0;
+static long int msgs_wait_produce_cnt = 0;
+static rd_ts_t t_end;
+static rd_kafka_t *global_rk;
+
+struct avg {
+int64_t  val;
+int  cnt;
+uint64_t ts_start;
+};
+
+static struct {
+   rd_ts_t  t_start;
+   rd_ts_t  t_end;
+   rd_ts_t  t_end_send;
+   uint64_t msgs;
+   uint64_t msgs_last;
+uint64_t msgs_dr_ok;
+uint64_t msgs_dr_err;
+uint64_t bytes_dr_ok;
+   uint64_t bytes;
+   uint64_t bytes_last;
+   uint64_t tx;
+   uint64_t tx_err;
+uint64_t avg_rtt;
+uint64_t offset;
+   rd_ts_t  t_fetch_latency;
+   rd_ts_t  t_last;
+rd_ts_t  t_enobufs_last;
+   rd_ts_t  t_total;
+rd_ts_t  latency_last;
+rd_ts_t  latency_lo;
+rd_ts_t  latency_hi;
+rd_ts_t  latency_sum;
+int  latency_cnt;
+int64_t  last_offset;
+} cnt;
+
+
+uint64_t wall_clock (void) {
+struct timeval tv;
+gettimeofday(, NULL);
+return ((uint64_t)tv.tv_sec * 100LLU) +
+   ((uint64_t)tv.tv_usec);
+}
+
+static void err_cb (rd_kafka_t *rk, int err, const char *reason, void *opaque) 
{
+   printf("%% ERROR CALLBACK: %s: %s: %s\n",
+  rd_kafka_name(rk), rd_kafka_err2str(err), reason);
+}
+
+static void throttle_cb (rd_kafka_t *rk, const char *broker_name,
+int32_t broker_id, int throttle_time_ms,
+void *opaque) {
+   printf("%% THROTTLED %dms by %s (%"PRId32")\n", throttle_time_ms,
+  broker_name, broker_id);
+}
+
+static void offset_commit_cb (rd_kafka_t *rk, rd_kafka_resp_err_t err,
+  

[49/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/INTRODUCTION.md
--
diff --git a/thirdparty/librdkafka-0.11.1/INTRODUCTION.md 
b/thirdparty/librdkafka-0.11.1/INTRODUCTION.md
deleted file mode 100644
index eab9c0d..000
--- a/thirdparty/librdkafka-0.11.1/INTRODUCTION.md
+++ /dev/null
@@ -1,566 +0,0 @@
-//@file INTRODUCTION.md
-# Introduction to librdkafka - the Apache Kafka C/C++ client library
-
-
-librdkafka is a high performance C implementation of the Apache
-Kafka client, providing a reliable and performant client for production use.
-librdkafka also provides a native C++ interface.
-
-## Contents
-
-The following chapters are available in this document
-
-  * Performance
-* Performance numbers
-* High throughput
-* Low latency
-* Compression
-  * Message reliability
-  * Usage
-* Documentation
-* Initialization
-* Configuration
-* Threads and callbacks
-* Brokers
-* Producer API
-* Consumer API
-  * Appendix
-* Test detailts
-  
-
-
-
-## Performance
-
-librdkafka is a multi-threaded library designed for use on modern hardware and
-it attempts to keep memory copying at a minimal. The payload of produced or
-consumed messages may pass through without any copying
-(if so desired by the application) putting no limit on message sizes.
-
-librdkafka allows you to decide if high throughput is the name of the game,
-or if a low latency service is required, all through the configuration
-property interface.
-
-The two most important configuration properties for performance tuning are:
-
-  * batch.num.messages - the minimum number of messages to wait for to
- accumulate in the local queue before sending off a message set.
-  * queue.buffering.max.ms - how long to wait for batch.num.messages to
- fill up in the local queue.
-
-
-### Performance numbers
-
-The following performance numbers stem from tests using the following setup:
-
-  * Intel Quad Core i7 at 3.4GHz, 8GB of memory
-  * Disk performance has been shortcut by setting the brokers' flush
-   configuration properties as so:
-   * `log.flush.interval.messages=1000`
-   * `log.flush.interval.ms=10`
-  * Two brokers running on the same machine as librdkafka.
-  * One topic with two partitions.
-  * Each broker is leader for one partition each.
-  * Using `rdkafka_performance` program available in the `examples` subdir.
-
-
-
-   
-
-**Test results**
-
-  * **Test1**: 2 brokers, 2 partitions, required.acks=2, 100 byte messages: 
- **85 messages/second**, **85 MB/second**
-
-  * **Test2**: 1 broker, 1 partition, required.acks=0, 100 byte messages: 
- **71 messages/second**, **71 MB/second**
- 
-  * **Test3**: 2 broker2, 2 partitions, required.acks=2, 100 byte messages,
- snappy compression:
- **30 messages/second**, **30 MB/second**
-
-  * **Test4**: 2 broker2, 2 partitions, required.acks=2, 100 byte messages,
- gzip compression:
- **23 messages/second**, **23 MB/second**
-
-
-
-**Note**: See the *Test details* chapter at the end of this document for
-   information about the commands executed, etc.
-
-**Note**: Consumer performance tests will be announced soon.
-
-
-### High throughput
-
-The key to high throughput is message batching - waiting for a certain amount
-of messages to accumulate in the local queue before sending them off in
-one large message set or batch to the peer. This amortizes the messaging
-overhead and eliminates the adverse effect of the round trip time (rtt).
-
-The default settings, batch.num.messages=1 and queue.buffering.max.ms=1000,
-are suitable for high throughput. This allows librdkafka to wait up to
-1000 ms for up to 1 messages to accumulate in the local queue before
-sending the accumulate messages to the broker.
-
-These setting are set globally (`rd_kafka_conf_t`) but applies on a
-per topic+partition basis.
-
-
-### Low latency
-
-When low latency messaging is required the "queue.buffering.max.ms" should be
-tuned to the maximum permitted producer-side latency.
-Setting queue.buffering.max.ms to 1 will make sure messages are sent as
-soon as possible. You could check out [How to decrease message 
latency](https://github.com/edenhill/librdkafka/wiki/How-to-decrease-message-latency)
-to find more details.
-
-
-### Compression
-
-Producer message compression is enabled through the "compression.codec"
-configuration property.
-
-Compression is performed on the batch of messages in the local queue, the
-larger the batch the higher likelyhood of a higher compression ratio.
-The local batch queue size is controlled through the "batch.num.messages" and
-"queue.buffering.max.ms" configuration properties as described in the
-**High throughput** chapter above.
-
-
-
-## Message reliability
-
-Message reliability is an important factor of 

[18/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_sasl.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_sasl.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_sasl.c
deleted file mode 100644
index 9ece5cb..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_sasl.c
+++ /dev/null
@@ -1,343 +0,0 @@
-/*
- * librdkafka - The Apache Kafka C/C++ library
- *
- * Copyright (c) 2015 Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "rdkafka_int.h"
-#include "rdkafka_transport.h"
-#include "rdkafka_transport_int.h"
-#include "rdkafka_sasl.h"
-#include "rdkafka_sasl_int.h"
-
-
- /**
- * Send auth message with framing.
- * This is a blocking call.
- */
-int rd_kafka_sasl_send (rd_kafka_transport_t *rktrans,
-const void *payload, int len,
-char *errstr, size_t errstr_size) {
-rd_buf_t buf;
-rd_slice_t slice;
-   int32_t hdr;
-
-   rd_rkb_dbg(rktrans->rktrans_rkb, SECURITY, "SASL",
-  "Send SASL frame to broker (%d bytes)", len);
-
-rd_buf_init(, 1+1, sizeof(hdr));
-
-   hdr = htobe32(len);
-rd_buf_write(, , sizeof(hdr));
-   if (payload)
-rd_buf_push(, payload, len, NULL);
-
-rd_slice_init_full(, );
-
-   /* Simulate blocking behaviour on non-blocking socket..
-* FIXME: This isn't optimal but is highly unlikely to stall since
-*the socket buffer will most likely not be exceeded. */
-   do {
-   int r;
-
-   r = (int)rd_kafka_transport_send(rktrans, ,
- errstr, errstr_size);
-   if (r == -1) {
-   rd_rkb_dbg(rktrans->rktrans_rkb, SECURITY, "SASL",
-  "SASL send failed: %s", errstr);
-rd_buf_destroy();
-   return -1;
-   }
-
-if (rd_slice_remains() == 0)
-break;
-
-   /* Avoid busy-looping */
-   rd_usleep(10*1000, NULL);
-
-   } while (1);
-
-rd_buf_destroy();
-
-   return 0;
-}
-
-
-/**
- * @brief Authentication succesful
- *
- * Transition to next connect state.
- */
-void rd_kafka_sasl_auth_done (rd_kafka_transport_t *rktrans) {
-/* Authenticated */
-rd_kafka_broker_connect_up(rktrans->rktrans_rkb);
-}
-
-
-int rd_kafka_sasl_io_event (rd_kafka_transport_t *rktrans, int events,
-char *errstr, size_t errstr_size) {
-rd_kafka_buf_t *rkbuf;
-int r;
-const void *buf;
-size_t len;
-
-if (!(events & POLLIN))
-return 0;
-
-r = rd_kafka_transport_framed_recv(rktrans, ,
-   errstr, errstr_size);
-if (r == -1) {
-if (!strcmp(errstr, "Disconnected"))
-rd_snprintf(errstr, errstr_size,
-"Disconnected: check client %s credentials 
"
-"and broker logs",
-rktrans->rktrans_rkb->rkb_rk->rk_conf.
-sasl.mechanisms);
-return -1;
-} else if (r == 0) /* not fully received yet */
-return 0;
-
-rd_rkb_dbg(rktrans->rktrans_rkb, SECURITY, "SASL",
-   "Received SASL frame from broker (%"PRIusz" bytes)",
-   rkbuf ? rkbuf->rkbuf_totlen : 0);
-
-if 

[01/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
Repository: nifi-minifi-cpp
Updated Branches:
  refs/heads/master bc6d2a120 -> 7528d23ee


http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.4/src-cpp/rdkafkacpp_int.h
--
diff --git a/thirdparty/librdkafka-0.11.4/src-cpp/rdkafkacpp_int.h 
b/thirdparty/librdkafka-0.11.4/src-cpp/rdkafkacpp_int.h
new file mode 100644
index 000..8db39e8
--- /dev/null
+++ b/thirdparty/librdkafka-0.11.4/src-cpp/rdkafkacpp_int.h
@@ -0,0 +1,910 @@
+/*
+ * librdkafka - Apache Kafka C/C++ library
+ *
+ * Copyright (c) 2014 Magnus Edenhill
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright notice,
+ *this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright notice,
+ *this list of conditions and the following disclaimer in the documentation
+ *and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ * POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef _RDKAFKACPP_INT_H_
+#define _RDKAFKACPP_INT_H_
+
+#include 
+#include 
+#include 
+#include 
+
+#include "rdkafkacpp.h"
+
+extern "C" {
+#include "../src/rdkafka.h"
+}
+
+#ifdef _MSC_VER
+typedef int mode_t;
+#pragma warning(disable : 4250)
+#endif
+
+
+namespace RdKafka {
+
+
+void consume_cb_trampoline(rd_kafka_message_t *msg, void *opaque);
+void log_cb_trampoline (const rd_kafka_t *rk, int level,
+const char *fac, const char *buf);
+void error_cb_trampoline (rd_kafka_t *rk, int err, const char *reason,
+  void *opaque);
+void throttle_cb_trampoline (rd_kafka_t *rk, const char *broker_name,
+int32_t broker_id, int throttle_time_ms,
+void *opaque);
+int stats_cb_trampoline (rd_kafka_t *rk, char *json, size_t json_len,
+ void *opaque);
+int socket_cb_trampoline (int domain, int type, int protocol, void *opaque);
+int open_cb_trampoline (const char *pathname, int flags, mode_t mode,
+void *opaque);
+void rebalance_cb_trampoline (rd_kafka_t *rk,
+  rd_kafka_resp_err_t err,
+  rd_kafka_topic_partition_list_t *c_partitions,
+  void *opaque);
+void offset_commit_cb_trampoline0 (
+rd_kafka_t *rk,
+rd_kafka_resp_err_t err,
+rd_kafka_topic_partition_list_t *c_offsets, void *opaque);
+
+rd_kafka_topic_partition_list_t *
+partitions_to_c_parts (const std::vector );
+
+/**
+ * @brief Update the application provided 'partitions' with info from 'c_parts'
+ */
+void update_partitions_from_c_parts (std::vector ,
+ const rd_kafka_topic_partition_list_t 
*c_parts);
+
+
+class EventImpl : public Event {
+ public:
+  ~EventImpl () {};
+
+  EventImpl (Type type, ErrorCode err, Severity severity,
+ const char *fac, const char *str):
+  type_(type), err_(err), severity_(severity), fac_(fac ? fac : ""),
+ str_(str), id_(0), throttle_time_(0) {};
+
+  EventImpl (Type type):
+  type_(type), err_(ERR_NO_ERROR), severity_(EVENT_SEVERITY_EMERG),
+ fac_(""), str_(""), id_(0), throttle_time_(0) {};
+
+  Typetype () const { return type_; }
+  ErrorCode   err () const { return err_; }
+  Severityseverity () const { return severity_; }
+  std::string fac () const { return fac_; }
+  std::string str () const { return str_; }
+  std::string broker_name () const {
+ if (type_ == EVENT_THROTTLE)
+ return str_;
+ else
+ return std::string("");
+  }
+  int broker_id () const { return id_; }
+  int throttle_time () const { return throttle_time_; }
+
+  Typetype_;
+  ErrorCode   err_;
+  Severityseverity_;
+  std::string fac_;
+  std::string str_; /* reused for THROTTLE broker_name */
+  int id_;
+  int throttle_time_;
+};
+
+
+class MessageImpl : 

[23/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdkafka_op.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdkafka_op.c 
b/thirdparty/librdkafka-0.11.1/src/rdkafka_op.c
deleted file mode 100644
index a761e7a..000
--- a/thirdparty/librdkafka-0.11.1/src/rdkafka_op.c
+++ /dev/null
@@ -1,662 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2012-2015, Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include 
-
-#include "rdkafka_int.h"
-#include "rdkafka_op.h"
-#include "rdkafka_topic.h"
-#include "rdkafka_partition.h"
-#include "rdkafka_offset.h"
-
-/* Current number of rd_kafka_op_t */
-rd_atomic32_t rd_kafka_op_cnt;
-
-
-const char *rd_kafka_op2str (rd_kafka_op_type_t type) {
-int skiplen = 6;
-static const char *names[] = {
-[RD_KAFKA_OP_NONE] = "REPLY:NONE",
-[RD_KAFKA_OP_FETCH] = "REPLY:FETCH",
-[RD_KAFKA_OP_ERR] = "REPLY:ERR",
-[RD_KAFKA_OP_CONSUMER_ERR] = "REPLY:CONSUMER_ERR",
-[RD_KAFKA_OP_DR] = "REPLY:DR",
-[RD_KAFKA_OP_STATS] = "REPLY:STATS",
-[RD_KAFKA_OP_OFFSET_COMMIT] = "REPLY:OFFSET_COMMIT",
-[RD_KAFKA_OP_NODE_UPDATE] = "REPLY:NODE_UPDATE",
-[RD_KAFKA_OP_XMIT_BUF] = "REPLY:XMIT_BUF",
-[RD_KAFKA_OP_RECV_BUF] = "REPLY:RECV_BUF",
-[RD_KAFKA_OP_XMIT_RETRY] = "REPLY:XMIT_RETRY",
-[RD_KAFKA_OP_FETCH_START] = "REPLY:FETCH_START",
-[RD_KAFKA_OP_FETCH_STOP] = "REPLY:FETCH_STOP",
-[RD_KAFKA_OP_SEEK] = "REPLY:SEEK",
-[RD_KAFKA_OP_PAUSE] = "REPLY:PAUSE",
-[RD_KAFKA_OP_OFFSET_FETCH] = "REPLY:OFFSET_FETCH",
-[RD_KAFKA_OP_PARTITION_JOIN] = "REPLY:PARTITION_JOIN",
-[RD_KAFKA_OP_PARTITION_LEAVE] = "REPLY:PARTITION_LEAVE",
-[RD_KAFKA_OP_REBALANCE] = "REPLY:REBALANCE",
-[RD_KAFKA_OP_TERMINATE] = "REPLY:TERMINATE",
-[RD_KAFKA_OP_COORD_QUERY] = "REPLY:COORD_QUERY",
-[RD_KAFKA_OP_SUBSCRIBE] = "REPLY:SUBSCRIBE",
-[RD_KAFKA_OP_ASSIGN] = "REPLY:ASSIGN",
-[RD_KAFKA_OP_GET_SUBSCRIPTION] = "REPLY:GET_SUBSCRIPTION",
-[RD_KAFKA_OP_GET_ASSIGNMENT] = "REPLY:GET_ASSIGNMENT",
-[RD_KAFKA_OP_THROTTLE] = "REPLY:THROTTLE",
-[RD_KAFKA_OP_NAME] = "REPLY:NAME",
-[RD_KAFKA_OP_OFFSET_RESET] = "REPLY:OFFSET_RESET",
-[RD_KAFKA_OP_METADATA] = "REPLY:METADATA",
-[RD_KAFKA_OP_LOG] = "REPLY:LOG",
-[RD_KAFKA_OP_WAKEUP] = "REPLY:WAKEUP",
-};
-
-if (type & RD_KAFKA_OP_REPLY)
-skiplen = 0;
-
-return names[type & ~RD_KAFKA_OP_FLAGMASK]+skiplen;
-}
-
-
-void rd_kafka_op_print (FILE *fp, const char *prefix, rd_kafka_op_t *rko) {
-   fprintf(fp,
-   "%s((rd_kafka_op_t*)%p)\n"
-   "%s Type: %s (0x%x), Version: %"PRId32"\n",
-   prefix, rko,
-   prefix, rd_kafka_op2str(rko->rko_type), rko->rko_type,
-   rko->rko_version);
-   if (rko->rko_err)
-   fprintf(fp, "%s Error: %s\n",
-   prefix, rd_kafka_err2str(rko->rko_err));
-   if (rko->rko_replyq.q)
-   fprintf(fp, "%s Replyq %p v%d (%s)\n",
-   prefix, rko->rko_replyq.q, rko->rko_replyq.version,
-#if ENABLE_DEVEL
-   rko->rko_replyq._id
-#else
-   

[05/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.4/mklove/Makefile.base
--
diff --git a/thirdparty/librdkafka-0.11.4/mklove/Makefile.base 
b/thirdparty/librdkafka-0.11.4/mklove/Makefile.base
new file mode 100755
index 000..d8af4ec
--- /dev/null
+++ b/thirdparty/librdkafka-0.11.4/mklove/Makefile.base
@@ -0,0 +1,215 @@
+# Base Makefile providing various standard targets
+# Part of mklove suite but may be used independently.
+
+MKL_RED?=  \033[031m
+MKL_GREEN?=\033[032m
+MKL_YELLOW?=   \033[033m
+MKL_BLUE?= \033[034m
+MKL_CLR_RESET?=\033[0m
+
+DEPS=  $(OBJS:%.o=%.d)
+
+# TOPDIR is "TOPDIR/mklove/../" i.e., TOPDIR.
+# We do it with two dir calls instead of /.. to support mklove being symlinked.
+MKLOVE_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
+TOPDIR = $(MKLOVE_DIR:mklove/=.)
+
+
+# Convert LIBNAME ("libxyz") to "xyz"
+LIBNAME0=$(LIBNAME:lib%=%)
+
+# Silence lousy default ARFLAGS (rv)
+ARFLAGS=
+
+ifndef MKL_MAKEFILE_CONFIG
+-include $(TOPDIR)/Makefile.config
+endif
+
+_UNAME_S := $(shell uname -s)
+ifeq ($(_UNAME_S),Darwin)
+   LIBFILENAME=$(LIBNAME).$(LIBVER)$(SOLIB_EXT)
+   LIBFILENAMELINK=$(LIBNAME)$(SOLIB_EXT)
+else
+   LIBFILENAME=$(LIBNAME)$(SOLIB_EXT).$(LIBVER)
+   LIBFILENAMELINK=$(LIBNAME)$(SOLIB_EXT)
+endif
+
+INSTALL?=  install
+INSTALL_PROGRAM?=  $(INSTALL)
+INSTALL_DATA?= $(INSTALL) -m 644
+
+prefix?=   /usr/local
+exec_prefix?=  $(prefix)
+bindir?=   $(exec_prefix)/bin
+sbindir?=  $(exec_prefix)/sbin
+libexecdir?=   $(exec_prefix)/libexec/  # append PKGNAME on install
+datarootdir?=  $(prefix)/share
+datadir?=  $(datarootdir)   # append PKGNAME on install
+sysconfdir?=   $(prefix)/etc
+sharedstatedir?=$(prefix)/com
+localestatedir?=$(prefix)/var
+runstatedir?=  $(localestatedir)/run
+includedir?=   $(prefix)/include
+docdir?=   $(datarootdir)/doc/$(PKGNAME)
+infodir?=  $(datarootdir)/info
+libdir?=   $(prefix)/lib
+localedir?=$(datarootdir)/locale
+pkgconfigdir?= $(libdir)/pkgconfig
+mandir?=   $(datarootdir)/man
+man1dir?=  $(mandir)/man1
+man2dir?=  $(mandir)/man2
+man3dir?=  $(mandir)/man3
+man4dir?=  $(mandir)/man4
+man5dir?=  $(mandir)/man5
+man6dir?=  $(mandir)/man6
+man7dir?=  $(mandir)/man7
+man8dir?=  $(mandir)/man8
+
+
+# Checks that mklove is set up and ready for building
+mklove-check:
+   @if [ ! -f "$(TOPDIR)/Makefile.config" ]; then \
+   printf "$(MKL_RED)$(TOPDIR)/Makefile.config missing: please run 
./configure$(MKL_CLR_RESET)\n" ; \
+   exit 1 ; \
+   fi
+
+%.o: %.c
+   $(CC) -MD -MP $(CPPFLAGS) $(CFLAGS) -c $< -o $@
+
+%.o: %.cpp
+   $(CXX) -MD -MP $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
+
+
+lib: $(LIBFILENAME) $(LIBNAME).a $(LIBFILENAMELINK) lib-gen-pkg-config
+
+$(LIBNAME).lds: #overridable
+
+$(LIBFILENAME): $(OBJS) $(LIBNAME).lds
+   @printf "$(MKL_YELLOW)Creating shared library $@$(MKL_CLR_RESET)\n"
+   $(CC) $(LDFLAGS) $(LIB_LDFLAGS) $(OBJS) -o $@ $(LIBS)
+
+$(LIBNAME).a:  $(OBJS)
+   @printf "$(MKL_YELLOW)Creating static library $@$(MKL_CLR_RESET)\n"
+   $(AR) rcs$(ARFLAGS) $@ $(OBJS)
+
+$(LIBFILENAMELINK): $(LIBFILENAME)
+   @printf "$(MKL_YELLOW)Creating $@ symlink$(MKL_CLR_RESET)\n"
+   rm -f "$@" && ln -s "$^" "$@"
+
+
+# pkg-config .pc file definition
+ifeq ($(GEN_PKG_CONFIG),y)
+define _PKG_CONFIG_DEF
+prefix=$(prefix)
+libdir=$(libdir)
+includedir=$(includedir)
+
+Name: $(LIBNAME)
+Description: $(MKL_APP_DESC_ONELINE)
+Version: $(MKL_APP_VERSION)
+Cflags: -I$${includedir}
+Libs: -L$${libdir} -l$(LIBNAME0)
+Libs.private: $(LIBS)
+endef
+
+export _PKG_CONFIG_DEF
+
+define _PKG_CONFIG_STATIC_DEF
+prefix=$(prefix)
+libdir=$(libdir)
+includedir=$(includedir)
+
+Name: $(LIBNAME)-static
+Description: $(MKL_APP_DESC_ONELINE) (static)
+Version: $(MKL_APP_VERSION)
+Cflags: -I$${includedir}
+Libs: -L$${libdir} $${libdir}/$(LIBNAME).a $(LIBS)
+endef
+
+export _PKG_CONFIG_STATIC_DEF
+
+$(LIBNAME0).pc: $(TOPDIR)/Makefile.config
+   @printf "$(MKL_YELLOW)Generating pkg-config file $@$(MKL_CLR_RESET)\n"
+   @echo "$$_PKG_CONFIG_DEF" > $@
+
+$(LIBNAME0)-static.pc: $(TOPDIR)/Makefile.config
+   @printf "$(MKL_YELLOW)Generating pkg-config file $@$(MKL_CLR_RESET)\n"
+   @echo "$$_PKG_CONFIG_STATIC_DEF" > $@
+
+lib-gen-pkg-config: $(LIBNAME0).pc $(LIBNAME0)-static.pc
+
+lib-clean-pkg-config:
+   rm -f $(LIBNAME0).pc $(LIBNAME0)-static.pc
+else
+lib-gen-pkg-config:
+lib-clean-pkg-config:
+endif
+
+
+$(BIN): $(OBJS)
+   @printf "$(MKL_YELLOW)Creating program $@$(MKL_CLR_RESET)\n"
+   $(CC) $(CPPFLAGS) $(LDFLAGS) $(OBJS) -o $@ $(LIBS)
+
+
+file-check:
+   @printf "$(MKL_YELLOW)Checking $(LIBNAME) integrity$(MKL_CLR_RESET)\n"
+   @RET=true ; \
+   for f in $(CHECK_FILES) ; do \
+   printf "%-30s " $$f ; \
+ 

[11/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/win32/wingetopt.c
--
diff --git a/thirdparty/librdkafka-0.11.1/win32/wingetopt.c 
b/thirdparty/librdkafka-0.11.1/win32/wingetopt.c
deleted file mode 100644
index 50ed2f0..000
--- a/thirdparty/librdkafka-0.11.1/win32/wingetopt.c
+++ /dev/null
@@ -1,564 +0,0 @@
-/* $OpenBSD: getopt_long.c,v 1.23 2007/10/31 12:34:57 chl Exp $*/
-/* $NetBSD: getopt_long.c,v 1.15 2002/01/31 22:43:40 tv Exp $  */
-
-/*
- * Copyright (c) 2002 Todd C. Miller 
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * Sponsored in part by the Defense Advanced Research Projects
- * Agency (DARPA) and Air Force Research Laboratory, Air Force
- * Materiel Command, USAF, under agreement number F39502-99-1-0512.
- */
-/*-
- * Copyright (c) 2000 The NetBSD Foundation, Inc.
- * All rights reserved.
- *
- * This code is derived from software contributed to The NetBSD Foundation
- * by Dieter Baron and Thomas Klausner.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *notice, this list of conditions and the following disclaimer in the
- *documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
- * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include 
-#include 
-#include 
-#include "wingetopt.h"
-#include 
-#include 
-#include 
-
-#defineREPLACE_GETOPT  /* use this getopt as the system 
getopt(3) */
-
-#ifdef REPLACE_GETOPT
-intopterr = 1; /* if error message should be printed */
-intoptind = 1; /* index into parent argv vector */
-intoptopt = '?';   /* character checked for validity */
-#undef optreset/* see getopt.h */
-#defineoptreset__mingw_optreset
-intoptreset;   /* reset getopt */
-char*optarg;   /* argument associated with option */
-#endif
-
-#define PRINT_ERROR((opterr) && (*options != ':'))
-
-#define FLAG_PERMUTE   0x01/* permute non-options to the end of argv */
-#define FLAG_ALLARGS   0x02/* treat non-options as args to option "-1" */
-#define FLAG_LONGONLY  0x04/* operate as getopt_long_only */
-
-/* return values */
-#defineBADCH   (int)'?'
-#defineBADARG  ((*options == ':') ? (int)':' : (int)'?')
-#defineINORDER (int)1
-
-#ifndef __CYGWIN__
-#define __progname __argv[0]
-#else
-extern char __declspec(dllimport) *__progname;
-#endif
-
-#ifdef __CYGWIN__
-static char EMSG[] = "";
-#else
-#defineEMSG""
-#endif
-
-static int getopt_internal(int, char * const *, const char *,
-  const struct option *, int *, int);
-static int parse_long_options(char * const *, const char *,
- const struct option *, int *, int);
-static int gcd(int, int);
-static void permute_args(int, int, int, char * const *);
-
-static char *place = EMSG; /* option letter processing */
-
-/* XXX: set optreset to 1 rather than these two */
-static int nonopt_start = -1; /* first non option argument (for permute) */
-static int nonopt_end = -1;   /* 

[37/51] [partial] nifi-minifi-cpp git commit: MINIFICPP-512 - upgrade to librdkafka 0.11.4

2018-06-06 Thread phrocker
http://git-wip-us.apache.org/repos/asf/nifi-minifi-cpp/blob/7528d23e/thirdparty/librdkafka-0.11.1/src/rdbuf.c
--
diff --git a/thirdparty/librdkafka-0.11.1/src/rdbuf.c 
b/thirdparty/librdkafka-0.11.1/src/rdbuf.c
deleted file mode 100644
index b44ce59..000
--- a/thirdparty/librdkafka-0.11.1/src/rdbuf.c
+++ /dev/null
@@ -1,1547 +0,0 @@
-/*
- * librdkafka - Apache Kafka C library
- *
- * Copyright (c) 2017 Magnus Edenhill
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- *this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- *this list of conditions and the following disclaimer in the documentation
- *and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-#include "rd.h"
-#include "rdbuf.h"
-#include "rdunittest.h"
-#include "rdlog.h"
-#include "rdcrc32.h"
-#include "crc32c.h"
-
-
-static size_t
-rd_buf_get_writable0 (rd_buf_t *rbuf, rd_segment_t **segp, void **p);
-
-
-/**
- * @brief Destroy the segment and free its payload.
- *
- * @remark Will NOT unlink from buffer.
- */
-static void rd_segment_destroy (rd_segment_t *seg) {
-/* Free payload */
-if (seg->seg_free && seg->seg_p)
-seg->seg_free(seg->seg_p);
-
-if (seg->seg_flags & RD_SEGMENT_F_FREE)
-rd_free(seg);
-}
-
-/**
- * @brief Initialize segment with absolute offset, backing memory pointer,
- *and backing memory size.
- * @remark The segment is NOT linked.
- */
-static void rd_segment_init (rd_segment_t *seg, void *mem, size_t size) {
-memset(seg, 0, sizeof(*seg));
-seg->seg_p = mem;
-seg->seg_size  = size;
-}
-
-
-/**
- * @brief Append segment to buffer
- *
- * @remark Will set the buffer position to the new \p seg if no existing wpos.
- * @remark Will set the segment seg_absof to the current length of the buffer.
- */
-static rd_segment_t *rd_buf_append_segment (rd_buf_t *rbuf, rd_segment_t *seg) 
{
-TAILQ_INSERT_TAIL(>rbuf_segments, seg, seg_link);
-rbuf->rbuf_segment_cnt++;
-seg->seg_absof  = rbuf->rbuf_len;
-rbuf->rbuf_len += seg->seg_of;
-rbuf->rbuf_size+= seg->seg_size;
-
-/* Update writable position */
-if (!rbuf->rbuf_wpos)
-rbuf->rbuf_wpos = seg;
-else
-rd_buf_get_writable0(rbuf, NULL, NULL);
-
-return seg;
-}
-
-
-
-
-/**
- * @brief Attempt to allocate \p size bytes from the buffers extra buffers.
- * @returns the allocated pointer which MUST NOT be freed, or NULL if
- *  not enough memory.
- * @remark the returned pointer is memory-aligned to be safe.
- */
-static void *extra_alloc (rd_buf_t *rbuf, size_t size) {
-size_t of = RD_ROUNDUP(rbuf->rbuf_extra_len, 8); /* FIXME: 32-bit */
-void *p;
-
-if (of + size > rbuf->rbuf_extra_size)
-return NULL;
-
-p = rbuf->rbuf_extra + of; /* Aligned pointer */
-
-rbuf->rbuf_extra_len = of + size;
-
-return p;
-}
-
-
-
-/**
- * @brief Get a pre-allocated segment if available, or allocate a new
- *segment with the extra amount of \p size bytes allocated for payload.
- *
- *Will not append the segment to the buffer.
- */
-static rd_segment_t *
-rd_buf_alloc_segment0 (rd_buf_t *rbuf, size_t size) {
-rd_segment_t *seg;
-
-/* See if there is enough room in the extra buffer for
- * allocating the segment header and the buffer,
- * or just the segment header, else fall back to malloc. */
-if ((seg = extra_alloc(rbuf, sizeof(*seg) + size))) {
-rd_segment_init(seg, size > 0 ? seg+1 : NULL, size);
-
-} else if ((seg = extra_alloc(rbuf, sizeof(*seg {
-rd_segment_init(seg, size > 0 ? rd_malloc(size) : NULL, size);
-if (size > 0)
-

  1   2   >