-
Notifications
You must be signed in to change notification settings - Fork 87
Fixes #28052: Add CSV common datastructures in rudder as utils #6808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: branches/rudder/9.1
Are you sure you want to change the base?
Fixes #28052: Add CSV common datastructures in rudder as utils #6808
Conversation
8a9496e to
aa40860
Compare
|
Commit modified |
1 similar comment
|
Commit modified |
aa40860 to
b54c827
Compare
b54c827 to
3a3f358
Compare
|
Commit modified |
|
You are missing unit tests :) Especially on a feature that wills to become generic up to standard HTTP response |
|
@fanf I will add examples of tests for the whole Also, for the REST util methods, they will need to be based on sample datastructures too, so I'll be it adding at the same time too |
fanf
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At minima, you need to remove the now useless dependency in rudder/rudder-templates/pom.xml
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.commons</groupId> | ||
| <artifactId>commons-lang3</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a lot of work to remove commans-lang if we have commons-lang3 ?
commons-langis inpom.xml- we aleady have
commons-lang3inrudder/rudder-templates/pom.xml(so we should already have done that work likely)
https://issues.rudder.io/issues/28052
Moving the type-classes for CSV from a private plugins to
utils, since we would need it other places than pluginsThe changes are about :
DateTime,ZonedDateTime)ProductDerivationin magnolia, since we don't know how to derive "sum" types (CSV model maps to case class which can justderivean instance, and sealed trait instances will need to be defined manually)