-
Notifications
You must be signed in to change notification settings - Fork 22
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
V0.2 #92
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Implemented Parameterizer interface and the frame for static and dynamic parameter * Renamed Parameter object attributes into clear naming way: LinkParameter - > LinkColumnParameter * Added DynamicModeSupport setting for Parameter object
* Added validation warnings for Driver * Implemented type overriding initialization inside Driver * Refactored logic of allowed type validation now it is not relying on initialized driver data * Added chain of inherited types with their name for custom types * Moved column type overriding to Column object itself * Implemented type checking helpers
* Added dynamic parameter tests
* Renamed old Parameter to ParameterDefinition * Renamed old Definition to TransformerDefinition
* Added dynamic parameters test * Refactored parameters init function * fixed error message now it looks clear
* Fixed parameter validation * Introduced TransformerContext that united parameters that were passed to transformer during initialization procedure and initialized transformer * Updated RandomDate transformer implementation, adapted to the dynamic parametrization * Fixed static and dynamic parameters initialization * Deprecated value-parameters methods in ParameterDefinition
* renamed InitParametersV2 to InitParameters * renamed parameter.go to parameter_definition.go
* Clean up code from deprecated attributes and methods in that were in ParameterDefinition * Fixed unit tests * Added attribute documentation for StaticParameter and DynamicParameter
* Adapted 3 transformers for dynamic parameters usage: * RandomDate * RandomInt * RandomFloat
* Implemented cast template logic * Implemented default logic behaviour
* Changed Parametrizer interface * Implemented common function for scanning static objects
* Moved a few files from internal to toolkit * Added to timeToUnix and unixToTime functions * Implemented template context object that allows to get the value or raw value for dynamic parameter and Encode/Decode it into destination type
* Introduced TypeCaster for casting original value to dest type * Implemented cast functions
* Fixed cast_to implementation * Removed auto cast for now. It might be implemented later
…and max params are not required anymore
Implemented the next transformers: * UnitTimestamp * Uuid * String * Numeric * Choice
* Refactored transformer layout * Fixed limiters in random transformers * Implemented NoiseInt transformer * Fixed tests
* Added tsModify template function * Implemented context for static parameter * Added template support for static parameter
fix: Fixed required parameters validation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.