Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-2344

JTosca puts one validation error to stdout instead of normal handling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Low Low
    • El Alto Release
    • Casablanca Release
    • SDC-JTOSCA
    • None
    • jtosca 6018fb047963d151d77bf03f6f84446866a30899

       

      What

      org.onap.sdc.toscaparser.api.TopologyTemplate._inputs() line 105 outputs a validation error to stdout. Other validation errors in JTosca are collected to ThreadLocalsHolder.getCollector(). This makes it impossible to find all validation issues from one place. Also as this is a supposedly generic library, the handling of stdout is completely unknown. 

      Expected Results

      All validation errors to be available to the user in the same way, so some won't be missed when looking at the presumably right log or data structure.

      Reproducible

      **Yes, every time.

            andre.schmid andre.schmid
            t.puha t.puha
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: