OPENAM-10641 introduced pretty print for amster output, We should add a switch so that pretty print is optional
PrettyPrint being used as default had the unfortunate side-affect of breaking the steps we publish for how to update property values (see https://backstage.forgerock.com/knowledge/kb/article/a73487721)
Previously customers would:
- Do a read
- copy the output and change the property value needed
- remove the _rev and _id
- do an update using that amended output as the body
Step 4 passes and the property is updated
The update step fails because of the line endings introduced by prettyprint.
Remove the line breaks for example, using sed or an online tool (this has been added to the KB)
It would be great if we could provide better instructions than "use sed" perhaps there is a way to override the DefaultPrettyPrinter used by CrestCommandSupport.groovy?