Commit cce844c6 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

Implement git capabilities of processing-adapters -> CR sync (#406)

parent 021dbe7c
......@@ -70,6 +70,7 @@ public class Constants {
public enum AccessMethods {
OAI_PMH ("OAI-PMH"),
FILE ("Online file"),
GIT ("Git Repository"),
OPAC ("OPAC");
private final String colregName;
......
......@@ -342,6 +342,7 @@ public class CollectionSyncClient extends BaseApiClientImpl<CollectionApiPojo, E
}
e.setSet(accessPojo.getSet());
e.setUrl(accessPojo.getUri());
e.setPatterns(accessPojo.getPatterns());
e.setDatasets(new ArrayList<Dataset>());
if (accessPojo.getDatamodels()!=null) {
......
......@@ -13,6 +13,8 @@ public class Endpoint implements Identifiable {
private List<Dataset> datasets;
private List<String> patterns;
private String url;
private String method;
private String set;
......@@ -59,4 +61,7 @@ public class Endpoint implements Identifiable {
public String getUpdatePeriod() { return updatePeriod; }
public void setUpdatePeriod(String updatePeriod) { this.updatePeriod = updatePeriod; }
public List<String> getPatterns() { return patterns; }
public void setPatterns(List<String> patterns) { this.patterns = patterns; }
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment