Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch cached Redis manifest regression #127

Merged
2 commits merged into from
Dec 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 25 additions & 1 deletion src/main/java/edu/tamu/iiif/model/RedisManifest.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class RedisManifest {

private String json;

private final Long creation;
private Long creation;

public RedisManifest() {
this.creation = new Date().getTime();
Expand Down Expand Up @@ -67,22 +67,42 @@ public String getPath() {
return path;
}

public void setPath(String path) {
this.path = path;
}

public ManifestType getType() {
return type;
}

public void setType(ManifestType type) {
this.type = type;
}

public String getRepository() {
return repository;
}

public void setRepository(String repository) {
this.repository = repository;
}

public String getAllowed() {
return allowed;
}

public void setAllowed(String allowed) {
this.allowed = allowed;
}

public String getDisallowed() {
return disallowed;
}

public void setDisallowed(String disallowed) {
this.disallowed = disallowed;
}

public String getJson() {
return json;
}
Expand All @@ -95,4 +115,8 @@ public Long getCreation() {
return creation;
}

public void setCreation(Long creation) {
this.creation = creation;
}

}