Commit Graph

11110 Commits

Author SHA1 Message Date
Jessica Wang 41cab515ee cloudstack 3.0 UI - After destroy action is finished, remove the row from listView. 2012-03-01 15:36:03 -08:00
Alena Prokharchyk fa0e25d146 bug 14080: do EQ instead of LIKE search when search for duplicated users during the user update
status 14080: resolved fixed
2012-03-01 15:11:46 -08:00
Sheng Yang 6e95f8a4a0 bug 14085: Upgrade: Update domain_router's Role
status 14085: resolved fixed
2012-03-01 14:58:40 -08:00
Sheng Yang 887256ad12 bug 14076: Fix the exception scope
status 14076: resolved fixed
2012-03-01 14:58:40 -08:00
Jessica Tomechak 452d952c27 Update documentation source files. 2012-03-01 13:09:53 -08:00
Jessica Wang db7e262181 Network page - detail view - make API call to refresh data when Refresh button is clicked. 2012-03-01 11:36:49 -08:00
Jessica Wang c390826359 Snapshot page - detail view - make API call to refresh data when Refresh button is clicked. 2012-03-01 11:13:57 -08:00
Jessica Wang 708c7d2168 Volume page - detail view - make API call to refresh data when Refresh button is clicked. 2012-03-01 11:13:29 -08:00
bfederle 761e814628 Add more core UI tests 2012-03-01 10:57:54 -08:00
Jessica Wang 26e45b2b24 fix a JS error: $detailView.data("list-view-row") is undefined 2012-03-01 10:13:18 -08:00
kishan 93b859970f Bug 14039: Changed SSO key category Secure
Status 14039: resolved fixed
Reviewed-By: Abhi
2012-03-01 21:00:48 +05:30
Jessica Wang 389b981532 cloudstack 3.0 UI - detailView widget - refresh embedded data in corresponding list view row when dataProvider is called. 2012-02-29 17:23:36 -08:00
Alena Prokharchyk 152dfe4fd2 More fixes to the db upgrade 2012-02-29 16:26:44 -08:00
Jessica Wang e6d43e157e bug 14073: Quick Installer - make zones created from Quick Installer to be public (not dedicated to any domain) 2012-02-29 15:22:36 -08:00
Alena Prokharchyk e992a25e1a bug 14033: root/domain admin limits are always Unlimited. Return it as Unlimited in listResourceLimit response
status 14033: resolved fixed
2012-02-29 15:15:36 -08:00
Alena Prokharchyk 25676aa3c6 bug 14017: 1) Don't allow NULL value for Boolean type of config 2) Added a null check when compare config values
status 14017: resolved fixed
2012-02-29 13:09:47 -08:00
Brian Federle 541b18a0f4 Add tests for navigation and homepage; basic fixes 2012-02-29 11:54:40 -08:00
Alena Prokharchyk ce433f9df2 Wrap deletePhysicalNetwork in transaction 2012-02-29 11:02:57 -08:00
Brian Federle 0f5524dd47 Add some basic tests 2012-02-29 10:33:45 -08:00
Brian Federle 6d9928ba32 Only show invitations if projects UI is initialized 2012-02-29 10:33:05 -08:00
Brian Federle f24bc8415b Add qunit JS testing framework 2012-02-29 09:33:22 -08:00
kishan 3bf242c664 Drop security group usage table and add again for upgrade 2012-02-29 14:44:58 +05:30
Prasanna Santhanam 3a6edb7643 adding logging with level and timestamp 2012-02-29 11:58:25 +05:30
Prasanna Santhanam 01fa6e3322 adding retry logic, error handling, and urllib2 used for managing connections 2012-02-29 11:58:25 +05:30
Prasanna Santhanam 1316fb7714 Wrong place to put a return 2012-02-29 11:58:25 +05:30
Alena Prokharchyk e01088f4a6 DB upgrade: added missing account_details table 2012-02-28 17:19:17 -08:00
Kelven Yang 5aade501dc fix merge conflicts 2012-02-28 17:06:23 -08:00
Kelven Yang 52ebf15e7c Console proxy refactoring incremental check-in - new VNC protocol implementation 2012-02-28 17:03:38 -08:00
Edison Su 8fb378ac53 fix db upgrade 2012-02-28 17:03:18 -08:00
Edison Su 215bcb1ce6 fix db upgrade 2012-02-28 16:38:53 -08:00
Alena Prokharchyk 6ac729e294 Add is_system field to user_ip_address table during the db upgrade 2012-02-28 16:30:56 -08:00
Sheng Yang 0d2693c1c4 Add element_id for 3.0 upgrade 2012-02-28 16:19:38 -08:00
Edison Su 66b4351caf fix db upgrade 2012-02-28 15:39:32 -08:00
Alena Prokharchyk 9b6c3867c7 Updated test data for db upgrade unittest 2012-02-28 15:27:03 -08:00
Alena Prokharchyk 2eaefc4aa8 Fixed unittest and some issues with 2.2.14-3.0 upgrade 2012-02-28 15:17:14 -08:00
Jessica Wang 2e479ff240 cloudstack 3.0 new UI - support single-sign-on. 2012-02-28 14:54:17 -08:00
Jessica Wang 1136cd7cf1 remove g_type that is no longer in use. 2012-02-28 13:34:47 -08:00
Brian Federle 2022cd2dea Use user.role instead of user.type 2012-02-28 12:09:45 -08:00
Jessica Wang 43570f9898 cloudstack 3.0 new UI - check whether session is valid or not before sending API request. If session is invalid, pop up "session expired" dialog instead of send API request. 2012-02-28 11:34:24 -08:00
Vijayendra Bhamidipati 83101a752f Bug 13127: API error text refer to database ids instead of uuids
Description:

	Modified the IdentityTypeAdapter's custom serializer to
	identify whether this is an exception response that is being
	serialized, by checking if the idFieldName is set. If so,
	serialize both uuid and the uuidProperty (for eg, zoneId and
	"zoneId" (string)) and pass back the json representation of that.

	Modified XML serializer also to build a list of uuids+fieldnames.

	Introduced a new field "cserrorcode" in ExceptionResponse. This
	refers to an error code that can be according to the specific
	Exception being thrown. This will be serialized as usual. There
	shouldn't be any need to do a db lookup for conversion for these
	error codes.
2012-02-27 17:55:06 -08:00
Vijayendra Bhamidipati 59631452b9 Bug 13127: API error text refer to database ids instead of uuids
Description:

	Modify Exception handling to enable addition of multiple
	uuids in a single exception thrown by API functions. Both
	XML and JSON outputs will store all uuids and Fieldnames.
	This will make it easier to provide more information when
	an exception occurs - for example, a zone id, a cluster id,
	host id, and then a specific property id.
2012-02-27 17:55:03 -08:00
Vijayendra Bhamidipati bfe1122bc6 Bug 13127: API error text refer to database ids instead of uuids
Description:

	Added a field name for the db id in the IdentityProxy class, and
	modified setProxyObject() to take an additional id name parameter.
	This will let us know the name of the uuid that we are returning.
	E.g.- domainId, zoneId, etc. The client can view this field in
	the json/xml output. Modified the JSON/XML serialization routines
	to append this new parameter to the serialized output for Exception
	Responses.
2012-02-27 17:55:01 -08:00
Vijayendra Bhamidipati e5b4cf5cf1 Bug 13127: API error text refer to database ids instead of uuids
Description:

	1) Put in an IdentityProxy object in the ExceptionResponse class.
	   This allows us to copy over the IdentityProxy object contained
	   in the exception caught by handlerequest() when thrown by the
	   command's execute() method, into the Response object that is
	   prepared to return an exception response to the calling API
	   invocation.

	2) Modified the GSON serialization method to conver the entire
	   exception object into JSON format and not just the error text.

	3) Modify the updateDomain API to populate the exception it throws
	   upon detecting a duplicate domain to include the tablename and
	   domain db id in the exception's IdentityProxy object.

	NOTE:
	1) We can modify the base exception classes and the ExceptionResponse
	   class to contain a list of IdentityProxy objects rather than a
	   single one.
	2) We will need to modify all commands such that wherever applicable
	   (wherever a db id is involved), they populate the IdentityProxy
	   object(s) before throwing an exception.
2012-02-27 17:54:58 -08:00
Vijayendra Bhamidipati c3fbe29cf8 Bug 13127: API error text refer to database ids instead of uuids
Description:

	1) Added a setProxyObject() method to CloudException and RuntimeCloudException
	2) Modified a bunch of throw exceptions in NetworkManagerImpl.java to call setProxyObject() before throwing an exception.
	3) Changed scope of ProxyIdentity attribute to protected.
	4) Added routines to ServerApiException to get/set IdentityProxy object, and
	   routine in RuntimeCloudException to get the Idproxy object.
	5) Modified the exception handling around the dispatcher and handlerequest()
	   to copy over the IdentityProxy information before rethrowing an exception
	   eventually back to handle().
	6) Removed duplicate IdentityProxy object in ServerApiException.
	   It was extending RuntimeCloudException which already had an
	   IdentityProxy object.
2012-02-27 17:54:56 -08:00
Vijayendra Bhamidipati 768d7a2a26 Bug 13127: API error text refer to database ids instead of uuids
Description:

1)	Moved RuntimeCloudException from api/ to utils/.

	Added simple constructor to RuntimeCloudException.

	Modified all classes that extended RuntimeException
	to extend RuntimeCloudException. These classes
	are listed below:

		ServerApiException
		CloudAuthenticationException
		CloudExecutionException
		AsyncCommandQueued
		HypervisorVersionChangedException
		RuntimeCloudException

2)	Added overloaded constructed to CloudException.
	Modified all classes that extend Exception to extend CloudException instead.
	These classes are listed below:

		ConcurrentOperationException
                ConflictingNetworkSettingsException
                ConnectionException
                DiscoveryException
                InsufficientCapacityException
                ManagementServerException
                ResourceUnavailableException
                VirtualMachineMigrationException
                AgentControlChannelException
                OperationTimedoutException.java
                UnsupportedVersionException.java
                UsageServerException.java
                UnableDeleteHostException.java
                AgentAuthnException.java
                HttpCallException.java
                ActiveFencingException.java
                ClusterInvalidSessionException.java
                GreTunnelException.java
                OvsVlanExhaustedException.java
2012-02-27 17:54:53 -08:00
U-CITRITE\vijayendra1 698c1ebe12 Bug 13127: API error text refer to database ids instead of uuids
Description:

1)	Adding two new classes, CloudException and RunTimeCloudException.
	The former extends Exception and the latter RunTimeException.
	These will be used by classes that formerly directly extended
	Exception and RuntimeException. These two classes have an attribute
	of type IdentityProxy to enable exceptions fill in db ids in separate
	attribute fields rather than in a string. Doing so will allow the
	serialization module (GSON for JSON and other for XML) to kick in
	and convert this db id to a uuid in ApiServer.java just before the
	JSON/XML responses are sent out.

2)	Moving IdentityProxy.java from api/ to utils/ since
	both CloudException and RuntimeCloudException refer to it.

3)	Changing references to IdentityProxy class from api/ to utils/.

4)	While rebasing to master, a new file was added, merging
	api/src/com/cloud/api/response/IsoVmResponse.java to this diff.
2012-02-27 17:54:50 -08:00
Jessica Wang b7b9b096a2 cloudstack 3.0 new UI - clean up global variable and session cookie when logging out. 2012-02-27 17:32:05 -08:00
Brian Federle c4e5ce36c5 bug 13072: Remove host 'type' field
status 13072: resolved fixed
2012-02-27 16:45:37 -08:00
Kelven Yang 7eded374b7 bug 13860: add sanity check to ApiResponseSerializer when serializing XML response. Reviewed-By: Anthony 2012-02-27 16:07:39 -08:00
frank 0276217c5e fix Ovm network for bond device 2012-02-27 16:07:01 -08:00