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

Enricher schema #32

Merged
merged 21 commits into from Apr 3, 2018
Merged

Enricher schema #32

merged 21 commits into from Apr 3, 2018

Conversation

moesjarraf
Copy link
Member

@moesjarraf moesjarraf commented Mar 6, 2018

Todo

  • <ref> now takes a JMESPath query instead. Dot notation will also work as JMESPath query.
  • Added <equal> which compares 2 values, resulting in a boolean.
  • Added <match> which finds a substring or matches against a regex, resulting in a boolean.
  • Added <if> which takes a boolean as condition and has a then and else property.
  • <switch> now is an object with on and options, rather than using additional properties in the instruction object.
  • The <enrich> instruction now has an input property, rather than using additional properties in the instruction object.
  • Replaced <jmespath> with <apply>. The <apply> instruction has an input and query property.
  • Added <join> instruction to join strings.
  • Added <replace> instruction to find / replace in a string.
  • Added <numberformat> to format number using locale.
  • Renamed date property of <dateformat> to input.
  • Added <hash> instruction. This supports less methods.
  • A <hash> instruction can have an hmac property.
  • Added <encode> and <decode> instructions.
  • New encode / decode methods base58 and url.
  • Added <serialize> and <unserialize> instructions.
  • New serialize / unserialize method url. This creates an URL Query from an object.
  • Added <sum> instruction to calculate the sum of an array
  • <dateformat> may take input_format and locale.
  • Added <encrypt> and <decrypt> instructions.
  • Added <sign> and <verify> to create and verify a cryptographic signature.

Note that all changes are bc

@moesjarraf moesjarraf merged commit 211e209 into master Apr 3, 2018
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.

None yet

2 participants