Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-666

Execution server: Simplify response XML for OptaPlanner REST calls

XMLWordPrintable

    • NEW
    • NEW

      <org.kie.api.model.ServiceResponse>
          <type>SUCCESS</type>
          <msg>Best computed solution...</msg>
          <result class="solver-instance">
          ...
          <best-solution class="opta.curriculumcourse.CourseSchedule">
      

      Currently the response XML contains redundant information (e.g. type=success which can be derived from response code, msg,...). Simplify the response to ease its processing. Check jBPM, which already uses less-is-better approach.

            mcimbora_jira Matej Čimbora (Inactive)
            mcimbora_jira Matej Čimbora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: