mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
api: Fix name fields for autoscale @APICommand annotation
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
e17e68f0af
commit
b246ed7be7
@ -31,7 +31,7 @@ import com.cloud.event.EventTypes;
|
||||
import com.cloud.network.as.Counter;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@APICommand(name = "createCounter ", description = "Adds metric counter", responseObject = CounterResponse.class)
|
||||
@APICommand(name = "createCounter", description = "Adds metric counter", responseObject = CounterResponse.class)
|
||||
public class CreateCounterCmd extends BaseAsyncCreateCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(CreateCounterCmd.class.getName());
|
||||
private static final String s_name = "counterresponse";
|
||||
|
||||
@ -32,7 +32,7 @@ import com.cloud.event.EventTypes;
|
||||
import com.cloud.exception.ResourceInUseException;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@APICommand(name = "deleteCounter ", description = "Deletes a counter", responseObject = SuccessResponse.class)
|
||||
@APICommand(name = "deleteCounter", description = "Deletes a counter", responseObject = SuccessResponse.class)
|
||||
public class DeleteCounterCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteCounterCmd.class.getName());
|
||||
private static final String s_name = "deletecounterresponse";
|
||||
|
||||
@ -33,7 +33,7 @@ import com.cloud.exception.ResourceInUseException;
|
||||
import com.cloud.network.as.Condition;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@APICommand(name = "deleteCondition ", description = "Removes a condition", responseObject = SuccessResponse.class)
|
||||
@APICommand(name = "deleteCondition", description = "Removes a condition", responseObject = SuccessResponse.class)
|
||||
public class DeleteConditionCmd extends BaseAsyncCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(DeleteConditionCmd.class.getName());
|
||||
private static final String s_name = "deleteconditionresponse";
|
||||
|
||||
@ -32,7 +32,7 @@ import org.apache.cloudstack.api.response.CounterResponse;
|
||||
import org.apache.cloudstack.api.response.ListResponse;
|
||||
import com.cloud.network.as.Condition;
|
||||
|
||||
@APICommand(name = "listConditions ", description = "List Conditions for the specific user", responseObject = CounterResponse.class)
|
||||
@APICommand(name = "listConditions", description = "List Conditions for the specific user", responseObject = CounterResponse.class)
|
||||
public class ListConditionsCmd extends BaseListAccountResourcesCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListConditionsCmd.class.getName());
|
||||
private static final String s_name = "listconditionsresponse";
|
||||
|
||||
@ -31,7 +31,7 @@ import org.apache.cloudstack.api.response.ListResponse;
|
||||
import com.cloud.network.as.Counter;
|
||||
import com.cloud.user.Account;
|
||||
|
||||
@APICommand(name = "listCounters ", description = "List the counters", responseObject = CounterResponse.class)
|
||||
@APICommand(name = "listCounters", description = "List the counters", responseObject = CounterResponse.class)
|
||||
public class ListCountersCmd extends BaseListCmd {
|
||||
public static final Logger s_logger = Logger.getLogger(ListCountersCmd.class.getName());
|
||||
private static final String s_name = "counterresponse";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user