cobbler

Some Cobbler Going-On's

Cobbler4j, a simple java wrapper for talking to Cobbler's XMLRPC interface, is now available in the JBoss Maven Repository.

Steve Salevan has also provided us with the start of a functional test suite, details can be found in apitests/README. Just a few tests there now but we're hoping to expand on it whenever possible. Quite pleased about this, coming into the code base fresh I've found making changes quite unnerving, without knowing what you might break and how to cover all the execution paths.

Introducing Cobbler4j

I've been doing some work recently on cobbler4j, a small Java library for interacting with Cobbler over XMLRPC based on the work done to integrate Cobbler into Spacewalk.

Right now the library basically allows you to open up a connection, and interact with the core object types (repos, distros, profiles, systems) as if they were actual Java objects. In the future this will likely grow to include other operations and background tasks. And as a required disclaimer, this is still very much a work in progress and should not be considered stable.

The cobbler4j wiki page covers most of the high level details on what it does and how to use it.

Here's a sample program:

import org.fedorahosted.cobbler.CobblerConnection;
import org.fedorahosted.cobbler.Finder;

Syndicate content