70 Commits

Author SHA1 Message Date
Brian Spindler
469c4dd139 Removing ^M's from code.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
2013-04-04 00:53:20 +05:30
Hugo Trippaers
c8fd16c03d Summary: Workaround for CLOUDSTACK-1831 and CLOUDSTACK-1672
Exclude the transient dependency on jaxb-impl 2.1.13 in cxf-bundle-jars.
VmWare code depends on the 2.0 version
2013-03-28 15:00:04 +01:00
Noa Resare
2f135be15f CLOUDSTACK-1415: Debian & Ubuntu packaging work
Some concepts included:

* the replace.properties location used by maven is parameterized to allow
  for a build that does not modify the currently git tracked files
* package naming is updated along the lines of what was discussed on the
  -dev mailing list and between committers at the Build a Cloud Day in Belgi
* package version pattern is updated (since we redo all package names,
  we might as well drop the epoch)
2013-02-27 15:44:46 +00:00
Murali Reddy
3e0bdaac1e CLOUDSTACK-1391: EventBus is not getting injected after javelin merge
added logic to inject event bus using ComponentContext.getComponent

Conflicts:
	server/src/com/cloud/storage/listener/SnapshotStateListener.java
2013-02-27 18:55:22 +05:30
Edison Su
8eca74134a rebase to master 2013-02-21 11:22:50 -08:00
Edison Su
a22403edcd squash changes into one giant patch 2013-02-21 11:22:48 -08:00
Rohit Yadav
80d58b6c73 CLOUDSTACK-1317: Bump CloudStack package version to 4.2.0-SNAPSHOT in all poms
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-02-20 16:42:56 +05:30
Hugo Trippaers
9755d9b4a2 Keep naming more or less consistent 2013-02-02 12:43:15 +01:00
Kelven Yang
7b75f0d990 Sync master to javelin one more time 2013-02-01 11:37:33 -08:00
Murali Reddy
1a348c85fd adding apache license heders to the files that are faling RAT check 2013-02-01 11:41:30 +05:30
Murali Reddy
e7a554fc6a Merging events framework branch into master. This commit will bring
following changes

   - introduced notion of event bus with publish, subscribe, unsubscribe
     semantics

   - a plug-in can implement the EventBus abstraction to provide event
     bug to CloudStack

   - A rabbitMQ based plug-in that can interact with AMQP servers to
     provide message broker based event-bug

   - stream lines, action events, usage events, alerts publishing in to
     convineance classed which are also used to publish corresponding
     event on to event bus

   - introduced notion of state change event. On a state change, in the
     state machine corrsponding to the resource, a state change event is
     published on the event bug

   - associated a state machined with Snapshot and Network objects

   - Virtual Machine, Volume, Snaphost, Network object state changes wil
     result in a state change event
2013-02-01 01:37:24 +05:30
Alex Huang
9759ad57f2 Commit the current changes to unit tests 2013-01-17 06:50:11 -08:00
Rohit Yadav
ea3f5ecb54 Fix license for xml files in javelin
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-12 06:31:47 -08:00
Rohit Yadav
ba20e7f85a Fix license headers for java files in javelin
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
2013-01-12 06:27:09 -08:00
Alex Huang
cf8de7ee17 Removed all the .project files 2013-01-08 14:11:00 -08:00
Edison Su
2d6133c61e change the top level async call using future 2013-01-04 17:17:57 -08:00
Kelven Yang
ed17281f0d Accissibility fix when invoking callback method 2013-01-03 17:55:47 -08:00
Kelven Yang
3435ee0604 Get rid of due-mode in AsyncCallFuture, it is too confusing and we don't have a use case of it 2013-01-03 17:43:32 -08:00
Kelven Yang
107fccdf69 Add AsyncCallFuture 2013-01-03 17:24:26 -08:00
Kelven Yang
25d14418b9 Replace Adapters<T> with standard List<T> to work with Spring injection 2013-01-03 13:33:52 -08:00
Kelven Yang
6504fc6b09 Enforce strong typing for getting result from AsyncMethod 2013-01-02 15:48:45 -08:00
Alex Huang
54cce5fa18 Getting things to compile 2012-12-28 16:07:56 -08:00
Edison Su
d99161399e so many traps in rpc call: you can't use aop in a thread, you need to intercept finalize call etc 2012-12-24 02:37:32 -08:00
Kelven Yang
877e16029c Fix a few Spring issues to Bootstrap javaline server 2012-12-21 16:49:27 -08:00
Kelven Yang
1d5019c3d0 add RPC client side implementation 2012-12-20 17:55:06 -08:00
Edison Su
8aaf5ba3a0 fix unit test 2012-12-19 16:01:58 -08:00
Edison Su
8214f18897 fix build, due to refactor rpc 2012-12-19 12:02:11 -08:00
Kelven Yang
ea713c70a2 remove parent concept from AsyncCallbackDispatcher, let user of AyncMethod handle high level concept of chaining 2012-12-19 11:05:24 -08:00
Kelven Yang
644b783110 Modify RPC callback style to be in consist with the latest AsyncMethod callback style 2012-12-18 17:09:56 -08:00
Kelven Yang
e6ac3fd199 Add chain support to AsyncCallDispatcher 2012-12-18 14:15:38 -08:00
Kelven Yang
c1ed9a9010 Modify Async callback setup convention 2012-12-17 20:37:19 -08:00
Edison Su
aefb657c41 Finally, get async api call works for storage subsystem 2012-12-17 18:12:46 -08:00
Edison Su
716a5673d0 1st try to add async api in the storage component, it's ugly like hell 2012-12-14 18:25:40 -08:00
Kelven Yang
01a4a51abf Refactor and finalize framework IPC java package structure 2012-12-13 18:44:57 -08:00
Kelven Yang
e998ee59f6 fix some RPC problem 2012-12-13 18:10:02 -08:00
Kelven Yang
e72417a1e7 Fixes/tests on sample management server on new RPC/Async framework 2012-12-13 15:19:01 -08:00
Kelven Yang
a6c441fcc5 Fixes/tests on sample management server on new RPC/Async framework 2012-12-13 15:19:01 -08:00
Kelven Yang
75285f90ba Add sample management server with loosely coupled sample components to test out the new RPC/messaging framework 2012-12-12 18:02:05 -08:00
Kelven Yang
11e9baca37 Add server side transport driver 2012-12-12 11:44:53 -08:00
Kelven Yang
f52950689b Hook server side RPC provider with a server side transport 2012-12-11 17:53:46 -08:00
Kelven Yang
98a1295fb3 Add transport implementation for RPC/Async framework 2012-12-10 18:11:18 -08:00
Alex Huang
57c9b4c6b1 Figured out how to add annotations to jackson 2012-12-07 15:21:22 -08:00
Kelven Yang
9375ea0bbd Add Void class for AsyncMethod to indicate void return 2012-12-06 17:46:13 -08:00
Kelven Yang
e78ccf1dd5 Give flexibility to write in-place AsyncMethod callback hanlder 2012-12-06 17:11:39 -08:00
Kelven Yang
6fd6b38b43 Add AsyncMethod support 2012-12-06 15:14:45 -08:00
Edison Su
0836bb8ec9 add state machine for templateonprimarystorage, thus we don't need hold lock 2012-12-04 19:02:14 -08:00
Kelven Yang
eee58d7804 Add RpcAddressable to allow upper layer adding address mapping logic for its business object 2012-12-04 11:52:29 -08:00
Kelven Yang
1688919218 Add compilable client RPC test file 2012-12-04 10:43:08 -08:00
Kelven Yang
d836b14a64 add anonymouse client RPC endpoint support 2012-12-03 16:29:14 -08:00
Kelven Yang
28db7981b9 add IPC test 2012-12-03 14:52:19 -08:00