git commit: updated refs/heads/master to 4a42450

2015-04-13 Thread kocka
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

git commit: updated refs/heads/master to 1f72548

2015-03-03 Thread kocka
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:

git commit: updated refs/heads/master to a0eb144

2015-03-01 Thread kocka
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

git commit: updated refs/heads/master to a81b59e

2014-12-03 Thread kocka
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

[05/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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

[06/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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

[02/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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.

[09/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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

[03/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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://

[01/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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-

[07/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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

[08/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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

[04/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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

[11/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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

[10/11] git commit: updated refs/heads/master to 31db58f

2014-11-23 Thread kocka
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/

git commit: updated refs/heads/master to 178240a

2014-05-02 Thread kocka
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

[2/2] git commit: updated refs/heads/master to 726d8fc

2014-05-02 Thread kocka
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

[1/2] git commit: updated refs/heads/master to 726d8fc

2014-05-02 Thread kocka
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

git commit: updated refs/heads/master to 94ab870

2014-04-29 Thread kocka
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:/

git commit: updated refs/heads/master to fc68922

2014-04-28 Thread kocka
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

git commit: updated refs/heads/master to ecec8d3

2014-04-28 Thread kocka
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

[2/2] git commit: updated refs/heads/master to e24bf73

2014-04-22 Thread kocka
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

[1/2] git commit: updated refs/heads/master to e24bf73

2014-04-22 Thread kocka
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

[2/2] git commit: updated refs/heads/master to be8c6fe

2014-04-21 Thread kocka
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

[1/2] git commit: updated refs/heads/master to be8c6fe

2014-04-21 Thread kocka
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

git commit: updated refs/heads/master to 5f800f2

2014-03-30 Thread kocka
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

git commit: updated refs/heads/master to 6617187

2014-03-30 Thread kocka
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:

[2/2] git commit: updated refs/heads/master to 54c83c1

2014-03-28 Thread kocka
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-

[1/2] git commit: updated refs/heads/master to 54c83c1

2014-03-28 Thread kocka
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

[4/4] git commit: updated refs/heads/master to c6d2549

2014-03-24 Thread kocka
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

[2/4] git commit: updated refs/heads/master to c6d2549

2014-03-24 Thread kocka
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

[1/4] git commit: updated refs/heads/master to c6d2549

2014-03-24 Thread kocka
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

[3/4] git commit: updated refs/heads/master to c6d2549

2014-03-24 Thread kocka
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

git commit: updated refs/heads/master to 426e3e8

2014-03-22 Thread kocka
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

[2/4] git commit: updated refs/heads/master to 265208a

2014-03-22 Thread kocka
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

[1/4] git commit: updated refs/heads/master to 265208a

2014-03-22 Thread kocka
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

[3/4] git commit: updated refs/heads/master to 265208a

2014-03-22 Thread kocka
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:/

[4/4] git commit: updated refs/heads/master to 265208a

2014-03-22 Thread kocka
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

git commit: updated refs/heads/master to f05fb9f

2014-02-25 Thread kocka
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

git commit: updated refs/heads/master to 0e3fde5

2014-02-25 Thread kocka
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

git commit: updated refs/heads/master to ef54710

2014-02-25 Thread kocka
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

[2/2] git commit: updated refs/heads/master to 351ccf3

2014-02-11 Thread kocka
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

[1/2] git commit: updated refs/heads/master to 351ccf3

2014-02-11 Thread kocka
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

git commit: updated refs/heads/master to bdf50f6

2014-02-10 Thread kocka
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.

git commit: updated refs/heads/master to ab15653

2014-02-10 Thread kocka
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

git commit: updated refs/heads/master to e4a91d3

2014-02-09 Thread kocka
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

[04/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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

[10/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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

[01/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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

[02/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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

[03/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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:

[08/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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

[06/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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

[07/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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-

[05/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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

[09/10] git commit: updated refs/heads/master to 8ed9162

2014-02-09 Thread kocka
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

git commit: updated refs/heads/master to dea320f

2014-01-25 Thread kocka
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

[2/2] git commit: updated refs/heads/master to e4da377

2014-01-25 Thread kocka
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

[1/2] git commit: updated refs/heads/master to e4da377

2014-01-25 Thread kocka
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-

git commit: updated refs/heads/master to ebf5765

2014-01-25 Thread kocka
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

git commit: updated refs/heads/master to 07f73ec

2014-01-16 Thread kocka
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

git commit: updated refs/heads/master to 065e5af

2013-11-16 Thread kocka
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

[1/2] git commit: updated refs/heads/4.3 to 9f4c461

2013-11-13 Thread kocka
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

[2/2] git commit: updated refs/heads/4.3 to 9f4c461

2013-11-13 Thread kocka
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

git commit: updated refs/heads/master to f091b6a

2013-11-12 Thread kocka
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

git commit: updated refs/heads/master to bd67ccd

2013-11-11 Thread kocka
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

git commit: updated refs/heads/master to 5420cbe

2013-11-11 Thread kocka
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

git commit: updated refs/heads/master to f629d40

2013-11-10 Thread kocka
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

[1/2] git commit: updated refs/heads/master to b33a837

2013-11-09 Thread kocka
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

[2/2] git commit: updated refs/heads/master to b33a837

2013-11-09 Thread kocka
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/

git commit: updated refs/heads/master to 6f3688d

2013-11-08 Thread kocka
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

git commit: updated refs/heads/master to cff5ea0

2013-11-07 Thread kocka
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

[1/2] git commit: updated refs/heads/master to 465dee0

2013-11-07 Thread kocka
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

[2/2] git commit: updated refs/heads/master to 465dee0

2013-11-07 Thread kocka
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

git commit: updated refs/heads/master to 11441a3

2013-10-26 Thread kocka
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

[1/6] git commit: updated refs/heads/master to c72f65d

2013-10-26 Thread kocka
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

[5/6] git commit: updated refs/heads/master to c72f65d

2013-10-26 Thread kocka
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://

[2/6] git commit: updated refs/heads/master to c72f65d

2013-10-26 Thread kocka
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/

[3/6] git commit: updated refs/heads/master to c72f65d

2013-10-26 Thread kocka
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/

[6/6] git commit: updated refs/heads/master to c72f65d

2013-10-26 Thread kocka
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://

[4/6] git commit: updated refs/heads/master to c72f65d

2013-10-26 Thread kocka
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

git commit: updated refs/heads/master to 7902315

2013-10-26 Thread kocka
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

git commit: updated refs/heads/master to 56f1277

2013-10-25 Thread kocka
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

[1/2] git commit: updated refs/heads/master to 4b530c8

2013-10-23 Thread kocka
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

[2/2] git commit: updated refs/heads/master to 4b530c8

2013-10-23 Thread kocka
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/

git commit: updated refs/heads/master to eb33dc5

2013-10-22 Thread kocka
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/

[2/5] git commit: updated refs/heads/master to eb798d3

2013-10-22 Thread kocka
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

[4/5] git commit: updated refs/heads/master to eb798d3

2013-10-22 Thread kocka
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

[3/5] git commit: updated refs/heads/master to eb798d3

2013-10-22 Thread kocka
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

[5/5] git commit: updated refs/heads/master to eb798d3

2013-10-22 Thread kocka
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

[1/5] git commit: updated refs/heads/master to eb798d3

2013-10-22 Thread kocka
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

git commit: updated refs/heads/master to 87c1b35

2013-10-12 Thread kocka
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

[1/2] git commit: updated refs/heads/master to 5f497b9

2013-10-12 Thread kocka
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

[2/2] git commit: updated refs/heads/master to 5f497b9

2013-10-12 Thread kocka
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

[2/2] git commit: updated refs/heads/master to 47dd1c1

2013-10-11 Thread kocka
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

[1/2] git commit: updated refs/heads/master to 47dd1c1

2013-10-11 Thread kocka
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

git commit: updated refs/heads/master to 982db55

2013-10-11 Thread kocka
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

[1/2] git commit: updated refs/heads/master to d1dd85a

2013-10-09 Thread kocka
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

[2/2] git commit: updated refs/heads/master to d1dd85a

2013-10-09 Thread kocka
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