cxbrooks / test

Second test for bugzilla to git
0 stars 0 forks source link

Add proxy server support to FileParameter #301

Open cxbrooks opened 12 years ago

cxbrooks commented 12 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#503 From: Elizabeth Latronico <beth@berkeley.edu> Reported version: 8.1.devel CC: pt-dev@chess.eecs.berkeley.edu

cxbrooks commented 12 years ago

Currently, a model using e.g. a FileReader to get information from a URL will throw an exception if the user is running Ptolemy on a Windows machine behind a firewall which requires proxy server information. (E.g. the Bosch firewall).

Edward recommends to add an option in Ptolemy configuration file (through Preferences dialog) to store proxy server information (name of proxy server, port, username and password). Then, refactor FileParameter’s openForReading method to use proxy server information if present. This should handle the majority of the actors.

This is low priority since Bosch has a work-around for the research team. It would be useful in the future if others in the company start using Ptolemy and have to run it through the firewall.