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

Refactor encrypt-config Command Implementation

    XMLWordPrintableJSON

Details

    Description

      The encrypt-config command in nifi-toolkit-encrypt-config supports protection of sensitive properties in multiple application configuration files. The current implementation supports NiFi and NiFi Registry with similar capabilities.

      The existing implementation is written in Groovy and includes some amount of duplication between operating modes.

      The command supports capabilities unique to NiFi for protection for specific property values in application properties and flow configuration files.

      The encrypt-config command components should be refactored using the picocli framework to streamline the implementation. This refactoring should focus on supporting existing command arguments to provide compatibility with existing usage patterns. Separate efforts could consider a redesigned approach with different arguments and sub-commands, but refactoring the current implementation will provide a more maintainable solution.

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              exceptionfactory David Handermann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m