You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2013/01/09 05:37:22 UTC

[49/50] [abbrv] git commit: plugins: Fix apidiscovery's annotation field values and example plugin's name

plugins: Fix apidiscovery's annotation field values and example plugin's name

Signed-off-by: Rohit Yadav <bh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/d613c59d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/d613c59d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/d613c59d

Branch: refs/heads/master
Commit: d613c59dcbbca884fd8b31f5a1d58bb3f6d0e67c
Parents: b59638e
Author: Rohit Yadav <bh...@apache.org>
Authored: Tue Jan 8 20:00:13 2013 -0800
Committer: Rohit Yadav <bh...@apache.org>
Committed: Tue Jan 8 20:00:13 2013 -0800

----------------------------------------------------------------------
 .../api/command/user/discovery/ListApisCmd.java    |    2 +-
 .../api/response/ApiDiscoveryResponse.java         |    2 +-
 .../api/response/ApiParameterResponse.java         |    4 ++--
 plugins/network-elements/dns-notifier/pom.xml      |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d613c59d/plugins/api/discovery/src/org/apache/cloudstack/api/command/user/discovery/ListApisCmd.java
----------------------------------------------------------------------
diff --git a/plugins/api/discovery/src/org/apache/cloudstack/api/command/user/discovery/ListApisCmd.java b/plugins/api/discovery/src/org/apache/cloudstack/api/command/user/discovery/ListApisCmd.java
index a7e60e3..dcbaec1 100644
--- a/plugins/api/discovery/src/org/apache/cloudstack/api/command/user/discovery/ListApisCmd.java
+++ b/plugins/api/discovery/src/org/apache/cloudstack/api/command/user/discovery/ListApisCmd.java
@@ -27,7 +27,7 @@ import org.apache.cloudstack.api.response.ApiDiscoveryResponse;
 
 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 static final Logger s_logger = Logger.getLogger(ListApisCmd.class.getName());

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d613c59d/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiDiscoveryResponse.java
----------------------------------------------------------------------
diff --git a/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiDiscoveryResponse.java b/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiDiscoveryResponse.java
index b6a4f12..dd1298b 100644
--- a/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiDiscoveryResponse.java
+++ b/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiDiscoveryResponse.java
@@ -72,4 +72,4 @@ public class ApiDiscoveryResponse extends BaseResponse {
     public void addParam(ApiParameterResponse param) {
         this.params.add(param);
     }
-}
\ No newline at end of file
+}

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d613c59d/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiParameterResponse.java
----------------------------------------------------------------------
diff --git a/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiParameterResponse.java b/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiParameterResponse.java
index 9a73bec..9138288 100644
--- a/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiParameterResponse.java
+++ b/plugins/api/discovery/src/org/apache/cloudstack/api/response/ApiParameterResponse.java
@@ -34,7 +34,7 @@ public class ApiParameterResponse extends BaseResponse {
     @SerializedName(ApiConstants.LENGTH) @Param(description="length of the parameter")
     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;
 
     @SerializedName(ApiConstants.SINCE) @Param(description="version of CloudStack the api was introduced in")
@@ -67,4 +67,4 @@ public class ApiParameterResponse extends BaseResponse {
         this.since = since;
     }
 
- }
\ No newline at end of file
+ }

http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/d613c59d/plugins/network-elements/dns-notifier/pom.xml
----------------------------------------------------------------------
diff --git a/plugins/network-elements/dns-notifier/pom.xml b/plugins/network-elements/dns-notifier/pom.xml
index 0b4c981..8c6b485 100644
--- a/plugins/network-elements/dns-notifier/pom.xml
+++ b/plugins/network-elements/dns-notifier/pom.xml
@@ -28,7 +28,7 @@
   <groupId>org.apache.cloudstack</groupId>
   <artifactId>cloud-plugin-example-dns-notifier</artifactId>
   <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>
   <build>
     <defaultGoal>install</defaultGoal>