zeppelin/angular/pom.xml

117 lines
3.9 KiB
XML
Raw Normal View History

ZEPPELIN-25 Ability to create rich gui inside of Notebook This PR implements https://issues.apache.org/jira/browse/ZEPPELIN-25 Here's a short video demo of this feature. [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/xU5TBS_MsAs/0.jpg)](http://www.youtube.com/watch?v=xU5TBS_MsAs) for someone who want to try, here's api ```scala // bind 'varName' variable with 'v' value z.angularBind(varName: String, v: Object) // unbind 'varName' z.angularUnbind(varName: String) // get value of 'varName' z.angular(varName:String) // add watcher to 'varName' variable. // that is monitoring change and run 'func' when it is changed. z.angularWatch(varName:String, func: (Object, Object) => Unit)) // remove watcher from 'varName' z.angularUnwatch(varName:String) ``` Any paragraph's output starting with '%angular' will be considered as angular code. %angular as a interpreter also available. ![image](https://cloud.githubusercontent.com/assets/1540981/7003457/a1e6fe2a-dc95-11e4-8272-380f11c6ae81.png) Any feedback is welcome! Author: Lee moon soo <moon@apache.org> Closes #27 from Leemoonsoo/angular and squashes the following commits: 04d7175 [Lee moon soo] Remove implicit conversion because of side effect 34fa298 [Lee moon soo] jquery to angular 8076098 [Lee moon soo] Remove unnecessary type information 88fd635 [Lee moon soo] catch and print watcher user provided routine exception 46dba2f [Lee moon soo] Catch sql syntax error 2ebfa59 [Lee moon soo] Let z.run optionally take InterpreterContext ee29866 [Lee moon soo] ZEPPELIN-32 implement z.show() dac416d [Lee moon soo] Implement z.run() 0899011 [Lee moon soo] Fix test 0033d32 [Lee moon soo] Add angular interpreter 42ee479 [Lee moon soo] com.nflabs -> org.apache 4d32d19 [Lee moon soo] ZEPPELIN-25 prevent watcher called multiple times d4d270e [Lee moon soo] ZEPPELIN-25 add unittest 6ce8f36 [Lee moon soo] ZEPPELIN-25 implement watcher 6df7f23 [Lee moon soo] ZEPPELIN-25 broadcast angular object change to related notes 5954e29 [Lee moon soo] ZEPPELIN-25 save/restore angular object registry snapshot to the notebook file c288198 [Lee moon soo] ZEPPELIN-25 send scope variables when loading note 67f6926 [Lee moon soo] ZEPPELIN-25 impelemnet JS(angular) -JVM(scala) two-way binding bb52d7b [Lee moon soo] Add %angular display system a7c77b8 [Lee moon soo] Update license of ScreenCaptureHtmlUnitDriver.java 6d7e063 [Lee moon soo] Add source file license header
2015-04-11 02:15:05 +00:00
<?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>
ZEPPELIN-25 Ability to create rich gui inside of Notebook This PR implements https://issues.apache.org/jira/browse/ZEPPELIN-25 Here's a short video demo of this feature. [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/xU5TBS_MsAs/0.jpg)](http://www.youtube.com/watch?v=xU5TBS_MsAs) for someone who want to try, here's api ```scala // bind 'varName' variable with 'v' value z.angularBind(varName: String, v: Object) // unbind 'varName' z.angularUnbind(varName: String) // get value of 'varName' z.angular(varName:String) // add watcher to 'varName' variable. // that is monitoring change and run 'func' when it is changed. z.angularWatch(varName:String, func: (Object, Object) => Unit)) // remove watcher from 'varName' z.angularUnwatch(varName:String) ``` Any paragraph's output starting with '%angular' will be considered as angular code. %angular as a interpreter also available. ![image](https://cloud.githubusercontent.com/assets/1540981/7003457/a1e6fe2a-dc95-11e4-8272-380f11c6ae81.png) Any feedback is welcome! Author: Lee moon soo <moon@apache.org> Closes #27 from Leemoonsoo/angular and squashes the following commits: 04d7175 [Lee moon soo] Remove implicit conversion because of side effect 34fa298 [Lee moon soo] jquery to angular 8076098 [Lee moon soo] Remove unnecessary type information 88fd635 [Lee moon soo] catch and print watcher user provided routine exception 46dba2f [Lee moon soo] Catch sql syntax error 2ebfa59 [Lee moon soo] Let z.run optionally take InterpreterContext ee29866 [Lee moon soo] ZEPPELIN-32 implement z.show() dac416d [Lee moon soo] Implement z.run() 0899011 [Lee moon soo] Fix test 0033d32 [Lee moon soo] Add angular interpreter 42ee479 [Lee moon soo] com.nflabs -> org.apache 4d32d19 [Lee moon soo] ZEPPELIN-25 prevent watcher called multiple times d4d270e [Lee moon soo] ZEPPELIN-25 add unittest 6ce8f36 [Lee moon soo] ZEPPELIN-25 implement watcher 6df7f23 [Lee moon soo] ZEPPELIN-25 broadcast angular object change to related notes 5954e29 [Lee moon soo] ZEPPELIN-25 save/restore angular object registry snapshot to the notebook file c288198 [Lee moon soo] ZEPPELIN-25 send scope variables when loading note 67f6926 [Lee moon soo] ZEPPELIN-25 impelemnet JS(angular) -JVM(scala) two-way binding bb52d7b [Lee moon soo] Add %angular display system a7c77b8 [Lee moon soo] Update license of ScreenCaptureHtmlUnitDriver.java 6d7e063 [Lee moon soo] Add source file license header
2015-04-11 02:15:05 +00:00
</parent>
<groupId>org.apache.zeppelin</groupId>
<artifactId>zeppelin-angular</artifactId>
<packaging>jar</packaging>
<version>0.8.0-SNAPSHOT</version>
ZEPPELIN-25 Ability to create rich gui inside of Notebook This PR implements https://issues.apache.org/jira/browse/ZEPPELIN-25 Here's a short video demo of this feature. [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/xU5TBS_MsAs/0.jpg)](http://www.youtube.com/watch?v=xU5TBS_MsAs) for someone who want to try, here's api ```scala // bind 'varName' variable with 'v' value z.angularBind(varName: String, v: Object) // unbind 'varName' z.angularUnbind(varName: String) // get value of 'varName' z.angular(varName:String) // add watcher to 'varName' variable. // that is monitoring change and run 'func' when it is changed. z.angularWatch(varName:String, func: (Object, Object) => Unit)) // remove watcher from 'varName' z.angularUnwatch(varName:String) ``` Any paragraph's output starting with '%angular' will be considered as angular code. %angular as a interpreter also available. ![image](https://cloud.githubusercontent.com/assets/1540981/7003457/a1e6fe2a-dc95-11e4-8272-380f11c6ae81.png) Any feedback is welcome! Author: Lee moon soo <moon@apache.org> Closes #27 from Leemoonsoo/angular and squashes the following commits: 04d7175 [Lee moon soo] Remove implicit conversion because of side effect 34fa298 [Lee moon soo] jquery to angular 8076098 [Lee moon soo] Remove unnecessary type information 88fd635 [Lee moon soo] catch and print watcher user provided routine exception 46dba2f [Lee moon soo] Catch sql syntax error 2ebfa59 [Lee moon soo] Let z.run optionally take InterpreterContext ee29866 [Lee moon soo] ZEPPELIN-32 implement z.show() dac416d [Lee moon soo] Implement z.run() 0899011 [Lee moon soo] Fix test 0033d32 [Lee moon soo] Add angular interpreter 42ee479 [Lee moon soo] com.nflabs -> org.apache 4d32d19 [Lee moon soo] ZEPPELIN-25 prevent watcher called multiple times d4d270e [Lee moon soo] ZEPPELIN-25 add unittest 6ce8f36 [Lee moon soo] ZEPPELIN-25 implement watcher 6df7f23 [Lee moon soo] ZEPPELIN-25 broadcast angular object change to related notes 5954e29 [Lee moon soo] ZEPPELIN-25 save/restore angular object registry snapshot to the notebook file c288198 [Lee moon soo] ZEPPELIN-25 send scope variables when loading note 67f6926 [Lee moon soo] ZEPPELIN-25 impelemnet JS(angular) -JVM(scala) two-way binding bb52d7b [Lee moon soo] Add %angular display system a7c77b8 [Lee moon soo] Update license of ScreenCaptureHtmlUnitDriver.java 6d7e063 [Lee moon soo] Add source file license header
2015-04-11 02:15:05 +00:00
<name>Zeppelin: Angular interpreter</name>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>zeppelin-interpreter</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</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>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
[ZEPPELIN-1695] Centralize libs, plugin versions in all pom.xml ### What is this PR for? **First of all, this PR doesn't affect on runtime application behaivor and existing build processes. Just abstracting variables in pom.xml** The main goal of this PR is bringing consistency and maintainability in all pom.xml. I referred these 2 projects. - [apache/spark: pom.xml](https://github.com/apache/spark/blob/master/pom.xml) - [apache/storm: pom.xml](https://github.com/apache/storm/blob/master/pom.xml) Currently, all libraries and plugins have duplicated version fields since we are not using `dependencyManagement`, `pluginManagement` efficiently in pom.xml This results in - unmanaged plugin, library versions (someone might update only a child's library version. it happend in our pom.xml files) - so many duplicated code blocks (bad) - fragmented plugin, library versions (some project uses junit 4.11 while another uses 4.12) These are some examples ```xml // hard coded, non consistent version management <dependency> <groupId>org.apache.thrift</groupId> <artifactId>libthrift</artifactId> <version>${libthrift.version}</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.3.3</version> </dependency> ``` ```xml // a/pom.xml <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>1.3.1</version> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> // b/pom.xml <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>1.3.1</version> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> // c/pom.xml <plugin> <artifactId>maven-enforcer-plugin</artifactId> <version>1.3.1</version> <plugin> <artifactId>maven-dependency-plugin</artifactId> <version>2.8</version> ``` ### What type of PR is it? [Refactoring] ### Todos - [x] refactor all pom.xml ### What is the Jira issue? [ZEPPELIN-1695](https://issues.apache.org/jira/browse/ZEPPELIN-1695) ### How should this be tested? Since this PR doesn't affect runtime behavior at all, CI test would be enough. ### Questions: * Does the licenses files need update - NO * Is there breaking changes for older versions - NO * Does this needs documentation - NO Author: 1ambda <1amb4a@gmail.com> Closes #1668 from 1ambda/chore/centralize-maven-pom-versions and squashes the following commits: 5a9c966 [1ambda] fix: Use shared download plugin version 7ef8a7b [1ambda] fix: Clean zeppelin-zengine/pom.xml dee3723 [1ambda] fix: Clean zeppelin-web/pom.xml 4f8ecc9 [1ambda] fix: Clean zeppelin-server/pom.xml b9f3a78 [1ambda] fix: Clean interpreter/pom.xml c0d6ff2 [1ambda] fix: Clean distribution/pom.xml acf59fa [1ambda] fix: Clean zeppelin-display/pom.xml 9301585 [1ambda] fix: Clean spark-dependencies/pom.xml 893bffa [1ambda] fix: Clean spark/pom.xml ff91207 [1ambda] fix: Clean shell/pom.xml 5b37857 [1ambda] fix: Clean scio/pom.xml c0dbe9b [1ambda] fix: Clean scalding/pom.xml e6c661b [1ambda] fix: Clean r/pom.xml e80388e [1ambda] fix: Clean postgres/pom.xml cc61c68 [1ambda] fix: Clean pig/pom.xml 1fe71f9 [1ambda] fix: Clean markdown/pom.xml 96a9f07 [1ambda] fix: Clean livy/pom.xml 4cc4e37 [1ambda] fix: Clean lens/pom.xml 6d834bc [1ambda] fix: Clean kylin/pom.xml b14bb3f [1ambda] fix: Clean jdbc/pom.xml 8b3a3ed [1ambda] fix: Clean ignite/pom.xml 1b3fdbb [1ambda] fix: Clean hbase/pom.xml faad4be [1ambda] fix: Clean geode/pom.xml c9e42e7 [1ambda] fix: Clean flink/pom.xml 647249d [1ambda] fix: Clean file/pom.xml be0a4e7 [1ambda] fix: Clean elasticsearch/pom.xml f80c172 [1ambda] fix: Clean cassandra/pom.xml 1b9c8c1 [1ambda] fix: Clean bigquery/pom.xml b6749a6 [1ambda] fix: library versions in beam/pom.xml fd01b3a [1ambda] fix: Remove plugin versions in beam/pom.xml ec75b40 [1ambda] fix: Clean angular/pom.xml c61b56e [1ambda] fix: Clean alluxio/pom.xml 28d10a7 [1ambda] fix: Clean root pom.xml
2016-11-30 14:20:27 +00:00
<executions>
ZEPPELIN-25 Ability to create rich gui inside of Notebook This PR implements https://issues.apache.org/jira/browse/ZEPPELIN-25 Here's a short video demo of this feature. [![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/xU5TBS_MsAs/0.jpg)](http://www.youtube.com/watch?v=xU5TBS_MsAs) for someone who want to try, here's api ```scala // bind 'varName' variable with 'v' value z.angularBind(varName: String, v: Object) // unbind 'varName' z.angularUnbind(varName: String) // get value of 'varName' z.angular(varName:String) // add watcher to 'varName' variable. // that is monitoring change and run 'func' when it is changed. z.angularWatch(varName:String, func: (Object, Object) => Unit)) // remove watcher from 'varName' z.angularUnwatch(varName:String) ``` Any paragraph's output starting with '%angular' will be considered as angular code. %angular as a interpreter also available. ![image](https://cloud.githubusercontent.com/assets/1540981/7003457/a1e6fe2a-dc95-11e4-8272-380f11c6ae81.png) Any feedback is welcome! Author: Lee moon soo <moon@apache.org> Closes #27 from Leemoonsoo/angular and squashes the following commits: 04d7175 [Lee moon soo] Remove implicit conversion because of side effect 34fa298 [Lee moon soo] jquery to angular 8076098 [Lee moon soo] Remove unnecessary type information 88fd635 [Lee moon soo] catch and print watcher user provided routine exception 46dba2f [Lee moon soo] Catch sql syntax error 2ebfa59 [Lee moon soo] Let z.run optionally take InterpreterContext ee29866 [Lee moon soo] ZEPPELIN-32 implement z.show() dac416d [Lee moon soo] Implement z.run() 0899011 [Lee moon soo] Fix test 0033d32 [Lee moon soo] Add angular interpreter 42ee479 [Lee moon soo] com.nflabs -> org.apache 4d32d19 [Lee moon soo] ZEPPELIN-25 prevent watcher called multiple times d4d270e [Lee moon soo] ZEPPELIN-25 add unittest 6ce8f36 [Lee moon soo] ZEPPELIN-25 implement watcher 6df7f23 [Lee moon soo] ZEPPELIN-25 broadcast angular object change to related notes 5954e29 [Lee moon soo] ZEPPELIN-25 save/restore angular object registry snapshot to the notebook file c288198 [Lee moon soo] ZEPPELIN-25 send scope variables when loading note 67f6926 [Lee moon soo] ZEPPELIN-25 impelemnet JS(angular) -JVM(scala) two-way binding bb52d7b [Lee moon soo] Add %angular display system a7c77b8 [Lee moon soo] Update license of ScreenCaptureHtmlUnitDriver.java 6d7e063 [Lee moon soo] Add source file license header
2015-04-11 02:15:05 +00:00
<execution>
<id>enforce</id>
<phase>none</phase>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/../../interpreter/angular</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/angular</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>