Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-2692

Topology redeployment should be configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      With a recent change for KNOX-2689, XML-based topologies are re-deployed only, if there is an actual change in the topology. This commit invalidates a well-known redeploy "technic" of touching the topology file.

      lmccay indicated this in Knox's DEV/USER mailing lists so I discussed this matter offline with some Knox team members and we agreed the following should be implemented to make this behavior configurable and be backward compatible OOTB with previous Knox versions:

      • a new gateway-site.xml param to be added, called gateway.topology.redeploy.requires.changes, to indicate if we equality check should be skipped. Defaults to false to be backward compatible.
      • in DefaultTopologyService the redeploy logic I added recently should be modified to check if an equality check is needed or not

      Attachments

        Issue Links

          Activity

            People

              smolnar Sandor Molnar
              smolnar Sandor Molnar
              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