Closed Bug 727764 Opened 12 years ago Closed 12 years ago

migrate syncreg to pyramid/cornice/mozsvc

Categories

(Cloud Services :: Server: Registration, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: rfkelly, Unassigned)

References

Details

(Whiteboard: [qa-])

Attachments

(1 file)

This patch updates SyncReg to use our new pyramid-based infrastructure.  Major changes:
  * merge .ini/.conf files into a single .ini file
  * replace wsgiapp.py with views.py
  * controller tweaks for changed settings management

Required as part of making server-full use the updated server-syncstorage code.
Attachment #597738 - Flags: review?(telliott)
Blocks: 727761
Attachment #597738 - Flags: review?(tarek)
Regardless of patch status, I think this is a WONTFIX for any external release. We're never going to be in a situation where we want to support reg+cornice - we'll support the one we have out there right now, and then it's over to whatever BID brings.
Comment on attachment 597738 [details] [diff] [review]
patch migrating syncreg to pyramid

>diff --git a/etc/production.ini b/etc/production.ini
>index 843cf74..0c1c552 100644
>--- a/etc/production.ini
>+++ b/etc/production.ini
...
>+    return config.make_wsgi_app()
>diff --git a/syncreg/controllers/static.py b/syncreg/controllers/static.py
>index 026e1ac..bd23f8a 100644
>--- a/syncreg/controllers/static.py
>+++ b/syncreg/controllers/static.py
...
> 
>@@ -20,12 +20,12 @@ _STATIC_DIR = os.path.join(os.path.dirname(__file__), '..', 'static')
> class StaticController(object):
>     """Used to return static files
>     """

Why an empty __init__ here ? what's the intent ?

>-    def __init__(self, app):
>-        self.app = app
>+    def __init__(self, config):
>+        pass



other than that seems to look good. But I would not bother migrating (s)reg
Attachment #597738 - Flags: review?(tarek) → review+
Thanks guys, resolving wontfix for the reasons you've outlined above.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Attachment #597738 - Flags: review?(telliott)
Whiteboard: [qa-]
OK.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: