Skip to content

Commit 364efa9

Browse files
scottyaslanmcgilman
authored andcommitted
[NIFI-3501] Upgrade D3 to 3.5.17 and allow npm to pull it down at build time. This closes apache#1519
1 parent 5df6622 commit 364efa9

File tree

12 files changed

+12
-69
lines changed

12 files changed

+12
-69
lines changed

LICENSE

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -231,36 +231,6 @@ The source is available under an MIT LICENSE.
231231
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
232232
THE SOFTWARE.
233233

234-
This product bundles 'Javascript D3 Library' which is available under a
235-
"3-clause BSD" license.
236-
237-
Copyright (c) 2010-2014, Michael Bostock
238-
All rights reserved.
239-
240-
Redistribution and use in source and binary forms, with or without
241-
modification, are permitted provided that the following conditions are met:
242-
243-
* Redistributions of source code must retain the above copyright notice, this
244-
list of conditions and the following disclaimer.
245-
246-
* Redistributions in binary form must reproduce the above copyright notice,
247-
this list of conditions and the following disclaimer in the documentation
248-
and/or other materials provided with the distribution.
249-
250-
* The name Michael Bostock may not be used to endorse or promote products
251-
derived from this software without specific prior written permission.
252-
253-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
254-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
255-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
256-
DISCLAIMED. IN NO EVENT SHALL MICHAEL BOSTOCK BE LIABLE FOR ANY DIRECT,
257-
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
258-
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
259-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
260-
OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
261-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
262-
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
263-
264234
This product bundles 'CodeMirror' which is available under an MIT style license.
265235

266236
Copyright (C) 2014 by Marijn Haverbeke <[email protected]> and others

nifi-assembly/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ The source is available under an MIT LICENSE.
234234
This product bundles 'Javascript D3 Library' which is available under a
235235
"3-clause BSD" license.
236236

237-
Copyright (c) 2010-2014, Michael Bostock
237+
Copyright (c) 2010-2016, Michael Bostock
238238
All rights reserved.
239239

240240
Redistribution and use in source and binary forms, with or without

nifi-nar-bundles/nifi-framework-bundle/nifi-framework-nar/src/main/resources/META-INF/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ licenses.
263263
This product bundles 'Javascript D3 Library' which is available under a
264264
"3-clause BSD" license.
265265

266-
Copyright (c) 2010-2014, Michael Bostock
266+
Copyright (c) 2010-2016, Michael Bostock
267267
All rights reserved.
268268

269269
Redistribution and use in source and binary forms, with or without

nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/pom.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@
148148
<directory>${frontend.working.dir}/node_modules</directory>
149149
<filtering>false</filtering>
150150
<includes>
151+
<!-- D3 -->
152+
<include>d3/d3.min.js*</include>
153+
<include>d3/LICENSE</include>
151154
<!-- angular -->
152155
<include>angular/angular.min.js*</include>
153156
<include>angular/LICENSE.md</include>

nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/frontend/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"slickgrid": "2.3.3",
1414
"jsonlint": "1.6.2",
1515
"JSON2": "0.1.0",
16-
"reset.css": "2.0.2"
16+
"reset.css": "2.0.2",
17+
"d3": "3.5.17"
1718
},
1819
"description": "Apache NiFi 3rd party client side resources.",
1920
"repository": {

nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/resources/META-INF/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ licenses.
211211
This product bundles 'Javascript D3 Library' which is available under a
212212
"3-clause BSD" license.
213213

214-
Copyright (c) 2010-2014, Michael Bostock
214+
Copyright (c) 2010-2016, Michael Bostock
215215
All rights reserved.
216216

217217
Redistribution and use in source and binary forms, with or without

nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<link rel="stylesheet" href="assets/angular-material/angular-material.min.css" type="text/css" />
4242
<link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css" type="text/css" />
4343
<script type="text/javascript" src="js/codemirror/lib/codemirror-compressed.js"></script>
44-
<script type="text/javascript" src="js/d3/d3.min.js"></script>
44+
<script type="text/javascript" src="assets/d3/d3.min.js"></script>
4545
<script type="text/javascript" src="assets/jquery/dist/jquery.min.js"></script>
4646
<script type="text/javascript" src="assets/jquery-ui-dist/jquery-ui.min.js"></script>
4747
<script type="text/javascript" src="js/jquery/jquery.base64.js"></script>

nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/provenance.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<link rel="stylesheet" href="fonts/flowfont/flowfont.css" type="text/css" />
3434
<link rel="stylesheet" href="assets/angular-material/angular-material.min.css" type="text/css" />
3535
<link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css" type="text/css" />
36-
<script type="text/javascript" src="js/d3/d3.min.js"></script>
36+
<script type="text/javascript" src="assets/d3/d3.min.js"></script>
3737
<script type="text/javascript" src="assets/jquery/dist/jquery.min.js"></script>
3838
<script type="text/javascript" src="js/jquery/jquery.base64.js"></script>
3939
<script type="text/javascript" src="js/jquery/jquery.center.js"></script>

nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/summary.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<link rel="stylesheet" href="assets/angular-material/angular-material.min.css" type="text/css" />
4040
<link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css" type="text/css" />
4141
<script type="text/javascript" src="js/codemirror/lib/codemirror-compressed.js"></script>
42-
<script type="text/javascript" src="js/d3/d3.min.js"></script>
42+
<script type="text/javascript" src="assets/d3/d3.min.js"></script>
4343
<script type="text/javascript" src="assets/jquery/dist/jquery.min.js"></script>
4444
<script type="text/javascript" src="assets/jquery-ui-dist/jquery-ui.min.js"></script>
4545
<script type="text/javascript" src="js/jquery/jquery.base64.js"></script>

nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/users.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<link rel="stylesheet" href="css/slick-nifi-theme.css" type="text/css" />
3333
<link rel="stylesheet" href="fonts/flowfont/flowfont.css" type="text/css" />
3434
<link rel="stylesheet" href="assets/font-awesome/css/font-awesome.min.css" type="text/css" />
35-
<script type="text/javascript" src="js/d3/d3.min.js"></script>
35+
<script type="text/javascript" src="assets/d3/d3.min.js"></script>
3636
<script type="text/javascript" src="assets/jquery/dist/jquery.min.js"></script>
3737
<script type="text/javascript" src="assets/jquery-ui-dist/jquery-ui.min.js"></script>
3838
<script type="text/javascript" src="js/jquery/jquery.base64.js"></script>

0 commit comments

Comments
 (0)