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

Enable User to view Raw Data for their measurements #522

Merged
merged 33 commits into from
Apr 10, 2024

Conversation

Steffengreiner
Copy link
Contributor

@Steffengreiner Steffengreiner commented Mar 14, 2024

What was changed
1.) Introduced a dedicated view which will enable a user to view the data generated for their measurements
2.) Provide the correct empty state disclaimers if no samples/measurment were registered
3.) Add Url Generation and download for data download:

How to test
Provide values for the environment variables employed to handle the openbis connection containing the data:

"openbis.datasource.as.url=${OPENBIS_ASS_URL:}"
"openbis.datasource.dss.url=${OPENBIS_DSS_URL:}"
"server.download.api.measurement.url=${DOWNLOAD_MEASUREMENT_API_URL:}"

1.) Go to Project 007 and switch to enabled raw data tab and observe raw data information!
2.) Try to download files with generated urls for raw data

@Steffengreiner Steffengreiner marked this pull request as ready for review March 21, 2024 21:24
@Steffengreiner Steffengreiner requested a review from a team as a code owner March 21, 2024 21:24
Copy link

Quality Gate Passed Quality Gate passed

Issues
9 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.0% Duplication on New Code

See analysis details on SonarCloud

@@ -29,6 +30,11 @@ public Optional<String> assignedSamplePoolGroup() {
return Optional.ofNullable(samplePoolGroup.isBlank() ? null : samplePoolGroup);
}

@Override
public MeasurementCode measurementCode() {
return null;
Copy link
Member

Choose a reason for hiding this comment

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

why null?

this.experimentInformationService = Objects.requireNonNull(experimentInformationService);
this.measurementService = Objects.requireNonNull(measurementService);
this.rawDataService = Objects.requireNonNull(rawDataService);
this.rawDataSourceURL = Objects.requireNonNull(dataSourceURL);
Copy link
Member

Choose a reason for hiding this comment

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

this is an empty string for me, I reckon this is just a settings issue?

Copy link
Member

Choose a reason for hiding this comment

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

...or not yet implemented

Copy link
Member

@wow-such-code wow-such-code left a comment

Choose a reason for hiding this comment

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

what a herculean task! well done!
despite the approval, please note the two comments I made.

@Steffengreiner Steffengreiner merged commit 3f2e039 into development Apr 10, 2024
4 checks passed
@Steffengreiner Steffengreiner deleted the feature/dm-414-browse-raw-datasets branch April 10, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants