Skip to content

Commit

Permalink
remove include keys content (accidentally included it oops)
Browse files Browse the repository at this point in the history
Signed-off-by: Kat Shen <[email protected]>
  • Loading branch information
shenkw1 committed Jul 17, 2023
1 parent 85e9767 commit 9d86800
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
4 changes: 0 additions & 4 deletions data-prepper-plugins/key-value-processor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ When run, the processor will parse the message into the following output:
* Default: `false`
* Example: `skip_duplicate_values` is `false`. `{"key1=value1&key1=value1"}` will parse into `{"key1": ["value1", "value1"]}`
* Example: `skip_duplicate_values` is `true`. `{"key1=value1&key1=value1"}` will parse into `{"key1": "value1"}`
* `include_brackets` - Specify whether to treat square brackets, angle brackets, and parentheses as value "wrappers" that should be removed from the value.
* Default: `true`
* Example: `include_brackets` is `true`. `{"key1=(value1)"}` will parse into `{"key1": value1}`
* Example: `include_brackets` is `false`. `{"key1=(value1)"}` will parse into `{"key1": "(value1)"}`

## Developer Guide
This plugin is compatible with Java 14. See
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ public class KeyValueProcessorConfig {
static final String DEFAULT_TRANSFORM_KEY = "";
static final String DEFAULT_WHITESPACE = "lenient";
static final boolean DEFAULT_SKIP_DUPLICATE_VALUES = false;
static final boolean DEFAULT_INCLUDE_BRACKETS = false;

@NotEmpty
private String source = DEFAULT_SOURCE;
Expand Down Expand Up @@ -76,10 +75,6 @@ public class KeyValueProcessorConfig {
@NotNull
private boolean skipDuplicateValues = DEFAULT_SKIP_DUPLICATE_VALUES;

@JsonProperty("include_brackets")
@NotNull
private boolean includeBrackets = DEFAULT_INCLUDE_BRACKETS;

public String getSource() {
return source;
}
Expand Down Expand Up @@ -135,8 +130,4 @@ public String getWhitespace() {
public boolean getSkipDuplicateValues() {
return skipDuplicateValues;
}

public boolean getIncludeBrackets() {
return includeBrackets;
}
}

0 comments on commit 9d86800

Please sign in to comment.