Project: talenddataquality
Issue TDQ-4665: with tBRMS component, "Guvnor Package" links are incorrect if browse POJO class from a snapshot folder
With tBRMS component, we need to browse a jar containing POJO classes from remote guvnor repository, in order to create JiBX binding for the XML output, as a runtime dependancy of the Job. We also need a remote URL to access the remote binary Knowledge Package. The component help us to retrieving this URL based on the webdav structure whe we browsed our POJO file. The problem is that the webdav structure of Guvnor is actually not coherent to the binary package path that we need. If the POJO file is selected from package folder (like trunk), the URL webdav is very near to that of binary package. we only need a concatenation and a small replacement ("/packages/"->"/package/"). But if the POJO file is selected from a snapshot folder (like a release of business rule set), The "Guvnor Package" field will be filled like "/snapshots/org.talend.bank/snap123/LATEST", which should be "/packages/org.talend.bank/snap123" instead.
Story points: 1