You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (Jira)" <ji...@apache.org> on 2022/02/02 14:55:00 UTC

[jira] [Updated] (JENA-2270) Improve Fuseki data upload functionality.

     [ https://issues.apache.org/jira/browse/JENA-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne updated JENA-2270:
--------------------------------
    Description: 
Continues JENA-2248.

The upload code has become messy with duplication. 

Functionality for HTML file upload {{<input type="file">}} has a dependency on code using {{javax}}, and not {{jakarta}}.

{{HTML_FileUpload}} is dated and it buffers its input.
This is a step towards having the option to remove HTML file upload capability.

A new general data uploader for sending data to a dataset will cover the functionality better.

The only use of HTML file upload not covered is when the graph name is in the multipart content. This predates SPARQL Graph Store Protocol which is a better approach because the graph name is available at the start and so the data can transactionally stream to the right destination. HTML file upload can, in theory, supply the graph name after the data.

The UI "add data" tab uses GSP style to load data.



  was:
Continues JENA-2248.

The upload code has become messy with duplication. 

Functionality for HTML file upload {{<input type="file">}} has a dependency on code using {{javax}}, and not {{jakarta}}.

{{HTML_FileUpload}} is dated and it buffers its input.

A new general data uploader for sending data to a dataset will cover the functionality better.

The only use of HTML file upload not covered is when the graph name is in the multipart content. This predates SPARQL Graph Store Protocol which is a better approach because the graph name is available at the start and so the data can transactionally stream to the right destination. HTML file upload can, in theory, supply the graph name after the data.


> Improve Fuseki data upload functionality.
> -----------------------------------------
>
>                 Key: JENA-2270
>                 URL: https://issues.apache.org/jira/browse/JENA-2270
>             Project: Apache Jena
>          Issue Type: Improvement
>    Affects Versions: Jena 4.4.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>
> Continues JENA-2248.
> The upload code has become messy with duplication. 
> Functionality for HTML file upload {{<input type="file">}} has a dependency on code using {{javax}}, and not {{jakarta}}.
> {{HTML_FileUpload}} is dated and it buffers its input.
> This is a step towards having the option to remove HTML file upload capability.
> A new general data uploader for sending data to a dataset will cover the functionality better.
> The only use of HTML file upload not covered is when the graph name is in the multipart content. This predates SPARQL Graph Store Protocol which is a better approach because the graph name is available at the start and so the data can transactionally stream to the right destination. HTML file upload can, in theory, supply the graph name after the data.
> The UI "add data" tab uses GSP style to load data.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)