Skip to content

Commit

Permalink
update version to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nenaraab committed Sep 13, 2019
1 parent 996f861 commit b809b28
Show file tree
Hide file tree
Showing 20 changed files with 30 additions and 26 deletions.
4 changes: 2 additions & 2 deletions api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>api</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>

<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<packaging>pom</packaging>

<name>parent</name>
Expand Down
6 changes: 4 additions & 2 deletions samples/sap-java-buildpack-api-usage/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@ applications:

host:
path: target/sap-java-buildpack-api-usage.war
buildpack: sap_java_buildpack
buildpacks:
- sap_java_buildpack
services:
- xsuaa-buildpack
# Application Router as web server
- name: approuter-sap-java-buildpack-api-usage
path: approuter
buildpack: nodejs_buildpack
buildpacks:
- nodejs_buildpack
memory: 128M
routes:
- route: approuter-sap-java-buildpack-api-usage-((ID)).((LANDSCAPE_APPS_DOMAIN))
Expand Down
2 changes: 1 addition & 1 deletion samples/sap-java-buildpack-api-usage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>api</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
Expand Down
2 changes: 1 addition & 1 deletion samples/spring-security-basic-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>

<artifactId>spring-security-basic-auth</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<name>spring-security-basic-auth</name>

<properties>
Expand Down
3 changes: 2 additions & 1 deletion samples/spring-security-xsuaa-usage/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ applications:
# Application Router as web server
- name: approuter-spring-security-xsuaa-usage
path: approuter
buildpack: nodejs_buildpack
buildpacks:
- nodejs_buildpack
memory: 128M
routes:
- route: spring-security-xsuaa-usage-web-((ID)).((LANDSCAPE_APPS_DOMAIN))
Expand Down
4 changes: 2 additions & 2 deletions samples/spring-security-xsuaa-usage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

<groupId>com.sap.cloud.security.samples</groupId>
<artifactId>spring-security-xsuaa-usage</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<name>spring-security-xsuaa-usage</name>

<properties>
Expand All @@ -37,7 +37,7 @@
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>xsuaa-spring-boot-starter</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
2 changes: 1 addition & 1 deletion samples/spring-webflux-security-xsuaa-usage/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

<groupId>com.sap.cloud.security.samples</groupId>
<artifactId>spring-webflux-security-xsuaa-usage</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<name>spring-webflux-security-xsuaa-usage</name>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion samples/vars.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# some data to make the urls unique
# change to another value, e.g. your User ID
ID: 00-00-00
ID: d048418

# Choose cfapps.eu10.hana.ondemand.com for the EU10 landscape, cfapps.us10.hana.ondemand.com for US10
LANDSCAPE_APPS_DOMAIN: cfapps.eu10.hana.ondemand.com
Expand Down
2 changes: 1 addition & 1 deletion spring-xsuaa-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>

<artifactId>spring-xsuaa-it</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<name>spring-xsuaa-it</name>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ public MockResponse dispatch(RecordedRequest request) {
}
if (request.getPath().equals("/oauth/token") && "POST".equals(request.getMethod())) {
String body = request.getBody().readString(StandardCharsets.UTF_8);
if (body.contains("grant_type=password") && body.contains("username=basic.user") && body.contains("password=basic.password")) {
if (body.contains("grant_type=password") && body.contains("username=basic.user")
&& body.contains("password=basic.password")) {
try {
return new MockResponse().setHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE)
.setResponseCode(HttpStatus.OK.value())
Expand Down
2 changes: 1 addition & 1 deletion spring-xsuaa-mock/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The default implementation offers already valid *token_keys* for JWT tokens, tha
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>spring-xsuaa-mock</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</dependency>
<dependency> <!-- new with version 1.5.0 - provided with org.springframework.boot:spring-boot-starter:jar -->
<groupId>org.springframework.boot</groupId>
Expand Down
2 changes: 1 addition & 1 deletion spring-xsuaa-mock/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<artifactId>spring-xsuaa-mock</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions spring-xsuaa-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<dependencyManagement>
Expand All @@ -30,7 +30,7 @@
</dependencyManagement>

<artifactId>xsuaa-spring-boot-starter</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<name>SAP Spring Boot Xsuaa Starter</name>
<description>SAP Starter for integrating application with XSUAA service</description>
<url>https://github.com/SAP/cloud-security-xsuaa-integration</url>
Expand Down
2 changes: 1 addition & 1 deletion spring-xsuaa-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ This includes for example a `JwtGenerator` that generates JSON Web Tokens (JWT)
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>spring-xsuaa-test</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
<scope>test</scope>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion spring-xsuaa-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<artifactId>spring-xsuaa-test</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions spring-xsuaa/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ This library enhances the [spring-security](https://github.com/spring-projects/s
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>spring-xsuaa</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</dependency>
<dependency> <!-- new with version 1.5.0 -->
<groupId>org.apache.logging.log4j</groupId>
Expand All @@ -38,7 +38,7 @@ This library enhances the [spring-security](https://github.com/spring-projects/s
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>xsuaa-spring-boot-starter</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion spring-xsuaa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<artifactId>spring-xsuaa</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions token-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ A Refresh Token ([RFC 6749, section 1.5](https://tools.ietf.org/html/rfc6749#sec
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>token-client</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</dependency>
```
## Configuration for Spring Boot Applications
Expand All @@ -36,7 +36,7 @@ In context of a Spring Boot application you may like to leverage auto-configurat
<dependency>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>xsuaa-spring-boot-starter</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion token-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.sap.cloud.security.xsuaa</groupId>
<artifactId>parent</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>2.0.0</version>
</parent>

<artifactId>token-client</artifactId>
Expand Down

0 comments on commit b809b28

Please sign in to comment.