<commit_before># Spring REST Service OAuth

[![Build Status](https://travis-ci.org/royclarkson/spring-rest-service-oauth.svg)](https://travis-ci.org/royclarkson/spring-rest-service-oauth.svg)

This is a simple REST service that provides a single RESTful endpoint protected by OAuth 2. The REST service is based on the [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) getting started guide. This project incorporates the new Java-based configuration support, now available in Spring Security OAuth 2.0. Please log any issues or feature requests to the [Spring Security OAuth project](https://github.com/spring-projects/spring-security-oauth/issues).


## Spring Projects

The following Spring projects are used in this sample app:

- [Spring Boot](http://projects.spring.io/spring-boot/)
- [Spring MVC](http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html)
- [Spring Security](http://projects.spring.io/spring-security/)
- [Spring Security OAuth](http://projects.spring.io/spring-security-oauth/)
- [Spring Data JPA](http://projects.spring.io/spring-data-jpa/)


## Build and Run

Use Gradle:

```sh
./gradlew clean build bootRun<commit_msg>Fix link to Travis build<commit_after># Spring REST Service OAuth

[![Build Status](https://travis-ci.org/royclarkson/spring-rest-service-oauth.svg)](https://travis-ci.org/royclarkson/spring-rest-service-oauth/)

This is a simple REST service that provides a single RESTful endpoint protected by OAuth 2. The REST service is based on the [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) getting started guide. This project incorporates the new Java-based configuration support, now available in Spring Security OAuth 2.0. Please log any issues or feature requests to the [Spring Security OAuth project](https://github.com/spring-projects/spring-security-oauth/issues).


## Spring Projects

The following Spring projects are used in this sample app:

- [Spring Boot](http://projects.spring.io/spring-boot/)
- [Spring MVC](http://docs.spring.io/spring/docs/current/spring-framework-reference/html/mvc.html)
- [Spring Security](http://projects.spring.io/spring-security/)
- [Spring Security OAuth](http://projects.spring.io/spring-security-oauth/)
- [Spring Data JPA](http://projects.spring.io/spring-data-jpa/)


## Build and Run

Use Gradle:

```sh
./gradlew clean build bootRun
{'fraction_non_alphanumeric': 0.1273938384679434, 'fraction_numerical': 0.002497918401332223, 'mean_word_length': 4.680851063829787, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1806236', 'n_tokens_mistral': 718, 'n_tokens_neox': 688, 'n_words': 203}