Repository: cloudstack
Updated Branches:
refs/heads/master cd67382b6 -> 4a424500f
CreateVMSnapshot: fix typo in API description
This closes #161
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/4a424500
Tree: htt
Repository: cloudstack
Updated Branches:
refs/heads/master 57cd7f3db -> 1f72548f5
CLOUDSTACK-4807: tests for NetUtils
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1f72548f
Tree:
Repository: cloudstack
Updated Branches:
refs/heads/master ed099c3f9 -> a0eb14498
packaging: date fix
rpmbuild complained about the date "Fri Oct 03 2012"
according to the calendar, Oct 3 2012 was Wednesday
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloud
Repository: cloudstack
Updated Branches:
refs/heads/master c25d4fdea -> a81b59e2a
Revert "some unused fields deleted"
This reverts commit 31db58f7204ac8bb434599ff51d794640718845c.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/c
Some simplification on getClientAddress in ApiServlet
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2a6d6891
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2a6d6891
Dif
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3577423d/services/console-proxy-rdp/rdpconsole/src/main/java/rdpclient/rdp/ServerPaletteUpdate.java
--
diff --git
a/services/console-proxy-rdp/rdpconsole/src/main/java/rdpclie
Simplification on Properties handling
- Added method to create properties and load contents from file
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b2023d04
Tree: http://git-wip-us.
removed executable flags from java classes
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3577423d
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3577423d
Diff: http://g
Properties loading simplification
- Using the PropertiesUtil methods, the resource handling could be elliminated
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/55c449aa
Tree: http://
Repository: cloudstack
Updated Branches:
refs/heads/master 71bb436c8 -> 31db58f72
Stream handling simplification in PropertiesUtil
- use resource block instead of finally block
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3577423d/plugins/network-elements/cisco-vnmc/src/com/cloud/agent/api/CleanupLogicalEdgeFirewallCommand.java
--
diff --git
a/plugins/network-elements/cisco-vnmc/src/com/cloud/a
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3577423d/engine/api/src/org/apache/cloudstack/engine/orchestration/service/NetworkOrchestrationService.java
--
diff --git
a/engine/api/src/org/apache/cloudstack/engine/orchest
unit test for getClientAddress
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fa52ffad
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fa52ffad
Diff: http://git-wip-us.ap
some unused fields deleted
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/31db58f7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/31db58f7
Diff: http://git-wip-us.apache
unused logger removed
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/712a729b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/712a729b
Diff: http://git-wip-us.apache.org/
Repository: cloudstack
Updated Branches:
refs/heads/master 726d8fc3f -> 178240a7d
test for HighAvailabilityManagerImpl
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/178240a7
Tree
test for escapeHTML
- test added
- StringBuffer replaced with StringBuilder
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/726d8fc3
Tree: http://git-wip-us.apache.org/repos/asf/cloud
Repository: cloudstack
Updated Branches:
refs/heads/master 59d0b75e7 -> 726d8fc3f
log exceptions in ConsoleProxyServlet
- Added exception to the logger method parameters to make stack trace available
- removed checking of debug level, it does not save temporary object creation
here
Signed-of
Repository: cloudstack
Updated Branches:
refs/heads/master 282c9da68 -> 94ab870d4
null pointer dereference fix
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/94ab870d
Tree: http:/
Repository: cloudstack
Updated Branches:
refs/heads/master ecec8d368 -> fc6892228
Static resource compression
- added compile time maven plugin to compress css and js files
- Added new StaticResourceServlet to serve the requests to static files, this
replaces the tomcat DefaultServlet
- Tests
Repository: cloudstack
Updated Branches:
refs/heads/master 44ff7fea5 -> ecec8d368
autounboxing fix in ConfigurationManager
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ecec8d36
Potential NPE dereference fix
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/9411e451
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/9411e451
Diff: http://git-wip-us.apa
Repository: cloudstack
Updated Branches:
refs/heads/master 4cb3e553d -> e24bf73a9
new testcase for AccountManagerImpl.deleteUserAccount
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/com
md5 authenticator test
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/54cfc2c2
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/54cfc2c2
Diff: http://git-wip-us.apache.org
Repository: cloudstack
Updated Branches:
refs/heads/master bcc640d13 -> be8c6fe62
test for AccountManagerImpl
- new test for disableUser
- unused code removed
- A redundant if branch removed - all branches are doing the same
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.o
Repository: cloudstack
Updated Branches:
refs/heads/master 661718719 -> 5f800f2d2
Script cleanup
- new negative tests
- some copy-paste replacement in the code
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org
Repository: cloudstack
Updated Branches:
refs/heads/master 6a9d6f879 -> 661718719
some String instantiations removed
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/66171871
Tree:
removed Integer and Long instantiations
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/05c9d54c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/05c9d54c
Diff: http://git-
Repository: cloudstack
Updated Branches:
refs/heads/master 9b16a6dfd -> 54c83c168
removed redundant Integer instantiation in GenericDaoBase
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack
StringBuffer replaced with StringBuilder in ApiServerService
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c6d25499
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c6d25
Tests for ApiServlet
- tests for login
- loginSuccessResponse test for xml and json
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/96d56b75
Tree: http://git-wip-us.apache.org/repos/a
Repository: cloudstack
Updated Branches:
refs/heads/master 86b02e65e -> c6d254993
removed commented-out code
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/843464ef
Tree: http://g
StringBuffer replaced with StringBuilder in ApiServlet
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aef76f71
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aef76f71
Di
Repository: cloudstack
Updated Branches:
refs/heads/master 265208a26 -> 426e3e870
added license header (build fix)
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/426e3e87
Tree: ht
new unit test for ApiResponseHelper
- unit test for getDateStringInternal
- StringBuffer replaced with StringBuilder, string concatenation replaced with
append
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/re
Repository: cloudstack
Updated Branches:
refs/heads/master b35489339 -> 265208a26
removed some redundant Boolean isntantiations
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2c4a
Basic tests for ApiServlet
new tests for ApiServlet covering
- utf8Fixup
- some of processRequestInContext
minor cleanup done in StringBuffer handling and utf8Fixup got a bit shorter
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http:/
Removed commented-out code
A big block of code commented out for about a year.
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3dc4d2ec
Tree: http://git-wip-us.apache.org/repos/asf/cl
Repository: cloudstack
Updated Branches:
refs/heads/master 0e3fde510 -> f05fb9fb6
Fixed some resource files issues, namely 1) invalid text and duplicate keys
resulting from bad merge and 2) trailing spaces which can potentially cause UI
issues.
Signed-off-by: Konstantina Chremmou
Reviewed-b
Repository: cloudstack
Updated Branches:
refs/heads/master 80738cce0 -> 0e3fde510
replace String != operation with .equals
replaced the != operation performed on two String objects with
ObjectUtils.equals
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/clouds
Repository: cloudstack
Updated Branches:
refs/heads/master 169cd6f93 -> ef547108d
NetUtils testing
- Refactor tests:
- Upgrade tests to use jUnit4
- Add hamcrest dependency (contribution of by Laszio Hornyak)
- Break big tests in small unit tests
- Replace assertTrue/False with complex
Cleanup in UriUtils.getUpdateUri
- String instantiation replaced with StringBuilder and empty string constant
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/351ccf37
Tree: http://git
Updated Branches:
refs/heads/master 6c770958f -> 351ccf375
Added test for UriUtils.getUpdateUri
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/59364ee9
Tree: http://git-wip-us.apa
Updated Branches:
refs/heads/master ab15653d6 -> bdf50f6d2
Remove assertion
The assertion is built on the assumption that cpuinfo_max_freq is readable by
user, which may not be universaly true.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.
Updated Branches:
refs/heads/master 37c4015d4 -> ab15653d6
Revert "Temporarily ignore getCpuSpeed test"
This reverts commit e4a91d3610fc8d7ce7718817fbc88318c5fe1e88.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/comm
Updated Branches:
refs/heads/master 8ed9162de -> e4a91d361
Temporarily ignore getCpuSpeed test
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e4a91d36
Tree: http://git-wip-us.apac
replaced Integer reference comparsion with .equals
By default only the Integers between -128..127 are cached (unless overridden by
java.lang.Integer.IntegerCache.high system property)
If the inbound or outbound values are higher, the reference comparison won't
work.
Signed-off-by: Laszlo Hornya
Cleanup in UriUtils.encodeURIComponent
- StringBuffer replaced with StringBuilder
- nullcheck of tokens array removed since String.split does not return null
- unit test added
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-u
Updated Branches:
refs/heads/master c39ec1eb8 -> 8ed9162de
cleanup in LibvirtComputingResource
- minor resource leak cleaned up
- cpu-speed reading method extracted
- test added
- logging added in case of exception
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/a
removed unused variables
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5e4fec9e
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5e4fec9e
Diff: http://git-wip-us.apache.o
safely close resource with java 1.7 resource block
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3e3ded75
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3e3ded75
Diff:
Boolean expression simplification
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/55b6b6d5
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/55b6b6d5
Diff: http://git-wip-us
String concatenation cleanup
Replaced string concatenation in loop with StringBuilder
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/74a3cb4d
Tree: http://git-wip-us.apache.org/repos
Minor Boolean expression simplification
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/d6a6e8df
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/d6a6e8df
Diff: http://git-
removed self-assignment
It must have been a copy-paste from the other constructor.
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8e3ae40b
Tree: http://git-wip-us.apache.org/repos/as
Replaced String concatenation in loop
Replaced String concatenation in loop with StringBuilder
Unit test added
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8d801bff
Tree: http://gi
Updated Branches:
refs/heads/master e4da3775c -> dea320f7b
RAT fix
added license header to test
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/dea320f7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tr
removed redundant Long, Short, Double, Float and Boolean instantiations
- Added unit tests
- Added javadoc
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e4da3775
Tree: http://git-wi
Updated Branches:
refs/heads/master ebf57654e -> e4da3775c
replaced Long instantiation with parseLong
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/884e8c65
Tree: http://git-wip-
Updated Branches:
refs/heads/master 3c955c365 -> ebf57654e
replaced Long instantiations with Autoboxing
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/ebf57654
Tree: http://git-wi
Updated Branches:
refs/heads/master 52406a840 -> 07f73ec05
Null-safety in http header handling
The http Content-Type header may not always be present in the response, in such
cases the getResponseHeader will return null and this leads to NPE, therefore
the presence of the header must be chec
Updated Branches:
refs/heads/master 438cf4ea6 -> 065e5afa0
Tests for DBUtil
This patch adds test for the lock management:
- getGlobalLock
- releaseGlobalLock
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/r
Updated Branches:
refs/heads/4.3 742bf3ccc -> 9f4c46126
few cleanups in CertServiceTest and CertService
Tests:
- all tests are @Test rather than having one test to call them, so they can be
run one by one
- tests that expect exception from a method fail if there is none
- no longer extends Te
Add assumtion on OpenJDK for tests that build on JCE
This patch adds an assumption that OpenJDK is used in some of the tests.
OpenJDK detection utility also added. By specifying
-Dcloudstack.jce.enabled=true in the test parameters the OpenJDK detection can
be overridden.
Signed-off-by: Laszlo H
Updated Branches:
refs/heads/master 5d41d7980 -> f091b6ae1
Add assumtion on OpenJDK for tests that build on JCE
This patch adds an assumption that OpenJDK is used in some of the tests.
OpenJDK detection utility also added. By specifying
-Dcloudstack.jce.enabled=true in the test parameters the
Updated Branches:
refs/heads/master 5420cbe98 -> bd67ccdd6
few cleanups in CertServiceTest and CertService
Tests:
- all tests are @Test rather than having one test to call them, so they can be
run one by one
- tests that expect exception from a method fail if there is none
- no longer extends
Updated Branches:
refs/heads/master 04884b8f0 -> 5420cbe98
added license header
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5420cbe9
Tree: http://git-wip-us.apache.org/repos/as
Updated Branches:
refs/heads/master a35425eec -> f629d405e
Test for DbUtil
test cases for
- isPersistable
- getColumnName
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f629d405
Updated Branches:
refs/heads/master ded8d6592 -> b33a8371b
fix long cast to double
- the result of dividing long with long resulted in loss of precision both for
network and IO
- unit tests included
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/r
license headers added
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b33a8371
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b33a8371
Diff: http://git-wip-us.apache.org/
Updated Branches:
refs/heads/master 8bd1eaa21 -> 6f3688d13
Fill the creationMonitors based on priority
If not priotity, append to the end of the list.
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/as
Updated Branches:
refs/heads/master 7ba55723b -> cff5ea094
FileUtil: use commons-io FileUtils
- removed the method body ot FileUtil.copyFile and replaced with
FleUtils.copyFile
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git
Updated Branches:
refs/heads/master 6a396a905 -> 465dee015
Removing coded documentation
This is the output of the program, the developer documentation may be a better
place
-
When developing against the CloudStack Orchestration Platform, you must
following the following rules:
API Rule
fixed Rules
it was no longer working, it must be fixed for those who want to read it.
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/336eb48f
Tree: http://git-wip-us.apache.org/repos
Updated Branches:
refs/heads/master c72f65dc1 -> 11441a367
License header added to PropertiesStorageTest
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/11441a36
Tree: http://git-w
Updated Branches:
refs/heads/master 790231528 -> c72f65dc1
InputStream use fix in PorpoertiesStorage
- Properties object polulation using PropertiesUtil.loadFromFile
- test added
- the separate FileNotFoundException handling block was removed as the next
IOException block is catching it and i
InputStream use fix in LibvirtComputingResource
- Properties object polulation using PropertiesUtil.loadFromFile
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c1783153
Tree: http://
InputStream use fix in ProcessUtil
- use PropertiesUtil to load Properties from file
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fa35490f
Tree: http://git-wip-us.apache.org/repos/
InputStream use fix
Closes the FileInputStream opened at configuration in
- ClusterManagerImpl
- ClusterServiceServletAdapter
- TransactionLegacy
- AsyncJobManagerImpl
- DBEncryptionUtil
- EncryptionSecretKeyChecker
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/
Remove test dependency on mysql driver
The dependency is no longer needed.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c72f65dc
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c72f65dc
Diff: http://
InputStream use fix in PropertiesUtil
- use PropertiesUtil.loadFromFile to read the properties
- test added
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/58477834
Tree: http://git-w
Updated Branches:
refs/heads/master 694ec684a -> 790231528
build fix
Failing VMSnapshotStrategyTest was missing db.properties
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/79023
Updated Branches:
refs/heads/master 300f626d4 -> 56f127733
fix master build
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/56f12773
Tree: http://git-wip-us.apache.org/repos/asf/cl
Updated Branches:
refs/heads/master 7edb4d377 -> 4b530c874
Safe properties loader
- new utility method introduced in PropertiesUtil to load properties objects
from files
- RegionManagerImpl modified to use the utility method
- Tests added for both
Signed-off-by: Laszlo Hornyak
Project: ht
Integer instantation removed
Two Integer object was created for each comparison, just in order to compare
the two values.
This is replaced with Integer.compare()
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/
Updated Branches:
refs/heads/master 6640f4d92 -> eb33dc51e
added license header to test
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/eb33dc51
Tree: http://git-wip-us.apache.org/
removed unused import
just an unused import, nothing extraordinary
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a98e0386
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tre
Test for AgentShell.loadProperties
- stream closed after properties load (with commons io)
- test added
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/eb798d31
Tree: http://git-wip-u
Test for AgentShell.parseCommand
- minor cleanups on the method body
- java 1.5 for loop
- paramName and paramValue to make the code more readable
- NumbersUtil replaced by NumberUtils
- Test case for the parseCommand
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/re
removed unused static field
- s_httpClientManager was not used
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5d5acadc
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5d
Updated Branches:
refs/heads/master d79135f4e -> eb798d319
Some StringBuffers replaced by StringBuilders
StringBuffers replaced by StringBuilders to avoid unnecesary synchronization
overhead.
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Com
Updated Branches:
refs/heads/master 5f497b9a7 -> 87c1b357f
BaseCmd not used methods
These private methods were only calling each other:
- writeNameValuePair
- writeObjectArray
- writeSubObject
- escapeXml
- escapeJSON
public method requireXmlEscape was only called from these methods, it was n
Updated Branches:
refs/heads/master b344bb4cf -> 5f497b9a7
Removed unused methods from ApiResponseSerializer
getGetMethod and getGetMethodName were not used
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/re
BaseCmd.buildResponse methods removed
Both buildResponse methods were abandoned
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/6df77ec0
Tree: http://git-wip-us.apache.org/repos/asf/c
removed PasswordGenerator.main
unused method, probably for debugging/testing purposes
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b76e501d
Tree: http://git-wip-us.apache.org/repos
Updated Branches:
refs/heads/master 5cc411a9e -> 47dd1c1e9
PasswordGenerator tests
- StringBuffer replaced with a StringBuilder
- tests added
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudst
Updated Branches:
refs/heads/master fa0c685bc -> 982db550e
test fix: no assertion on the number of fileds returned
Removed the assertion on the number of fields from ReflectUtil because it did
not work with bytecode manipulation like what sonar works with.
Signed-off-by: Laszlo Hornyak
Pr
Updated Branches:
refs/heads/master 0d7aa931b -> d1dd85a4c
ReflectUtil: test for getAllFieldsForClass
- code comment turned to javadoc
- added braces to if and for statements to make it look more like the rest
- tests added
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.or
ReflectUtil: findMethod removed
findMethod was not used, it is removed
Signed-off-by: Laszlo Hornyak
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/66fe3abe
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack
99 matches
Mail list logo