зеркало из https://github.com/syncfusion/nifi.git
Moving the release source of Syncfusion Data Integration Platform-V-2.5.0.36 into Github.
This commit is contained in:
Родитель
68c592ea43
Коммит
ceefe7f90a
|
@ -0,0 +1,11 @@
|
|||
// ------------------------------------------------------------------
|
||||
// Transitive dependencies of this project determined from the
|
||||
// maven pom organized by organization.
|
||||
// ------------------------------------------------------------------
|
||||
|
||||
nifi
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,81 @@
|
|||
node ('DataIntegration')
|
||||
{
|
||||
timestamps { timeout(time: 7200000, unit: 'MILLISECONDS')
|
||||
{
|
||||
stage 'Checkout'
|
||||
env.PATH = "${userprofile}"+"\\Downloads\\apache-maven-3.5.0-bin\\apache-maven-3.5.0\\bin;${env.PATH}"
|
||||
env.JAVA_HOME = "${ProgramFiles}"+"\\Java\\"+env.JDK_VERSION
|
||||
try
|
||||
{
|
||||
checkout scm
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
currentBuild.result = 'FAILURE'
|
||||
}
|
||||
if(currentBuild.result != 'FAILURE')
|
||||
{
|
||||
stage 'Build Source'
|
||||
try
|
||||
{
|
||||
gitlabCommitStatus("Build")
|
||||
{
|
||||
bat 'powershell.exe -ExecutionPolicy ByPass -File build/build.ps1 -Script '+env.WORKSPACE+"/build/build.cake -Target build -NugetServerUrl "+env.nugetserverurl
|
||||
}
|
||||
def files = findFiles(glob: '**/cireports/errorlogs/*.txt')
|
||||
|
||||
if(files.size() > 0)
|
||||
{
|
||||
currentBuild.result = 'FAILURE'
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
currentBuild.result = 'FAILURE'
|
||||
}
|
||||
}
|
||||
if(currentBuild.result != 'FAILURE')
|
||||
{
|
||||
stage 'Code violation'
|
||||
try
|
||||
{
|
||||
gitlabCommitStatus("Code violation")
|
||||
{
|
||||
bat 'powershell.exe -ExecutionPolicy ByPass -File build/build.ps1 -Script '+env.WORKSPACE+"/build/build.cake -Target codeviolation"
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
currentBuild.result = 'FAILURE'
|
||||
}
|
||||
}
|
||||
|
||||
if(currentBuild.result != 'FAILURE')
|
||||
{
|
||||
stage 'Test'
|
||||
try
|
||||
{
|
||||
gitlabCommitStatus("Test")
|
||||
{
|
||||
bat 'powershell.exe -ExecutionPolicy ByPass -File build/build.ps1 -Script '+env.WORKSPACE+"/build/build.cake -Target test"
|
||||
}
|
||||
}
|
||||
catch(Exception e)
|
||||
{
|
||||
currentBuild.result = 'FAILURE'
|
||||
}
|
||||
}
|
||||
|
||||
stage 'Delete Workspace'
|
||||
|
||||
// Archiving artifacts when the folder was not empty
|
||||
|
||||
def files = findFiles(glob: '**/cireports/**/*.*')
|
||||
|
||||
if(files.size() > 0)
|
||||
{
|
||||
archiveArtifacts artifacts: 'cireports/', excludes: null
|
||||
}
|
||||
|
||||
step([$class: 'WsCleanup']) }
|
||||
}}
|
59
KEYS
59
KEYS
|
@ -971,3 +971,62 @@ rIweBoDK7maio9YZPLHo1EvnzPfCC53e/u/BSmlaRXFqdj/Zo8Tm2Cg6C3CGz7R7
|
|||
P7qGxBxqZV2gSuQbbUUx
|
||||
=JS1c
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
||||
pub 4096R/D4FD5C81 2017-04-29
|
||||
uid Jeff Storck (CODE SIGNING KEY) <jstorck@apache.org>
|
||||
sig 3 D4FD5C81 2017-04-29 Jeff Storck (CODE SIGNING KEY) <jstorck@apache.org>
|
||||
sub 4096R/ECA06110 2017-04-29
|
||||
sig D4FD5C81 2017-04-29 Jeff Storck (CODE SIGNING KEY) <jstorck@apache.org>
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v1
|
||||
|
||||
mQINBFkEws0BEADsMP22Ve2NxBgQd3oOBc2CU+ubuMD3amCYTjJxiF2qjFqjbURr
|
||||
bpHvy4GCDsQovEf4Qy6m9DE3HlA4bHGGm1Q1US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dN6HmgwblQ2XHKFOEkor42oxU/+VCSGBK9Pggm27LHa+J22DGZxrb3/Y2nat5A
|
||||
ye/auFUXqPch4P332JY/sPc3IM1xP7brQDniSyEGDqa2BEkfs0dTuksgaFZLEgrv
|
||||
unwqVp7PpxKX0MBzsBMpSEMfMPp3dOrmC3pyC2lsakofccOgC/dVEnQ1ABEBAAGJ
|
||||
Ah8EGAECAAkFAlkEws0CGwwACgkQT5IZCdT9XIEqjg/+KsIuXTLF3zuZSgkXn1hA
|
||||
V+NESaqAa/l/AOqUH1FEZaOTPcsf74cB3IQ0e+MaQQw7fdlgZB+YSA5FsOklgmIL
|
||||
dtorRtM+G58AfkIH4Ki7GED4sBClkKZISIjVvp0KCWRV9Dm6D4kmYsvQ3ZRWwqV0
|
||||
seeB2q0LdKKZLpjWS2470iw5dmksY4WM6mh/VzEu5TzRWe1E3spgBXlsYw8og8Jg
|
||||
AOlKyDtOPAVcY14OZ1i/1Hymi7q3HG74fpFDNltzQrCYv82vLOezaLUlsCtdM/jb
|
||||
re6um4MOE6D5UuumTJjbmwD/wI3qkVDb6LOwZm0zPEZIB2k123zIfXm/2M6wC+so
|
||||
09lclpO4SjymDRGNz3pzV5dPAi4G2YkE+FhxDV2EiYRyJ9TNyuJ3BANSde6igBe9
|
||||
fKwejWdjYk/VoynfadYzSxOseDGwMRURDRGLBXEeZYOhxTC8dY9mSYJlAS6ypNrx
|
||||
xwlmgVWAPT4Ki0vvhzIBg9IuQNKCkI4iZNp0UkatKmsXE097+h3a1MpQCttlI0uk
|
||||
XCsCLv/ud31JVapC7Dkpf7bmG9nQO2l0lXHFFU9XNQN+/z6GznkkPHrYH1DMBsW8
|
||||
MAz7jbvJTmJTIdK44YwM4Jlf1sF78g2/d7qR26J2gdLR0g+4/NQAGm10/gp3f4T9
|
||||
4taj7A42WINP+WXHxSBckxg=
|
||||
=CESH
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
||||
|
|
59
NOTICE
59
NOTICE
|
@ -4,26 +4,49 @@ Copyright 2014-2017 The Apache Software Foundation
|
|||
This product includes software developed at
|
||||
The Apache Software Foundation (http://www.apache.org/).
|
||||
|
||||
This product includes the following work from the Apache Hadoop project:
|
||||
|
||||
BoundedByteArrayOutputStream.java adapted to SoftLimitBoundedByteArrayOutputStream.java
|
||||
|
||||
This includes derived works from the Apache Software License V2 library python-evtx (https://github.com/williballenthin/python-evtx)
|
||||
Copyright 2012, 2013 Willi Ballenthin william.ballenthin@mandiant.com
|
||||
while at Mandiant http://www.mandiant.com
|
||||
The derived work is adapted from Evtx/Evtx.py, Evtx/BinaryParser.py, Evtx/Nodes.py, Evtx/Views.py and can be found in the org.apache.nifi.processors.evtx.parser package.
|
||||
|
||||
This product includes the following work from the Apache Hadoop project under Apache Software License V2:
|
||||
BoundedByteArrayOutputStream.java adapted to SoftLimitBoundedByteArrayOutputStream.java
|
||||
|
||||
This product includes derived works from the Apache Software License V2 library python-evtx (https://github.com/williballenthin/python-evtx)
|
||||
Copyright 2012, 2013 Willi Ballenthin william.ballenthin@mandiant.com
|
||||
while at Mandiant http://www.mandiant.com
|
||||
The derived work is adapted from Evtx/Evtx.py, Evtx/BinaryParser.py, Evtx/Nodes.py, Evtx/Views.py
|
||||
and can be found in the org.apache.nifi.processors.evtx.parser package.
|
||||
|
||||
This includes derived works from the Apache Storm (ASLv2 licensed) project (https://github.com/apache/storm):
|
||||
Copyright 2015 The Apache Software Foundation
|
||||
The derived work is adapted from
|
||||
org/apache/storm/hive/common/HiveWriter.java
|
||||
org/apache/storm/hive/common/HiveOptions.java
|
||||
and can be found in the org.apache.nifi.util.hive package
|
||||
Copyright 2015 The Apache Software Foundation
|
||||
The derived work is adapted from
|
||||
org/apache/storm/hive/common/HiveWriter.java
|
||||
org/apache/storm/hive/common/HiveOptions.java
|
||||
and can be found in the org.apache.nifi.util.hive package
|
||||
|
||||
This includes derived works from the Apache Hive (ASLv2 licensed) project (https://github.com/apache/hive):
|
||||
Copyright 2008-2016 The Apache Software Foundation
|
||||
The derived work is adapted from
|
||||
release-1.2.1/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java
|
||||
and can be found in the org.apache.hadoop.hive.ql.io.orc package
|
||||
Copyright 2008-2016 The Apache Software Foundation
|
||||
The derived work is adapted from
|
||||
release-1.2.1/ql/src/java/org/apache/hadoop/hive/ql/io/orc/WriterImpl.java
|
||||
and can be found in the org.apache.hadoop.hive.ql.io.orc package
|
||||
|
||||
This includes derived works from the Apache Software License V2 library Jolt (https://github.com/bazaarvoice/jolt)
|
||||
Copyright 2013-2014 Bazaarvoice, Inc
|
||||
The derived work is adapted from com.bazaarvoice.jolt.chainr.ChainrBuilder.java, com.bazaarvoice.jolt.chainr.spec.ChainrSpec.java,
|
||||
com.bazaarvoice.jolt.chainr.spec.ChainrEntry.java and can be found in the org.apache.nifi.processors.standard.util.jolt.TransformFactory.java class.
|
||||
|
||||
This includes derived works from Elastic Logstash (https://github.com/elastic/logstash/tree/v1.4.0/) and modified by Anthony Corbacho, and contributors
|
||||
available under an Apache Software License V2.
|
||||
Copyright 2009-2013 Jordan Sissel, Pete Fritchman, and contributors.
|
||||
Copyright 2014 Anthony Corbacho, and contributors.
|
||||
The derived work consists in modifications from patterns/grok-patterns
|
||||
and can be found in the file nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/resources/TestExtractGrok/patterns
|
||||
|
||||
This includes derived works from Maxmind GeoIP2 Java available under Apache Software License V2. Portions of test code found in
|
||||
https://github.com/maxmind/GeoIP2-java/blob/v2.2.0/src/test/java/com/maxmind/geoip2/TestTransport.java
|
||||
Copyright (c) 2013 by MaxMind, Inc.
|
||||
Are used in unit tests found in nifi/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/test/java/org/apache/nifi/processors/TestGeoEnrichIP.java
|
||||
|
||||
This includes derived works from Apache Calcite available under Apache Software License V2. Portions of code found in
|
||||
https://github.com/apache/calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvProjectTableScanRule.java
|
||||
and
|
||||
https://github.com/apache/calcite/blob/master/example/csv/src/main/java/org/apache/calcite/adapter/csv/CsvTableScan.java
|
||||
Copyright 2012-2017 The Apache Software Foundation
|
||||
The code can be found in nifi-nar-bundles/nifi-standard-nar/nifi-standard-processors/../FlowFileProjectTableScanRule
|
||||
and nifi-nar-bundles/nifi-standard-nar/nifi-standard-processors/../FlowFileTableScan
|
||||
|
|
33
README.md
33
README.md
|
@ -12,9 +12,11 @@
|
|||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
# Apache NiFi [![Build Status](https://travis-ci.org/apache/nifi.svg?branch=master)](https://travis-ci.org/apache/nifi)
|
||||
[<img src="https://nifi.apache.org/assets/images/apache-nifi-logo.svg" width="300" height="126" alt="Apache NiFi"/>][nifi]
|
||||
|
||||
[Apache NiFi](https://nifi.apache.org/) is an easy to use, powerful, and
|
||||
# [![Build Status](https://travis-ci.org/apache/nifi.svg?branch=master)](https://travis-ci.org/apache/nifi)
|
||||
|
||||
[Apache NiFi](https://nifi.apache.org/) is an easy to use, powerful, and
|
||||
reliable system to process and distribute data.
|
||||
|
||||
## Table of Contents
|
||||
|
@ -121,8 +123,8 @@ To run NiFi:
|
|||
## Getting Help
|
||||
If you have questions, you can reach out to our mailing list: dev@nifi.apache.org
|
||||
([archive](http://mail-archives.apache.org/mod_mbox/nifi-dev)).
|
||||
We're also often available in IRC: #nifi on
|
||||
[irc.freenode.net](http://webchat.freenode.net/?channels=#nifi).
|
||||
For more interactive conversations and chat, we're also often available in IRC: #nifi on
|
||||
[irc.freenode.net](http://webchat.freenode.net/?channels=#nifi) and in #NiFi on [ASF HipChat](https://www.hipchat.com/gzh2m5YML).
|
||||
|
||||
## Documentation
|
||||
|
||||
|
@ -147,30 +149,33 @@ limitations under the License.
|
|||
|
||||
## Export Control
|
||||
|
||||
This distribution includes cryptographic software. The country in which you
|
||||
This distribution includes cryptographic software. The country in which you
|
||||
currently reside may have restrictions on the import, possession, use, and/or
|
||||
re-export to another country, of encryption software. BEFORE using any
|
||||
encryption software, please check your country's laws, regulations and
|
||||
re-export to another country, of encryption software. BEFORE using any
|
||||
encryption software, please check your country's laws, regulations and
|
||||
policies concerning the import, possession, or use, and re-export of encryption
|
||||
software, to see if this is permitted. See <http://www.wassenaar.org/> for more
|
||||
information.
|
||||
|
||||
The U.S. Government Department of Commerce, Bureau of Industry and Security
|
||||
(BIS), has classified this software as Export Commodity Control Number (ECCN)
|
||||
5D002.C.1, which includes information security software using or performing
|
||||
The U.S. Government Department of Commerce, Bureau of Industry and Security
|
||||
(BIS), has classified this software as Export Commodity Control Number (ECCN)
|
||||
5D002.C.1, which includes information security software using or performing
|
||||
cryptographic functions with asymmetric algorithms. The form and manner of this
|
||||
Apache Software Foundation distribution makes it eligible for export under the
|
||||
Apache Software Foundation distribution makes it eligible for export under the
|
||||
License Exception ENC Technology Software Unrestricted (TSU) exception (see the
|
||||
BIS Export Administration Regulations, Section 740.13) for both object code and
|
||||
source code.
|
||||
|
||||
The following provides more details on the included cryptographic software:
|
||||
The following provides more details on the included cryptographic software:
|
||||
|
||||
Apache NiFi uses BouncyCastle, Jasypt, JCraft Inc., and the built-in
|
||||
Apache NiFi uses BouncyCastle, Jasypt, JCraft Inc., and the built-in
|
||||
java cryptography libraries for SSL, SSH, and the protection
|
||||
of sensitive configuration parameters. See
|
||||
of sensitive configuration parameters. See
|
||||
http://bouncycastle.org/about.html
|
||||
http://www.jasypt.org/faq.html
|
||||
http://jcraft.com/c-info.html
|
||||
http://www.oracle.com/us/products/export/export-regulations-345813.html
|
||||
for more details on each of these libraries cryptography features.
|
||||
|
||||
[nifi]: https://nifi.apache.org/
|
||||
[logo]: https://nifi.apache.org/assets/images/apache-nifi-logo.svg
|
||||
|
|
|
@ -0,0 +1,47 @@
|
|||
/*
|
||||
* 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.
|
||||
*/
|
||||
package org.apache.nifi.annotation.documentation;
|
||||
|
||||
import org.apache.nifi.components.ConfigurableComponent;
|
||||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Inherited;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
/**
|
||||
* Annotation that can be applied to a {@link org.apache.nifi.processor.Processor Processor},
|
||||
* {@link org.apache.nifi.controller.ControllerService ControllerService}, or
|
||||
* {@link org.apache.nifi.reporting.ReportingTask ReportingTask} in order to
|
||||
* warn about the deprecation of the component. The deprecation warning is informational only
|
||||
* and doesn't affect the processor run time behavior in any way
|
||||
*/
|
||||
@Documented
|
||||
@Target({ElementType.TYPE})
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Inherited
|
||||
|
||||
public @interface DeprecationNotice {
|
||||
Class<? extends ConfigurableComponent>[] alternatives() default {};
|
||||
|
||||
String[] classNames() default {};
|
||||
|
||||
String reason() default "";
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
/*
|
||||
* 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.
|
||||
*/
|
||||
package org.apache.nifi.context;
|
||||
|
||||
import org.apache.nifi.components.PropertyDescriptor;
|
||||
import org.apache.nifi.components.PropertyValue;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* A context for retrieving a PropertyValue from a PropertyDescriptor.
|
||||
*/
|
||||
public interface PropertyContext {
|
||||
|
||||
/**
|
||||
* Retrieves the current value set for the given descriptor, if a value is
|
||||
* set - else uses the descriptor to determine the appropriate default value
|
||||
*
|
||||
* @param descriptor to lookup the value of
|
||||
* @return the property value of the given descriptor
|
||||
*/
|
||||
PropertyValue getProperty(PropertyDescriptor descriptor);
|
||||
|
||||
|
||||
Map<String,String> getAllProperties();
|
||||
|
||||
}
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче