22 Commits

Author SHA1 Message Date
David Nalley
1581d65c99 License header updates for the core folder from Chip Childers
https://reviews.apache.org/r/5705/
2012-07-02 09:54:47 -04:00
David Nalley
a0171b9874 changing lots of line endings 2012-04-06 17:51:57 -04:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
kishan
9c5fb5f199 Bug 13741: Added new Config category Secure. Any config in secure category will encrypted along with the Hidden category configs
Status 13741: resolved fixed
Reviewed-By: Nitin
2012-02-17 16:42:32 +05:30
Alena Prokharchyk
1490e45a1c Fixed format style in a bunch of files (replaced tabs with spaces as a part of it) 2012-02-03 13:49:11 -08:00
kishan
cfb48fb7b7 bug 12337: encrypt Hidden category config values only 2011-12-20 13:01:06 +05:30
Alena Prokharchyk
e8614dd5fa Removed unused imports 2011-12-01 09:57:46 -08:00
kishan
83b4d2f7f9 bug 5822, 10783: Security enhancements initial checkin. Added encryption support to db.properties and some DB values. 2011-10-24 10:26:02 +05:30
alena
5c35b7f164 1) Resource limits for Projects
2) Security checker for Projects
2011-09-22 18:10:35 -07:00
alena
a1331d1cfc Intermidiate checkin to Project feature:
1) Introduce new managers - ProjectManager and DomainManager. Moved all domain related code from AccountManager to DomainManager.
2) Moved some code from ManagementServerImpl to the correct managers.
3) New resource limit for Domain - Project
2011-09-20 18:35:28 -07:00
alena
f6a79c603f bug 11036: resource count update is refactored
status 11036: resolved fixed

1) Use row locks instead of global lock when update resource_count table. When update resource_count for account, make sure that we lock account+all related domains
2) Insert resource_count records for account/domain at the moment when account/domain is created.
3) As a part of DB upgrade, insert missing resource_count records for all non-removed accounts/domains

Conflicts:

	core/src/com/cloud/alert/AlertManager.java
	server/test/com/cloud/agent/MockAgentManagerImpl.java
2011-09-13 10:47:36 -07:00
alena
d726b26180 Defined missing length field for VO classes 2011-08-17 15:13:28 -07:00
Alex Huang
d38f7fd56d Moved DAO to server 2010-11-22 07:40:41 -08:00
Alex Huang
1e44925564 api refactoring 2010-11-21 12:00:21 -08:00
Kelven Yang
1fa2df99cc Merge a fix in 2.1.x branch back to master 2010-11-18 14:42:53 -08:00
Kelven Yang
0653d6d7f6 Improve console access security with random generated hash key 2010-11-12 16:59:58 -08:00
alena
1c24deda34 1) Refactored current Apis not to use reflection for method invocation. In new version following has to be done:
* Implement callCreate() and execute() methods in apis extending BaseAsyncCreateCmd (example - CreateVolumeCmd)
* Implement execute() method in apis extending BaseCmd and BaseAsyncCmd (example - deleteVolumeCmd and deleteUserCmd)

We no longer need createMethod(), method(), manager() fields in @Implementation annotation, cleanup has to be done.

2) Moved Account/User related methods to AccountManagerImpl. Methods are exposed via AccountService interface.
3) Enhanced exception handing for Api calls.
4) Created ConfigurationService interface, all Api config methods are exposed via it.
2010-11-08 11:27:36 -08:00
alena
571ca42c44 1) Return embedded object for addCfg/updateCfg/listCfg.
2) Fixed NPE in updateCfg command (used to happen when no value was specified)
3) Fixed addCfg command to call correct getName method while setting config name (used to call the method returning the command name)
2010-11-02 15:26:33 -07:00
Kris McQueen
80090990a6 Fix configuration in light of new API framework. Move code from ConfigurationManager into ConfigurationServer for creating disk/service offerings, pods, and zones. This prevents the ComponentLocator from pulling in a lot of extra DAOs and Managers now that ConfigurationManager has a lot more dependencies due to API changes. Without making this change, there would be a dependency on ClusteredAgentManager in both config-server and mgmt-server, which would try to start two listeners on port 8250, which is bad. Now that the configuration happens in ConfigurationServer, things should be kept simple. 2010-10-14 19:11:22 -07:00
anthony
cbdfc10673 change config.getValue 2010-10-06 19:36:51 -07:00
Alex Huang
327924a9ad More changes for refactoring 2010-09-15 18:00:54 -07:00
Manuel Amador (Rudd-O)
05c020e1f6 Source code committed 2010-08-11 09:13:29 -07:00