-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Upgrade internals from legacy search result format to 2019-08-27
The changes here are purposefully simplistic to upgrade a very overdue API result format. The fields system for processing entries is still not ideal for a few different reasons, and should be made better for both the ease of configuring fields in DGPF and handling different kinds of entries. Those will be addressed later. For now, these changes simply upgrade to the newer API version while preserving backwards compatibility.
- Loading branch information
1 parent
49e5893
commit c58b293
Showing
6 changed files
with
112 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"@datatype": "GSearchResult", | ||
"@version": "2017-09-01", | ||
"count": 1, | ||
"gmeta": [ | ||
{ | ||
"@datatype": "GMetaResult", | ||
"@version": "2017-09-01", | ||
"content": [ | ||
{ | ||
"globus_group": "ce3ef838-44c1-473e-aecb-c3ecfe6698db", | ||
"remote_file_manifest": [ | ||
{ | ||
"url":"globus://ddb59aef-6d04-11e5-ba46-22000b92c6ec/share/godata/file1.txt", | ||
"length":5, | ||
"filename":"file1.txt", | ||
"md5":"5bbf5a52328e7439ae6e719dfe712200" | ||
}, | ||
{ | ||
"url":"globus://ddb59aef-6d04-11e5-ba46-22000b92c6ec/share/godata/file2.txt", | ||
"length":5, | ||
"filename":"file2.txt", | ||
"md5":"c193497a1a06b2c72230e6146ff47080" | ||
}, | ||
{ | ||
"url":"globus://ddb59aef-6d04-11e5-ba46-22000b92c6ec/share/godata/file3.txt", | ||
"length":5, | ||
"filename":"file3.txt", | ||
"md5":"febe6995bad457991331348f7b9c85fa" | ||
} | ||
] | ||
} | ||
], | ||
"subject": "globus://ddb59aef-6d04-11e5-ba46-22000b92c6ec:/share/godata/" | ||
} | ||
], | ||
"facet_results": [ | ||
{ | ||
"@datatype": "GFacetResult", | ||
"@version": "2017-09-01", | ||
"buckets": [ | ||
{ | ||
"@datatype": "GBucket", | ||
"@version": "2017-09-01", | ||
"count": 35, | ||
"value": "IOZone" | ||
} | ||
], | ||
"name": "Subjects" | ||
} | ||
], | ||
"offset": 0, | ||
"total": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters