Re: Custom UI for CC

Dan Rollo <[email protected]> Sat, 23 Jul 2011 12:23:42 -0400
Newsgroups gmane.comp.java.cruise-control.devel
Message-ID <[email protected]>
There's not really a single API, though here are some pointers:

1. Much of the information used for reporting is simply read from disk 
files in known locations (eg: each project's "log" dir).

2. For a number of operations, you can use the JMX api. If you use this, 
watch out for a known connection issue (that is worked around via these 
classes: [dashboard]
net.sourceforge.cruisecontrol.dashboard.repository.ClosableProjectMBeanConnection
net.sourceforge.cruisecontrol.dashboard.repository.ClosableProjectMBeanConnectionImpl
)

Although the docs are far from complete, be sure you read over those 
that exist (there are a number of nuggets scattered throughout that 
should help).

That said, please keep a trail of bread crumbs from your journey. ;)
Any thing we can add to help clarify things is welcome!

Dan



Date: Wed, 20 Jul 2011 18:10:58 -0400
From: Jonathan <[email protected]>
Subject: [Cruisecontrol-devel] Custom UI for CC
To: [email protected]

I have been using CC for about a year or so now and the overall
implementation that is there is great! It is pretty easy to use and pick up
on so other developers can learn how to run the builds on the build machine.


However, as projects (and needs for those projects) grow, a more customized
tailoring would be useful to have for the front end. I was curious on how I
could start looking into creating this custom user interface. Is there a CC
API out there that I can call that says 'When I click on this button on the
UI, call the Force Build method for the project selected?' and other
questions of the such?

I tried looking over the current implementation of dashboard to see if I
could pick out anything from there, however nothing pops out at me as I have
very limited exposure to the Spring framework.

Any guidance or assistance in this would be greatly appreciated. I can go
into more detail should it be required, but initially didn't want to bore
everyone with details they may not want or need to answer the question.

------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/