-# Copyright 2016-2017 ZTE Corporation.
+# Copyright 2016 ZTE Corporation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
from lcm.pub.exceptions import BadRequestException
from lcm.pub.utils.jobutil import JobUtil, JOB_TYPE
from lcm.ns.const import NS_OCC_BASE_URI
+from lcm.ns.serializers.sol.pub_serializers import ProblemDetailsSerializer
logger = logging.getLogger(__name__)
request_body=HealNsReqSerializer(),
responses={
status.HTTP_202_ACCEPTED: None,
- status.HTTP_500_INTERNAL_SERVER_ERROR: "Inner error"
+ status.HTTP_500_INTERNAL_SERVER_ERROR: ProblemDetailsSerializer()
}
)
def post(self, request, ns_instance_id):