11223 Commits

Author SHA1 Message Date
Vijayendra Bhamidipati
b1bb0afad4 Bug 13127: API error text refer to database ids instead of uuids
Description:

	Modifying the API functions' exception handling to call
	addProxyObject() wherever applicable, and removing some
	wrong calls to addProxyObject() that were put in in an
	earlier commit for this bug.

	With this commit, we cover many API functions to use the
	new exception handling code, but some pieces may still be
	left out. These will be covered as work in progress, when
	making changes to the CS API code.
2012-03-12 18:05:45 -07:00
Sheng Yang
2b3b3e21ad Add missing annotation 2012-03-12 17:10:13 -07:00
Sheng Yang
ec5a225a78 Refactor VirtualRouterNetworkManagerImpl
Refactor applyDhcpEntry and applyUserData to use applyRules framework.
2012-03-12 16:10:48 -07:00
Alena Prokharchyk
ad1192e264 bug 14239: limit number of Isolated account specific networks per account
status 14239: resolved fixed

Conflicts:

	api/src/com/cloud/api/commands/CreateNetworkCmd.java
	server/src/com/cloud/network/NetworkManagerImpl.java
	server/test/com/cloud/network/MockNetworkManagerImpl.java
2012-03-12 15:53:30 -07:00
Jessica Wang
af06038b9d infrastructure page - zone detail - guest traffic type - networks tab - pass listAll=true to 2nd listNetworks API. 2012-03-12 14:48:48 -07:00
Jessica Wang
11b4e2c37e cloudstack 3.0 UI - IP Address page - retrieving data for detailView - no need to pass listAll parameter to listPublicIpAddresses API. Passing id parameter is enough. 2012-03-12 14:13:14 -07:00
Sheng Yang
21fe5e1087 bug 14074: Specify networkId for list public ip
status 14074: resolved fixed
2012-03-12 12:00:31 -07:00
Jessica Wang
6558f66239 bug 14238: create network offering dialog - remove traffic type dropdown since it includes only one choice. Hardcode it in API call. 2012-03-12 11:37:36 -07:00
Alena Prokharchyk
251af27a7a bug 14247: implemented search by storage id in listSystemVms
status 14247: resolved fixed
2012-03-12 10:24:48 -07:00
abhi
2b437f6a12 adding remove cmd for ldap 2012-03-12 16:56:43 +05:30
abhi
ecad50c801 bug 14151,14153: configuration variables are now hidden; added ldapRemove command 2012-03-12 16:50:00 +05:30
abhi
64eb2dfcb1 bug 14224: allowing Xenserver 6.0.2, with the assumption that the same patches and guest os type will work as with 6.0 2012-03-12 16:39:22 +05:30
abhi
87a32a4866 bug 14224: adding 6.0.2 2012-03-12 16:39:22 +05:30
kishan
14e2dd67bc Bug 14195: Changed category of Usage and Secure configs 2012-03-12 16:10:05 +05:30
Sheng Yang
476c671374 Refactor VirtualNetworkApplianceManagerImpl
Add separate create command for dhcp, userdata and password.
2012-03-09 19:02:47 -08:00
Sheng Yang
d62d3b5a01 Refactor rules appling in the VirtualNetworkApplianceManagerImpl 2012-03-09 18:00:06 -08:00
Jessica Wang
008fcb8a27 cloudstack 3.0 UI - listView - when clicking fast between different rows, JS error "args.context.xxx is undefined" appears. e.g. "args.context.instances is undefined" appears when clicking fast between different rows in listView in instance page. Because when clicking fast, users might click another row before API response for this current row is back => which causes the JS error. The fix is to overlay the whole listView by loading image (spinning wheel image) until click-handling for this row is done (e.g. API response is back). 2012-03-09 16:48:14 -08:00
bfederle
ae1858d1cd bug 14191
-Only show domains under logged in user's domain

-Allow domain admins to add accounts from 'Accounts' section
2012-03-09 14:12:49 -08:00
bfederle
d08f1296e8 List view UI: action filter tests 2012-03-09 14:03:51 -08:00
Jessica Wang
64a61f5ccb bug 13112: cloudstack 3.0 UI - host page - add Statistics tab. 2012-03-09 13:49:23 -08:00
Jessica Wang
078cd90ad9 bug 14190: not refresh embedded data in corresponding list view row because data here is partial (e.g. if it's from Nics tab in instance page instead of details tab in instance page, data is just an array of Nic object, not an array of Instance object). 2012-03-09 13:02:52 -08:00
Alena Prokharchyk
681f80cc4d bug 14221: fixed description for default network offering
status 14221: resolved fixed
2012-03-09 11:38:06 -08:00
bfederle
9f6230490e Add list view async action test 2012-03-09 11:27:39 -08:00
bfederle
35765419d1 Disable notification interval if in 'debug' mode (for unit tests) 2012-03-09 11:27:39 -08:00
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