mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
plugins: Fix apidiscovery's annotation field values and example plugin's name
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
b59638e5ae
commit
d613c59dcb
@ -27,7 +27,7 @@ import org.apache.cloudstack.api.response.ApiDiscoveryResponse;
|
|||||||
|
|
||||||
import org.apache.log4j.Logger;
|
import org.apache.log4j.Logger;
|
||||||
|
|
||||||
@APICommand(name = "listApis", responseObject = ApiDiscoveryResponse.class, description = "lists all apis available to the user as per their account type", since = "4.1.0")
|
@APICommand(name = "listApis", responseObject = ApiDiscoveryResponse.class, description = "lists all available apis on the server, provided by Api Discovery plugin", since = "4.1.0")
|
||||||
public class ListApisCmd extends BaseListCmd {
|
public class ListApisCmd extends BaseListCmd {
|
||||||
|
|
||||||
public static final Logger s_logger = Logger.getLogger(ListApisCmd.class.getName());
|
public static final Logger s_logger = Logger.getLogger(ListApisCmd.class.getName());
|
||||||
|
|||||||
@ -34,7 +34,7 @@ public class ApiParameterResponse extends BaseResponse {
|
|||||||
@SerializedName(ApiConstants.LENGTH) @Param(description="length of the parameter")
|
@SerializedName(ApiConstants.LENGTH) @Param(description="length of the parameter")
|
||||||
private int length;
|
private int length;
|
||||||
|
|
||||||
@SerializedName(ApiConstants.REQUIRED) @Param(description="version of CloudStack the api was introduced in")
|
@SerializedName(ApiConstants.REQUIRED) @Param(description="true if this parameter is required for the api request")
|
||||||
private Boolean required;
|
private Boolean required;
|
||||||
|
|
||||||
@SerializedName(ApiConstants.SINCE) @Param(description="version of CloudStack the api was introduced in")
|
@SerializedName(ApiConstants.SINCE) @Param(description="version of CloudStack the api was introduced in")
|
||||||
|
|||||||
@ -28,7 +28,7 @@
|
|||||||
<groupId>org.apache.cloudstack</groupId>
|
<groupId>org.apache.cloudstack</groupId>
|
||||||
<artifactId>cloud-plugin-example-dns-notifier</artifactId>
|
<artifactId>cloud-plugin-example-dns-notifier</artifactId>
|
||||||
<version>4.1.0-SNAPSHOT</version>
|
<version>4.1.0-SNAPSHOT</version>
|
||||||
<name>CloudStack Dns Notifier Example</name>
|
<name>Apache CloudStack Plugin - Dns Notifier Example</name>
|
||||||
<description>This is sample source code on how to write a plugin for CloudStack</description>
|
<description>This is sample source code on how to write a plugin for CloudStack</description>
|
||||||
<build>
|
<build>
|
||||||
<defaultGoal>install</defaultGoal>
|
<defaultGoal>install</defaultGoal>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user