Commit Graph

1898 Commits

Author SHA1 Message Date
Nitin Mehta 5c9ca6c22d CLOUDSTACK-6699: listResouceDetails - enhance it to list by (key,value) pair - allowed to Admin only.
(cherry picked from commit d5425e1a4a)
2014-07-28 16:02:13 +02:00
Sanjay Tripathi 8f9458e517 CLOUDSTACK-6884: List Capacity API always returns GPU capacity also even if type is different.
(cherry picked from commit 48646ae186)
2014-06-27 09:41:52 +02:00
Kelven Yang c422933719 CLOUDSTACK-6970: Protect event interpretion from causing NPE exception
(cherry picked from commit 06d8d3a03f)
2014-06-20 22:31:56 +02:00
Jayapal 80d8cef240 CLOUDSTACK-6899: Added vmId in listnics response
(cherry picked from commit e9f60ee292)
2014-06-12 14:18:42 +02:00
Nitin Mehta a1ab3364f4 CLOUDSTACK-6895: 1. Populate firstclass entities as uuids in the context instead of dbids for performance.
2. Add ctxDetails in the ParamGenericValidationWorker to avoid warning for api validation
3. Add some missing events.
4. Correcting mapping for ResourceObjectType.NetworkACL and ResourceObjectType.NetworkACLItem

(cherry picked from commit 8a9092c3cd)

Conflicts:
	api/src/com/cloud/event/EventTypes.java
	api/src/org/apache/cloudstack/api/BaseCmd.java
2014-06-12 12:18:12 +02:00
Olivier Lemasle c934e7b052 CLOUDSTACK-6850: Return cpu cores, cpu speed and memory in listUsageRecords
Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
(cherry picked from commit a1f278e9d4)
2014-06-10 13:39:43 +02:00
Koushik Das 5fe7eb3357 CLOUDSTACK-6843: [Automation] List listServiceOfferings api fails with NPE
Incorrect parameter name used in query building resulted in a bad sql query.

(cherry picked from commit 025c143ac7)
2014-06-05 15:51:39 +02:00
Hiroki Ohashi 58d4a2400a Allow usaage reporting on removed service offering 2014-05-29 19:13:39 +02:00
Min Chen f002e4d161 CLOUDSTACK-6752: IAM command class separation caused ApiDoc warning of
duplicated cmd class for the same api name.
2014-05-23 10:10:12 +02:00
Min Chen c169ed1f3e CLOUDSTACK-6742: listVolumes - As regularuser , able to list Vms and
volumes of other users.
2014-05-22 10:17:15 +02:00
Min Chen 6ba541afb7 Disable IAM feature from 4.4 release.
Conflicts:
	test/integration/smoke/test_vm_iam.py
2014-05-21 13:49:11 +02:00
Murali Reddy 5b525aadf3 CLOUDSTACK-6712: NPE in findJobInstanceUuid() in ApiDBUtils 2014-05-20 10:20:20 +02:00
Murali Reddy 840938504b CLOUDSTACK-6672: [Automation] NPE observed while listing system vms
fixing NPE
2014-05-19 11:04:57 +02:00
Sanjay Tripathi da97f3f6e5 CLOUDSTACK-6678: API:MS: listCapacity returns; errorcode":530,"cserrorcode":9999,"errortext":"Index: 0, Size: 0"}. 2014-05-15 11:13:08 +02:00
Sanjay Tripathi 13ba59c5f0 CLOUDSTACK-6649: CS is not giving the system-wide capacity for GPU reosurce. 2014-05-14 13:52:46 +02:00
Amogh Vasekar a7bf66b9f0 This patch disallows deleting / modifying system defined guest OS mappings
Local env
1. Create user defined mapping
2. Delete / modify user defined mapping. Should pass
3. Delete / modify system defined mapping. Should fail

Signed off by :- Nitin Mehta<nitin.mehta@citrix.com>
2014-05-13 22:55:14 +02:00
Min Chen e865cf8d2b CLOUDSTACK-6613:IAM: authorizeSecurityGroupIngress fails when SG Name is
passed.
2014-05-13 11:20:27 +02:00
Nitin Mehta 5ead629ce7 CLOUDSTACK-6633: listVolumes should return template/iso info for root volumes 2014-05-12 09:44:12 +02:00
Kelven Yang 60ad928ce7 CLOUDSTACK-6586: Move EventBus hookup on job framework to ApiServer to decouple job framework away from business logic related hookups. The decoupling is done through internal messaging facility provided inside management server. 2014-05-07 09:17:32 +02:00
Sam Schmit 3a3457e713 CLOUDSTACK-6472 listUsageRecords: Pull information from removed items as well, fixing NPEs/Null UUIDs with usage API calls. 2014-05-06 17:46:20 +02:00
Sebastien Goasguen 352a9f8587 Review from pyr https://reviews.apache.org/r/20557/ 2014-05-06 17:45:56 +02:00
Tanner Danzey f8419b9303 CLOUDSTACK-5907, CLOUDSTACK-6396: KVM/RBD & KVM/CLVM volumes mistakenly shown as OVM, disables snapshotting
modified:   server/src/com/cloud/api/ApiDBUtils.java

Signed-off-by: Daan Hoogland <daan@onecht.net>
2014-05-05 15:29:14 +02:00
Min Chen 1085695b5c CLOUDSTACK-6569: IAM - Regular user is able to listNetworks of another
user in the same domain , by passing account and domainId.
2014-05-03 00:44:25 +02:00
Min Chen 4ebde83519 CLOUDSTACK-6535: IAM:MS:API createVMSnapshot doesn't preserve access
rights.
2014-05-02 18:52:51 +02:00
Min Chen a3a0f13bb8 CLOUDSTACK-6513: remove commented code. 2014-05-01 10:38:05 +02:00
Min Chen 554cab8ea1 CLOUDSTACK-6513: templateFilter=shared should not show self-owned
template.
2014-05-01 10:37:46 +02:00
Min Chen 683c242ed3 CLOUDSTACK-6513: Optimize code by removing deprecated utility to
QueryManagerImpl as private method just used for listTemplates and
listAffinityGroups to avoid misuse by new list APIs.
2014-04-30 10:40:39 +02:00
Min Chen 4f9b298817 CLOUDSTACK-6532:Affinity Groups - As admin user, not able to list all
affinity groups available for regular users by passing account and
domainId paramater. This is to revert IAM way of implementing
listAffinityGroupsCmd, will bring it back when we have implemented real
impersonation.
2014-04-30 10:39:43 +02:00
Min Chen 4ca65496c2 CLOUDSTACK-6513: IAM - Templates - When templates are listed with
templatefilter="shared" is used , we see public templates also being
included in the list. This commit reverts listTemplates behavior to 4.3
old logic without using consistent interpretation of list parameters
adopted in new IAM model.
2014-04-30 10:38:02 +02:00
Nitin Mehta 8eb903ba48 CLOUDSTACK-6530: Populate the first class entities in the context to be available for publishing more information for the event bus, checking the displayable property etc. 2014-04-29 13:30:38 +02:00
Alena Prokharchyk 35767d1ee9 CLOUDSTACK-6436: listResourceDetails - don't return entries set with display=false, by default 2014-04-25 22:00:17 +02:00
Alena Prokharchyk dceaa7ccef Revert "Return isolation methods as a part of listPhysicalNetworks call"
This reverts commit eb877a093c.
2014-04-22 18:06:33 -07:00
Alena Prokharchyk eb877a093c Return isolation methods as a part of listPhysicalNetworks call 2014-04-22 14:46:34 -07:00
Min Chen c3a4a01781 Fix listAccountsCmd logic to be consistent with new interpretation of
listAll, isRecursive and domainId parameters.
2014-04-18 16:58:03 -07:00
Alena Prokharchyk 4a518908a3 Fixed NPE in listResourceDetalis logic 2014-04-18 16:31:52 -07:00
Min Chen bd6a95e864 Fix IAM list api implementation based on agreed interpretation for
listAll, isRecursive, domainId and account.
2014-04-17 15:46:29 -07:00
Prachi Damle 48c9b46328 CLOUDSTACK-6349: IAM - No error message presented to the user , when invalid password is provided.
- AccountManager now works using accountId instead of accountType in following methods too:
- isResourceDomainAdmin()
- isAdmin()
2014-04-16 11:26:57 -07:00
Antonio Fornie fd3a0d739e Fix: ParamGenericValidationWorker shouldn't be case sensitive
Signed-off-by: Alena Prokharchyk <alena.prokharchyk@citrix.com>
2014-04-14 10:05:41 -07:00
Sanjay Tripathi 5e9b25bad0 CLOUDSTACK-6373: listHost API response is not listing all the details of vgpuType. 2014-04-10 13:55:25 +05:30
Prachi Damle 458acc762a Changes while processing the @ACL annotation, to include only 1 object per parameter even if the parameter is tied to multiple interfaces in the @EntityReference 2014-04-03 23:07:04 -07:00
Min Chen 6af57d08a6 Fix a little bug to resource owner to checkAccess. 2014-04-02 11:38:43 -07:00
Min Chen 3ee55cd17b Fix the compilation error due to interface change. 2014-04-02 09:40:05 -07:00
Prachi Damle 43ce83202d Fix for: doAccessChecks fail due to the wrong ClassCast toArray() 2014-04-01 17:42:07 -07:00
Min Chen 4367d1406b Change AccountManagerImpl.checkAccess to invoke SecurityChecker
interface that takes multiple controlled entities.
2014-04-01 17:31:56 -07:00
Min Chen c89eb73304 Remove usage of sameOwner checkAccess invocation, and convert to
OperateEntry IAM check.
2014-04-01 17:31:56 -07:00
Prachi Damle b917184fda Adding SecurityChecker list for the ParamProcessWorker 2014-04-01 12:06:16 -07:00
Prachi Damle 9962cf1706 SecurityChecker can accept multiple ControlledEntity 2014-04-01 12:06:13 -07:00
Edison Su 392dc817af fix build 2014-03-27 17:38:42 -07:00
edison 36efe4dbf4 CLOUDSTACK-5831: Fix NPE, in case the volume isn't attached to any pool 2014-03-27 17:38:40 -07:00
Edison Su 4584d5c845 CLOUDSTACK-5831: return quiescevm field in volumeresponse
Conflicts:

	api/src/org/apache/cloudstack/api/response/VolumeResponse.java
	server/src/com/cloud/api/query/QueryManagerImpl.java
2014-03-27 17:38:40 -07:00