OVirtPackaging

= oVirt Packaging =

This page is used to track the status of the packaging effort for oVirt.

People involved
Below is the list of currently involved people in the process.

Frontend
This is the list of dependencies identified to date and their status:

Backend
This is the list of dependencies identified to date and their status:


 * Apache Mina 2.0.1 or newer
 * Apache SSHD 0.6.0 or newer
 * Jackson 1.6.3 or newer
 * JSR 311 API (Java API for RESTful Web Services) 1.1
 * Spring LDAP 1.3.0 or newer
 * jhernand - spec done using fake spring dependencies, needs review once spring is done
 * Spring Framework
 * We currently use 2.5.6, but should move to 3.1.1
 * At least spring-jdbc
 * Also spring-core, spring-tx, spring-orm and spring-context as they are needed for spring-ldap
 * Maven JAXB plugin
 * RESTEasy
 * The modules required have already been packaged and are ready for review, see.

Submitted Packages
Table below shows what is submitted to Fedora (only those that are specific to oVirt, the rest are tracked in the JBossAS7 page):

This is how far we are in the oVirt build process
This section tracks the progress of the build of the oVirt RPM itself. This requires patching to remove things that are not being used and also to update to versions supported in Fedora. The source code for the spec and the patches is available here:

https://github.com/jhernand/ovirt-rpm

Log of progress:

--Jhernand 12:26, 2 March 2012 (UTC) - Patched the POM for the .ear file in order to remove all the frontend related dependecies. The generated .ear file contains a lot of .jar files that are part of other packages. I think that these jar files shold be removed from the .ear file (specifying the scope as provided) and replaced with dependencies in the manifest.

--Jhernand 14:35, 27 February 2012 (UTC) - After some more patching all the backend modules build. Note that this is using dummy Spring dependencies and a partial packaging of RESTEasy. We should focus now on making those dependencies available.

--Jhernand 13:14, 27 February 2012 (UTC) - Using a partial build of RESTEasy (only the core and the JAXB, jackson and yaml) providers allmost all the RESTAPI modules build. This also required an small change in the RESTAPI to deal with the way bean serializers are created starting with Jackson 1.7 (we use 1.6 en oVirt currently and 1.9 in Fedora). Next step will be removing Spring from the web application.

--Jhernand 15:08, 22 February 2012 (UTC) - Updated the RESTAPI build process to use the now packaged maven-jaxb2-plugin. The Java code is correctly generated from the XSD, but this doesn't bring any advance in the build process as the RESTAPI modules also depend on RESTEasy.

--Jhernand 16:44, 16 February 2012 (UTC) - Removed all the local user authentication code (LU*) as it only makes sense in Windows and now almost all the backend builds, even some RESTAPI modules. The rest is going to be really hard.

--Jhernand 16:04, 16 February 2012 (UTC) - After patching the engine to use Quartz 2.1 (not sure if this will work) the scheduler bean, the search backend and VDS broker build!

--Jhernand 13:10, 16 February 2012 (UTC) - Removed all the references to Hibernate (hope this doesn't break other things) and now DAL builds!

--Jhernand 12:10, 16 February 2012 (UTC) - After some patching and using fake spring dependencies the common utilities build!

Result of the last build:

[INFO] Reactor Summary: [INFO] [INFO] oVirt Build Tools ................................. SUCCESS [4.610s] [INFO] CSharp Compatibility .............................. SUCCESS [7.754s] [INFO] Encryption Libraries .............................. SUCCESS [1.532s] [INFO] oVirt Tools Common Library ........................ SUCCESS [1.330s] [INFO] Common Code ....................................... SUCCESS [24.092s] [INFO] Common utilities .................................. SUCCESS [10.712s] [INFO] Data Access Layer ................................. SUCCESS [15.067s] [INFO] engine scheduler bean ............................. SUCCESS [1.845s] [INFO] Vds broker ........................................ SUCCESS [12.027s] [INFO] Search Backend .................................... SUCCESS [3.502s] [INFO] engine vdsbroker stateless session bean ........... SUCCESS [1.316s] [INFO] Backend Logic @Service bean ....................... SUCCESS [26.515s] [INFO] oVirt Engine API Definition ....................... SUCCESS [11.235s] [INFO] oVirt Engine API Common JAX-RS .................... SUCCESS [3.846s] [INFO] oVirt RESTful API Backend Integration Type Mappers SUCCESS [4.893s] [INFO] oVirt RESTful API Backend Integration JAX-RS Resources SUCCESS [12.314s] [INFO] oVirt RESTful API Backend Integration Webapp ...... SUCCESS [2.134s] [INFO] oVirt Configuration Tool .......................... SUCCESS [2.311s] [INFO] Notifier Service .................................. SUCCESS [2.041s] [INFO] Notifier Service Resources ........................ SUCCESS [2.271s] [INFO] oVirt Server EAR .................................. SUCCESS [10.580s] [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 2:44.318s [INFO] Finished at: Fri Mar 02 13:22:25 CET 2012 [INFO] Final Memory: 109M/260M [INFO]