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

2698 new resources upload #2732

Merged
merged 12 commits into from
Feb 16, 2024
Merged

2698 new resources upload #2732

merged 12 commits into from
Feb 16, 2024

Conversation

jryu01
Copy link
Contributor

@jryu01 jryu01 commented Feb 15, 2024

Description

  • New Upload Resources button added to the left side bar and small UI updates on the upload modal in the overview page
    Screenshot 2024-02-15 at 3 45 11 PM
  • Enabled uploading NetCDF and model files for SBML, Vensim and Stella such as.nc, .json, .xml, .sbml, .mdl, .xmile, .itmx, and .stmx
  • Uploading .nc file will create a dataset and all other model files will create an artifact, model and extracted from provenance from them.

Resolves #2698

final HttpResponse response = httpclient.execute(get);
final String textFileAsString = IOUtils.toString(response.getEntity().getContent(), StandardCharsets.UTF_8);

return ResponseEntity.ok(textFileAsString);

Check warning

Code scanning / CodeQL

Cross-site scripting Medium

Cross-site scripting vulnerability due to a
user-provided value
.
@jryu01 jryu01 merged commit 6e10df3 into main Feb 16, 2024
8 checks passed
@jryu01 jryu01 deleted the 2698-new-resources-upload branch February 16, 2024 20:31
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.

New resources upload
2 participants