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.7.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.7.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>
<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>