Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-4195

[DMN Designer] PMML: Update Document value when Import alias changes

XMLWordPrintable

      When a PMML document is imported it is given an alias.

      When the PMML document is used in a Function the alias is used as the document name.

      When the import alias is changed Function's referencing the old alias should be updated.

      Acceptance tests
      Document name updates in the following scenarios:-

      1. Top level Decision defined as a PMML FunctionDefinition
      2. Top level BusinessKnowledgeModel defined as a PMML FunctionDefinition
      3. Decision with nested PMML FunctionDefinition (i.e. within a Context)
      4. BKM with nested PMML FunctionDefinition (i.e. BKM}}s expression is a {{Context holding the PMML FunctionDefinition)

      Document name is not updated in the following scenarios:-

      1. Top level Decision defined as a FEEL Context with an InformationItem (variable) name "document"
      2. Top level BKM defined similarly to the foregoing Decision
      3. Nested variant for Decision
      4. Nested variant for BKM

              manstis@redhat.com Michael Anstis
              etirelli@redhat.com Edson Tirelli
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: