Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
4e685cc
First commit
conker84 Oct 26, 2016
acc4307
Added the graph footer to provide detailed data information
conker84 Oct 26, 2016
72f1203
Code clean
conker84 Oct 26, 2016
bd1b0f2
Changes:
conker84 Oct 29, 2016
251fba0
Added doc images
conker84 Oct 29, 2016
bf68eb6
doc fix
conker84 Oct 29, 2016
c8249b6
Removed Jackson Dependencies
conker84 Nov 1, 2016
d599777
reactivate "goog-webfont-dl" task
conker84 Nov 1, 2016
9aefddf
Added tests and changed network icon
conker84 Nov 2, 2016
793f729
Bugfixes
conker84 Nov 2, 2016
96853e1
Updated the navigation menu
conker84 Nov 3, 2016
f68ab8e
updated the zeppelin-site-xml.template file
conker84 Nov 3, 2016
6e92dbb
Update to LICENSE file
conker84 Nov 3, 2016
d57133d
Update to LICENSE file
conker84 Nov 3, 2016
964404b
Added tag to sigma.js in bower.json
conker84 Nov 3, 2016
39d0fa2
Updated the code to manage simple graphs.
conker84 Nov 4, 2016
956a537
Changes:
conker84 Nov 8, 2016
c5b57f7
Rebase 1
conker84 Nov 15, 2016
96d79a5
Added the graph footer to provide detailed data information
conker84 Oct 26, 2016
4a6e690
Code clean
conker84 Oct 26, 2016
14fddac
Rebase 2
conker84 Nov 15, 2016
00acf1e
Added doc images
conker84 Oct 29, 2016
59a85f8
doc fix
conker84 Oct 29, 2016
62ed113
Removed Jackson Dependencies
conker84 Nov 1, 2016
144224d
reactivate "goog-webfont-dl" task
conker84 Nov 1, 2016
44c924d
Added tests and changed network icon
conker84 Nov 2, 2016
3221fa5
Bugfixes
conker84 Nov 2, 2016
a86ed54
Updated the navigation menu
conker84 Nov 3, 2016
b2aaa1c
Rebase 3
conker84 Nov 15, 2016
cbd6e64
Rebase 3
conker84 Nov 15, 2016
5e4cf76
Rebase 4
conker84 Nov 15, 2016
bfe2f89
Updated the code to manage simple graphs.
conker84 Nov 4, 2016
0ea90d9
Rebase 5
conker84 Nov 15, 2016
837822e
Rebase
conker84 Nov 15, 2016
3345891
Code adapted after rebase
conker84 Nov 18, 2016
c80c6ba
Added tests
conker84 Nov 18, 2016
04347db
Merge remote-tracking branch 'home/master'
conker84 Nov 18, 2016
a35b1dc
Fix
conker84 Nov 18, 2016
d8134a6
Merge remote-tracking branch 'origin/master'
conker84 Nov 18, 2016
79a633a
Code fix
conker84 Nov 18, 2016
e41ab79
Bugfixes and code improvements
conker84 Nov 19, 2016
f0bb882
Improved intepreter graph api and fixed bugs
conker84 Nov 19, 2016
1ce44d2
Fixed ZEPPELIN_INTERPRETERS property
conker84 Nov 20, 2016
64ccd69
Fixed LICENSE file
conker84 Nov 20, 2016
c591800
Fixes on simple graph visualization
conker84 Nov 20, 2016
75088c9
Fixed LICENSE file
conker84 Nov 21, 2016
a8ccfd5
Added tests
conker84 Nov 18, 2016
924be0f
Merge branch 'master' of https://github.com/conker84/zeppelin.git
conker84 Nov 25, 2016
e921979
Rebase
conker84 Nov 26, 2016
f728d68
Merge branch 'master' of https://github.com/conker84/zeppelin.git
conker84 Nov 26, 2016
2574a02
Fixes
conker84 Nov 27, 2016
c2e647e
Fixes on tests
conker84 Nov 27, 2016
59b397e
Fixed indentation
conker84 Nov 27, 2016
ae35a76
First commit
conker84 Oct 26, 2016
a773e7b
Changes:
conker84 Oct 29, 2016
c0e5391
Added doc images
conker84 Oct 29, 2016
a99908e
doc fix
conker84 Oct 29, 2016
af4aea1
Removed Jackson Dependencies
conker84 Nov 1, 2016
1565303
Bugfixes
conker84 Nov 2, 2016
7c8da73
Updated the navigation menu
conker84 Nov 3, 2016
3728806
updated the zeppelin-site-xml.template file
conker84 Nov 3, 2016
a6547aa
Update to LICENSE file
conker84 Nov 3, 2016
82629e4
Added tag to sigma.js in bower.json
conker84 Nov 3, 2016
b6ef13d
Updated the code to manage simple graphs.
conker84 Nov 4, 2016
00e900e
Changes:
conker84 Nov 8, 2016
fcd2cef
Rebase 1
conker84 Nov 15, 2016
d70d893
Added the graph footer to provide detailed data information
conker84 Oct 26, 2016
e42a3c1
Rebase 2
conker84 Nov 15, 2016
0cc4f1e
Added doc images
conker84 Oct 29, 2016
7298667
doc fix
conker84 Oct 29, 2016
4bc02a3
Removed Jackson Dependencies
conker84 Nov 1, 2016
838d95a
Bugfixes
conker84 Nov 2, 2016
dacf33c
Rebase 3
conker84 Nov 15, 2016
b25bd54
Rebase 4
conker84 Nov 15, 2016
a04b8cb
Updated the code to manage simple graphs.
conker84 Nov 4, 2016
6876cf2
Rebase 5
conker84 Nov 15, 2016
54d5461
Rebase
conker84 Nov 15, 2016
95eb486
Code adapted after rebase
conker84 Nov 18, 2016
830d79c
Added tests
conker84 Nov 18, 2016
0b4d17f
Code fix
conker84 Nov 18, 2016
bfcad46
Bugfixes and code improvements
conker84 Nov 19, 2016
de768e7
Improved intepreter graph api and fixed bugs
conker84 Nov 19, 2016
bf0ba70
Fixed LICENSE file
conker84 Nov 20, 2016
eee12c7
Fixes on simple graph visualization
conker84 Nov 20, 2016
22b782b
Fixed LICENSE file
conker84 Nov 21, 2016
090c544
Added tests
conker84 Nov 18, 2016
f18cdd7
Fixes
conker84 Nov 27, 2016
a45eab1
Fixes on tests
conker84 Nov 27, 2016
c771de8
Fixed indentation
conker84 Nov 27, 2016
ea28b42
Merge branch 'master' of https://github.com/apache/zeppelin
conker84 Jan 6, 2017
000e662
Merge branch 'master' of https://github.com/conker84/zeppelin.git
conker84 Jan 6, 2017
3a428b7
Added notebook that shows the new features
conker84 Jan 6, 2017
d779093
Merge branch 'master' of https://github.com/apache/zeppelin
conker84 Jan 6, 2017
6123c05
Merge branch 'master' of https://github.com/conker84/zeppelin.git
conker84 Jan 6, 2017
d38c18e
Added notebook that shows the new features
conker84 Jan 6, 2017
ad6b9d5
Removed Dataset dirs
conker84 Jan 10, 2017
457391b
Merged after rebase
conker84 Jan 11, 2017
6a6b85e
Merge branch 'master' of https://github.com/conker84/zeppelin.git
conker84 Jan 11, 2017
b08f7c3
# This is a combination of 4 commits.
conker84 Jan 14, 2017
afc19c8
Second step in rebase from apache repo
conker84 Jan 14, 2017
0d792e1
Merge branch 'master' of https://github.com/conker84/zeppelin.git
conker84 Jan 16, 2017
d2b0839
Merge commit '5eeebeb0aaefa87ddcd6a06ff121ff2824d5d937' into HEAD
conker84 Jan 20, 2017
471cd91
Rebase from v 0.8.0
conker84 Jan 20, 2017
1da6c91
Rebase from v 0.8
conker84 Jan 20, 2017
c45f9c0
Fixes
conker84 Jan 20, 2017
e576f21
Added neo4j/graph notebook example
conker84 Jan 21, 2017
82d02be
Merge commit '5eeebeb0aaefa87ddcd6a06ff121ff2824d5d937' into HEAD
conker84 Jan 20, 2017
e9b50de
Merge commit 'af3caf00af1c6707928b1ba5b0aa783e220f57d6' into HEAD
conker84 Feb 7, 2017
934b15a
Merge branch 'master' of https://github.com/conker84/zeppelin
conker84 Feb 7, 2017
f614d10
Reverted Mahout note.json
conker84 Feb 17, 2017
b5d702b
Reverted Mahout note.json
conker84 Feb 17, 2017
553aa0f
Fixed text
conker84 Feb 17, 2017
1259ffb
Change after review
conker84 Feb 17, 2017
f290036
Merge
conker84 Feb 17, 2017
9273fcd
...
conker84 Feb 18, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion conf/zeppelin-site.xml.template
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@

<property>
<name>zeppelin.interpreters</name>
<value>org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.rinterpreter.RRepl,org.apache.zeppelin.rinterpreter.KnitR,org.apache.zeppelin.spark.SparkRInterpreter,org.apache.zeppelin.spark.SparkSqlInterpreter,org.apache.zeppelin.spark.DepInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.angular.AngularInterpreter,org.apache.zeppelin.shell.ShellInterpreter,org.apache.zeppelin.file.HDFSFileInterpreter,org.apache.zeppelin.flink.FlinkInterpreter,,org.apache.zeppelin.python.PythonInterpreter,org.apache.zeppelin.python.PythonInterpreterPandasSql,org.apache.zeppelin.python.PythonCondaInterpreter,org.apache.zeppelin.python.PythonDockerInterpreter,org.apache.zeppelin.lens.LensInterpreter,org.apache.zeppelin.ignite.IgniteInterpreter,org.apache.zeppelin.ignite.IgniteSqlInterpreter,org.apache.zeppelin.cassandra.CassandraInterpreter,org.apache.zeppelin.geode.GeodeOqlInterpreter,org.apache.zeppelin.jdbc.JDBCInterpreter,org.apache.zeppelin.kylin.KylinInterpreter,org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter,org.apache.zeppelin.scalding.ScaldingInterpreter,org.apache.zeppelin.alluxio.AlluxioInterpreter,org.apache.zeppelin.hbase.HbaseInterpreter,org.apache.zeppelin.livy.LivySparkInterpreter,org.apache.zeppelin.livy.LivyPySparkInterpreter,org.apache.zeppelin.livy.LivyPySpark3Interpreter,org.apache.zeppelin.livy.LivySparkRInterpreter,org.apache.zeppelin.livy.LivySparkSQLInterpreter,org.apache.zeppelin.bigquery.BigQueryInterpreter,org.apache.zeppelin.beam.BeamInterpreter,org.apache.zeppelin.pig.PigInterpreter,org.apache.zeppelin.pig.PigQueryInterpreter,org.apache.zeppelin.scio.ScioInterpreter</value>
<value>org.apache.zeppelin.spark.SparkInterpreter,org.apache.zeppelin.spark.PySparkInterpreter,org.apache.zeppelin.rinterpreter.RRepl,org.apache.zeppelin.rinterpreter.KnitR,org.apache.zeppelin.spark.SparkRInterpreter,org.apache.zeppelin.spark.SparkSqlInterpreter,org.apache.zeppelin.spark.DepInterpreter,org.apache.zeppelin.markdown.Markdown,org.apache.zeppelin.angular.AngularInterpreter,org.apache.zeppelin.shell.ShellInterpreter,org.apache.zeppelin.file.HDFSFileInterpreter,org.apache.zeppelin.flink.FlinkInterpreter,,org.apache.zeppelin.python.PythonInterpreter,org.apache.zeppelin.python.PythonInterpreterPandasSql,org.apache.zeppelin.python.PythonCondaInterpreter,org.apache.zeppelin.python.PythonDockerInterpreter,org.apache.zeppelin.lens.LensInterpreter,org.apache.zeppelin.ignite.IgniteInterpreter,org.apache.zeppelin.ignite.IgniteSqlInterpreter,org.apache.zeppelin.cassandra.CassandraInterpreter,org.apache.zeppelin.geode.GeodeOqlInterpreter,org.apache.zeppelin.jdbc.JDBCInterpreter,org.apache.zeppelin.kylin.KylinInterpreter,org.apache.zeppelin.elasticsearch.ElasticsearchInterpreter,org.apache.zeppelin.scalding.ScaldingInterpreter,org.apache.zeppelin.alluxio.AlluxioInterpreter,org.apache.zeppelin.hbase.HbaseInterpreter,org.apache.zeppelin.livy.LivySparkInterpreter,org.apache.zeppelin.livy.LivyPySparkInterpreter,org.apache.zeppelin.livy.LivyPySpark3Interpreter,org.apache.zeppelin.livy.LivySparkRInterpreter,org.apache.zeppelin.livy.LivySparkSQLInterpreter,org.apache.zeppelin.bigquery.BigQueryInterpreter,org.apache.zeppelin.beam.BeamInterpreter,org.apache.zeppelin.pig.PigInterpreter,org.apache.zeppelin.pig.PigQueryInterpreter,org.apache.zeppelin.scio.ScioInterpreter,org.apache.zeppelin.graph.neo4j.Neo4jCypherInterpreter</value>
<description>Comma separated interpreter configurations. First interpreter become a default</description>
</property>

Expand Down Expand Up @@ -319,3 +319,4 @@
</property>

</configuration>

1 change: 1 addition & 0 deletions docs/_includes/themes/zeppelin/_navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
<li><a href="{{BASE_PATH}}/interpreter/lens.html">Lens</a></li>
<li><a href="{{BASE_PATH}}/interpreter/livy.html">Livy</a></li>
<li><a href="{{BASE_PATH}}/interpreter/markdown.html">Markdown</a></li>
<li><a href="{{BASE_PATH}}/interpreter/neo4j.html">Neo4j</a></li>
<li><a href="{{BASE_PATH}}/interpreter/pig.html">Pig</a></li>
<li><a href="{{BASE_PATH}}/interpreter/python.html">Python</a></li>
<li><a href="{{BASE_PATH}}/interpreter/postgresql.html">Postgresql, HAWQ</a></li>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions docs/displaysystem/basicdisplaysystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,98 @@ If table contents start with `%html`, it is interpreted as an HTML.

<img src="../assets/themes/zeppelin/img/screenshots/display_table_html.png" />

## Network

Zeppelin can render a network following this sample json structure:

```json
{"nodes" : [{"id" : 1}, {"id" : 2}], "edges" : [{"source" : 2, "target" : 1, "id" : 1 }]}
```

You can leverage this visualization by using the `%network` directive

<img src="/assets/themes/zeppelin/img/screenshots/display_network.png" />

<img src="/assets/themes/zeppelin/img/screenshots/display_network1.png" />

The network visualization can also leverage the Property Graph with a json structure like this:

```json
{
"nodes": [
{
"id": 1,
"label": "User",
"data": {"fullname": "Andrea Santurbano"}
},
{
"id": 2,
"label": "User",
"data": {"fullname": "Moon soo Lee"}
}
],
"edges": [
{
"source": 2,
"target": 1,
"id": 1,
"label": "HELPS",
"data": {
"project" : "Zeppelin",
"githubUrl": "https://github.com/apache/zeppelin/pull/1582"
}
}
]
}
```

<img src="/assets/themes/zeppelin/img/screenshots/display_network2.png" />

## Network

Zeppelin can render a network following this sample json structure:

```json
{"nodes" : [{"id" : 1}, {"id" : 2}], "edges" : [{"source" : 2, "target" : 1, "id" : 1 }]}
```

You can leverage this visualization by using the `%network` directive

<img src="/assets/themes/zeppelin/img/screenshots/display_network.png" />

<img src="/assets/themes/zeppelin/img/screenshots/display_network1.png" />

The network visualization can also leverage the Property Graph with a json structure like this:

```json
{
"nodes": [
{
"id": 1,
"label": "User",
"data": {"fullname": "Andrea Santurbano"}
},
{
"id": 2,
"label": "User",
"data": {"fullname": "Moon soo Lee"}
}
],
"edges": [
{
"source": 2,
"target": 1,
"id": 1,
"label": "HELPS",
"data": {
"project" : "Zeppelin",
"githubUrl": "https://github.com/apache/zeppelin/pull/1582"
}
}
]
}
```

<img src="/assets/themes/zeppelin/img/screenshots/display_network2.png" />

> **Note :** Display system is backend independent.
108 changes: 108 additions & 0 deletions docs/interpreter/neo4j.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
---
layout: page
title: "Neo4j Interpreter for Apache Zeppelin"
description: "Neo4j is a highly scalable, native graph database purpose-built to leverage not only data but also its relationships."
group: interpreter
---
<!--
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

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.
-->
{% include JB/setup %}

# Neo4j Interpreter for Apache Zeppelin

<div id="toc"></div>

## Overview
[Neo4j](https://neo4j.com/) is a highly scalable, native graph database purpose-built to leverage not only data but also its relationships.
Neo4j's native graph storage and processing engine deliver constant, real-time performance, helping enterprises build intelligent applications to meet today’s evolving data challenges.

<table class="table-configuration">
<tr>
<th>Name</th>
<th>Class</th>
<th>Description</th>
</tr>
<tr>
<td>%neo4j</td>
<td>Neo4jCypherInterpreter</td>
<td>Enable the Neo4j intepreter</td>
</tr>
</table>

## Configuration
The Neo4j interpreter can be configured with properties provided by Zeppelin.
<table class="table-configuration">
<tr>
<th>Property</th>
<th>Default</th>
<th>Description</th>
</tr>
<tr>
<td>neo4j.url</td>
<td>bolt://localhost:7687</td>
<td>The Neo4j's BOLT url.</td>
</tr>
<tr>
<td>neo4j.user</td>
<td>neo4j</td>
<td>The Neo4j user name.</td>
</tr>
<tr>
<td>neo4j.password</td>
<td>neo4j</td>
<td>The Neo4j user password.</td>
</tr>
<tr>
<td>neo4j.max.concurrency</td>
<td>50</td>
<td>Max concurrency call to Neo4j server.</td>
</tr>
</table>

## Enabling the Neo4j Interpreter
In a notebook, to enable the **Neo4j** interpreter, click the **Gear** icon and select **neo4j**.

## Using the Neo4j Interpreter
In a paragraph, use `%neo4j` to select the Neo4j interpreter and then write your cypher query.

```cypher
MATCH (u:User)-[p:POSTS]->(t:Tweet) RETURN u, p, t;
```

The default visualization show the query result as a table. In the tabular result if nodes and relationships are return from the query, they will show together as rows
![Simple cypher query tabular visualization](../assets/themes/zeppelin/img/docs-img/neo4j-tabular-result.png)

If the query result has almost a node the **Network** button will be enabled so you can switch to the graph visualization
![Network button on chart bar](../assets/themes/zeppelin/img/docs-img/zeppelin-switch-chart-network.png)

![Simple cypher query network visualization](../assets/themes/zeppelin/img/docs-img/neo4j-network-result.png)

You can still use the other visualization charts provided by zeppelin
![Simple cypher query Chart visualization](../assets/themes/zeppelin/img/docs-img/neo4j-chart-result.png)

Leveraging the **settings** button you can customize your graph visualization, a list of nodes will be displayed and by click on each one you can set the property which will be used as node label.
![Simple cypher query network visualization](../assets/themes/zeppelin/img/docs-img/zeppelin-network-display-customization.png)

### Apply Zeppelin Dynamic Forms
You can leverage [Zeppelin Dynamic Form](../manual/dynamicform.html) inside your queries. You can use both the `text input` and `select form` parameterization features.

```cypher
match (n:User{screen_name: '${user_name}'})-[r]-(m:Tweet) return n, r, m limit 10
```
![Example of query with text input](../assets/themes/zeppelin/img/docs-img/neo4j-zeppelin-form-text-input.png)

```cypher
match (n:User{screen_name: '${user_name=santand84,santand84|individue|maurofer79}'})-[r]-(m:Tweet) return n, r, m limit 10
```
![Example of query with select box](../assets/themes/zeppelin/img/docs-img/neo4j-zeppelin-form-select.png)
137 changes: 137 additions & 0 deletions neo4j/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ 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.
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<artifactId>zeppelin</artifactId>
<groupId>org.apache.zeppelin</groupId>
<version>0.8.0-SNAPSHOT</version>
<relativePath>..</relativePath>
</parent>

<groupId>org.apache.zeppelin</groupId>
<artifactId>zeppelin-neo4j</artifactId>
<packaging>jar</packaging>
<version>0.8.0-SNAPSHOT</version>
<name>Zeppelin: Neo4j interpreter</name>

<properties>
<neo4j.driver.version>1.0.4</neo4j.driver.version>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps update to 1.2.0

<test.neo4j.kernel.version>3.0.4</test.neo4j.kernel.version>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

update to 3.1.2

<neo4j.version>3.0.4</neo4j.version>
</properties>

<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>zeppelin-interpreter</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.neo4j.driver</groupId>
<artifactId>neo4j-java-driver</artifactId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are the license for these? could you add to the LICENSE file?

Copy link
Contributor Author

@conker84 conker84 Nov 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@felixcheung this dependency has Apache 2 license.
There is another one

<dependency>
  <groupId>org.neo4j.test</groupId>
  <artifactId>neo4j-harness</artifactId>
  <version>${neo4j.version}</version>
  <scope>test</scope>
</dependency>

which is listed both AGPL 3.0 and GPL 3.0, which of two have i to include in LICENSE file?

Another question, also must i include the license for sigma.js right?
Thanks for the support.

Copy link
Member

@Leemoonsoo Leemoonsoo Nov 3, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While org.neo4j.test:neo4j-harness is 'test' scope and will not bundled into the binary package, we don't need include it in zeppelin-distribution/src/bin_license/LICENSE file.

Right, sigma.js is going to be bundled in binary package and we need to include it in zeppelin-distribution/src/bin_license/LICENSE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

<version>${neo4j.driver.version}</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</dependency>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.neo4j.test</groupId>
<artifactId>neo4j-harness</artifactId>
<version>${neo4j.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.3.1</version>
<executions>
<execution>
<id>enforce</id>
<phase>none</phase>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.8</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/../../interpreter/neo4j</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<includeScope>runtime</includeScope>
</configuration>
</execution>
<execution>
<id>copy-artifact</id>
<phase>package</phase>
<goals>
<goal>copy</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/../../interpreter/neo4j</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<includeScope>runtime</includeScope>
<artifactItems>
<artifactItem>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>${project.packaging}</type>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>

</project>
Loading