Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-5067

Updated Process/ProcessInstance API

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Core Engine
    • None
    • 8
    • False
    • False
    • Undefined
    • 2021 Week 19-21 (from May 10), 2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21)

      Process<T>, ProcessInstance<T> is used for very little

      • remove all usages of generics in tests, examples etc – use the raw type
      • then, finally remove generic from the classes

      introduce a new API

      void variables(Class<T>)
      

      returning an instance of Class<T> with fields set to the variable values. This supersedes also toModel/ToOutputModel

      this API will use reflection, thus reflection will be opted-in for such classes in the Quarkus extension

      • remove all usages of generics in tests, examples etc – use the raw type
      • then, finally remove generic from the classes

      at the same time:

      • use reflection in models for current toMap/fromMap – instead of codegen
      • introduce the new variable() API
      • deprecate the old one
      • remove all usages of the old one
      • remove usages of old toMap/fromMap

              Unassigned Unassigned
              evacchi Edoardo Vacchi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: