Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify getDataset repository API call to use 'excludeFiles' parameter #112

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

GPortas
Copy link
Contributor

@GPortas GPortas commented Jan 3, 2024

What this PR does / why we need it:

Modifies getDataset repository API call to use 'excludeFiles' parameter.

Also adds more test cases for deaccessioned datasets and getDataset repository method.

Which issue(s) this PR closes:

Related Dataverse PRs:

  • None

Suggestions on how to test this:

  • Run integration tests or review GitHub action execution

@GPortas GPortas marked this pull request as ready for review January 3, 2024 15:35
@ekraffmiller ekraffmiller self-requested a review January 3, 2024 15:40
@cmbz cmbz added the Size: 3 A percentage of a sprint. 2.1 hours. label Jan 3, 2024
@ekraffmiller ekraffmiller self-assigned this Jan 3, 2024
@GPortas GPortas added pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows labels Jan 3, 2024
Copy link
Contributor

@ekraffmiller ekraffmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Guillermo, I tried this PR against the SPA, and it is still not getting the deaccessioned dataset when the user has logged out. Can you add a test for that?

Copy link
Contributor

@ekraffmiller ekraffmiller Jan 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a test to get the deaccessioned dataset when the user has logged out. That is the use case that we need to support in the SPA.

@ekraffmiller ekraffmiller assigned GPortas and unassigned ekraffmiller Jan 3, 2024
@GPortas
Copy link
Contributor Author

GPortas commented Jan 4, 2024

@ekraffmiller

I just added a test for the scenario you mention, but it is failing due to the API issue I explain on dv-tech.

@GPortas
Copy link
Contributor Author

GPortas commented Jan 4, 2024

Waiting for: IQSS/dataverse#10207

@GPortas GPortas removed the Waiting label Feb 1, 2024
@GPortas GPortas requested a review from ekraffmiller February 1, 2024 16:32
@GPortas GPortas removed their assignment Feb 1, 2024
Copy link
Contributor

@ekraffmiller ekraffmiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good!

Copy link
Contributor

@MellyGray MellyGray left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

QA ✅

@MellyGray MellyGray merged commit 8ceac83 into develop Feb 6, 2024
2 checks passed
@MellyGray MellyGray deleted the 111-exclude-files-param branch February 6, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pm.GREI-d-2.7.1 NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows pm.GREI-d-2.7.2 NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows Size: 3 A percentage of a sprint. 2.1 hours. SPA: Dataset View Page
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Modify Dataverse API calls to use 'excludeFiles' parameter
4 participants