fiftyone.pipeline.core 4.4.0 → 4.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aspectPropertyValue.js +4 -4
- package/basicListEvidenceKeyFilter.js +4 -4
- package/elementData.js +4 -4
- package/elementDataDictionary.js +4 -4
- package/errorMessages.js +4 -4
- package/evidence.js +4 -4
- package/evidenceKeyFilter.js +4 -4
- package/examples/customFlowElements/clientSideEvidenceFlowElement.js +4 -4
- package/examples/customFlowElements/simpleEvidenceFlowElement.js +4 -4
- package/examples/examples.test.js +4 -4
- package/examples/flowElementsForExamples/async.js +4 -4
- package/examples/flowElementsForExamples/neverRun.js +4 -4
- package/examples/flowElementsForExamples/stop.js +4 -4
- package/examples/flowElementsForExamples/sync.js +4 -4
- package/examples/pipelines.js +4 -4
- package/flowData.js +4 -4
- package/flowElement.js +4 -4
- package/helpers.js +4 -4
- package/index.js +4 -4
- package/javascriptbuilder.js +4 -4
- package/jsonbundler.js +4 -4
- package/package.json +1 -1
- package/pipeline.js +10 -5
- package/pipelineBuilder.js +10 -6
- package/readme.md +1 -1
- package/sequenceElement.js +4 -4
- package/setHeadersElement.js +4 -4
- package/tests/configTestFlowElement.js +4 -4
- package/tests/core.test.js +5 -5
- package/tests/coreTestSetup.js +4 -4
- package/tests/elementData.test.js +4 -4
- package/tests/evidence.test.js +4 -4
- package/tests/javascriptbuilder.test.js +4 -4
- package/tests/jsoutput.js +22 -0
- package/tests/logs-errors-and-stops.test.js +4 -4
- package/tests/setHeadersElement.test.js +4 -4
package/aspectPropertyValue.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/elementData.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/elementDataDictionary.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/errorMessages.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/evidence.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/evidenceKeyFilter.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/examples/pipelines.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/flowData.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/flowElement.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/helpers.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/javascriptbuilder.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/jsonbundler.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/package.json
CHANGED
package/pipeline.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -41,7 +41,7 @@ class Pipeline {
|
|
|
41
41
|
* @param {Boolean} suppressProcessExceptions If true then pipeline
|
|
42
42
|
* will suppress exceptions added to FlowData.
|
|
43
43
|
*/
|
|
44
|
-
constructor (flowElements = [], suppressProcessExceptions = false) {
|
|
44
|
+
constructor (flowElements = [], suppressProcessExceptions = false, dataFileUpdateService = null) {
|
|
45
45
|
const pipeline = this;
|
|
46
46
|
|
|
47
47
|
// The chain of flowElements to run, including arrays of parallel elements
|
|
@@ -56,6 +56,11 @@ class Pipeline {
|
|
|
56
56
|
// Flattened dictionary of flowElements the pipeline contains
|
|
57
57
|
this.flowElements = {};
|
|
58
58
|
|
|
59
|
+
if (dataFileUpdateService) {
|
|
60
|
+
this.dataFileUpdateService = dataFileUpdateService;
|
|
61
|
+
this.dataFileUpdateService.registerPipeline(this);
|
|
62
|
+
}
|
|
63
|
+
|
|
59
64
|
// Run through flowElements and store them by dataKey
|
|
60
65
|
// in the pipeline.flowElements object.
|
|
61
66
|
// Recursive function so it can handle parallel elements
|
package/pipelineBuilder.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -59,6 +59,10 @@ class PipelineBuilder {
|
|
|
59
59
|
*/
|
|
60
60
|
this.flowElements = [];
|
|
61
61
|
|
|
62
|
+
if (settings.dataFileUpdateService) {
|
|
63
|
+
this.dataFileUpdateService = settings.dataFileUpdateService;
|
|
64
|
+
}
|
|
65
|
+
|
|
62
66
|
if (typeof settings.addJavaScriptBuilder !== 'undefined') {
|
|
63
67
|
this.addJavaScriptBuilder = settings.addJavaScriptBuilder;
|
|
64
68
|
} else {
|
|
@@ -124,7 +128,7 @@ class PipelineBuilder {
|
|
|
124
128
|
|
|
125
129
|
flowElements = this.addRequiredElements(flowElements);
|
|
126
130
|
|
|
127
|
-
return new Pipeline(flowElements);
|
|
131
|
+
return new Pipeline(flowElements, false, this.dataFileUpdateService);
|
|
128
132
|
}
|
|
129
133
|
|
|
130
134
|
addRequiredElements(flowElements) {
|
|
@@ -221,7 +225,7 @@ class PipelineBuilder {
|
|
|
221
225
|
*/
|
|
222
226
|
build () {
|
|
223
227
|
this.flowElements = this.addRequiredElements(this.flowElements);
|
|
224
|
-
return new Pipeline(this.flowElements);
|
|
228
|
+
return new Pipeline(this.flowElements, false, this.dataFileUpdateService);
|
|
225
229
|
}
|
|
226
230
|
}
|
|
227
231
|
|
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
 **51Degrees Pipeline Core**
|
|
2
2
|
|
|
3
|
-
[Developer Documentation](https://51degrees.com/pipeline-node/
|
|
3
|
+
[Developer Documentation](https://51degrees.com/pipeline-node/index.html?utm_source=github&utm_medium=repository&utm_content=documentation&utm_campaign=node-open-source "developer documentation")
|
|
4
4
|
|
|
5
5
|
## Introduction
|
|
6
6
|
The 51Degrees Pipeline API is a generic web request intelligence and data processing solution with the ability to add a range of 51Degrees and/or custom plug ins (Engines)
|
package/sequenceElement.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/setHeadersElement.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/tests/core.test.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* If using the Work as, or as part of, a network application, by
|
|
18
18
|
* including the attribution notice(s) required under Article 5 of the EUPL
|
|
19
19
|
* in the end user terms of the application under an appropriate heading,
|
|
20
|
-
such notice(s) shall fulfill the requirements of that article.
|
|
20
|
+
* such notice(s) shall fulfill the requirements of that article.
|
|
21
21
|
* ********************************************************************* */
|
|
22
22
|
|
|
23
23
|
const util = require('util');
|
package/tests/coreTestSetup.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/tests/evidence.test.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
package/tests/jsoutput.js
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
/* *********************************************************************
|
|
2
|
+
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
|
+
*
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
|
+
*
|
|
9
|
+
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
|
+
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
11
|
+
*
|
|
12
|
+
* The 'Compatible Licences' set out in the Appendix to the EUPL (as may be
|
|
13
|
+
* amended by the European Commission) shall be deemed incompatible for
|
|
14
|
+
* the purposes of the Work and the provisions of the compatibility
|
|
15
|
+
* clause in Article 5 of the EUPL shall not apply.
|
|
16
|
+
*
|
|
17
|
+
* If using the Work as, or as part of, a network application, by
|
|
18
|
+
* including the attribution notice(s) required under Article 5 of the EUPL
|
|
19
|
+
* in the end user terms of the application under an appropriate heading,
|
|
20
|
+
* such notice(s) shall fulfill the requirements of that article.
|
|
21
|
+
* ********************************************************************* */
|
|
22
|
+
|
|
1
23
|
fiftyoneDegreesManager = function() {
|
|
2
24
|
'use-strict';
|
|
3
25
|
var json = {"nullValueReasons":{"testengine.four":"This property is not available"},"javascriptProperties":["testengine.three"],"testengine":{"one":1,"two":2,"three":"console.log('ok')","four":null}};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* *********************************************************************
|
|
2
2
|
* This Original Work is copyright of 51 Degrees Mobile Experts Limited.
|
|
3
|
-
* Copyright
|
|
4
|
-
*
|
|
3
|
+
* Copyright 2022 51 Degrees Mobile Experts Limited, Davidson House,
|
|
4
|
+
* Forbury Square, Reading, Berkshire, United Kingdom RG1 3EU.
|
|
5
5
|
*
|
|
6
|
-
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
-
* v.1.2 and is subject to its terms as set out below.
|
|
6
|
+
* This Original Work is licensed under the European Union Public Licence
|
|
7
|
+
* (EUPL) v.1.2 and is subject to its terms as set out below.
|
|
8
8
|
*
|
|
9
9
|
* If a copy of the EUPL was not distributed with this file, You can obtain
|
|
10
10
|
* one at https://opensource.org/licenses/EUPL-1.2.
|