Rohit Yadav
3209a3a858
api: Annotate pod,zone admin apis
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-21 19:05:45 -08:00
Rohit Yadav
08892c51a3
api: Fix jobid and entitytype for BaseResponse and QueryAsyncJob*
...
- Fix jobid serialization issue that broke the UI
- Fix AsyncJob Result and Response
- Get rid of getUuid(), setUuid(), just use getId, setId for uuid...
- All uuids from over the wire are UUIDs
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-21 19:05:45 -08:00
Prasanna Santhanam
f548099d08
api: annotate instance group Cmds
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2012-12-21 16:12:10 -08:00
Prasanna Santhanam
71522b88dc
api: annotating the volume related cmds
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2012-12-21 15:59:44 -08:00
Prasanna Santhanam
6a032e0295
api: annotate the vpc related Cmds
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2012-12-21 14:25:48 -08:00
Prasanna Santhanam
c7e1cb651f
api: Annotate the Site2Site vpn commands
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-21 09:38:07 -08:00
Prasanna Santhanam
6fbdf76654
api: Annotate RemoteAccessVpn,ListZone commands
...
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-21 09:38:07 -08:00
Min Chen
b14b39a69f
Remove IdentityProxy from BaseResponse, ExtractResponse. Now
...
IdentityProxy is only referenced in CreateCmdResponse, which involves
some async job logic change. Since it is not impacting list performance,
will leave it there for now.
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-20 16:52:52 -08:00
Rohit Yadav
5548d08fb6
api: Annotate missing systemvm api, annotate SystemVmResponse
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-20 01:37:36 -08:00
Fang Wang
d9718e82f2
api: Annotate some systemvm commands
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-20 01:37:36 -08:00
Min Chen
a88ce6bb7f
Remove IdentityProxy from CloudException and ExceptionResponse.
2012-12-19 23:49:44 -08:00
Rohit Yadav
eb2a7deddd
api: Annotate start,stop router cmds
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-19 15:19:46 -08:00
Fang Wang
c4b600a8d1
api: Fix Validator annotation interface
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-19 11:57:13 -08:00
Min Chen
1d729578d4
Remove IdentityProxy from Response classes.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-18 23:16:38 -08:00
Rohit Yadav
3e292869eb
api: Annotate project API cmd and response
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 18:07:37 -08:00
Rohit Yadav
32ca9e2aa4
api: Annotate ListRoutersCmd, fix @Entity for Network,User,VPC Response
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 17:44:18 -08:00
Rohit Yadav
22ee4200c3
api: Fix findByXId to findByUuid in EntityManager and ApiDispatcher
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 17:44:17 -08:00
Min Chen
4b75132aa2
Remove IdentityProxy from Response classes.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-18 16:33:12 -08:00
Rohit Yadav
97d9fd01bd
api: Annotate network related api cmd and response classes
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 15:16:58 -08:00
Rohit Yadav
a6ce3b5450
api: Annotate Network device,offering,service apis
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 14:56:27 -08:00
Rohit Yadav
275208e175
api: Annotate phy network apis
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 14:47:27 -08:00
Rohit Yadav
9624a59d8e
api: Annotate host apis
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 14:32:30 -08:00
Rohit Yadav
855ba0439f
api: Annotate cfg and hypervisorcapabilities apis
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 14:04:00 -08:00
Rohit Yadav
fb9db2b1b1
api: Annotate autoscale and cluster apis
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 13:59:11 -08:00
Rohit Yadav
6116f3a433
api: Annotate account apis remove IdentityMapper
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 13:49:23 -08:00
Rohit Yadav
e940562dca
api: Annotate domain apis
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 13:38:27 -08:00
Min Chen
16be94e9d7
Remove IdentityProxy from OfferingResponse, FirewallResponse,
...
FirewallRuleResponse, HypervisorCapabilitiesResponse, IPAddressResponse.
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-18 12:02:08 -08:00
Min Chen
1aa30f03e7
Remove IdentityProxy from AutoScale responses.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-18 11:19:36 -08:00
Min Chen
a390b273ae
Merge branch 'api_refactoring' of https://git-wip-us.apache.org/repos/asf/incubator-cloudstack into api_refactoring
2012-12-18 10:07:51 -08:00
Rohit Yadav
b16dde6367
api: Fix User related API Cmd classes to use entityType and CommandType.UUID
...
- Get rid of IdentityMapper
- Use entityType which is an array of Response.class
- Use UUID CommandType for params which will receive UUID string from over the
wire requests
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 04:23:05 -08:00
Rohit Yadav
dc33a8d145
api: Fix BaseList Cmd classes to use UUID CommandType and entityType appropriately
...
- Get rid of IdentityMapper
- Use entityType which is an array of Response.class
- Use UUID CommandType for params which will receive UUID string from over the
wire requests
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 04:20:50 -08:00
Rohit Yadav
b008f31fd5
api: Add @Entity annotation for user related response classes
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 04:19:46 -08:00
Rohit Yadav
837d21bb2d
api: Implement findByXId in GenericDaoBase and EntityManagerImpl
...
Declare and define findByXId() in GenericDao and EntityManager.
This method would return a VO by UUID and EntityManager's interface would
take in the VO Interface.
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-18 04:10:36 -08:00
Min Chen
3d344738b1
Fix ControlledEntityResponse interface to remove IdentityProxy for
...
projectId and domainId.
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-17 23:24:08 -08:00
Min Chen
79f8c104eb
Remove IdentityProxy from GuestOSResponse and GuestOSCategoryResponse.
...
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-17 18:01:31 -08:00
Min Chen
e017dc2c00
commit ba3fef5d0650c42463d0f225f4ca14b5f9046c44
...
Author: Min Chen <min.chen@citrix.com>
Date: Mon Dec 17 17:42:30 2012 -0800
Remove IdentityProxy from AlertResponse and AsyncJobResponse.
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-17 17:44:39 -08:00
Min Chen
348d3ae448
Conflicts:
...
api/src/org/apache/cloudstack/api/response/AccountResponse.java
Signed-off-by: Min Chen <min.chen@citrix.com>
2012-12-17 15:41:56 -08:00
Marcus Sorensen
6ed1989133
Summary: Allow for custom storage adaptors based on pool type in KVM
...
Detail: Instead of using LibvirtStorageAdaptor for everything, you can create
your own storage adaptor and use it. We select storage adaptor based on storage
pool type, thus we needed to adjust LibvirtComputingResource to pass pool type
to everything in KVMStoragePoolManager. This in turn required that we pass the
info necessary to LibvirtComputingResource as well, so a few agent Commands were
modified.
Note this patch in and of itself shouldn't change any existing behavior, just
allow for new storage adaptors to be selected based on storage pool type.
Reviewed-by: Edison Su
Signed-off-by: Marcus Sorensen <marcus@betterservers.com> 1355769696 -0700
2012-12-17 11:41:36 -07:00
Likitha Shetty
cba97b1742
api_refactoring: add parameter annotation for user 'security-group'
...
- Add the entityType to the parameter annotation
- Annotate SecurityGroupRules response
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-17 09:57:04 -08:00
kishan
0be6e2e02b
bug CS-14982: Make traffic sentinel metering zones configurable. Global config default will be used when no zones are listed while adding Traffic Sentinel Host
...
status CS-14982: resolved fixed
reviewed-by: Nitin
Conflicts:
api/src/com/cloud/api/ApiConstants.java
2012-12-17 15:18:31 +05:30
Rohit Yadav
f8a483fc5a
api: Include cloudstack-version in both xml and json api response
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-16 21:37:03 -08:00
Rohit Yadav
429b430721
api: Fix DeployVMCmd to use only entityType and not resourceType
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-16 18:12:01 -08:00
Rohit Yadav
6db279583e
api: Remove resourceType, use only entityType
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-16 18:09:33 -08:00
Rohit Yadav
cc4030be41
api: Add UUID type to CommandType in BaseCmd
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-16 18:08:49 -08:00
Fang Wang
efa034e821
API-refactoring -- Add pod annotation, needed for the deployVM flow test.
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-14 13:52:21 -08:00
Fang Wang
a2a3ef63c2
API refactoring -- add annotation for cluster group cmds and response.
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-14 13:50:39 -08:00
Fang Wang
7ea690c74d
API refactoring -- add annotation for Account group and account response.
...
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-14 13:49:38 -08:00
Fang Wang
27482045ce
API refactoring -- More parameter for counter group.
2012-12-14 11:52:08 -08:00
Fang Wang
44ef998cfc
api: Add Validator interface that will be used for the @Validator annotation
...
The @Validator (defined as @validate in wiki/FS) will do the following things:
- DBEntityValidator (verifies if the entity exists in the db or not)
- RangeValidator (min, max; limits)
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2012-12-14 11:42:49 -08:00
Min Chen
c167ad45e3
Move view based VO and Dao classes to cloud-server module to hide the
...
details from API client, also extract query related methods into
QueryService interface.
2012-12-14 10:47:58 -08:00