Skip to content
Ameen Abozaid
Planned lessonJNR-011-L07

Demo: reading the conditions evaluation report

  • Lesson 7 of 8
  • Junior
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

see why something was or was not configured; prepares JNR-011-LAB1.

Draft outline details

Step by step

  1. Start the Shop API with --debug (or debug=true).
  2. Find the "CONDITIONS EVALUATION REPORT" in the log.
  3. Read "Positive matches": pick DispatcherServletAutoConfiguration and the condition that matched.
  4. Read "Negative matches": pick DataSourceAutoConfiguration and note the missing class or bean.
  5. Planned mistake: assume it is missing because of a bug; the report shows it is correctly skipped (no database starter present). Fix: confirm by adding the starter in a scratch branch and rerunning.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.