com.capitalone.dashboard.collector.ArtifactoryClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of artifactory-artifact-collector Show documentation
Show all versions of artifactory-artifact-collector Show documentation
Artifact Collector microservice currently collects data from JFrog Artifactory
The newest version!
package com.capitalone.dashboard.collector;
import java.util.List;
import java.util.Map;
import com.capitalone.dashboard.model.ArtifactItem;
import com.capitalone.dashboard.model.ArtifactoryRepo;
import com.capitalone.dashboard.model.BaseArtifact;
import com.capitalone.dashboard.model.BinaryArtifact;
import com.capitalone.dashboard.model.Collector;
/**
* Client for fetching artifacts information from Artifactory
*/
public interface ArtifactoryClient {
/**
* Obtain list of repos in the given artifactory
*
* @param instanceUrl server url
* @return
*/
List getRepos(String instanceUrl);
/**
* Obtain all the artifacts in the given artifactory repo
*
* @param instanceUrl server url
* @param repoName repo name
* @param lastUpdated timestamp when the repo was last updated
* @return
*/
List getArtifacts(String instanceUrl, String repoName, long lastUpdated);
List getArtifactItems(String instanceUrl, String repoName,String pattern, long lastUpdated);
List getArtifacts(ArtifactItem artifactItem, List pattern);
Map> getLatestBinaryArtifacts(Collector collector, List patterns, String instanceUrl, String repo);
List getPattern(String repoName);
ArtifactItem normalize(ArtifactItem artifactItem);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy