Skip to content

Commit d613c59

Browse files
committed
plugins: Fix apidiscovery's annotation field values and example plugin's name
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent b59638e commit d613c59

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

plugins/api/discovery/src/org/apache/cloudstack/api/command/user/discovery/ListApisCmd.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
import org.apache.log4j.Logger;
2929

30-
@APICommand(name = "listApis", responseObject = ApiDiscoveryResponse.class, description = "lists all apis available to the user as per their account type", since = "4.1.0")
30+
@APICommand(name = "listApis", responseObject = ApiDiscoveryResponse.class, description = "lists all available apis on the server, provided by Api Discovery plugin", since = "4.1.0")
3131
public class ListApisCmd extends BaseListCmd {
3232

3333
public static final Logger s_logger = Logger.getLogger(ListApisCmd.class.getName());

plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiDiscoveryResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ public void setParams(Set<ApiParameterResponse> params) {
7272
public void addParam(ApiParameterResponse param) {
7373
this.params.add(param);
7474
}
75-
}
75+
}

plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiParameterResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class ApiParameterResponse extends BaseResponse {
3434
@SerializedName(ApiConstants.LENGTH) @Param(description="length of the parameter")
3535
private int length;
3636

37-
@SerializedName(ApiConstants.REQUIRED) @Param(description="version of CloudStack the api was introduced in")
37+
@SerializedName(ApiConstants.REQUIRED) @Param(description="true if this parameter is required for the api request")
3838
private Boolean required;
3939

4040
@SerializedName(ApiConstants.SINCE) @Param(description="version of CloudStack the api was introduced in")
@@ -67,4 +67,4 @@ public void setSince(String since) {
6767
this.since = since;
6868
}
6969

70-
}
70+
}

plugins/network-elements/dns-notifier/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<groupId>org.apache.cloudstack</groupId>
2929
<artifactId>cloud-plugin-example-dns-notifier</artifactId>
3030
<version>4.1.0-SNAPSHOT</version>
31-
<name>CloudStack Dns Notifier Example</name>
31+
<name>Apache CloudStack Plugin - Dns Notifier Example</name>
3232
<description>This is sample source code on how to write a plugin for CloudStack</description>
3333
<build>
3434
<defaultGoal>install</defaultGoal>

0 commit comments

Comments
 (0)