The core shouldn't know about the backends. Each backend is optional so the backend might not even be available.
** Changed in: keystone Status: In Progress => Opinion -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Identity (keystone). https://bugs.launchpad.net/bugs/1563101 Title: Remove backend dependency on core Status in OpenStack Identity (keystone): Opinion Bug description: Remove dependencies where backend code references code in the core. For example, identity backends imports identity: https://github.com/openstack/keystone/blob/master/keystone/identity/backends/sql.py#L24 The reasoning being that the core should know about the backends, but the backends should not know anything about the core (separation of concerns). And part of the risk here is a potential for circular dependencies. Backend code could reference code in the core, as well as other higher level modules inside identity; thus, creating a circular dependency. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1563101/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp