Open jun-he opened 3 months ago
@jun-he Could you assign this issue to me. I would like to work on it.
@jun-he
I’m starting on the task to remove the Joda-Time dependency from the Netflix-SEL module and replace it with Java's java.time
API. Here’s my plan for the migration:
1. Affected Parts in netflix-sel:
com.netflix.sel.type
Package:
SelJodaDateTimeDays
SelJodaDateTimeFormatter
SelJodaDateTimeProperty
SelJodaDateTime
SelJodaDateTimeZone
com.netflix.sel.security
Package:
SelClassLoader
Test Module:
SelJodaDateTimeDaysTest
SelJodaDateTimeFormatterTest
SelJodaDateTimePropertyTest
SelJodaDateTimeTest
SelJodaDateTimeZoneTest
MockTypeTest
2. Update Documentation:
README.md
and any other documentation files to reflect the migration from Joda-Time to java.time
.3. Update Main Classes:
java.time
classes and methods.4. Update Test Classes:
java.time
.5. Test and Validate:
Any input or concerns before I proceed? Let me know if there are specific things I should keep in mind!
Also, should we divide this into smaller tasks/issues, or handle it as a single issue?
@pranaybattu thanks for the interest and taking time to draft a plan. I assign this task to you. To upgrade SEL, there are some investigations needed
Sure, will explore those.
To remove it, we have to implement those SEL methods using Java time libraries than Joda time.