Cleanup in ResourceExtension ALIAS(v2.1api)
Add global variables ALIAS if it's not existing and use it in ResourceExtension if the the alias of the extension happen to be the same as ALIAS. Partially implements blueprint v2-on-v3-api Change-Id: Id6b3ecde499e9b54804175d635b89e62c1fed804
This commit is contained in:
@@ -209,7 +209,7 @@ class Aggregates(extensions.V3APIExtensionBase):
|
||||
|
||||
def get_resources(self):
|
||||
resources = [extensions.ResourceExtension(
|
||||
self.alias,
|
||||
ALIAS,
|
||||
AggregateController(),
|
||||
member_actions={'action': 'POST'})]
|
||||
return resources
|
||||
|
||||
Reference in New Issue
Block a user