Skip to content

Commit

Permalink
SHIBUI-2273
Browse files Browse the repository at this point in the history
Overriding calls that were getting made that break things. Those methods don't need to be used by the shibui functionality
  • Loading branch information
chasegawa committed Jun 23, 2022
1 parent 9ddf255 commit 8df4253
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.io.File;
import java.time.Duration;
import java.time.Instant;

Expand Down Expand Up @@ -135,4 +136,16 @@ public synchronized void refresh() throws ResolverException {
}
}
}

@Override
public void validateBackupFile(final File backupFile) throws ResolverException {
// NOPE, not going to validate this because the file reference is likely not to exist on the shibui server nor even be a
// valid path on the running server. The file is needed for the XML, but we shouldn't be validating it.
}

@Override
protected byte[] fetchMetadata() throws ResolverException {
// NOPE, we don't need to try and fetch the metadata from either the URI nor the file
return null;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,16 @@ public void refilter() {
logger.error("An error occurred while attempting to filter metadata!", e);
}
}

@Override
public void validateMetadataFile(@Nonnull final File file) throws ResolverException {
// NOPE, not going to validate this because the file reference is likely not to exist on the shibui server nor even be a
// valid path on the running server. The file is needed for the XML, but we shouldn't be validating it.
}

@Override
protected byte[] fetchMetadata() throws ResolverException {
// NOPE, we don't need to try and fetch the metadata
return null;
}
}

0 comments on commit 8df4253

Please sign in to comment.