Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-27090

GAVC Search returns artifact versions without "SNAPSHOT"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Artifactory, Search
    • Labels:
      None
    • Severity:
      Medium
    • Location:
      External

      Description

      Problem description:

      GAVC Search returns artifacts version without "SNAPSHOT".

      For Maven Artifact with SNAPSHOT version, Artifactory Dependency Declaration:

      <dependency> 
      <groupId>com.testing.jfrog</groupId> 
      <artifactId>testing</artifactId> 
      <version>2.0.7-latest-20220503.105557-1</version> 
      <type>war</type> 
      </dependency>
      

      **When using GAVC Search:

      curl "https://artifactory.example.com/artifactory/api/search/gavc?repos=ergo-libs-snapshot-local&specific=true&g=com.testing.jfrog&a=testing"
      

      results:

       {  
      "downloadUri" : "https://artifactory.example.com/artifactory/ergo-libs-snapshot-local/com/testing/jfrog/testing/2.0.7-latest-SNAPSHOT/testing-2.0.7-latest-20220503.105557-1.war",     
      "ext" : "war",     
      "version" : "2.0.7-latest"   
      }
      

      What is the expected behavior? 

      GAVC search results should include the full version, including:

      Base Revision, Folder Integration Revision, File Integration Revision 

      Steps to reproduce:

      1. Artifactory 7.38.7
      2. Deploy Maven Artifact with SNAPSHOT version to a local maven repository
      3. Run GAVC search: 
        curl "https://artifactory.example.com/artifactory/api/search/gavc?repos=ergo-libs-snapshot-local&specific=true&g=com.testing.jfrog&a=testing"
        

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              yardeng Yarden Gitta
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-27154 -
                  SYNCHRONIZED
                  • Last Sync Date: