summaryrefslogtreecommitdiffstats
path: root/appc-dispatcher/appc-request-handler/appc-request-handler-core/src
diff options
context:
space:
mode:
authorModaboina, Kusumakumari (km583p) <km583p@us.att.com>2018-03-20 13:17:00 -0400
committerTakamune Cho <tc012c@att.com>2018-03-22 13:12:58 +0000
commitf1bd95884be20932a3ab7a92440e9e306902c1a0 (patch)
treeba2153416913fb4dfe407a0dfd200aa19a5fbffe /appc-dispatcher/appc-request-handler/appc-request-handler-core/src
parent4b612bc977e1c8bf6a98fabf4efdac08d40a6552 (diff)
Bugfixes for error handling while attaching volume
Change-Id: I103709186eff4fc9e42038b2e1113b010b822528 Issue-ID: APPC-761 Signed-off-by: Modaboina, Kusumakumari (km583p) <km583p@us.att.com>
Diffstat (limited to 'appc-dispatcher/appc-request-handler/appc-request-handler-core/src')
-rw-r--r--appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java
index 68352c1b1..5aac95a42 100644
--- a/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java
+++ b/appc-dispatcher/appc-request-handler/appc-request-handler-core/src/main/java/org/onap/appc/requesthandler/conv/Converter.java
@@ -18,7 +18,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*
- * ECOMP is a trademark and service mark of AT&T Intellectual Property.
* ============LICENSE_END=========================================================
*/
@@ -254,6 +253,16 @@ public class Converter {
((UpgradePreCheckOutputBuilder)outObj).setCommonHeader(commonHeader);
((UpgradePreCheckOutputBuilder)outObj).setStatus(status);
return outObj;
+ case AttachVolume:
+ outObj = new AttachVolumeOutputBuilder();
+ ((AttachVolumeOutputBuilder)outObj).setCommonHeader(commonHeader);
+ ((AttachVolumeOutputBuilder)outObj).setStatus(status);
+ return outObj;
+ case DetachVolume:
+ outObj = new DetachVolumeOutputBuilder();
+ ((DetachVolumeOutputBuilder)outObj).setCommonHeader(commonHeader);
+ ((DetachVolumeOutputBuilder)outObj).setStatus(status);
+ return outObj;
default:
throw new IllegalArgumentException(action+" action is not supported");
}