You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/06/19 15:16:25 UTC

[jira] [Commented] (JENA-717) Fuseki2 delete dataset not working

    [ https://issues.apache.org/jira/browse/JENA-717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037323#comment-14037323 ] 

ASF subversion and git services commented on JENA-717:
------------------------------------------------------

Commit 1603869 from [~ijd]
[ https://svn.apache.org/r1603869 ]

Code for removing a dataset in place, but waiting for resolution of JENA-717 before progressing further

> Fuseki2 delete dataset not working
> ----------------------------------
>
>                 Key: JENA-717
>                 URL: https://issues.apache.org/jira/browse/JENA-717
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>            Reporter: Ian Dickinson
>              Labels: fuseki2
>
> Attempting to delete a dataset with an HTTP DELETE request gives a 400 error. Probably pilot error, but I'm not sure what I'm doing wrong:
> {code}
> ian@ian-desktop $ curl -i 'http://localhost:3030/$/datasets/foo'
> HTTP/1.1 200 OK
> Fuseki-Request-ID: 10
> Access-Control-Allow-Origin: *
> Server: Fuseki (2.0.0.M2-SNAPSHOT)
> Vary: Accept,Accept-Encoding,Accept-Charset
> Content-Type: application/json
> Transfer-Encoding: chunked
> { 
>   "ds.name" : "/foo" ,
>   "ds.services" : [ 
>       { 
>         "srv.endpoints" : [ "get" ] ,
>         "srv.type" : "graph store protocol (Read)"
>       } ,
>       { 
>         "srv.endpoints" : [ "update" ] ,
>         "srv.type" : "update"
>       } ,
>       { 
>         "srv.endpoints" : [ "" ] ,
>         "srv.type" : "Quads"
>       } ,
>       { 
>         "srv.endpoints" : [ "data" ] ,
>         "srv.type" : "graph store protocol"
>       } ,
>       { 
>         "srv.endpoints" : [ 
>             "sparql" ,
>             "query"
>           ] ,
>         "srv.type" : "query"
>       } ,
>       { 
>         "srv.endpoints" : [ "upload" ] ,
>         "srv.type" : "upload"
>       }
>     ]
> }
> [~/workspace/jena-fuseki2] 
> ian@ian-desktop $ curl -i -X DELETE http://localhost:3030/$/datasets/foo
> HTTP/1.1 400 Failed to find dataset for '/foo'
> Fuseki-Request-ID: 11
> Access-Control-Allow-Origin: *
> Server: Fuseki (2.0.0.M2-SNAPSHOT)
> Content-Length: 
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)