-
Notifications
You must be signed in to change notification settings - Fork 15
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
REP-45 Add option to delete replication data through UI #60
Conversation
Pushed up changes for comments on #45 |
...api-impl/src/main/java/org/codice/ditto/replication/api/impl/ScheduledReplicatorDeleter.java
Show resolved
Hide resolved
replication-api/src/main/java/org/codice/ditto/replication/api/data/ReplicatorConfig.java
Outdated
Show resolved
Hide resolved
try { | ||
persistentStore.get(ReplicatorConfigImpl.class, configId); | ||
persistentStore.get(ReplicatorConfigImpl.class, id); | ||
} catch (NotFoundException | ReplicationPersistenceException e) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might want the ReplicationPersistenceException to bubble out, rather than just returning false when we actually don't know. Same goes for this method in the SiteManagerImpl
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comments left.
...api-impl/src/main/java/org/codice/ditto/replication/api/impl/ScheduledReplicatorDeleter.java
Show resolved
Hide resolved
...-api-impl/src/main/java/org/codice/ditto/replication/api/impl/data/ReplicatorConfigImpl.java
Outdated
Show resolved
Hide resolved
@Mock CatalogFramework catalogFramework; | ||
|
||
@Before | ||
public void setup() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Why use a setup method her as opposed to just putting this in the attribute initialization above?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No reason in particular.
replication-api/src/main/java/org/codice/ditto/replication/api/data/ReplicatorConfig.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving but the remaining "Beta" reference should be removed
@@ -43,7 +43,7 @@ const HelpDialog = props => { | |||
return ( | |||
<Dialog open={open} onClose={handleClose} maxWidth='md'> | |||
<DialogTitle variant='h6' id='help-dialog-title'> | |||
{'Welcome to the Project Charleston BETA'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes it from the welcome dialog but not the navbar at the top of the page. Looks like there is one more removal needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops, removed.
Manually verified functionality ✅ |
What does this PR do?
Closed #52 to open against 0.2.x. I will apply comments from that PR.
Who is reviewing it (please choose AT LEAST two reviewers that need to approve the PR before it can get merged)?
@clockard @paouelle @kcover @mcalcote
How should this be tested? (List steps with links to updated documentation)
Make sure
/solr
can be accessed to check replication items.Any background context you want to provide?
What are the relevant tickets?
Fixes #45
Screenshots (if appropriate)
Checklist: