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

Allow ScriptedLookupService to retrieve scripted Properties before service is enabled

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Extensions
    • None

    Description

      Currently, any properties defined in a script for ScriptedLookupService do not get added to the ScriptedLookupService dialog until the service is enabled. This defeats the purpose of scripted properties as some may be required, and enabling the service can instantly render it invalid.

      It would be better if ScriptedLookupService worked like InvokeScriptedProcessor in the sense that the properties are queried when the ScriptedLookupService dialog is "saved"/"applied" by hitting the Apply button on the dialog. Then the properties will be added the next time the dialog is opened, and the correct validation can be performed.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mattyb149 Matt Burgess
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: