Skip to content

Comments

New API endpoints for TRSA (Trusted Remote Storage Agent) of ImPACT project: stage 1#4750

Closed
akio-sone wants to merge 67 commits intoIQSS:developfrom
RENCI-NRIG:trsa-api
Closed

New API endpoints for TRSA (Trusted Remote Storage Agent) of ImPACT project: stage 1#4750
akio-sone wants to merge 67 commits intoIQSS:developfrom
RENCI-NRIG:trsa-api

Conversation

@akio-sone
Copy link
Contributor

@akio-sone akio-sone commented Jun 13, 2018

This pull request is the first stage of adding new Dataverse Native API endpoints for the TRSA (Trusted Remote Storage Agent) of ImPACT (Infrastructure for Privacy-Assured CompuTations: http://cyberimpact.us/).
More specifically, These new API endpoints are expected to handle the submission of (1) a locally ingested new dataset or (2) a locally ingest ingest new data file (s) as a JSON file without invoking the host Dataverse's ingest process. By design, this submission request from a TRSA does not or cannot upload locally ingested data files to the host Dataverse due to security restrictions on them. Also, these new API endpoints deal with up to Datavariable-level metadata in JSON format whose functionality is missing from the current set of Native API endpoints.

This pull requests implements the former API endpoint (1: adding a new dataset) and the latter one (2: adding new data files) is currently a stub. The former (BatchImport#postImportWoI method) is a variant of BatchImport#postImport method and the latter (Datasets#addFileMetadataToDataset method) is based on Datasets#addFileToDataset method. These two API endpoints are backed by newly added methods to JsonParser/JsonPrinter classes for Datavariable-level metadata. The implementation of the latter API endpoint would be covered by the next pull request.

New Contributors

Welcome! New contributors should at least glance at CONTRIBUTING.md, especially the section on pull requests where we encourage you to reach out to other developers before you start coding. Also, please note that we measure code coverage and prefer you write unit tests. Pull requests can still be reviewed without tests or completion of the checklist outlined below. Thanks!

Related Issues

Pull Request Checklist

@akio-sone akio-sone changed the title TRSA (Trusted Remote Storage Agent) of ImPACT project: stage 1 New API endpoints for TRSA (Trusted Remote Storage Agent) of ImPACT project: stage 1 Jun 13, 2018
@pdurbin
Copy link
Member

pdurbin commented Mar 20, 2019

@akio-sone head ups that there are merge conflicts in pom.xml

@djbrooke
Copy link
Contributor

djbrooke commented Aug 1, 2019

Closing this PR, updated PR incoming. Will link here when available.

@djbrooke djbrooke closed this Aug 1, 2019
@cmbz
Copy link

cmbz commented Sep 23, 2024

@scolapasta Do you know if there was ever an updated PR for this issue? #5213
See comment from 2018: #4750 (comment)

@scolapasta
Copy link
Contributor

I am not immediately aware - maybe @Asone can recall?

@Asone
Copy link

Asone commented Dec 26, 2024

@scolapasta : I guess you made a mistake, you probably meant @akio-sone ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants