Skip to content

Commit f374ae3

Browse files
author
Build2 CI
committed
Add ApiErrorCode imports, CloudException import to ListVnfOperationsCmd - working on exception handling
1 parent 520a338 commit f374ae3

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

plugins/vnf-framework/src/main/java/org/apache/cloudstack/vnf/api/command/CreateVnfFirewallRuleCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import org.apache.cloudstack.api.BaseCmd;
1313
import org.apache.cloudstack.api.Parameter;
1414
import org.apache.cloudstack.api.ServerApiException;
15+
import org.apache.cloudstack.api.ApiErrorCode;
1516
import org.apache.cloudstack.api.response.SuccessResponse;
1617
import org.apache.cloudstack.api.response.NetworkResponse;
1718
import org.apache.cloudstack.vnf.api.response.VnfFirewallRuleResponse;

plugins/vnf-framework/src/main/java/org/apache/cloudstack/vnf/api/command/CreateVnfNATRuleCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import org.apache.cloudstack.api.BaseCmd;
1414
import org.apache.cloudstack.api.Parameter;
1515
import org.apache.cloudstack.api.ServerApiException;
16+
import org.apache.cloudstack.api.ApiErrorCode;
1617
import org.apache.cloudstack.api.response.SuccessResponse;
1718
import org.apache.cloudstack.api.response.NetworkResponse;
1819
import org.apache.cloudstack.vnf.api.response.VnfNATRuleResponse;

plugins/vnf-framework/src/main/java/org/apache/cloudstack/vnf/api/command/DeleteVnfFirewallRuleCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import org.apache.cloudstack.api.BaseCmd;
1111
import org.apache.cloudstack.api.Parameter;
1212
import org.apache.cloudstack.api.ServerApiException;
13+
import org.apache.cloudstack.api.ApiErrorCode;
1314
import org.apache.cloudstack.api.response.SuccessResponse;
1415
import org.apache.cloudstack.api.response.SuccessResponse;
1516
import org.apache.cloudstack.vnf.api.response.VnfFirewallRuleResponse;

plugins/vnf-framework/src/main/java/org/apache/cloudstack/vnf/api/command/ListVnfOperationsCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
package org.apache.cloudstack.vnf.api.command;
1919

2020
import com.cloud.exception.InvalidParameterValueException;
21+
import com.cloud.exception.CloudException;
2122
import org.apache.cloudstack.api.BaseListCmd;
2223
import org.apache.cloudstack.acl.RoleType;
2324
import org.apache.cloudstack.api.APICommand;

plugins/vnf-framework/src/main/java/org/apache/cloudstack/vnf/api/command/UpdateVnfFirewallRuleCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import org.apache.cloudstack.api.BaseCmd;
1414
import org.apache.cloudstack.api.Parameter;
1515
import org.apache.cloudstack.api.ServerApiException;
16+
import org.apache.cloudstack.api.ApiErrorCode;
1617
import org.apache.cloudstack.api.response.SuccessResponse;
1718
import org.apache.cloudstack.vnf.api.response.VnfFirewallRuleResponse;
1819
import org.apache.cloudstack.vnf.service.VnfService;

0 commit comments

Comments
 (0)