Talend 7 supports JFrog Artifactory repository and artifactory context

Talend 7.x now supports the JFrog Artifactory as a repository. An artifactory context is the name on the artifactory context in the artifactory URL, by default this is artifactory.

 

Example

https://artifactory.test.fr/artifactory
https://repository.test.fr/artifactory

 

Creating tests using custom context

https://artifactory.test.fr/my_artifactory
https://repository.test.fr/my_artifactory

 

Creating tests without context

https://artifactory.test.fr/
https://repository.test.fr/

 

Problem description

Using the TPS-3011 patch, if the URL does not end with /artifactory, it is added to the end, and if the URL had no context path, then /artifactory is added to the end.

 

After applying the TPS-3011 patch the following configurations are successful:

 

Configuration in TAC: http://localhost:8081/artifactory

Artifactory deploys on: http://localhost:8081/artifactory

 

Configuration in TAC: http://localhost:8081/

Artifactory deploys on: http://localhost:8081/artifactory

 

Configuration in TAC: http://localhost:8081/somecontextpath

Artifactory deploys on: http://localhost:8081/somecontextpath

 

However, the null context configuration doesn't work:

 

Configuration in TAC: http://localhost:8081/

Artifactory deploys on: http://localhost:8081/

 

Solution

This is a known issue with null context. Contact Talend Support to request the patch that applies to your version of TAC:

 

  • 7.1.1 TAC: TPS-3256 (incorporates TPS-3258) or later
  • 7.2.1 TAC: TPS-3298 (incorporates TPS-3259) or later

 

However, to avoid affecting existing installations that had their null context populated with a default one, an additional TAC property has been introduced, that is set to default to true.

 

If you want to use a null artifactory context, you need to install one of the patches listed above, and add to your TAC configuration.properties, for example:

artifactory.addDefaultUrlContext=false

 

If the value is true (default), and the context is empty, /artifactory is added to the Artifactory URL, for example

https://artifactory.test.fr/ changes to https://artifactory.test.fr/artifactory

 

You'll need to restart TAC for the change to take effect.

 

Verifying the value in the TAC DB

 

Default value: true

default.png

 

Custom value: false

custom.png

Version history
Revision #:
17 of 17
Last update:
‎01-13-2020 08:26 AM
Updated by:
 
Contributors