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

Refactor Application and Config API to make them easier to extend

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • False
    • False
    • Undefined
    • ---
    • ---

      At the moment Application and Config interfaces have explicit method for each type of resources (i.e. app.predictionModels()). This makes impossible to split the API (all the interfaces should be available), requires to change the interface for every new type/resource and it is error prone: for example it is possible to invoke processes() even when they are not included.
      Refactor both API to use:

      • app.get(Processes.class)
      • config.get(RuleUnitConfig.class)

              dzonca@redhat.com Daniele Zonca
              dzonca@redhat.com Daniele Zonca
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: