Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tsande16 committed Jul 8, 2024
1 parent a196970 commit 8084e37
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 197 deletions.
2 changes: 1 addition & 1 deletion pass-nihms-loader/nihms-data-harvest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@
</dependencies>

<build>
<finalName>nihms-data-harvest-cli</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<mainClass>org.eclipse.pass.loader.nihms.NihmsHarvesterCLI</mainClass>
<finalName>nihms-data-harvest-cli</finalName>
<classifier>exec</classifier>
</configuration>
<executions>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ public class PmidLookup {
* delayed responses.
* https://www.ncbi.nlm.nih.gov/books/NBK25497/
*/
/*private static final String DEFAULT_ENTREZ_PATH = "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary" +
".fcgi?db=pubmed&retmode=json&rettype=abstract&id=%s";*/
@Value("${pmc.entrez.service.url}")
private String ENTREZ_PATH;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import org.json.JSONObject;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.mock.mockito.MockBean;
import org.springframework.test.context.TestPropertySource;
Expand All @@ -52,9 +51,6 @@ public class EntrezPmidLookupTest {
// Needed so tests can run after application starts
@MockBean private NihmsTransformLoadCLIRunner nihmsTransformLoadCLIRunner;

@Value("${pmc.entrez.service.url}")
private String ENTREZ_PATH;

@Test
public void testGetEntrezRecordJson() throws IOException, URISyntaxException {
String entrez = IOUtils.toString(getClass().getClassLoader().
Expand Down

This file was deleted.

0 comments on commit 8084e37

Please sign in to comment.