47 Commits

Author SHA1 Message Date
Alex Huang
b8e79c30a8 Compile complete 2013-09-06 15:40:37 -07:00
Rohit Yadav
a8623bacd7 ApiXmlDocWriter: Fix multiple field occurence in apidocs by using set
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-23 14:57:41 -08:00
Rohit Yadav
539d94b4a6 ApiXmlDocWriter: Reuse methods from ReflectUtil
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-08 18:54:29 -08:00
Rohit Yadav
6f6ed85839 ApiXmlDocWriter: Fix apidocs generation based on new commands.properties syntax
Makes it backward compatible to old syntax as well

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-06 15:01:09 -08:00
Rohit Yadav
7a7fe583e0 Rename Implementation annotation to APICommand
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-26 15:55:34 -08:00
Rohit Yadav
296b49c2f8 Merge branch 'master' into test-merge-api
Conflicts:
	api/src/com/cloud/agent/api/BackupSnapshotCommand.java
	api/src/com/cloud/agent/api/storage/PrimaryStorageDownloadCommand.java
	api/src/com/cloud/agent/api/to/PortForwardingRuleTO.java
	api/src/com/cloud/network/NetworkService.java
	api/src/com/cloud/resource/ResourceService.java
	api/src/org/apache/cloudstack/api/ApiConstants.java
	api/src/org/apache/cloudstack/api/ResponseGenerator.java
	api/src/org/apache/cloudstack/api/response/SSHKeyPairResponse.java
	client/tomcatconf/commands.properties.in
	core/src/com/cloud/storage/SnapshotVO.java
	pom.xml
	server/src/com/cloud/api/ApiDispatcher.java
	server/src/com/cloud/api/ApiResponseHelper.java
	server/src/com/cloud/api/ApiServer.java
	server/src/com/cloud/configuration/ConfigurationManagerImpl.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/src/com/cloud/network/rules/RulesManagerImpl.java
	server/src/com/cloud/offerings/NetworkOfferingVO.java
	server/src/com/cloud/resource/ResourceManagerImpl.java
	server/src/com/cloud/upgrade/dao/Upgrade40to41.java
	server/src/com/cloud/vm/UserVmManagerImpl.java
	server/test/com/cloud/vpc/MockNetworkManagerImpl.java
	setup/db/create-schema.sql
	setup/db/db/schema-40to410.sql

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-23 13:54:46 -08:00
Edison Su
b70c1a5a84 Backs NFS-based secondary storage with an S3-compatible object store. Periodically, a reaper thread synchronizes templates and ISOs stored on a NFS secondary storage mount with a configured S3 object store. It also pushes snapshots to the object store when they are created and downloads them in other zones on-demand. In addition to permitting the use of commodity or IaaS storage solutions for static assets, it provides a means of automatically synchronizing template and ISO assets across multiple zones. 2012-12-13 23:18:37 -08:00
Rohit Yadav
e398b1e47a api: Refactor command and response classes to org.apache.cloudstack.api.*
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-07 19:23:24 -08:00
Rohit Yadav
6fc3bc3760 api_refactor: refactor vpn and vm apis
- Refactor VPN and VM APIs to admin and user pkgs
- Names space, org.apache.cloudstack
- Fix refactored apis in commands*.in
- Fix comments etc.
- Expand tabs, remove trailing whitespace

Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-03 21:27:02 -08:00
Rohit Yadav
5edfc2760a refactor: remove redundant imports, fix trailing chars 2012-12-03 13:54:37 -08:00
David Nalley
e87558256c Patch from Chip Childers
https://reviews.apache.org/r/5704/
License header updates for the server folder
2012-07-02 09:51:21 -04:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
kishan
57f935ca03 Added since version to API response docs 2012-03-27 11:12:59 +05:30
Alena Prokharchyk
50b2c26d3e Fixed XML api writer
Reviewed-by: Alena
2012-02-27 12:38:30 -08:00
Alena Prokharchyk
d4a8db75d7 bug 13763: fixed api doc for logout command
status 13763: resolved fixed
Reviewed-by: Jessica Tomechak
2012-02-22 15:17:22 -08:00
Alena Prokharchyk
8f91856822 bug 11859: Added Usage param to @Implementation in API docs. Usage would explain what parameters combinations are valid for specific cases
status 11859: resolved fixed
2011-11-28 14:40:13 -08:00
Alena Prokharchyk
c66842b640 bug 11812: added domainId parameter to "login" api doc
status 11812: resolved fixed
2011-11-22 15:34:07 -08:00
Alena Prokharchyk
3c3cf26f64 Fixed API doc problem 2011-11-09 13:27:35 -08:00
kishan
8ee876a9a2 bug 10405: Added annontation since for API Commands and request parameters. Whenever a new APi or parameter is added since=version should be added
status 10405: resolved fixed
2011-10-27 14:18:34 +05:30
Edison Su
9391938908 fix conflict 2011-08-24 18:47:09 -07:00
alena
4005c7bcce bug 10193: modified description field for login api call in API docs
status 10193: resolved fixed
2011-06-20 16:25:08 -07:00
alena
40d4bbeb11 bug 10088: Fixed apiXmlDoc generator to generate correct set of domain admin commands - got broken by checkin fff4112c0b2407e754318ea31f2f1bb7e92b8f12 "Introducing a new user role in cloudstack called RESOURCE_DOMAIN_ADMIN"
status 10088: resolved fixed
2011-06-16 12:14:55 -07:00
alena
694944e996 bug 9436: include page/pageSize/keyword to api xml doc for each list* command
status 9436: resolved fixed

Conflicts:

	server/src/com/cloud/api/doc/ApiXmlDocWriter.java
2011-04-13 16:23:14 -07:00
alena
4460d1cf2c Fixed api xml doc writer 2011-04-11 09:33:36 -07:00
alena
2aeacd5a4c bug 3179: added "count" parameter to the response to all List* api commands 2011-04-01 19:29:08 -07:00
alena
8de3bacd2b bug 9026: added ability to turn off apiCommand/commandParameter for docGeneration
status 9026: resolved fixed

1) Don't expose following commands in doc:

* registerSSHKeyPair
* createSSHKeyPair
* deleteSSHKeyPair
* listSSHKeyPairs

2) Don't show "sshKeyPairName" parameter for deployVm command
2011-03-23 12:56:58 -07:00
alena
e902e83d13 Fixed bug in xmlDocWriter: use "domain" parameter instead of "domainId" for "login" command 2011-03-04 10:31:58 -08:00
alena
be76a51dbe Api xml doc generator: define if command is sync or async in the xml doc 2011-02-28 16:28:54 -08:00
alena
74e878ea7f Fixed xml doc writer 2011-02-09 19:35:03 -08:00
alena
1c7049ef26 Forgot to write login/logout commands to domainAdmin/regularUser api xml doc 2011-02-08 16:28:58 -08:00
alena
0bdefe03ae Added login/logout command generation to xml api doc generator 2011-02-08 15:25:55 -08:00
alena
e256285b05 Generate alerts_types.xml document along with other xml docs. 2011-01-25 10:37:00 -08:00
alena
0d2be33b2d Changed response format in xml api doc generator 2011-01-14 17:55:32 -08:00
alena
5af31fc97c Modified API xml doc writer - sort request and response parameters in alphabetical order. 2011-01-14 11:18:54 -08:00
alena
4418e8f245 Don't zip Api xml doc directory in java code, rpm script will do it 2011-01-12 12:18:53 -08:00
alena
6ebbff60f4 Fixed Api xml doc generator 2011-01-11 15:26:04 -08:00
alena
0c38485c19 Added missing descriptions to a bunch of api commands 2011-01-10 20:30:29 -08:00
alena
5dde719988 Api xmlDocWriter: write each xml command to single file for 1)rootAdmin 2)domainAdmin 3)regularUser 2011-01-10 19:12:16 -08:00
alena
bc74fefe68 Api xmlDocWriter: create 2 output .xml files; one contains commands in the order defined in commands.properties.in file, another - commands in alphabetical order. 2011-01-10 14:36:07 -08:00
alena
7bf7f3d284 Api xml doc: generate xml per command in addition to xml containing all api commands 2011-01-10 12:17:57 -08:00
alena
140d704e2f Generate separate xml Api docs for regularUser/domainAdmin/rootAdmin 2011-01-07 18:40:47 -08:00
alena
050eed742f 1) Removed account/domainId info from deleteSnapshot and deleteSnapshotPolicy commands as we get account info from the snapshot/policy object.
2) Introduced responseObject field in @Implementation for all apis. This field contains information about the response object class, so we can used it for generating API documentation.
2010-11-12 17:36:17 -08:00
alena
b1194e68f7 Fixed the build 2010-11-10 10:14:08 -08:00
alena
afd79a9b1b Code cleanup 2010-10-26 13:59:11 -07:00
alena
fb50fe624c * Added descriptions for Api command's request and response parameters.
* Changed response type for DeleteDomain and DeletePreallocatedLun commands to SuccessResponse
* Implemented small tool (ApiXmlDocReader) for comparing api commands of different product versions.
2010-10-11 09:21:42 -07:00
alena
e7b478f43d Added descriptions for Api commands and corresponding requrest parameters 2010-10-07 14:46:29 -07:00
alena
136060e5cf 1) Finished XmlApiDoc writer. The program gets api classes from commands.properties.in file, and build Command objects with "name"/"description"/"request"/"response" fields. Request and response are represented by the list of arguments, each argument contains "name"/"description"/"isrequired" fields. The commands are being serialized to commands.xml using imported xstream library, and can be desiarialized later - it will help to compare commands from differemt product versions.
2) Added description() methods to Implementation and Param annotations.
2010-10-04 09:50:14 -07:00