opensciencegrid/topology

Filter VOs based on OASIS status

Closed this issue · 10 comments

The filtering in MyOSG for OASIS attributes for VO queries is not replicated to the current VO responses.

We should implement this for OASIS attributes and the active attributes (if we don't already). I see we can additionally filter on support center ... it's not clear if that's necessary.

Oasis also depends on &sort_key=name which is also not working.

Your XML parser requires sorting? Isn't XML by definition can be out of order and still be correct?

The parser doesn't require sorting, but the output of the program needs to be sorted. It could do its own sorting, but it's more convenient if it already comes sorted.

Which xml does sort_key=name sort, and which specific attribute does it sort by?

Filtering by oasis should be good

Yes it is, but now there's a new problem in that at least sometimes the nesting of "DN" is many levels deep, for example:

<OASIS><UseOASIS>True</UseOASIS><Managers><Manager><Name>Arthur Kreymer</Name><DNs><DN><DN><DN><DN><DN><DN><DN><DN><DN><DN>/DC=org/DC=doegrids/OU=People/CN=Arthur E Kreymer 261310</DN><DN>/DC=com/DC=DigiCert-Grid/O=Open Science Grid/OU=People/CN=Arthur Kreymer 965</DN></DN></DN></DN></DN></DN></DN></DN></DN></DN></DNs></Manager></Managers>

Which xml does sort_key=name sort, and which specific attribute does it sort by?

I have only seen it used on the vosummary, and there it sorts by VO name.

Now it looks like it is sorted on the vo name by default so the sorting is fine, I just have the nested DN problem.

Fixed the nested DN problem.

Ok, the oasis scripts using my.opensciencegrid.org are all happy with my-itb.opensciencegrid.org.

I'm not given a button to close this issue, so you please do it.

OK, thanks!