Closed Bug 655283 Opened 14 years ago Closed 14 years ago

Remove the plugin aliases

Categories

(Cloud Services :: Server: Core, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tarek, Assigned: tarek)

References

Details

Attachments

(2 files)

The auth and storage registry have preloads backends that can be used with aliases (ldap, sql etc) This turns out to be a bad idea because we preload them and mask issues. I am going to remove this feature so backends will have to be configured via the fully qualified name. We should change this configuration in stage and prod now, since the fully qualified names are already working.
Blocks: 652175
This patch is for server-core. Upcoming patches for server-sreg, server-reg, server-full Plugin.get() is now looking for the fully qualified name
Attachment #539542 - Flags: review?(telliott)
Comment on attachment 539542 [details] [diff] [review] Removes aliases in server-core looks good.
Attachment #539542 - Flags: review?(telliott) → review+
Comment on attachment 541042 [details] [diff] [review] Pulls config management into the controller/app classes looks good. a few nitpicks: 1/ params = config we could use config everywhere, I don't think using a new variable add value here 2/ cls_param I think the name is a bit vague, but I can't come up with a good one, maybe backend_variable ?
Attachment #541042 - Flags: review?(tarek) → review+
1. done 2. I used cls_name_field pushed in http://hg.mozilla.org/services/server-core/rev/16ea2e83a6d5 and http://hg.mozilla.org/services/server-core/rev/20854788b894 Also had to update a couple places in server-core (notably the test support module and the auth __init__ get_auth method) to make sure they filtered their config file.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: