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

KogitoBuildContext refactoring

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None

      GeneratorContext and KogitoBuildContext are a sort of duplication because they just cover two different aspects of the same concern: GeneratorContext provides shared properties while KogitoBuildContext provides environment information (i.e. dependency injection).
      At the same time there are multiple values that are shared within the whole code-generation but that are propagated individually (i.e. addonsConfig or package name).
      The goal of this ticket is:

      • remove GeneratorContext and merge it with KogitoBuildContext
      • move all "global" variables to KogitoBuildContext

              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: