Skip to content

Commit

Permalink
Merge pull request #35 from lalithkota/develop
Browse files Browse the repository at this point in the history
DynamicNewField SMT: Output Default Value Fixed
  • Loading branch information
lalithkota authored Oct 22, 2024
2 parents 55979a4 + ca94545 commit c85619b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void testWithSchema() {
config.put(DynamicNewField.ES_INPUT_FIELDS_CONFIG, "id,lang_code");
config.put(DynamicNewField.ES_OUTPUT_FIELDS_CONFIG, "name");
config.put(DynamicNewField.INPUT_FIELDS_CONFIG, "regcntr_id,lang_code");
config.put(DynamicNewField.DEFAULT_VALUE_CONFIG, "null,null");
config.put(DynamicNewField.INPUT_DEFAULT_VALUE_CONFIG, "null,null");
config.put(DynamicNewField.OUTPUT_FIELDS_CONFIG, "regcntr_name");

xformValue.configure(config);
Expand Down Expand Up @@ -71,7 +71,7 @@ public void testSchemaless() {
config.put(DynamicNewField.ES_INPUT_FIELDS_CONFIG, "id,lang_code");
config.put(DynamicNewField.ES_OUTPUT_FIELDS_CONFIG, "name");
config.put(DynamicNewField.INPUT_FIELDS_CONFIG, "regcntr_id,lang_code");
config.put(DynamicNewField.DEFAULT_VALUE_CONFIG, "null,null");
config.put(DynamicNewField.INPUT_DEFAULT_VALUE_CONFIG, "null,null");
config.put(DynamicNewField.OUTPUT_FIELDS_CONFIG, "regcntr_name");

xformValue.configure(config);
Expand Down Expand Up @@ -110,7 +110,7 @@ public void testSchemalessNullField() {
config.put(DynamicNewField.ES_INPUT_FIELDS_CONFIG, "id");
config.put(DynamicNewField.ES_OUTPUT_FIELDS_CONFIG, "name");
config.put(DynamicNewField.INPUT_FIELDS_CONFIG, "regcntr_id");
config.put(DynamicNewField.DEFAULT_VALUE_CONFIG, "");
config.put(DynamicNewField.INPUT_DEFAULT_VALUE_CONFIG, "");
config.put(DynamicNewField.OUTPUT_FIELDS_CONFIG, "regcntr_name");

xformValue.configure(config);
Expand Down

0 comments on commit c85619b

Please sign in to comment.