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

SWF Editor - (Apache) Remove Patternfly files from stunner source code

    XMLWordPrintable

Details

    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 33-35 (from Aug 14), 2023 Week 36-38 (from Sep 4)

    Description

      The goal of this task is to remove Patternfly files from stunner source code.

      Isntead of having the Patternfly CSS/JS files in stunner source code, those files shall be unpacked from a dependency declared in the POM of the project during the build process then they shall be moved to the places they are required in the target folder. This way when the jar is created, those files will be packed together.

      Files removed from the source code:

      • patternfly.min.css
      • patternfly-additions.min.css
      • bootstrap-select.min.css
      • uberfire-patternfly.css
      • patternfly.min.js

       

      How to test:

      • Build stunner from command line mvn -T 8C clean install -DskipTests=true
      • Check if the foder kie-wb-common-stunner/kie-wb-common-stunner-client/kie-wb-common-stunner-lienzo/target/uberfire-workbench-client-views-patternfly was created containing the content of the uberfire-patternfly
      • Go to kie-wb-common-stunner/kie-wb-common-stunner-client/kie-wb-common-stunner-lienzo/target and check if the jar kie-wb-common-stunner-lienzo-0.0.0.jar contains the uberfire-patternfly files listed above in the path org/kie/workbench/common/stunner/client/lienzo/canvas/patternfly. (rename the jar file to .zip in order to unpack it)

      Acceptance criteria

      Patternfly is removed from source code.
      All integration tests pass.
      No regressions are introduced.

      Attachments

        Issue Links

          Activity

            People

              handreyrc Handrey Cunha
              handreyrc Handrey Cunha
              Lubomir Terifaj Lubomir Terifaj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: