|
|
@@ -21,7 +21,6 @@ from coriolis.providers import factory as providers_factory
|
|
|
from coriolis import schemas
|
|
|
from coriolis.tasks import factory as task_runners_factory
|
|
|
from coriolis import utils
|
|
|
-from coriolis.api.v1 import utils as api_utils
|
|
|
|
|
|
|
|
|
worker_opts = [
|
|
|
@@ -295,7 +294,6 @@ class WorkerServerEndpoint(object):
|
|
|
def get_available_providers(self, ctxt):
|
|
|
return providers_factory.get_available_providers()
|
|
|
|
|
|
- @api_utils.bad_request_on_error("Invalid destination environment: %s")
|
|
|
def validate_endpoint_target_environment(
|
|
|
self, ctxt, platform_name, target_env):
|
|
|
provider = providers_factory.get_provider(
|
|
|
@@ -312,7 +310,6 @@ class WorkerServerEndpoint(object):
|
|
|
|
|
|
return (is_valid, message)
|
|
|
|
|
|
- @api_utils.bad_request_on_error("Invalid source environment: %s")
|
|
|
def validate_endpoint_source_environment(
|
|
|
self, ctxt, platform_name, source_env):
|
|
|
provider = providers_factory.get_provider(
|