1
0
Fork 0

fixed wrong json path

This commit is contained in:
Sandro La Bruzzo 2022-02-18 11:11:17 +01:00
parent 3aa2020b24
commit d3f03abd51
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ abstract class AbstractRestClient extends Iterator[String] {
}
private def doHTTPRequest[A <: HttpUriRequest](r: A): String = {
val timeout = 60; // seconds
val timeout = 600; // seconds
val config = RequestConfig
.custom()
.setConnectTimeout(timeout * 1000)

View File

@ -46,7 +46,7 @@ object ImportDatacite {
Source
.fromInputStream(
getClass.getResourceAsStream(
"/eu/dnetlib/dhp/actionmanager/datacite/import_from_api.json"
"/eu/dnetlib/dhp/datacite/import_from_api.json"
)
)
.mkString