Commit Graph

11725 Commits

Author SHA1 Message Date
JohnZ d4e81ab525 modified: cloudbridge/src/com/cloud/bridge/service/S3RestServlet.java
modified:   cloudbridge/src/com/cloud/bridge/service/controller/s3/S3ObjectAction.java
	modified:   cloudbridge/src/com/cloud/bridge/service/core/s3/S3PutObjectInlineResponse.java
2012-05-01 13:51:17 +01:00
JohnZ 542a399957 Correction to auth 2012-05-01 13:51:16 +01:00
JohnZ 5b3c338de2 Correction to objects in buckets 2012-05-01 13:51:15 +01:00
JohnZ 6ced6b1a90 new file: .project
new file:   .project.general
	modified:   cloudbridge/src/com/cloud/bridge/io/MTOMAwareResultStreamWriter.java
	new file:   cloudbridge/src/com/cloud/bridge/util/DatabindingConverterUtil.java
	modified:   cloudbridge/src/com/cloud/bridge/util/ISO8601SimpleDateTimeFormat.java
2012-05-01 13:51:14 +01:00
JohnZ f143902e45 S3 Result changes using MTOMAwareResultStreamWriter 2012-05-01 13:51:13 +01:00
prachi 04e63e494d Integration of CloudBridge to CloudStack codebase.
- Changes to dev environment build scripts.
2012-05-01 13:51:09 +01:00
Brian Federle c9eac5799b Add list view tests 2012-05-01 13:48:42 +01:00
Brian Federle 19ffa64980 Add field ID to list view <th>s 2012-05-01 13:48:41 +01:00
Brian Federle d9e8853d6b bug 14093
Uncheck conditional fields to be hidden, to avoid hidden services from
accidentally being enabled
2012-05-01 13:48:40 +01:00
Brian Federle 027aa4aadc bug 14093
Don't show specific provider fields on add network offering if in
Advanced/Shared configuration:

-Source NAT
-Static NAT
-PF
-LB
2012-05-01 13:48:36 +01:00
Vijayendra Bhamidipati f601db1304 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-05-01 13:48:15 +01:00
Brian Federle 220e9136d5 UI: Add notification tests 2012-05-01 13:47:31 +01:00
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