Download D3.5.3 - MODAClouds

Transcript
MODAClouds
MOdel-Driven Approach for design and execution of applications on multiple Clouds
Deliverable # D3.5.2
Figure 5: IeAT Final Integrated Testbed
4 MODAClouds runtime platform build instructions
4.1 Building RPMs
While the full detail of how MODAClouds components (services) can be built from RPMs is presented in D3.4.2
and covers management of MODAClouds RPM packages, building the package.JSON descriptor and details on
wrapper scripts, it is proficient to summarise the main aspects to accompany and contextualise this final
integrated solution.
The developer of each MODAClouds component needs to provide the following artefacts:
• a distribution bundle, namely distribution.tar.gz archive that contains the files needed to run the
component
• a descriptor in JSON format, namely package.json, used build the RPM i.e. packing the distribution and
the wrapper script
• a wrapper script, namely service-run.bash, that runs the service.
The first step of packing procedure is building the distribution bundle. This is done by the developer and the
tools used to do this largely depends on the environment (Java, Python etc.) in which the application has been
developed. This artefact together with the wrapper script are next packaged into a RPM package with the help of
Public Final Version 1.0, Dated 31/03/2015
21