You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by dlukyanov <gi...@git.apache.org> on 2017/04/25 11:31:00 UTC

[GitHub] zeppelin pull request #2283: [ZEPPELIN-2443] SSL Support for Groovy Interpre...

GitHub user dlukyanov opened a pull request:

    https://github.com/apache/zeppelin/pull/2283

    [ZEPPELIN-2443] SSL Support for Groovy Interpreter HTTP requests

    ### What is this PR for?
    
    Target: Create ability to call http services with custom keystores in a groovy way.
    The following should work:
    ```
    //connect to host xxx.yyy with special keystore
    HTTP.get(
      url: "https://xxx.yyy/zzz",
      ssl: " HTTP.getKeystoreSSLContext('./xxx_yyy_keystore.jks', 'testpass') "
    )
    //take context initialization code from groovy interpreter properties
    HTTP.get(
      url: "https://xxx.yyy/zzz",
      ssl: g.SSL_CONTEXT_FROM_GROOVY_INTERPRET_PROPERTIES
    )
    //connect to host xxx.yyy with trust all (do not check trust certificates - dev mode only) 
    HTTP.get(
      url: "https://xxx.yyy/zzz",
      ssl: " HTTP.getNaiveSSLContext() "
    )
    //
    HTTP.get(
      url: "https://xxx.yyy/zzz",
      ssl: " MyCustomSSLBuilder.build() "
    )
    ```
    
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    [ZEPPELIN-2443]
    
    ### How should this be tested?
    follow the samples above or in documentation
    
    ### 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/dlukyanov/zeppelin master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/2283.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 #2283
    
----
commit fa779ea5df077a746ed92c1e8f6e81fd98206560
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-14T20:00:13Z

    groovy interpreter

commit db4c35be09349b5459c9af7a665b5d9edb371215
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-14T20:51:29Z

    Update README.md

commit addf167f31fd0fec79625433c342c8fe12188da5
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-15T04:58:02Z

    retry

commit aa427cdd88e859ba19bf67a81994792d364e1858
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-17T07:40:20Z

    retry

commit 5fa26e00c3503afd6622809673030227cbb07519
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-19T07:48:53Z

    ZEPPELIN-2176 groovy interpreter, fix unchecked, add to configs, move HTTP.groovy to resources to simplify build, add default z-properties

commit 2646fa8e48bf2c0025ed6d4fcad1ab10068fb33e
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-19T07:55:29Z

    ZEPPELIN-2176 groovy interpreter, fix unchecked, add to configs, move HTTP.groovy to resources to simplify build, add default z-properties

commit 0d7732a1f1cbffe1cba0f93da2346ea110385206
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-19T10:44:45Z

    retry

commit b34b42ab5e01112590e653e47e0bf86459fac204
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-21T05:09:36Z

    retry

commit dd388b3607246d80de61c0cd27e82a512ee7f2c7
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-21T18:26:20Z

    retry

commit 41a17026ed03ae0b105a52c01812d487d91c06e3
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-25T22:06:51Z

    ZEPPELIN-2176 https://github.com/apache/zeppelin/pull/2135#issuecomment-288829494
    - implement shared script variables
    - move docs
    - implement run methods

commit 4abf649bda03b6e88c34c325940e9f4817de5c46
Author: dm <dm>
Date:   2017-03-27T19:08:16Z

    Merge branch 'master' of https://github.com/apache/zeppelin

commit a5b37a1099c5260f17f7eaf74516a3dae1c1a663
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-27T19:26:59Z

    ZEPPELIN-2176 https://github.com/apache/zeppelin/pull/2135#issuecomment-289308850
    - Inside of docs directory, groovy.md will need some header to be compiled with Jekyll
    - Menu in docs also need link to groovy
    - .travis.yml we need add !groovy

commit ca8bea69516ca66300f6f8898a99e4fe1694cfd9
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-27T19:36:30Z

    Update groovy.md

commit fe08159e89388e5dafeec415719bb8fdf8a5892e
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-27T20:36:06Z

    retry

commit 3dd53e2586b119f633c9f33130a4ca360eb7108f
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-29T19:17:11Z

    ZEPPELIN-2176 comments from @AhyoungRyu
    - Zeppelin follows Google Java code
    - interpreter alphabetical order in _navigation.html
    - direct link to MarkupBuilder in groovy help

commit ca6594705773e837a8dca31638c89687d7211b2f
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-29T19:45:30Z

    deprecated

commit 89c3ed5c10ab1f2392cc44cbe14aeb2787f47942
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-29T21:37:22Z

    retry

commit faf213fee422fb561bd35584cb8ad40cfe4160d9
Author: dlukyanov <dl...@ukr.net>
Date:   2017-03-30T17:29:00Z

    ZEPPELIN-2176 comments from @AhyoungRyu
    - remove @author
    - remove commented code

commit 87de2f0a214cc4564e8589a96715d51da7e89ab2
Author: dlukyanov <dl...@ukr.net>
Date:   2017-04-21T11:50:01Z

    ZEPPELIN-2443

commit ec334a33e024595f4457ac10edaa3c7bcda5b922
Author: dlukyanov <dl...@ukr.net>
Date:   2017-04-21T11:54:05Z

    ZEPPELIN-2443 documentation

commit f9a8c08c37d67b1822d4532a32defd1244491f34
Author: dlukyanov <dl...@ukr.net>
Date:   2017-04-21T12:05:01Z

    ZEPPELIN-2443 documentation

commit a367ffb57cc82c78422d660f378a3c6a31539129
Author: dlukyanov <dl...@ukr.net>
Date:   2017-04-21T15:26:00Z

    Update groovy.md

commit 576f9d4ec830be76b23cd96de114df07c80c9100
Author: dlukyanov <dl...@ukr.net>
Date:   2017-04-21T15:58:55Z

    documentation

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] zeppelin pull request #2283: [ZEPPELIN-2443] SSL Support for Groovy Interpre...

Posted by dlukyanov <gi...@git.apache.org>.
Github user dlukyanov closed the pull request at:

    https://github.com/apache/zeppelin/pull/2283


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---