-
Notifications
You must be signed in to change notification settings - Fork 1
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
Exception handling for fail safe #176
Conversation
Back to draft |
vocabService.populateVocabsData(latestResolvedPathCollection); | ||
refreshCaches(); | ||
// update the head if there are new versions | ||
synchronized (this) { |
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.
Is AtomicReference<> better than syncrhonized(this)?
@@ -0,0 +1,9 @@ | |||
package au.org.aodn.ardcvocabs.exception; |
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.
Can the branch start with the ticket id so {ticketid}-fail-safe-vocabs-refreshing
@@ -115,6 +128,29 @@ void testProcessParameterVocabs() throws IOException, JSONException { | |||
); | |||
} | |||
|
|||
@Test |
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.
Add comment on what the test case is about and why we need the logic
Add test case to show that vocabs have value, when there is a invalid load, the vocabs will not be discarded
Replaced with #181 |
No description provided.