Permalink
Browse files

debug describe service

  • Loading branch information...
1 parent 8fc762e commit cc5f1e927ba802b0f3426b167e74fb6b137992ae @grze grze committed Apr 20, 2011
@@ -208,7 +208,7 @@ public void fire( Cluster t ) {
on( Transition.INIT_CERTS )//
.from( State.AUTHENTICATING ).to( State.STARTING ).error( State.DOWN ).run( newRefresh( ClusterCertsCallback.class ) );
-// on( Transition.INIT_SERVICES ).from( State.CHECKING_SERVICE ).to( State.STARTING ).error( State.STARTING ).run( newRefresh( ServiceStateCallback.class ) );
+ on( Transition.INIT_SERVICES ).from( State.CHECKING_SERVICE ).to( State.STARTING ).error( State.STARTING ).run( newRefresh( ServiceStateCallback.class ) );
on( Transition.INIT_RESOURCES ).from( State.STARTING ).to( State.STARTING_RESOURCES ).error( State.DOWN ).run( newRefresh( ResourceStateCallback.class ) );
on( Transition.INIT_NET ).from( State.STARTING_RESOURCES ).to( State.STARTING_NET ).error( State.DOWN ).run( newRefresh( NetworkStateCallback.class ) );
on( Transition.INIT_VMS ).from( State.STARTING_NET ).to( State.STARTING_VMS ).error( State.DOWN ).run( newRefresh( VmStateCallback.class ) );
@@ -17,5 +17,15 @@ public ServiceStateCallback( ) {
public void fire( DescribeServicesResponseType msg ) {
LOG.debug( msg );
}
+
+ @Override
+ public void initialize( DescribeServicesType request ) throws Exception {
+ LOG.debug( request );
+ }
+
+ @Override
+ public void fireException( Throwable t ) {
+ LOG.error( t, t );
+ }
}

0 comments on commit cc5f1e9

Please sign in to comment.