Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-822

Proxy settings utility for plugin writers

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.2.2.Final
    • Fix Version/s: 1.2.3.Final
    • Component/s: UI - Shell
    • Labels:
      None

      Description

      There is a utility class that the built-in plugins may use to read the proxy information from the Forge user configuration. This is the org.jboss.forge.shell.util.ProxySettgins class, which is part of the forge-shell project.

      However, the plugins that are not part of that module do not have access at runtime to this utility class. So if they need information about the HTTP proxy, the plugin writers have to know all the details how these are set in the ~/.forge/config.xml file.

      The solution is to move the ProxySettings class to the same package, but in the forge-shell-api project. The latter can be safely accessed by the plugins.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ivan_stefanov Ivan St. Ivanov
                Reporter:
                ivan_stefanov Ivan St. Ivanov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: