Skip to content
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

Dynamic replacements #20

Closed
rmpestano opened this issue Apr 27, 2016 · 0 comments
Closed

Dynamic replacements #20

rmpestano opened this issue Apr 27, 2016 · 0 comments

Comments

@rmpestano
Copy link
Owner

Currently we have fixed replacements like

tweet:
  - id: "1"
    content: "dbunit rules!"
    date: "[DAY,NOW]"
    user_id: 1
  - id: "2"
    content: "dbunit rules!"
    date: "[DAY,YESTERDAY]"
    user_id: 1
  - id: "3"
    content: "dbunit rules!"
    date: "[DAY,TOMORROW]"
    user_id: 1

and only these keywords are replaced by DateTimeReplacer.

Dynamic replacements are possible by invoking a script language using jsr 223, more details here.

rmpestano added a commit that referenced this issue Apr 27, 2016
perf
rmpestano added a commit that referenced this issue Apr 27, 2016
small refactoring
rmpestano pushed a commit that referenced this issue Apr 28, 2016
support multiple scripts engines
rmpestano pushed a commit that referenced this issue Apr 28, 2016
rmpestano pushed a commit that referenced this issue Apr 28, 2016
rmpestano added a commit that referenced this issue Apr 28, 2016
regex to identify presence of script in dataset
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

No branches or pull requests

1 participant