Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(435)

Issue 2000043: [BugFix] Modifying JsonContainerConfig to add SERVER_HOST and SERVER_PORT env. to all containers (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by gagan.goku
Modified:
15 years, 4 months ago
Reviewers:
Paul Lindner, dev, zhoresh
CC:
cool-shindig-committers_googlegroups.com
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

Currently JsonContainerConfig adds SERVER_HOST and SERVER_PORT environment variables only to default container. However, this addition is done after merging the containers with default container. This change moves the SERVER_HOST / SERVER_PORT environment variables addition code to before container merging so that all all containers configs get these environment variables.

Patch Set 1 #

Patch Set 2 : 'uploading_correct_path_file' #

Patch Set 3 : 'adding_tests' #

Patch Set 4 : 'adding_tests' #

Total comments: 2

Patch Set 5 : 'addressing_anupamas_comment' #

Total comments: 4

Patch Set 6 : addressing_pauls_comment #

Patch Set 7 : addressing_pauls_comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -20 lines) Patch
M java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java View 2 3 4 5 6 7 chunks +24 lines, -13 lines 0 comments Download
M java/common/src/test/java/org/apache/shindig/config/JsonContainerConfigTest.java View 3 4 5 3 chunks +24 lines, -7 lines 0 comments Download

Messages

Total messages: 13
gagan.goku
15 years, 5 months ago (2010-08-21 02:47:04 UTC) #1
anupama.dutta
I didn't fully understand the effect of this change. Could you elaborate on why this ...
15 years, 5 months ago (2010-08-21 11:07:04 UTC) #2
gagan.goku
On 2010/08/21 11:07:04, anupama.dutta wrote: > I didn't fully understand the effect of this change. ...
15 years, 5 months ago (2010-08-21 11:12:32 UTC) #3
gagan.goku
http://codereview.appspot.com/2000043/diff/8001/9002 File java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java (right): http://codereview.appspot.com/2000043/diff/8001/9002#newcode90 java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java:90: addCommonEnvironmentToAllContainers(configJson, host, port); On 2010/08/21 11:07:04, anupama.dutta wrote: > ...
15 years, 5 months ago (2010-08-21 11:19:47 UTC) #4
gagan.goku
Hi Satya Please take a look. Thanks Gagan
15 years, 4 months ago (2010-08-24 13:02:28 UTC) #5
satya3656
LGTM
15 years, 4 months ago (2010-08-24 14:38:03 UTC) #6
gagan.goku
Thanks Satya On Tue, Aug 24, 2010 at 8:08 PM, <satya3656@gmail.com> wrote: > LGTM > ...
15 years, 4 months ago (2010-08-24 14:38:36 UTC) #7
zhoresh
http://codereview.appspot.com/2000043/diff/13001/5003 File java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java (right): http://codereview.appspot.com/2000043/diff/13001/5003#newcode90 java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java:90: addCommonEnvironmentVarsToAllContainers(configJson, host, port); I thought that all containers configs ...
15 years, 4 months ago (2010-08-24 16:50:26 UTC) #8
gagan.goku
I believe Jesse raised this problem sometime ago: http://markmail.org/message/27jfrktjrmhw7nm5 http://codereview.appspot.com/2000043/diff/13001/5003 File java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java (right): http://codereview.appspot.com/2000043/diff/13001/5003#newcode90 java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java:90: ...
15 years, 4 months ago (2010-08-24 16:55:08 UTC) #9
Paul Lindner
patch is okay, but we already have code to propagate the default container values into ...
15 years, 4 months ago (2010-08-25 06:46:26 UTC) #10
gagan.goku
Thanks for taking a look Paul. Comment inline: http://codereview.appspot.com/2000043/diff/13001/5003 File java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java (left): http://codereview.appspot.com/2000043/diff/13001/5003#oldcode378 java/common/src/main/java/org/apache/shindig/config/JsonContainerConfig.java:378: // ...
15 years, 4 months ago (2010-08-25 08:04:27 UTC) #11
Paul Lindner
yes, you got it. adding the host/port to the default container before the merge gets ...
15 years, 4 months ago (2010-08-27 13:06:42 UTC) #12
gagan.goku
15 years, 4 months ago (2010-08-27 14:10:14 UTC) #13
Thanks for submitting this change as well Paul.

Gagan

On Fri, Aug 27, 2010 at 6:36 PM, <lindner@inuus.com> wrote:

> yes, you got it.  adding the host/port to the default container before
> the merge gets you the desired behavior.
>
>
>
> http://codereview.appspot.com/2000043/
>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b