Skip to content

Conversation

@SLin417
Copy link
Owner

@SLin417 SLin417 commented Oct 10, 2025

Pull from main to branch-sonia-inspirefetcher

u7978428 and others added 5 commits October 8, 2025 12:47
Improve INSPIRE citekey handling and cleanup
- Implement retry mechanism with 3 attempts and exponential backoff
- Add timeout configuration (10s connect, 30s read)
- Add comprehensive logging (INFO/WARN/DEBUG levels)
- Add citation key validation to detect URL-like keys
- Improve error messages with actionable suggestions
- Add test guide for validation

Part of issue JabRef#12292 - Task 3.2: INSPIRE API optimization
Provides stable data source for other team members' tasks
- Integrated Sonia's 3.1 task (texkeys extraction and key cleanup)
- Kept retry mechanism and validation from 3.2 task
- Combined both features for complete INSPIRE fetcher improvement
- Removed test documentation file
- Import java.time.Duration for timeout settings
- Use Duration.ofMillis() for setConnectTimeout (URLDownload only supports connect timeout)
- Remove setReadTimeout (not supported by URLDownload class)
- Change catch block to ParseException | FetcherException (IOException not thrown)
- Code now compiles successfully
feat(3.2): Add retry mechanism and validation to INSPIRE fetcher
@SLin417 SLin417 self-assigned this Oct 10, 2025
@SLin417 SLin417 merged commit eb48ff1 into sonia-inspirefetcher Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants