Commit Graph

11713 Commits

Author SHA1 Message Date
bfederle 294caa0217 Add base notification tests 2012-05-01 13:47:30 +01:00
bfederle 62b41f77ff Add more browser tests 2012-05-01 13:47:29 +01:00
bfederle e83ae475c8 Reorganize core UI widgets 2012-05-01 13:47:28 +01:00
bfederle 7950399ef8 Add browser UI widget tests 2012-05-01 13:47:27 +01:00
Jessica Tomechak eaaea07473 Update documentation source files. 2012-05-01 13:47:26 +01:00
bfederle 011ae5b063 Add more core UI tests 2012-05-01 13:47:25 +01:00
Likitha Shetty 36473c1c14 Bug-14029 Lock account confirmation message is not entirely visible. [reviewed-by: Brian] 2012-05-01 13:47:24 +01:00
Brian Federle 0f4f1049a7 Add tests for navigation and homepage; basic fixes 2012-05-01 13:47:23 +01:00
Brian Federle 15ef1c8b6d Add some basic tests 2012-05-01 13:47:22 +01:00
Brian Federle 33a066def4 Only show invitations if projects UI is initialized 2012-05-01 13:47:20 +01:00
Brian Federle a08b93719d Add qunit JS testing framework 2012-05-01 13:47:07 +01:00
Kelven Yang cd13762e44 Console proxy refactoring incremental check-in - new VNC protocol implementation 2012-05-01 13:45:15 +01:00
Edison Su 1926df31e5 fix db upgrade 2012-05-01 13:34:56 +01:00
Alena Prokharchyk 0077234576 Fixed unittest and some issues with 2.2.14-3.0 upgrade 2012-05-01 13:34:05 +01:00
Vijayendra Bhamidipati 1d749bb9d3 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-05-01 13:28:22 +01:00
Vijayendra Bhamidipati bea85d47a7 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-05-01 13:28:21 +01:00
Vijayendra Bhamidipati 094f01be41 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-05-01 13:28:20 +01:00
Vijayendra Bhamidipati 7ea32a4471 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-05-01 13:28:19 +01:00
Vijayendra Bhamidipati b4cefb4cc6 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-05-01 13:28:16 +01:00
Vijayendra Bhamidipati efdaa4d110 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-05-01 13:21:44 +01:00
U-CITRITE\vijayendra1 89db087981 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-05-01 13:21:42 +01:00
Brian Federle 3cc4aa5ee6 bug 13072: Remove host 'type' field
status 13072: resolved fixed
2012-05-01 13:18:46 +01:00
frank cf8dbd4c6b fix Ovm network for bond device 2012-05-01 13:18:45 +01:00
Alena Prokharchyk 97ec70d538 Don't initialize the logger in AsyncJobResponse class 2012-05-01 13:18:42 +01:00
anthony 2466e499c8 removed unused files 2012-05-01 13:18:28 +01:00
Alena Prokharchyk f8e32a5b05 bug 13860: Added async job types to Account/User Async api commands and more logging.
Reviewed-by: Kelven Yang
2012-05-01 13:16:24 +01:00
anthony 1ac27465bc get fsimage from sp2 for XenServer 5.6 GA 2012-05-01 13:15:52 +01:00
Jessica Tomechak 382e62bd16 Add new images for documentation. 2012-05-01 13:15:51 +01:00
Jessica Tomechak f022299934 Update CloudStack 2.2.x documentation source files. 2012-05-01 13:15:50 +01:00
Sheng Yang b0d9e5cbb9 bug 12706: Add broadcast address for the network interface
status 12706: resolved fixed
2012-05-01 13:15:49 +01:00
Brian Federle 50bb5704a8 bug 13965
Remove listPhysicalNetworks API altogether from network step
2012-05-01 13:15:47 +01:00
anthony 45051d7a9f bug 13832: fixed NPE
status 13832: resolved fixed
2012-05-01 13:15:36 +01:00
Brian Federle 8b1daa5466 bug 13965
For regular user, don't do list physical networks API call on instance
wizard
2012-05-01 13:15:34 +01:00
Alena Prokharchyk 3a3dbd2465 2.2.x-3.0 upgrade - column name change 2012-05-01 13:15:22 +01:00
frank 1fc3ef396f move all license html to build/license
reviewed-by: brian

Conflicts:

	build/eula.en.html
	build/eula.html
	build/license/eula.en.html
	build/license/eula.ja.html
2012-05-01 13:15:15 +01:00
Brian Federle 52e9032a02 Get EULA specific to selected language 2012-05-01 13:14:45 +01:00
Brian Federle 1e2e3b524c Make default language English, if no cookie set 2012-05-01 13:14:33 +01:00
Brian Federle 866691dc17 Fix typo 2012-05-01 13:14:15 +01:00
Brian Federle 3248bd19a5 bug 13920: Fix static NAT rule listing
status 13920: resolved fixed
2012-05-01 13:14:11 +01:00
Brian Federle 67da115d5f Make tab width flexible, to support longer labels 2012-05-01 13:14:01 +01:00
Brian Federle b2c712b8c7 Navigation organizational changes
-Rename 'System' -> 'Infrastructure'

-Rename 'service offering' -> 'compute offering'
 (including all associated labels)

-Rename 'Configuration' -> 'Service Offerings'

-Move hypervisor capabilities under global settings

-Rename 'Compute' -> 'Compute and storage'
2012-05-01 13:13:49 +01:00
Brian Federle 94dea8aadb UI: Browser widget fix
Fix elems.undefined error, which happens when destroyed panel
continues to animate.

-- This happened particularly in the domain section, when clicking
to/from another section while the details panel was sliding in.
2012-05-01 13:13:02 +01:00
Prasanna Santhanam 1fc72b3c56 Multiple fixes to the testClient to accomodate further changes to 3.0 APIs
reviewed-by: Kishan
* Revert back to old guestCidrAddress
* Add default traffic types
* fixed typo when creating physical network, specifid wrong zone
* correctly specifying the guest VLAN as part of updating physical network
2012-05-01 13:12:58 +01:00
Prasanna Santhanam 78761cfebc integrity checker loaded as parted of extended components.xml 2012-05-01 13:12:48 +01:00
Naredula Janardhana Reddy 7087116fcb Bug 13964:
Summary of changes: Added Hairpin Nat.
  - defined Harpin NAT function.
  - Called Hairpin NAT while adding/deleting port forwading and Static NAT rules.
  - added rules in IPtables config file, this will be iniated during bootup to forward New/established connectons from eth0 to eth0.
2012-05-01 13:12:47 +01:00
Jessica Tomechak 3eca7f47d5 Update documentation source files. 2012-05-01 13:12:46 +01:00
prachi 05ea7c99f5 Added instanceType to some async commands related to physical network
Reviewed-By: Alena Prokharchyk

Conflicts:

	api/src/com/cloud/api/response/AsyncJobResponse.java
	api/src/com/cloud/async/AsyncJob.java
2012-05-01 13:12:42 +01:00
Brian Federle 913e465e29 bug 13815
Add language drop-down to login screen

status 13815: resolved fixed
2012-05-01 13:09:17 +01:00
Jessica Wang 6042038775 cloudstack 3.0 new UI - add zone wizard - public traffic - show different description for basic zone and advanced zone. 2012-05-01 13:08:57 +01:00
Jessica Wang 08e28b8905 cloudstack 3.0 new UI - add zone wizard - guest traffic - show different description for basic zone and advanced zone. 2012-05-01 13:08:38 +01:00