Commit Graph

16749 Commits

Author SHA1 Message Date
Jessica Wang 595b7e5c04 cloudstack 3.0 UI - delete zone, delete pod, delete clouster in detailView - after action is finished, remove detailView and remove corresponding row from listView. 2012-03-09 11:26:06 -08:00
Alena Prokharchyk 2fb4a97837 bug 14195: fixed category for Project related global config values 2012-03-09 11:19:08 -08:00
bfederle 10c8b05c1a WIP: List view async tests 2012-03-09 11:11:24 -08:00
Alena Prokharchyk 6910740582 Revert "bug 14151,14153: configuration variables are now hidden; added ldapRemove command"
Reverting the commit in order to fix the build
This reverts commit 0ab0fcfa5c3b8825b8a92e3c2d2dee8e8ca6152b.
2012-03-09 09:53:56 -08:00
abhi b7b751fdf6 bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-09 16:56:01 +05:30
Vijayendra Bhamidipati df51744979 Bug 13127: API error text refer to database ids instead of uuids
Description:

	Removed some wrong invocations to addProxyObject() when
	throwing exceptions in NetworkManagerImpl.java.

	Replaced db ids with uuids in various points in the code
	of NetworkManagerImpl.java, where exceptions are thrown.
2012-03-09 01:13:36 -08:00
Vijayendra Bhamidipati a70f8a9b3d Bug 13127: API error text refer to database ids instead of uuids
Description:

	Replacing placement of db ids in exception messages to uuids
	in the file ManagementServerImpl.java.

	Since there are a large number of files that throw exceptions
	with db ids in them and they need to be changed, we will make
	the changes in multiple commits.
2012-03-08 23:25:50 -08:00
Nitin Mehta ce8787ec80 Bug 14199: Add allocated workd to the config values.
Reviewed-By: Kishan
2012-03-09 12:19:36 +05:30
Vijayendra Bhamidipati 6ac79c4be2 Bug 13127: API error text refer to database ids instead of uuids
Description:

	Adding a new class AnnotationHelper, that provides routines
	to read annotations from a VO class.

	Cloudstack does the mapping between cloudstack java VO objects
	and the database tables using cglib. cglib creates proxy objects
	as the maps between VO objects and the database.  A VO (value
	object) class is populated after querying from the MYSQL database.

	Ideally, a getAnnotation() issued on a cglib proxy object should
	get a list of all the annotations in all classes in the inheritence
	chain. However, this functionality seems to be currently broken
	in cglib.  Hence, when querying for annotations given the object
	of a VO class, we need to get to the corresponding VO class of that
	cglib proxy class and issue a getAnnotation() on that class. To get
	the VO class, we simply need to get the super class of the proxy
	object. Also, we need to recurse to the root VO class in case the
	VO class extends another VO class.

	Note that the cache used by CS is ehcache.
2012-03-08 17:34:28 -08:00
Brian Federle 6ff0a475d7 Add basic sync list view action tests 2012-03-08 15:11:40 -08:00
Jessica Wang 70fa9f0188 bug 14206: ISO page - listView - show name instead of description. 2012-03-08 15:06:25 -08:00
Jessica Wang 89af00eaee bug 14196: infrastructure page - add guest network - pass subdomainaccess=false to API when Subdomain Access is unchecked. 2012-03-08 14:44:47 -08:00
Brian Federle dd3707b630 Add initial list view action tests 2012-03-08 14:44:25 -08:00
Alena Prokharchyk 8155b63c88 bug 14199: added missing config values during the db upgrade 2012-03-08 14:29:39 -08:00
Brian Federle 30f84eec48 Add list view section selector tests 2012-03-08 14:24:40 -08:00
Jessica Wang 5c12161123 cloudstack 3.0 UI - infrastructure page - update SSL Certificate - overlay loading image during action. 2012-03-08 14:11:27 -08:00
Alena Prokharchyk 69d269df08 bug 14200: remove skip.steps config param as a part of 2.2.x-3.0 upgrade. Fixed the name for vm.destroy.forcestop config as well 2012-03-08 14:12:24 -08:00
Brian Federle f0b12e0d7d Add tests for list view widget:
-Data provider

-Column pre-filter
2012-03-08 13:47:01 -08:00
Jessica Wang 4761b9ec58 cloudstack 3.0 UI - (1) listView widget - add PreFilter() to exclude fields that shouldn't show upon conditions. (2) Instance page - add new field "Internal name" (e.g. "i-3-5-JW") that only shows for root-admin. 2012-03-08 13:30:06 -08:00
Sheng Yang e152e64ac0 Fix several wrong ResourceUnavailableException scopes 2012-03-08 11:55:31 -08:00
Vijayendra Bhamidipati 96f8111558 Bug 14060: Include a CloudStack error code in an Exception Response
Description:

	Missed fully qualifying ServerApiException in hashmap.
	Fixing it with this commit.
2012-03-08 11:19:13 -08:00
Brian Federle f844ab9a81 Update icon for 'Update SSL Certificate' button 2012-03-08 11:08:28 -08:00
frank e358c45e8a Bug 14170 - 2.2.14(KVM) - 3.0.1 Upgrade: DB inconsistencies after Upgrade
default resource_state should be Enabled
2012-03-08 10:25:34 -08:00
Jessica Wang 346e543582 Network page - Add guest network dialog - network offering dropdown - pass guestiptype instead of type to listNetworkOfferings API. 2012-03-08 10:03:41 -08:00
Kelven Yang e37c99d109 Console proxy refactoring incremental check-in - pluggable framework for VNC and RDP engine 2012-03-07 16:56:37 -08:00
Sheng Yang 5f387762ed bug 14170: Fix issue #7 2012-03-07 16:54:12 -08:00
Jessica Wang 174329468e bug 14194: Infrastructure page - guest traffic type - set traffic labels regardless of what vlan's value is. 2012-03-07 16:48:57 -08:00
Alena Prokharchyk 686761686f bug 14170: fixed #4-6 and #9-13 2012-03-07 16:37:24 -08:00
Jessica Wang 998a598026 Infrastructure page - guest traffic - details tab - move Tags field up from lower pane(traffic type) to upper pane (physical network) since tags is at physical network level, not at traffic type level. 2012-03-07 16:20:39 -08:00
Jessica Wang 1a952affbc bug 14193: system - guest traffic - edit action - not pass vlan to updatePhysicalNetwork when vlan field is blank. 2012-03-07 16:20:21 -08:00
Alena Prokharchyk 87f2480b09 Fixed upload custom certificate api broken due to default api field length restriction 2012-03-07 15:33:08 -08:00
Alena Prokharchyk 4f741c833c bug 14170: issues #1-#3 are fixed 2012-03-07 13:37:16 -08:00
Jessica Wang a601ef4c11 bug 14023: extend dialog widget to support textarea field. 2012-03-07 10:04:17 -08:00
Alena Prokharchyk 65e160b7e6 bug 14173: add eip/elb network offering (if missing) during the management server start
status 14173: resolved fixed
2012-03-07 10:02:24 -08:00
Likitha Shetty 7d93125993 Bug 13773 (Migrate volume to another primary storage icon is wrong)
reviewed-by: Brian
2012-03-07 10:20:12 +05:30
Jessica Wang 58add196be bug 14023: add "update SSL Certificate" button in the first screen in Infrastructure page. 2012-03-06 16:00:10 -08:00
Brian Federle e1a3a6f2d9 Add list view tests 2012-03-06 14:58:19 -08:00
Brian Federle c0c80432a8 Add field ID to list view <th>s 2012-03-06 14:58:00 -08:00
Brian Federle cefe07c337 bug 14124: Fix remove host confirm dialog 2012-03-06 14:08:26 -08:00
Brian Federle 39b74a6df2 bug 14093
Uncheck conditional fields to be hidden, to avoid hidden services from
accidentally being enabled
2012-03-06 13:58:11 -08:00
Alena Prokharchyk f3935d667f bug 14156: return instancename parameter in userVm response to ROOT admin only 2012-03-06 13:39:13 -08:00
Brian Federle fb141dd5ef bug 14093
Don't show specific provider fields on add network offering if in
Advanced/Shared configuration:

-Source NAT
-Static NAT
-PF
-LB
2012-03-06 13:22:22 -08:00
frank 4ff6fdf05f 2214to30 DB upgrade:
directly put simulator_network_label, ovm_network_label when creating physical_network_traffic_types
table
2012-03-06 11:11:48 -08:00
Brian Federle 5c1f1a505f bug 14044
Reduce width of level bar to prevent '100%' capacity text from
wrapping
2012-03-06 11:02:06 -08:00
prachi 5148145d18 Bug 14028 - Add hostid parameter to StartVmCmd to enable admins to start VM on a particular host
Changes:
- Added hostid to StartVMCmd. Only root admin can use it.
2012-03-05 17:50:23 -08:00
Vijayendra Bhamidipati 57c54e23d6 Bug 14060: Include a CloudStack error code in an Exception Response
Bug 13127: API error text refer to database ids instead of uuids

Code-Reviewers: Ewan Mellor, Kelven Yang

Description:

	1. A new class CSExceptionErrorCode has been added to utils.
	   It contains a list of error codes for each type of
	   Exception class. Use fully qualified package paths for
	   Exceptions in CSExceptionErrorCode.  We log any exception
	   name not found in the list of error codes for exceptions.

	2. Whenever we throw an exception exobj anywhere in the
	   CS code, the CSErrorCode is set in the base class
	   constructor.

	3. We add a new field csErrorCode in classes CloudException,
	   RuntimeCloudException, ExecutionException and
	   ExceptionResponse.

	4. Two places in ApiServer.java were wrongly modified when
	   putting in changes for bug 13127 to not throw an exception.
	   This has been corrected in this commit.
2012-03-05 17:39:09 -08:00
prachi 996110c928 Bug 14000 - Neither Admin or regular user can create a VM when the Pod is disabled
Bug 14006 - Admin could not create a VM when the cluster is Disabled

Changes:
- For Root admin, planner will not filter out the disabled pods or clusters from the resource list
2012-03-05 17:04:22 -08:00
prachi d2ecd8c89a Bug 13999 - Non-admin user should not be able to take snapshots
Changes:

If Zone is disabled, deny permission to regular user while creating snapshots
2012-03-05 17:04:13 -08:00
Alena Prokharchyk 96cdc408d4 bug 14103: mark account for cleanup only in cleanupAccount and disableAccount method, not in the callers methods
status 14103: resolved fixed
2012-03-05 16:19:12 -08:00
Brian Federle 46ad531a1e bug 14088:
Fix Citrix log / EULA not rendering due to missing language cookie;
specify default language variable, set to English, if no 'lang' cookie
is present.

status 14088: resolved fixed
2012-03-05 16:13:31 -08:00