EntryDownloader
This commit is contained in:
@@ -34,7 +34,7 @@ import com.bayer.edam.migration.adam.WriteRecord;
|
||||
import com.bayer.edam.migration.mam.Entry;
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
@SpringBootApplication
|
||||
//@SpringBootApplication
|
||||
@PropertySource("file:secret.properties")
|
||||
public class MamMigrationSelective implements CommandLineRunner {
|
||||
|
||||
@@ -60,10 +60,9 @@ public class MamMigrationSelective implements CommandLineRunner {
|
||||
HttpHeaders adamHeaders, mamHeaders;
|
||||
HttpEntity<String> adamHeadersEntity;
|
||||
|
||||
private static SimpleDateFormat isoDate = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'");
|
||||
private static SimpleDateFormat stringDate = new SimpleDateFormat("yyyy-MM-dd");
|
||||
|
||||
private static ObjectMapper jsonMapper = new ObjectMapper();
|
||||
private SimpleDateFormat isoDate = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm'Z'");
|
||||
private SimpleDateFormat stringDate = new SimpleDateFormat("yyyy-MM-dd");
|
||||
private ObjectMapper jsonMapper = new ObjectMapper();
|
||||
|
||||
private List<String> locations = new ArrayList<String>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user