Difference between revisions of "Report Generation"

From Gcube Wiki
Jump to: navigation, search
(Report)
 
Line 1: Line 1:
 +
[[Category:TO BE REMOVED]]
 +
 
== Report ==
 
== Report ==
  

Latest revision as of 19:03, 6 July 2016


Report

The report generated by the Software Repository is composed of 2 part.

Everyday an index is generated as global information about the validation This index is in XML format and an XSLT is applied to it for more human oriented view.

The this XML contains the main information about the validation of each Software Archive.

The format of the XML is;

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="../index.xslt"?>
<Services>
	<Service>
		<URL>http://etics.cern.ch/rundir/org.gcube.vo-management.HEAD_slc4_ia32_gcc346_build/dist/org.gcube/org.gcube.vo-management.authorization-servicearchive/0.0.0/slc4_ia32_gcc346/org.gcube.vo-management.authorization-servicearchive-0.0.0-0.tar.gz</URL>
		<ID>3a152050-57f5-11dd-ab30-b0341fc82d28</ID>
		<ServiceClass>DVOS</ServiceClass>
		<ServiceName>AuthorizationService</ServiceName>
		<ServiceVersion>0.0.0</ServiceVersion>
		<Status>SUCCESS</Status>
		<Operation>NEW</Operation>
		<Timestamp>1216734664410</Timestamp>
		<ReportURL>http://dlib25.isti.cnr.it:80/report/22-07-2008/3a152050-57f5-11dd-ab30-b0341fc82d28_1216734664410.xml</ReportURL>
	</Service>
	<Service>
		<URL>http://etics.cern.ch/rundir/org.gcube.vo-management.HEAD_slc4_ia32_gcc346_build/dist/org.gcube/org.gcube.vo-management.credential-renewal-servicearchive/0.0.0/slc4_ia32_gcc346/org.gcube.vo-management.credential-renewal-servicearchive-0.0.0-0.tar.gz</URL>
		<ID>3af79110-57f5-11dd-ab30-b0341fc82d28</ID>
		<ServiceClass>DVOS</ServiceClass>
		<ServiceName>CredentialsRenewalService</ServiceName>
		<ServiceVersion>0.0.0</ServiceVersion>
		<Status>SUCCESS</Status>
		<Operation>NEW</Operation>
		<Timestamp>1216734665890</Timestamp>
		<ReportURL>http://dlib25.isti.cnr.it:80/report/22-07-2008/3af79110-57f5-11dd-ab30-b0341fc82d28_1216734665890.xml</ReportURL>
	</Service>
</Services>


For each Software Archive a detailed report is generated. This report is in XML too and has the following format:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../report.xslt"?>
<report>
	<URL>http://etics.cern.ch/rundir/org.gcube.vo-management.HEAD_slc4_ia32_gcc346_build/dist/org.gcube/org.gcube.vo-management.credential-renewal-servicearchive/0.0.0/slc4_ia32_gcc346/org.gcube.vo-management.credential-renewal-servicearchive-0.0.0-0.tar.gz</URL>
	<StartTime>2008-07-22T15:51:05.890+02:00</StartTime>
	<EndTime>2008-07-22T15:51:05.921+02:00</EndTime>
	<ServiceClass status="SUCCESS">DVOS</ServiceClass>
	<ServiceName status="SUCCESS">CredentialsRenewalService</ServiceName>
	<Version status="SUCCESS">0.0.0</Version>
	<ServiceID>3af79110-57f5-11dd-ab30-b0341fc82d28</ServiceID>
	<Description status="SUCCESS">Using the one supplied with the profile: A credentials renewal Service</Description>
	<Operation>NEW</Operation>
	<Section name="Scope" status="SUCCESS">Matched Scope: /gcube/devsec</Section>
	<Section name="/Profile/Packages/Main/Name" status="SUCCESS">Main</Section>
	<Section name="/Profile/Packages/Main/Version" status="SUCCESS">1.0</Section>
	<Section name="/Profile/Packages/Main/Dependencies/Dependency/Service/Class" status="SUCCESS">DVOS</Section>
	<Section name="/Profile/Packages/Main/Dependencies/Dependency/Service/Name" status="SUCCESS">CredentialsRenewalService</Section>
	<Section name="/Profile/Packages/Main/Dependencies/Dependency/Package" status="SUCCESS">Stubs</Section>
	<Section name="/Profile/Packages/Main/Dependencies/Dependency/Version" status="SUCCESS">1.0</Section>
	<Section name="/Packages/Main/Dependencies/Dependency/Scope" status="SUCCESS">GHN</Section>
	<Section name="/Profile/Packages/Main/Dependencies/Dependency/Scope" status="SUCCESS">Optional: false</Section>
	<Section name="Main-GarArchive">
		<File name="org.gcube.vomanagement.credentialsrenewal.gar" status="SUCCESS">File found in 'Main' directory</File>
	</Section>
	<Section name="SVNpath">
		<File name="svnpath.txt" status="SUCCESS">'svnpath.txt' found for the package Main</File>
	</Section>
	<Section name="/Profile/Packages/Software/Name" status="SUCCESS">Stubs</Section>
	<Section name="/Profile/Packages/Software/Version" status="SUCCESS">1.0</Section>
	<Section name="Stubs-Files">
		<File name="org.gcube.vomanagement.credentialsrenewal.stubs.jar" status="SUCCESS">File found in 'Stubs' directory</File>
	</Section>
	<Section name="SVNpath">
		<File name="svnpath.txt" status="SUCCESS">'svnpath.txt' found for the package Stubs</File>
	</Section>
</report>


During validation phase a report is produced.

The report include information about:

  • URL where the Software Repository download the Software Archive to store.
  • StartTime and EndTime of the validation process.
  • ServiceClass value is the validation is successful or a message about the error.
  • ServiceName value is the validation is successful or a message about the error.
  • Version value used for this Service or an error message if the version is not supplied.
  • ServiceID unique ID assigned for this Service with this particular ServiceClass,ServiceName,Version.
  • Description the description filled in the profile and the inforamation if is provided with the store() methid invocation or provided with the profile or an error message if no description is supplied.
  • Operation information about the operation done with this Service: UPDATE of already stored version, NEW store.
  • Scope the Context scope where the service will be publish or an error information.
  • Files information regarding the file declared in the Service Profile, if they are found in the right location or an error indicating missing file in the directory with the name of the package it belongs.
  • Dependency information regarding if the dependency already stored on repository match at least one context scope of this service.