[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #IOH-851652]: change to PSD plugin location



Hi Don,

Thanks again.

-Julien

> Julien-
> 
> Here's another change for the bundle loading.  In
> ucar.unidata.idv.SavedBundle's constructor, add in a check for https:
> 
> if ( !url.startsWith("/") && !url.startsWith("http:") &&
> !url.startsWith("https:")
> && !url.startsWith("ftp:")) {
> url = dirRoot + "/" + url;
> }
> 
> Don
> 
> On 12/14/16 8:14 PM, Unidata IDV Support wrote:
> > Hi Don,
> >
> > Thanks for the patch.
> >
> > -Julien
> >
> >> Here's another change that needs to be made.  In IOUtil.java,
> >> isRelativePath needs to check for https:
> >>
> >>
> >> public static boolean isRelativePath(String path) {
> >> if (path.startsWith("https:") || path.startsWith("ftp:") ||
> >> path.startsWith("http:") || path.startsWith("/") ||
> >> path.startsWith(File.separator)) {
> >> return false;
> >> }
> >>
> >> Otherwise, you can't load a plugin with an https protocol.  Try loading
> >> in the PSD plugin from the plugin manager and you'll see the problem.
> >>
> >> Don
> >>
> >> On 12/13/16 5:49 PM, Unidata IDV Support wrote:
> >>> Hi Don,
> >>>
> >>> Done. Thanks for providing the paths. That makes life easier.
> >>>
> >>> Best,
> >>>
> >>> Unidata IDV Support
> >>>
> >>>> We recently switched our RAMADDA server to use https instead of http
> >>>> which broke the PSD bundle access.
> >>>>
> >>>> Please change the link to the plugin from:
> >>>>
> >>>> <plugin version="3.0" category="Customized IDVs" name="NOAA-ESRL-PSD
> >>>> IDV" description="NOAA/ESRL/PSD's IDV plugin"
> >>>> url="http://www.esrl.noaa.gov/psd/repository/entry/get/noaapsd.jar?entryid=be105b2f-ff5a-4f38-af36-3fb5fd3b5359"/>
> >>>>
> >>>> to:
> >>>>
> >>>> <plugin version="5.0" category="Customized IDVs" name="NOAA-ESRL-PSD
> >>>> IDV" description="NOAA/ESRL/PSD's IDV plugin"
> >>>> url="https://www.esrl.noaa.gov/psd/repository/entry/get/noaapsd.jar?entryid=be105b2f-ff5a-4f38-af36-3fb5fd3b5359"/>
> >>>>
> >>>> (vertion to 5.0 and http to https)
> >>>>
> >>>> in:
> >>>>
> >>>> http://www.unidata.ucar.edu/software/idv/plugins/plugins.xml
> >>>>
> >>>> which is also in auxdata/plugins/plugins.xml.
> >>>>
> >>>> Thanks.
> >>>>
> >>>> Don Murray
> >>>> --
> >>>> Don Murray
> >>>> NOAA/ESRL/PSD and CU-CIRES
> >>>> 303-497-3596
> >>>> http://www.esrl.noaa.gov/psd/people/don.murray/
> >>>>
> >>>>
> >>>
> >>>
> >>> Ticket Details
> >>> ===================
> >>> Ticket ID: IOH-851652
> >>> Department: Support IDV
> >>> Priority: Normal
> >>> Status: Closed
> >>> ===================
> >>> NOTE: All email exchanges with Unidata User Support are recorded in the 
> >>> Unidata inquiry tracking system and then made publicly available through 
> >>> the web.  If you do not want to have your interactions made available in 
> >>> this way, you must let us know in each email you send to us.
> >>>
> >>>
> >>
> >> --
> >> Don Murray
> >> NOAA/ESRL/PSD and CU-CIRES
> >> 303-497-3596
> >> http://www.esrl.noaa.gov/psd/people/don.murray/
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: IOH-851652
> > Department: Support IDV
> > Priority: Normal
> > Status: Closed
> > ===================
> > NOTE: All email exchanges with Unidata User Support are recorded in the 
> > Unidata inquiry tracking system and then made publicly available through 
> > the web.  If you do not want to have your interactions made available in 
> > this way, you must let us know in each email you send to us.
> >
> >
> 
> --
> Don Murray
> NOAA/ESRL/PSD and CU-CIRES
> 303-497-3596
> http://www.esrl.noaa.gov/psd/people/don.murray/
> 
> 


Ticket Details
===================
Ticket ID: IOH-851652
Department: Support IDV
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.