Details

    • Type: Improvement
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Plugins, REST API
    • Labels:
      None

      Description

      Currently, User Plugin REST API allows only triggering of reload (/api/plugin/reload)

      I'd like to set reload interval through REST API instead of changing system property and restarting. It could be implemented as follows:

      /api/plugins/reload?auto : returns autoreload status
      /api/plugin/reload?auto=0|<integer> : 0 = off, <integer> = autoreload interval

      It seems like Artifactory locks all jar files under etc/plugins/lib on Windows regardless of autoreload. It would be natural to use the REST API to tell Artifactory to drop a user plugin and its resources. That would require adding dependency information to /api/plugins and eg /api/plugins?drop=all|<name> to API.

      Keeping track of dependency information would also allow for optimisation of etc/plugins/lib contents, namely, avoiding duplicates wrt Artifactory distribution.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gintas Gintas Grigelionis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: