GitHub user tinkoff-dwh opened a pull request: https://github.com/apache/zeppelin/pull/2085
[ZEPPELIN-1999] get interpreter property with replaced context parameters ### What is this PR for? Adds posibility to use context parameters (types: String.class, Double.class, Float.class, Short.class, Byte.class, Character.class, Boolean.class, Integer.class, Long.class, ) into property value of interpreter. ### What type of PR is it? Feature ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-1999 ### How should this be tested? 1. Add text with markers #{contextFieldNAme} (ex. #{noteId} or #{paragraphTitle}) to interpreter property value (or add new property of interpreter). 2. Get this property (getProperty(key)), markers should be replaced by context values ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? yes You can merge this pull request into a Git repository by running: $ git pull https://github.com/tinkoff-dwh/zeppelin ZEPPELIN-1999 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/2085.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2085 ---- commit b5424b99988cc4e87bbb24252b383cb43268a756 Author: Tinkoff DWH <tinkoff....@gmail.com> Date: 2017-02-22T09:53:43Z [ZEPPELIN-1999] get interpreter property with replaced context parameters commit 527419a1c15d861ee738bfe5b510e7f58d5cfa67 Author: Tinkoff DWH <tinkoff....@gmail.com> Date: 2017-02-27T05:05:28Z Merge remote-tracking branch 'origin/master' into ZEPPELIN-1999 # Conflicts: # zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/InterpreterTest.java commit 7c4489cfbf5d97d62dccf0616f6352c412317bd1 Author: Tinkoff DWH <tinkoff....@gmail.com> Date: 2017-03-01T06:44:26Z Merge remote-tracking branch 'origin/master' into ZEPPELIN-1999 commit ea9c6a37fd50116e966576eab3a52cf7c2bf07ab Author: Tinkoff DWH <tinkoff....@gmail.com> Date: 2017-03-01T07:24:01Z [ZEPPELIN-1999] docs ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---