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

Issue 1846049: Un-break osapi registry mechanism for container mode (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 5 months ago by mhermanto
Modified:
15 years, 3 months ago
Reviewers:
johnfargo
CC:
dev-remailer_shindig.apache.org
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

Introduced in r965499. Common container, which runs in container mode, will fail to register services (osapi.gadgets.metadata, osapi.gadgets.token) otherwise.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
features/src/main/javascript/features/osapi/jsonrpctransport.js View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 6
mhermanto
15 years, 5 months ago (2010-07-27 01:32:01 UTC) #1
mhermanto
(+to:randy) Hi Randy, I'm re-enabling osapi registration for container mode in jsonrpctransport.js. This is needed ...
15 years, 5 months ago (2010-07-27 01:42:01 UTC) #2
johnfargo
Brief request: please svn up and re-upload the patch -- getting a chunk mismatch right ...
15 years, 5 months ago (2010-07-30 00:36:56 UTC) #3
johnfargo
On 2010/07/30 00:36:56, johnfargo wrote: > Brief request: please svn up and re-upload the patch ...
15 years, 5 months ago (2010-07-30 00:49:13 UTC) #4
johnfargo
Aaaaaand, someone already did this. On Thu, Jul 29, 2010 at 5:49 PM, <johnfargo@gmail.com> wrote: ...
15 years, 5 months ago (2010-07-30 00:50:10 UTC) #5
mhermanto
15 years, 5 months ago (2010-07-30 00:50:13 UTC) #6
Ignore. It looks like it has been removed in trunk. :)

On Thu, Jul 29, 2010 at 5:36 PM, <johnfargo@gmail.com> wrote:

> Brief request: please svn up and re-upload the patch -- getting a chunk
> mismatch right now.
>
>
> On 2010/07/27 01:42:01, mhermanto wrote:
>
>> (+to:randy)
>>
>
>  Hi Randy, I'm re-enabling osapi registration for container mode in
>> jsonrpctransport.js. This is needed for common container.
>>
>
>  On Mon, Jul 26, 2010 at 6:32 PM, <mailto:mhermanto@gmail.com> wrote:
>>
>
>  > Reviewers: ,
>> >
>> > Description:
>> > Introduced in r965499. Common container, which runs in container
>>
> mode,
>
>> > will fail to register services (osapi.gadgets.metadata,
>> > osapi.gadgets.token) otherwise.
>> >
>> > Please review this at http://codereview.appspot.com/1846049/show
>> >
>> > Affected files:
>> >  features/src/main/javascript/features/osapi/jsonrpctransport.js
>> >
>> >
>> > ### Eclipse Workspace Patch 1.0
>> > #P shindig-project
>> > Index:
>>
> features/src/main/javascript/features/osapi/jsonrpctransport.js
>
>> > ===================================================================
>> > --- features/src/main/javascript/features/osapi/jsonrpctransport.js
>> > (revision 979481)
>> > +++ features/src/main/javascript/features/osapi/jsonrpctransport.js
>> > (working copy)
>> > @@ -88,8 +88,7 @@
>> >     }
>> >   }
>> >
>> > -  // Do not run this in container mode.
>> > -  if (gadgets.config && gadgets.config.isGadget) {
>> > +  if (gadgets.config) {
>> >     gadgets.config.register("osapi.services", null, init);
>> >   }
>> >
>> >
>> >
>> >
>>
>
>
>
>
> http://codereview.appspot.com/1846049/show
>
Sign in to reply to this message.

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