HI Chris,

Fixed the links to map what is in web.xml. So if in web.xml. Hopefully we 
should have no more 404's there.

http://jena.staging.apache.org/documentation/fuseki2/fuseki-server-protocol.html

The /$/backups-list is simply mapped in web.xml to a servlet. And the reason 
why /$/datasets/ and /$/datasets both work, is because some routes have sub 
routes such as /$/datasets/*.

This means that the container will handle the trailing slash for /$/datasets/ 
and /$/datasets, also allowing /$/datasets/123. Whereas /$/backups-list/ does 
not match any url-pattern in web.xml.

Let us know if you find any other broken links, of if you have other 
suggestions for the documentation either here of filing an issue in JIRA.

Cheers
Bruno
________________________________
From: "Sweeney, Chris" <[email protected]>
To: "'[email protected]'" <[email protected]>; 'Bruno P. Kinoshita' 
<[email protected]> 
Sent: Tuesday, 28 March 2017 11:16 PM
Subject: RE: Documentation of Fuseki HTTP Admin Protocol



Hi Bruno,

Spelling is correct and consistent now. Still showing the trailing slash.
That gives a 404  on Fusei 2.4.1 at least.

There's an inconsistency here:
/$/datasets and /$/datasets/ both work.
/$/stats and /$/stats/  both work.
/$/tasks and /$/tasks/ both work.
/$/server works and  /$/server/  404s.
/$/backups-list works and /$/backups-list 404s.
/$/ping works and /$/ping/  404s.

I only tried these as GETs via a browser.








-----Original Message-----
From: Bruno P. Kinoshita [mailto:[email protected]] 
Sent: 28 March 2017 10:59
To: [email protected]
Subject: Re: Documentation of Fuseki HTTP Admin Protocol

Hi Chris,

You are correct. The correct link is /$/backups-list 
(https://github.com/apache/jena/blob/347d7764dc9132e182e5f8c12de99c3c20938ce8/jena-fuseki2/jena-fuseki-core/src/main/webapp/WEB-INF/web.xml#L177)

Fixed in SVN. Will be updated once the site is published. You can check the 
current staging web site to see what is going to look like

http://jena.staging.apache.org/documentation/fuseki2/fuseki-server-protocol.html

Thanks
Bruno
________________________________
From: "Sweeney, Chris" <[email protected]>
To: "'[email protected]'" <[email protected]> 
Sent: Tuesday, 28 March 2017 12:15 AM
Subject: Documentation of Fuseki HTTP Admin Protocol



Hi,


Just a minor correction to the documentation at 
http://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html as it 
confused me for a while.


The URL pattern for listing backups is incorrect in both the table of 
operations (/$/backup-lists/) and the later section on backup 
(/$/backups-lists/).

The correct pattern appears to be /$/backups-list  

Note that both the spelling and the absence of the trailing slash are 
significant.



Regards,


chris


Chris Sweeney

SEPA

t: 01698 839437

e: [email protected]

http://www.sepa.org.uk

Reply via email to