Difference between revisions of "Software Repository Clients"
Luca.frosini (Talk | contribs) (→Etics Client) |
Luca.frosini (Talk | contribs) (→Software Repository Clients) |
||
Line 51: | Line 51: | ||
An example of the produced distribution file can be found here: http://grids16.eng.it/repository_recent_builds/org.gcube.HEAD/BUILD_319/distribution.xml | An example of the produced distribution file can be found here: http://grids16.eng.it/repository_recent_builds/org.gcube.HEAD/BUILD_319/distribution.xml | ||
+ | |||
+ | |||
=== XML Client === | === XML Client === |
Revision as of 15:38, 5 December 2008
Software Repository Clients
To submit Software Archive to Software Repository 2 clients are available.
Etics Client
This is normally used by ETICS after the build process. This client can work only with Software Repository properly configured in ETICS mode. This means that some check on Software Repository are skypped.
You should use XML client to submit you own Software Archive.
Usage:
java org.gcube.vremanagement.softwarerepository.client.EticsClient SoftwareRepositoryEPR txtURL ReportXMLfile distributionFileName scope[default:/gcube/devsec]
where
SoftwareRepositoryEPR is the Software Repository EPR of the service
ex. http://dlib05.isti.cnr.it:8080/wsrf/services/gcube/vremanagement/softwarerepository/SoftwareRepository
txtURL is the URL of the txt file with le list of URLs of Software Archive's to store on Software Repository.
The txt must cointains an URL for each row. Each row is analized and only the one with "-servicearchive" contained in the filename will be submitted to Software Repository.
Reportfile is path of an xml file where the report informations of submission are written.
distributionFileName is a path of an xml file where the information for distribution site are written.
scope the scope where the Software Repository is running. If omitted /gcube/devsec scope will be used.
An example of the usage of this this client is:
java org.gcube.vremanagement.softwarerepository.client.EticsClient http://dlib05.isti.cnr.it:8080/wsrf/services/gcube/vremanagement/softwarerepository/SoftwareRepository http://grids16.eng.it/BuildReport/builds/recent%20builds/org.gcube.HEAD/latest/packages.txt report.xml distribution.xml /gcube/devsec
An example of the produced report file can be found here: http://grids16.eng.it/repository_recent_builds/org.gcube.HEAD/BUILD_319/certification.xml
An example of the produced distribution file can be found here: http://grids16.eng.it/repository_recent_builds/org.gcube.HEAD/BUILD_319/distribution.xml