Project

General

Profile

1 5049 tao
metacat_additions.tar.gz, MetacatGsiClient.java, bbaker_diff_metacat.txt and  bbaker_diff_utilities.txt files came from Bill Baker at UIUC. His work is part of effort on Pilot project. Baker's work focused on making Metacat support HTTPS+GSI (Grid Security Infrastructure) POST.
2
3
Here are the emails from Baker:
4
5
---------- Forwarded message ----------
6
Date: Mon, 17 Oct 2005 14:42:28 -0500
7
From: Bill Baker <bbaker@ncsa.uiuc.edu>
8
To: Jing Tao <tao@nceas.ucsb.edu>
9
Cc: Matt Jones <jones@nceas.ucsb.edu>, Saurabh Garg <sgarg@nceas.ucsb.edu>,
10
    Von Welch <vwelch@ncsa.uiuc.edu>, mfreemon@ncsa.uiuc.edu
11
Subject: Re: Notes for Metacat Call
12
13
I just found a way to simplify the HTTPS+GSI protocol handling in Java, while I was writing some documentation -- I'm surprised I didn't see it before,
14
because it's just the use of a different URL constructor.  As a bonus, it should eliminate the compile dependency on JGlobus JARs.
15
16
The change is:
17
18
(1) delete the class edu.ucsb.nceas.protocols.httpg -- it
19
    is no longer necesary
20
(2) update MetacatGSIClient.java (attached)
21
22
I tested it out in the LTER grid pilot project app and ran some unit tests, and it seems to work fine.
23
24
-- Bill
25
26
At 14:19 2005-10-06, Bill Baker wrote:
27
Here, finally, are my Metacat diffs.  I've included three files:
28
29
   bbaker_diff_metacat.txt -- a cvs diff of the metacat module
30
   bbaker_diff_utilities.txt -- a cvs diff of the utilities module
31
   metacat_additions.tar.gz -- the files that I have added to metacat,in the directories where they belong in the metacat module
32
33
As for our unit tests, the easiest way to get them is probably to download from CVS, at :pserver:anonymous@cvs.ncsa.uiuc.edu/CVS/grids -- check out
34
the LTERPilotApp module, which has classes MetacatTest, which has GSI login tests and some simple queries with GSI authentication, and
35
MetacatQueryTest, which does more complex querying.
36
You may also find the metacat CVS module helpful -- it has our changes and a few extra Ant scripts for easy Metacat deployment in our particular
37
configuration, as seen on Roadrunner.
38
39
Bill Baker wrote:
40
An update on the Metacat patches that I'm working on:
41
I'm working on getting some changes into JGlobus to support HTTPS+GSI POST (it only supported GET before), including new support for streaming
42
data -- my previous additions to it buffered the entire POST in memory before transmitting.  Once I finish with that, I plan to package up the
43
Metacat changes and send them to you.
44
I have a question: unit tests.  We wrote some unit tests for the LTER Grid pilot project that covered HTTPS+GSI, but they are outside of the
45
Metacat unit testing framework.  They only tested logging in and querying over HTTPS+GSI -- not harvesting or any of the update/delete
46
operations. I'll include those tests when I send you my diffs.  Do you think you'll want to work them into Metacat's unit tests?
47
-- Bill
48