Skip to content

Conversation

@juaninf
Copy link
Contributor

@juaninf juaninf commented Oct 22, 2025

Moving Scanner-Core dependency from scanner-core 5.5.0 to 6.2.3 and fix deserialization issues

Version:

  • Moving Scanner-Core dependency from scanner-core 5.5.0 to 6.2.3

Fixes:

  1. Add Jackson deserialization support to ScanResult

    • Add @JsonCreator annotation to private constructor
    • Add @JsonProperty annotations for all constructor parameters
    • Map 'resultStatus' JSON field to 'jobStatus' Java field
    • Fixes MongoDB deserialization via MongoJack
  2. Fix Javadoc compilation error in IPersistenceProvider

    • Remove @param limit documentation for non-existent parameter
  3. Implement missing methods in DummyPersistenceProvider

    • Add getScanResultsByTarget() returning empty list
    • Add getScanResultById() returning null
    • Fixes test compilation after interface updates

ic0ns and others added 5 commits October 22, 2025 08:22
…ix deserialization issues

Version:
- Moving Scanner-Core dependency from scanner-core 5.5.0 to 6.2.3

Fixes:
1. Add Jackson deserialization support to ScanResult
   - Add @JsonCreator annotation to private constructor
   - Add @JsonProperty annotations for all constructor parameters
   - Map 'resultStatus' JSON field to 'jobStatus' Java field
   - Fixes MongoDB deserialization via MongoJack

2. Fix Javadoc compilation error in IPersistenceProvider
   - Remove @param limit documentation for non-existent parameter

3. Implement missing methods in DummyPersistenceProvider
   - Add getScanResultsByTarget() returning empty list
   - Add getScanResultById() returning null
   - Fixes test compilation after interface updates
@ic0ns ic0ns merged commit b000df7 into main Oct 28, 2025
11 checks passed
@XoMEX
Copy link
Member

XoMEX commented Oct 29, 2025

Why does this contain duplicate changes with #61 ? I reviewed that before this was merged and posted comments there which also affect this PR:

#61 (comment)
#61 (comment)

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