elasticsearch/docs/reference/ingest
edh-oss 62a471aefe
Update JSON parser and snippets (#77983)
Related to issue  #77823

This does the following:

- Updates several asciidoc files that contained code snippets with
  invalid JSON, most involving unnecessary trailing commas.

- Makes the switch from the Groovy JSON parser to the Jackson parser,
  pursuant to the general goal of eliminating Groovy dependence.

- Makes testing of JSON validity at build time more strict.

Note that this update still allows backslash escaping for any
character. Currently that matters because of the file
"docs/reference/ml/anomaly-detection/apis/get-datafeed-stats.asciidoc",
specifically this part:

    "attributes" : {
      "ml.machine_memory" :
        "$body.datafeeds.0.node.attributes.ml\.machine_memory",
      "ml.max_open_jobs" : "512"
    }

It's not clear to me what change, if any, is appropriate there. So,
I've left in the escaped period and configured the parser to ignore
it for the time being.
2021-09-20 11:08:26 +01:00
..
apis Add enrich node cache (#76800) 2021-09-03 09:33:44 +02:00
processors Update JSON parser and snippets (#77983) 2021-09-20 11:08:26 +01:00
common-log-format-example.asciidoc [DOCS] Update ingest pipeline screenshots for new EUI theme (#75744) 2021-07-27 13:36:12 -04:00
enrich.asciidoc [DOCS] Fix double spaces (#71082) 2021-03-31 09:57:47 -04:00
geo-match-enrich-policy-type-ex.asciidoc [DOCS] Correct spelling for geo terms (#76028) 2021-08-03 09:55:48 -04:00
match-enrich-policy-type-ex.asciidoc [DOCS] Fix create enrich policy API title (#71494) 2021-04-08 15:35:53 -04:00
processors.asciidoc [DOCS] Registered domain processor (#71753) 2021-04-19 14:06:37 -05:00