Files
Vladimir Vechkanov
bc08215f83
Move replication allow method to decorators
Remove logic of allowed methods list from object, container and account servers. Instead of it add replicator decorator to utils and use new decorator for REPLICATE methods in object/account/container servers. This decorator mark method as special for usfor use only by the replication. If the option replication_server is not used, then this mechanism is not enabled. If the replicaton_server option is set (not None) then the respective server is a replicator (option value is True) and should use ONLY the methods marked for replication server using the decorator, or it is a normal server type and should NOT use methods marked for the replication server. Change-Id: I1041b31413cd0c39000317cc57a8c27816e1dfe8