From f87ed05d1d3553494fb47df04b3bcb7749316b84 Mon Sep 17 00:00:00 2001 From: Jon Brisbin Date: Sat, 2 Mar 2013 11:55:21 -0600 Subject: [PATCH] Update documentation. --- src/reference/docbook/index.xml | 1 + src/reference/docbook/install.xml | 26 ++++++++++++++ src/reference/docbook/intro.xml | 42 ++++++----------------- src/reference/docbook/representations.xml | 3 +- 4 files changed, 40 insertions(+), 32 deletions(-) create mode 100644 src/reference/docbook/install.xml diff --git a/src/reference/docbook/index.xml b/src/reference/docbook/index.xml index 8db9786d3..357f56d7f 100644 --- a/src/reference/docbook/index.xml +++ b/src/reference/docbook/index.xml @@ -44,5 +44,6 @@ + \ No newline at end of file diff --git a/src/reference/docbook/install.xml b/src/reference/docbook/install.xml new file mode 100644 index 000000000..e111f2690 --- /dev/null +++ b/src/reference/docbook/install.xml @@ -0,0 +1,26 @@ + + + + Installing Spring Data REST + +
+ Adding Spring Data REST to an existing Spring MVC application + + Spring Data REST is itself a Spring MVC application and is designed in such a way that it should integrate + with your existing Spring MVC applications with very little effort. An existing (or future) layer of services can + run alongside Spring Data REST with only minor considerations. + + + To install Spring Data REST alongside your application, simply add the required dependencies, include the + stock + @Configuration + class (or subclass it and perform any required manual configuration), and map some URLs to be managed by Spring + Data REST. + + +
+ +
\ No newline at end of file diff --git a/src/reference/docbook/intro.xml b/src/reference/docbook/intro.xml index a391410aa..703718cb5 100644 --- a/src/reference/docbook/intro.xml +++ b/src/reference/docbook/intro.xml @@ -728,77 +728,57 @@ http://api.myservice.com/v1:>]]> - + put - + HTTP PUT to the given path, passing JSON given in the --data parameter. - + delete - + HTTP DELETE to the given path. - + auth basic - + Set an HTTP Basic authentication token for use in this session. - + auth clear - + Clear the Authorization header currently in use. - + ssl validate - - - - - - - - - - - + Disable certificate checking to work with self-signed certificates. - - - get - HTTP GET from the given path. - post - HTTP POST to the given path, passing JSON given in the --data parameter. - put - HTTP PUT to the given path, passing JSON given in the --data parameter. - delete - HTTP DELETE to the given path. - auth basic - Set an HTTP Basic authentication token for use in this session. - auth clear - Clear the Authorization header currently in use. - ssl validate - Disable certificate checking to work with self-signed certificates. - - + \ No newline at end of file diff --git a/src/reference/docbook/representations.xml b/src/reference/docbook/representations.xml index 18d6c2b28..6133a7ade 100644 --- a/src/reference/docbook/representations.xml +++ b/src/reference/docbook/representations.xml @@ -1,5 +1,5 @@ - @@ -26,6 +26,7 @@ content-type. +