You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dbe4937
Browse filesBrowse the repository at this point in the historyBrowse files
eugenp
committed
documentation cleanup and some deployment improvements
Copy file name to clipboardExpand all lines: README.md
+23-39Lines changed: 23 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,24 @@
1
-
# Overview
2
-
3
-
This is a **Spring RESTful Service secured with Spring Security** - it provides a Proof of Concept implementation of a REST service with Spring and Spring Security.
4
-
It also provides a reference implementation in the following connected areas:
1
+
# Goals
2
+
**REST Security** is a Proof of Concept implementation of a RESTful Service. <br/>
3
+
The project also provides a reference implementation for:
5
4
- REST Discoverability and HATEOAS <br/>
6
-
- Basic and Digest Authentication <br/>
5
+
- Basic and Digest Authentication <br/>
6
+
- ETag support
7
7
- support for Multiple Representations (on the same URIs) (JSON, XML) <br/>
8
-
- a full REST based query language for advanced filtering of resources <br/>
9
-
-sorting and pagination in REST <br/>
8
+
- a full REST based Query Language for advanced filtering of resources <br/>
9
+
-Sorting and Pagination in REST <br/>
10
10
- Statelessness for REST with Spring <br/>
11
11
- full integration testing suites at every layer: unit tests, integration tests for the DAO and Service layers, integration tests against the REST service <br/>
12
12
13
13
14
-
# REST API Documentation
15
-
[Link to the **API Documentation**](https://github.com/eugenp/REST/wiki/API-documentation"REST Security - API docs")
16
-
17
-
18
-
# Continuous Integration
19
-
- Built on Cloudbees: <ahref="https://rest-security.ci.cloudbees.com">REST Security Jenkins CI</a>
- to create a new DAO, only the interface needs to be created; **Spring Data JPA** will generates the DAO implementation automatically
36
-
- the DAO interface MUST extend the Spring Data managed interface: _JpaRepository_ (with the correct parametrization)
37
-
- the DAO layer is **aware** of the persistence engine it uses; this information MUST be encoded in the name; for **example**: _IPrincipalJpaDAO_ for JPA instead of just _IPrincipalDAO_
38
-
39
-
40
-
### The Service layer
41
-
- all Service interfaces MUST extend the _IService_ interface (with the proper parametrization)
42
-
- all Service implementations MUST extend the _AbstractService_ abstract class (with the proper parametrization)
43
-
- extending _AbstractService_ and _IService_ enables a base of consistent and common functionality across services
44
-
- the Service artifacts MUST be annotated with the _@Service_ annotation
45
-
46
-
- the Service layer is **not aware** of the persistence engine it uses (indirectly); if the persistence engine will change, the DAO artifacts will change, and the service will not
33
+
# REST API Documentation
34
+
[Link to the **API Documentation**](https://github.com/eugenp/REST/wiki/API-documentation"REST Security - API docs")
47
35
48
36
49
-
# THE WEB LAYER (technical notes)
50
-
### The Controller layer
51
-
- the Controller layer MUST only use the Service layer directly (never the DAO layer)
52
-
- the Controller layer SHOULD not implement any interface
53
-
- the Controller layer MUST extend _AbstractController_ (with the proper parametrization)
54
-
- the Controller artifacts MUST be annotated with the _@Controller_ annotation
37
+
# Continuous Integration
38
+
- Built on Cloudbees: <ahref="https://rest-security.ci.cloudbees.com">REST Security Jenkins CI</a>
0 commit comments