-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Feature 1716-mn-reindex #1738
Feature 1716-mn-reindex #1738
Conversation
…ex; otherwise false.
src/edu/ucsb/nceas/metacat/restservice/v2/MNResourceHandler.java
Outdated
Show resolved
Hide resolved
src/edu/ucsb/nceas/metacat/restservice/v2/MNResourceHandler.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.
Can we rename to MNodeServiceIT
?
test/edu/ucsb/nceas/metacat/index/queue/FailedIndexResubmitTimerTaskTestIT.java
Outdated
Show resolved
Hide resolved
if (resourceMapFormatList != null && resourceMapFormatList.size() > 0) { | ||
for (String format : resourceMapFormatList) { | ||
if (format != null && !format.trim().equals("")) { | ||
if (firstTime) { | ||
sql = sql + " where object_format !='" + format + "'"; | ||
sql.append(" where object_format !='" + format + "'"); |
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.
Still has string concatenation
firstTime = false; | ||
} else { | ||
sql = sql + " and object_format !='" + format + "'"; | ||
sql.append(" and object_format !='" + format + "'"); |
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.
Still has string concatenation
if (resourceMapFormatList != null && resourceMapFormatList.size() > 0) { | ||
boolean firstTime = true; | ||
for (String format : resourceMapFormatList) { | ||
if (format != null && !format.trim().equals("")) { | ||
if (firstTime) { | ||
sql = sql + " where object_format ='" + format + "'"; | ||
sql.append(" where object_format ='" + format + "'"); |
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.
Still has string concatenation
firstTime = false; | ||
} else { | ||
sql = sql + " or object_format ='" + format + "'"; | ||
sql.append(" or object_format ='" + format + "'"); |
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.
Still has string concatenation
The branch focuses on moving the reindex action from the old Metacat api to the new DataONE MN.admin api.