Skip to content

Zeppelin-272: Remove option part from REST API#266

Closed
eranwitkon wants to merge 6 commits into
apache:masterfrom
eranwitkon:272
Closed

Zeppelin-272: Remove option part from REST API#266
eranwitkon wants to merge 6 commits into
apache:masterfrom
eranwitkon:272

Conversation

@eranwitkon
Copy link
Copy Markdown

This PR remove the option part from the Interpreter setting REST API
[x] Remove option from list settings
[x] Remove option from Create settings and update settings
[X] Update Create setting to return new created setting (jira 261) replacing pr # 258
Remove option from list setting is done by implementing a Exclusion strategy for the gson serialization.
Remove option from the Create\Update REST API is done by passing new InterpreterOption(remote=true) the the Factory and by omitting the InterpreterOption from the NewInterpreterSetting and UpdateInterpreterSetting classes.

REST API tests are managed in another
Update to the documentation will be done in a separate PR

eranwitkon added 3 commits August 30, 2015 14:53
…from response.

JsonResponse was updated accordingly to apply this strategy
…UpdatedInterpreterSettingRequest.

Updated InterpreterRestAPI to send new InterpreterOption(remote=true) as option to Interpreter factory.
…UpdatedInterpreterSettingRequest.

Updated InterpreterRestAPI to send new InterpreterOption(remote=true) as option to Interpreter factory.
Rebase with PR apache#261 to return new created settings for REST API
@eranwitkon
Copy link
Copy Markdown
Author

Fixed RAT issue.
Ready for merge

@eranwitkon
Copy link
Copy Markdown
Author

I will have a look at this as well although the PR is about the REST API
and as much as I tested this controller is not part of it.

בתאריך יום ג׳, 1 בספט׳ 2015, 20:43 מאת Lee moon soo <
notifications@github.com>:

I think these lines also need to be taken care

https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/app/interpreter/interpreter.controller.js#L67

https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/app/interpreter/interpreter.controller.js#L172


Reply to this email directly or view it on GitHub
#266 (comment)
.

@Leemoonsoo
Copy link
Copy Markdown
Member

merging if there're no more discussions

@asfgit asfgit closed this in 42d9271 Sep 3, 2015
Leemoonsoo pushed a commit to Leemoonsoo/zeppelin that referenced this pull request Sep 17, 2015
This PR remove the option part from the Interpreter setting REST API
 [x] Remove option from list settings
 [x] Remove option from Create settings and update settings
 [X] Update Create setting to return new created setting (jira 261) replacing pr # 258
Remove option from list setting is done by implementing a Exclusion strategy for the gson serialization.
Remove option from the Create\Update REST API is done by passing new InterpreterOption(remote=true) the the Factory and by omitting the InterpreterOption from the NewInterpreterSetting and UpdateInterpreterSetting classes.

REST API tests are managed in another
Update to the documentation will be done in a separate PR

Author: eranwitkon <goi.cto@gmail.com>

Closes apache#266 from eranwitkon/272 and squashes the following commits:

f196a76 [eranwitkon] Remove option setting from Interpreter web page
5ad5e99 [eranwitkon] Add Licensed to the Apache Software Foundation for the new JsonExclusionStrategy class
b1ff1aa [eranwitkon] Fix CI error
f2178f6 [eranwitkon] Remove InterpreterOption class from NewInterpreterSettingRequest and UpdatedInterpreterSettingRequest. Updated InterpreterRestAPI to send new InterpreterOption(remote=true) as option to Interpreter factory. Rebase with PR apache#261 to return new created settings for REST API
14e8809 [eranwitkon] Remove InterpreterOption class from NewInterpreterSettingRequest and UpdatedInterpreterSettingRequest. Updated InterpreterRestAPI to send new InterpreterOption(remote=true) as option to Interpreter factory.
b980069 [eranwitkon] Added exclusion strategy class for gson to exclude InterpreterOption from response. JsonResponse was updated accordingly to apply this strategy

(cherry picked from commit 42d9271)
Signed-off-by: Lee moon soo <moon@apache.org>
lelou6666 pushed a commit to lelou6666/incubator-zeppelin that referenced this pull request Mar 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants