Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9568

nifi-jolt-transform-json-ui includes unnecessary assets due to wildcard

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.15.2
    • 1.16.0
    • Core Framework
    • None

    Description

      The Nifi-Jolt-Transform-json-UI War file gets built with unnecessary files from build environment. This is due to an wildcard being used to bring anything in: <include>*/></include> on line 148 of pom.xml. In our use-case this is causing our development configurations to show up in the war file. Recommend using a tighter allow-list so that only *.css and *.js files are included in the build.

      Acceptance Criteria: Only js and css assets are included in the nifi-jolt-transform-ui war file, non-relevant files such as package.json & build environment files (intellij .idea) are no-longer included in the war file.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dye357 Dye357
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 12h
                  12h
                  Remaining:
                  Time Spent - 20m Remaining Estimate - 11h 40m
                  11h 40m
                  Logged:
                  Time Spent - 20m Remaining Estimate - 11h 40m
                  20m