Upgrade to JGlobus-2¶
NOTE: JGlobus-2 is still at beta-version state
affected modules¶
- externals/glite-lb-api-java
- externals/glite-wms-wmproxy-api-java
- externals/vomsjapi
- externals/wsgram-api
- adaptors/jsaga-adaptor-globus
- adaptors/jsaga-adaptor-voms
- adaptors/jsaga-adaptor-lfc
- adaptors/jsaga-adaptor-cream
jsaga-adaptor-globus¶
Maven repositories¶
- Remove cog-globus external module and all its dependencies.
- Use following artifacts instead:
<repositories> <repository> <!-- For myproxy-2.0 --> <id>org.jglobus</id> <name>cilogon.svn.sourceforge.net</name> <url>https://cilogon.svn.sourceforge.net/svnroot/cilogon/m2-repo/</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.jglobus</groupId> <artifactId>JGlobus-Core</artifactId> <version>2.0.4</version> </dependency> <dependency> <groupId>org.jglobus</groupId> <artifactId>JGlobus-GRAM</artifactId> <version>2.0.0</version> </dependency> <dependency> <groupId>org.jglobus</groupId> <artifactId>JGlobus-GridFTP</artifactId> <version>2.0.0</version> </dependency> <dependency> <groupId>org.jglobus</groupId> <artifactId>myproxy</artifactId> <version>2.0</version> </dependency> </dependencies>
Security¶
The class GlobusCredential is replaced by X509Credential.
The class CertUtil is deprecated and replaced by ProxyCertificateUtil.
GlobusProxyFactory does not compile anymore because it inherits from org.globus.tools.ProxyInit which seems to not be existing in JGlobus-2. It has a member of class GlobusCredential incompatible with the new class X509Credential.
2 solutions:- rewrite the factory with no help of org.globus.tools.ProxyInit with for example GlobusGGManagerImpl.createCredential
- find a JGlobus2 ProxyInit class
GridFTP¶
Refactor GsiftpDataAdaptorAbstract using FileReadergetter instead of FileReaderStreamFactory to get benefit of the new method:
GridFTPClient..asynchGet(absolutePath, new DataSinkStream(stream), null);
Write: TODO
Remove class FTPControlChannel and use the new method getWelcome()
Jobs¶
No compilation issue. To be tested.
externals/glite-lb-api-java¶
TO BE DONE
externals/glite-wms-wmproxy-api-java¶
TO BE DONE
externals/vomsjapi¶
TO BE DONE
externals/wsgram-api¶
TO BE DONE
adaptors/jsaga-adaptor-voms¶
TO BE DONE
adaptors/jsaga-adaptor-lfc¶
TO BE DONE
adaptors/jsaga-adaptor-cream¶
TO BE DONE