The recently introduced optional: prefix causes problems for Spring Cloud and likely for some of our users as well. We should offer a quick way to opt-out. One idea would be a spring.config.on-import-not-found=WARN/IGNORE/FAIL property.

Comment From: philwebb

I went with a slightly simpler boolean property in the end.

Comment From: wilkinsona

In the interests of future-proofing things, I wonder if we should use an enum with two values rather than a boolean?

Comment From: philwebb

spring.config.on-location-not-found WARN/IGNORE/FAIL