Revert to snapshots
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>Spring Cloud Function Docs</name>
|
<name>Spring Cloud Function Docs</name>
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<name>Spring Cloud Function Parent</name>
|
<name>Spring Cloud Function Parent</name>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
java -jar ../spring-cloud-function-compiler/target/spring-cloud-function-compiler-1.0.0.M1.jar
|
java -jar ../spring-cloud-function-compiler/target/spring-cloud-function-compiler-1.0.0.BUILD-SNAPSHOT.jar
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ while getopts ":i:s:f:c:o:p:d:" opt; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
java -jar ../spring-cloud-function-samples/spring-cloud-function-sample-compiler/target/function-sample-compiler-1.0.0.M1.jar\
|
java -jar ../spring-cloud-function-samples/spring-cloud-function-sample-compiler/target/function-sample-compiler-1.0.0.BUILD-SNAPSHOT.jar\
|
||||||
--management.security.enabled=false\
|
--management.security.enabled=false\
|
||||||
--server.port=$PORT\
|
--server.port=$PORT\
|
||||||
--spring.cloud.function.stream.endpoint=$FUNC\
|
--spring.cloud.function.stream.endpoint=$FUNC\
|
||||||
|
|||||||
@@ -14,5 +14,5 @@ while getopts ":s:f:c:" opt; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
java -noverify -XX:TieredStopAtLevel=1 -Xss256K -Xms16M -Xmx256M -XX:MaxMetaspaceSize=128M -jar ../spring-cloud-function-task/target/spring-cloud-function-task-1.0.0.M1.jar\
|
java -noverify -XX:TieredStopAtLevel=1 -Xss256K -Xms16M -Xmx256M -XX:MaxMetaspaceSize=128M -jar ../spring-cloud-function-task/target/spring-cloud-function-task-1.0.0.BUILD-SNAPSHOT.jar\
|
||||||
--lambda.supplier=$SUPP --lambda.function=$FUNC --lambda.consumer=$CONS
|
--lambda.supplier=$SUPP --lambda.function=$FUNC --lambda.consumer=$CONS
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ while getopts ":s:f:c:p:" opt; do
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
java -jar ../spring-cloud-function-samples/spring-cloud-function-sample-compiler/target/function-sample-compiler-1.0.0.M1.jar\
|
java -jar ../spring-cloud-function-samples/spring-cloud-function-sample-compiler/target/function-sample-compiler-1.0.0.BUILD-SNAPSHOT.jar\
|
||||||
--spring.cloud.function.import.$FUNC.type=$TYPE\
|
--spring.cloud.function.import.$FUNC.type=$TYPE\
|
||||||
--spring.cloud.function.import.$FUNC.location=file:///tmp/function-registry/$TYPE's'/$FUNC.fun\
|
--spring.cloud.function.import.$FUNC.location=file:///tmp/function-registry/$TYPE's'/$FUNC.fun\
|
||||||
--management.security.enabled=false\
|
--management.security.enabled=false\
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<name>spring-cloud-function-adapter-parent</name>
|
<name>spring-cloud-function-adapter-parent</name>
|
||||||
|
|||||||
@@ -21,6 +21,6 @@ Build the sample under `spring-cloud-function-samples/function-sample-aws` and u
|
|||||||
Using the AWS command line tools it looks like this:
|
Using the AWS command line tools it looks like this:
|
||||||
|
|
||||||
----
|
----
|
||||||
aws lambda create-function --function-name Uppercase --role arn:aws:iam::[USERID]:role/service-role/[ROLE] --zip-file fileb://function-sample-aws/target/function-sample-aws-1.0.0.M1-aws.jar --handler org.springframework.cloud.function.adapter.aws.SpringBootStreamHandler --description "Spring Cloud Function Adapter Example" --runtime java8 --region us-east-1 --timeout 30 --memory-size 1024 --publish
|
aws lambda create-function --function-name Uppercase --role arn:aws:iam::[USERID]:role/service-role/[ROLE] --zip-file fileb://function-sample-aws/target/function-sample-aws-1.0.0.BUILD-SNAPSHOT-aws.jar --handler org.springframework.cloud.function.adapter.aws.SpringBootStreamHandler --description "Spring Cloud Function Adapter Example" --runtime java8 --region us-east-1 --timeout 30 --memory-size 1024 --publish
|
||||||
----
|
----
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-adapter-parent</artifactId>
|
<artifactId>spring-cloud-function-adapter-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ dependencies.function: com.example:pof:0.0.1-SNAPSHOT
|
|||||||
Copy the openwhisk runner JAR to the working directory (same directory as the properties file):
|
Copy the openwhisk runner JAR to the working directory (same directory as the properties file):
|
||||||
|
|
||||||
```
|
```
|
||||||
cp spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/target/spring-cloud-function-adapter-openwhisk-1.0.0.M1.jar runner.jar
|
cp spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/target/spring-cloud-function-adapter-openwhisk-1.0.0.BUILD-SNAPSHOT.jar runner.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
Generate a m2 repo from the `--thin.dryrun` of the runner JAR with the above properties file:
|
Generate a m2 repo from the `--thin.dryrun` of the runner JAR with the above properties file:
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-adapter-parent</artifactId>
|
<artifactId>spring-cloud-function-adapter-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<relativePath/>
|
<relativePath/>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>spring-cloud-function-dependencies</artifactId>
|
<artifactId>spring-cloud-function-dependencies</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>Spring Cloud Function Dependencies</name>
|
<name>Spring Cloud Function Dependencies</name>
|
||||||
<description>Spring Cloud Function Dependencies</description>
|
<description>Spring Cloud Function Dependencies</description>
|
||||||
|
|||||||
@@ -22,14 +22,14 @@ $ curl localhost:8080/admin
|
|||||||
Deploy a sample like this:
|
Deploy a sample like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ curl localhost:8080/admin/pojos -d path=maven://com.example:function-sample-pojo:1.0.0.M1
|
$ curl localhost:8080/admin/pojos -d path=maven://com.example:function-sample-pojo:1.0.0.BUILD-SNAPSHOT
|
||||||
{"id":"81c568e36c7909ec1dd841aa7ee6d3e3"}
|
{"id":"81c568e36c7909ec1dd841aa7ee6d3e3"}
|
||||||
```
|
```
|
||||||
|
|
||||||
(takes about 500ms, once the local Maven cache is warm). Deploy another one:
|
(takes about 500ms, once the local Maven cache is warm). Deploy another one:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ curl localhost:8080/admin/sample -d path=maven://com.example:function-sample:1.0.0.M1
|
$ curl localhost:8080/admin/sample -d path=maven://com.example:function-sample:1.0.0.BUILD-SNAPSHOT
|
||||||
{"id":"cb2fdb3130f6349f143f4686848ea90f"}
|
{"id":"cb2fdb3130f6349f143f4686848ea90f"}
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -37,14 +37,14 @@ Undeploy the first one:
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ curl localhost:8080/admin/pojos -X DELETE
|
$ curl localhost:8080/admin/pojos -X DELETE
|
||||||
{"name":"81c568e36c7909ec1dd841aa7ee6d3e3","id":"pojos","path":"maven://com.example:function-sample-pojo:1.0.0.M1"}
|
{"name":"81c568e36c7909ec1dd841aa7ee6d3e3","id":"pojos","path":"maven://com.example:function-sample-pojo:1.0.0.BUILD-SNAPSHOT"}
|
||||||
```
|
```
|
||||||
|
|
||||||
List the deployed apps:
|
List the deployed apps:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ curl localhost:8080/admin
|
$ curl localhost:8080/admin
|
||||||
{"sample":{"name":"sample","id":"cb2fdb3130f6349f143f4686848ea90","path":"maven://com.example:function-sample:1.0.0.M1"}}
|
{"sample":{"name":"sample","id":"cb2fdb3130f6349f143f4686848ea90","path":"maven://com.example:function-sample:1.0.0.BUILD-SNAPSHOT"}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Send an event to one of the functions:
|
Send an event to one of the functions:
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@@ -11,5 +11,5 @@ exclusions.spring-boot-starter-actuator: org.springframework.boot:spring-boot-st
|
|||||||
dependencies.spring-web: org.springframework:spring-web
|
dependencies.spring-web: org.springframework:spring-web
|
||||||
dependencies.jackson-databind: com.fasterxml.jackson.core:jackson-databind
|
dependencies.jackson-databind: com.fasterxml.jackson.core:jackson-databind
|
||||||
dependencies.spring-boot-starter: org.springframework.boot:spring-boot-starter
|
dependencies.spring-boot-starter: org.springframework.boot:spring-boot-starter
|
||||||
dependencies.spring-cloud-function-context: org.springframework.cloud:spring-cloud-function-context:1.0.0.M1
|
dependencies.spring-cloud-function-context: org.springframework.cloud:spring-cloud-function-context:1.0.0.BUILD-SNAPSHOT
|
||||||
|
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ public class FunctionAppDeployerTests {
|
|||||||
public static void skip() {
|
public static void skip() {
|
||||||
try {
|
try {
|
||||||
ArchiveUtils.getArchiveRoot(ArchiveUtils
|
ArchiveUtils.getArchiveRoot(ArchiveUtils
|
||||||
.getArchive("maven://io.spring.sample:function-sample:1.0.0.M1"));
|
.getArchive("maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT"));
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
Assume.assumeNoException(
|
Assume.assumeNoException(
|
||||||
@@ -75,7 +75,7 @@ public class FunctionAppDeployerTests {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void web() throws Exception {
|
public void web() throws Exception {
|
||||||
String first = deploy("maven://io.spring.sample:function-sample:1.0.0.M1", "",
|
String first = deploy("maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT", "",
|
||||||
"--spring.cloud.function.stream.supplier.enabled=false");
|
"--spring.cloud.function.stream.supplier.enabled=false");
|
||||||
// Deployment is blocking so it either failed or succeeded.
|
// Deployment is blocking so it either failed or succeeded.
|
||||||
assertThat(deployer.status(first).getState()).isEqualTo(DeploymentState.deployed);
|
assertThat(deployer.status(first).getState()).isEqualTo(DeploymentState.deployed);
|
||||||
@@ -84,7 +84,7 @@ public class FunctionAppDeployerTests {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void stream() throws Exception {
|
public void stream() throws Exception {
|
||||||
String first = deploy("maven://io.spring.sample:function-sample:1.0.0.M1",
|
String first = deploy("maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT",
|
||||||
"spring.cloud.deployer.thin.profile=stream",
|
"spring.cloud.deployer.thin.profile=stream",
|
||||||
"--spring.cloud.function.stream.supplier.enabled=false", "--debug=true");
|
"--spring.cloud.function.stream.supplier.enabled=false", "--debug=true");
|
||||||
// Deployment is blocking so it either failed or succeeded.
|
// Deployment is blocking so it either failed or succeeded.
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ public class FunctionExtractingFunctionCatalogIntegrationTests {
|
|||||||
// System.setProperty("debug", "true");
|
// System.setProperty("debug", "true");
|
||||||
context = new ApplicationRunner().start("--server.port=" + port,
|
context = new ApplicationRunner().start("--server.port=" + port,
|
||||||
"--spring.cloud.stream.enabled=false");
|
"--spring.cloud.stream.enabled=false");
|
||||||
deploy("sample", "maven://io.spring.sample:function-sample:1.0.0.M1");
|
deploy("sample", "maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT");
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void deploy(String name, String path) throws Exception {
|
private static void deploy(String name, String path) throws Exception {
|
||||||
@@ -93,7 +93,7 @@ public class FunctionExtractingFunctionCatalogIntegrationTests {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void another() throws Exception {
|
public void another() throws Exception {
|
||||||
deploy("strings", "maven://io.spring.sample:function-sample:1.0.0.M1");
|
deploy("strings", "maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT");
|
||||||
assertThat(new TestRestTemplate().getForObject(
|
assertThat(new TestRestTemplate().getForObject(
|
||||||
"http://localhost:" + port + "/strings/words", String.class))
|
"http://localhost:" + port + "/strings/words", String.class))
|
||||||
.isEqualTo("[\"foo\",\"bar\"]");
|
.isEqualTo("[\"foo\",\"bar\"]");
|
||||||
@@ -104,12 +104,12 @@ public class FunctionExtractingFunctionCatalogIntegrationTests {
|
|||||||
String undeploy = undeploy("sample");
|
String undeploy = undeploy("sample");
|
||||||
assertThat(undeploy.contains("\"name\":\"sample\""));
|
assertThat(undeploy.contains("\"name\":\"sample\""));
|
||||||
assertThat(undeploy.contains(
|
assertThat(undeploy.contains(
|
||||||
"\"path\":\"maven://io.spring.sample:function-sample-pojo:1.0.0.M1\""));
|
"\"path\":\"maven://io.spring.sample:function-sample-pojo:1.0.0.BUILD-SNAPSHOT\""));
|
||||||
ResponseEntity<String> result = new TestRestTemplate().exchange(RequestEntity
|
ResponseEntity<String> result = new TestRestTemplate().exchange(RequestEntity
|
||||||
.get(new URI("http://localhost:" + port + "/sample/words")).build(),
|
.get(new URI("http://localhost:" + port + "/sample/words")).build(),
|
||||||
String.class);
|
String.class);
|
||||||
assertThat(result.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND);
|
assertThat(result.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND);
|
||||||
deploy("sample", "maven://io.spring.sample:function-sample-pojo:1.0.0.M1");
|
deploy("sample", "maven://io.spring.sample:function-sample-pojo:1.0.0.BUILD-SNAPSHOT");
|
||||||
assertThat(new TestRestTemplate().postForObject(
|
assertThat(new TestRestTemplate().postForObject(
|
||||||
"http://localhost:" + port + "/sample/uppercase", "{\"value\":\"foo\"}",
|
"http://localhost:" + port + "/sample/uppercase", "{\"value\":\"foo\"}",
|
||||||
String.class)).isEqualTo("[{\"value\":\"FOO\"}]");
|
String.class)).isEqualTo("[{\"value\":\"FOO\"}]");
|
||||||
|
|||||||
@@ -47,10 +47,10 @@ public class FunctionExtractingFunctionCatalogTests {
|
|||||||
@Before
|
@Before
|
||||||
public void init() throws Exception {
|
public void init() throws Exception {
|
||||||
if (id == null) {
|
if (id == null) {
|
||||||
deploy("sample", "maven://io.spring.sample:function-sample:1.0.0.M1");
|
deploy("sample", "maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT");
|
||||||
// "--debug");
|
// "--debug");
|
||||||
id = deploy("pojos",
|
id = deploy("pojos",
|
||||||
"maven://io.spring.sample:function-sample-pojo:1.0.0.M1");
|
"maven://io.spring.sample:function-sample-pojo:1.0.0.BUILD-SNAPSHOT");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ apply plugin: 'spring-boot'
|
|||||||
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
||||||
|
|
||||||
group = 'io.spring.sample'
|
group = 'io.spring.sample'
|
||||||
version = '1.0.0.M1'
|
version = '1.0.0.BUILD-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M1"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
awsLambdaEventsVersion = "1.2.1"
|
awsLambdaEventsVersion = "1.2.1"
|
||||||
awsLambdaCoreVersion = "1.1.0"
|
awsLambdaCoreVersion = "1.1.0"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>io.spring.sample</groupId>
|
<groupId>io.spring.sample</groupId>
|
||||||
<artifactId>function-sample-aws</artifactId>
|
<artifactId>function-sample-aws</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>function-sample-aws</name>
|
<name>function-sample-aws</name>
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<wrapper.version>1.0.5.RELEASE</wrapper.version>
|
<wrapper.version>1.0.5.RELEASE</wrapper.version>
|
||||||
<aws-lambda-events.version>1.2.1</aws-lambda-events.version>
|
<aws-lambda-events.version>1.2.1</aws-lambda-events.version>
|
||||||
<reactor.version>3.0.7.RELEASE</reactor.version>
|
<reactor.version>3.0.7.RELEASE</reactor.version>
|
||||||
<spring-cloud-function.version>1.0.0.M1</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<start-class>example.Config</start-class>
|
<start-class>example.Config</start-class>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ apply plugin: 'spring-boot'
|
|||||||
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
||||||
|
|
||||||
group = 'io.spring.sample'
|
group = 'io.spring.sample'
|
||||||
version = '1.0.0.M1'
|
version = '1.0.0.BUILD-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M1"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.0.7.RELEASE"
|
ext['reactor.version'] = "3.0.7.RELEASE"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>io.spring.sample</groupId>
|
<groupId>io.spring.sample</groupId>
|
||||||
<artifactId>function-sample-compiler</artifactId>
|
<artifactId>function-sample-compiler</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>spring-cloud-function-sample-compiler</name>
|
<name>spring-cloud-function-sample-compiler</name>
|
||||||
<description>Spring Cloud Function Lambda Compiling Support</description>
|
<description>Spring Cloud Function Lambda Compiling Support</description>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<spring-cloud-function.version>1.0.0.M1</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<spring-cloud-stream.version>Chelsea.SR2</spring-cloud-stream.version>
|
<spring-cloud-stream.version>Chelsea.SR2</spring-cloud-stream.version>
|
||||||
<reactor.version>3.0.7.RELEASE</reactor.version>
|
<reactor.version>3.0.7.RELEASE</reactor.version>
|
||||||
<wrapper.version>1.0.7.RELEASE</wrapper.version>
|
<wrapper.version>1.0.7.RELEASE</wrapper.version>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ apply plugin: 'spring-boot'
|
|||||||
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
||||||
|
|
||||||
group = 'io.spring.sample'
|
group = 'io.spring.sample'
|
||||||
version = '1.0.0.M1'
|
version = '1.0.0.BUILD-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M1"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.0.7.RELEASE"
|
ext['reactor.version'] = "3.0.7.RELEASE"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<groupId>io.spring.sample</groupId>
|
<groupId>io.spring.sample</groupId>
|
||||||
<artifactId>function-sample-pof</artifactId>
|
<artifactId>function-sample-pof</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>spring-cloud-function-sample-pof</name>
|
<name>spring-cloud-function-sample-pof</name>
|
||||||
<description>Spring Cloud Function Web Support</description>
|
<description>Spring Cloud Function Web Support</description>
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<reactor.version>3.0.7.RELEASE</reactor.version>
|
<reactor.version>3.0.7.RELEASE</reactor.version>
|
||||||
<spring-cloud-function.version>1.0.0.M1</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ apply plugin: 'spring-boot'
|
|||||||
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
||||||
|
|
||||||
group = 'io.spring.sample'
|
group = 'io.spring.sample'
|
||||||
version = '1.0.0.M1'
|
version = '1.0.0.BUILD-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M1"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.0.7.RELEASE"
|
ext['reactor.version'] = "3.0.7.RELEASE"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>io.spring.sample</groupId>
|
<groupId>io.spring.sample</groupId>
|
||||||
<artifactId>function-sample-pojo</artifactId>
|
<artifactId>function-sample-pojo</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>spring-cloud-function-sample-pojo</name>
|
<name>spring-cloud-function-sample-pojo</name>
|
||||||
<description>Spring Cloud Function Web Support</description>
|
<description>Spring Cloud Function Web Support</description>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<spring-cloud-function.version>1.0.0.M1</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<wrapper.version>1.0.7.RELEASE</wrapper.version>
|
<wrapper.version>1.0.7.RELEASE</wrapper.version>
|
||||||
<reactor.version>3.0.7.RELEASE</reactor.version>
|
<reactor.version>3.0.7.RELEASE</reactor.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ apply plugin: 'spring-boot'
|
|||||||
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
apply plugin: 'org.springframework.boot.experimental.thin-launcher'
|
||||||
|
|
||||||
group = 'io.spring.sample'
|
group = 'io.spring.sample'
|
||||||
version = '1.0.0.M1'
|
version = '1.0.0.BUILD-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
@@ -34,7 +34,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M1"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.0.7.RELEASE"
|
ext['reactor.version'] = "3.0.7.RELEASE"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>io.spring.sample</groupId>
|
<groupId>io.spring.sample</groupId>
|
||||||
<artifactId>function-sample-task</artifactId>
|
<artifactId>function-sample-task</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>spring-cloud-function-sample-task</name>
|
<name>spring-cloud-function-sample-task</name>
|
||||||
<description>Spring Cloud Function Task Support</description>
|
<description>Spring Cloud Function Task Support</description>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<spring-cloud-function.version>1.0.0.M1</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<wrapper.version>1.0.7.RELEASE</wrapper.version>
|
<wrapper.version>1.0.7.RELEASE</wrapper.version>
|
||||||
<reactor.version>3.0.7.RELEASE</reactor.version>
|
<reactor.version>3.0.7.RELEASE</reactor.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M1"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.0.7.RELEASE"
|
ext['reactor.version'] = "3.0.7.RELEASE"
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>io.spring.sample</groupId>
|
<groupId>io.spring.sample</groupId>
|
||||||
<artifactId>function-sample</artifactId>
|
<artifactId>function-sample</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>spring-cloud-function-sample</name>
|
<name>spring-cloud-function-sample</name>
|
||||||
<description>Spring Cloud Function Web Support</description>
|
<description>Spring Cloud Function Web Support</description>
|
||||||
@@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>1.8</java.version>
|
<java.version>1.8</java.version>
|
||||||
<spring-cloud-function.version>1.0.0.M1</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<reactor.version>3.0.7.RELEASE</reactor.version>
|
<reactor.version>3.0.7.RELEASE</reactor.version>
|
||||||
<wrapper.version>1.0.7.RELEASE</wrapper.version>
|
<wrapper.version>1.0.7.RELEASE</wrapper.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
boms.spring-cloud-dependencies: org.springframework.cloud:spring-cloud-dependencies:Dalston.RELEASE
|
boms.spring-cloud-dependencies: org.springframework.cloud:spring-cloud-dependencies:Dalston.RELEASE
|
||||||
dependencies.spring-cloud-function-stream: org.springframework.cloud:spring-cloud-function-stream:1.0.0.M1
|
dependencies.spring-cloud-function-stream: org.springframework.cloud:spring-cloud-function-stream:1.0.0.BUILD-SNAPSHOT
|
||||||
dependencies.spring-cloud-stream-rabbit: org.springframework.cloud:spring-cloud-starter-stream-rabbit
|
dependencies.spring-cloud-stream-rabbit: org.springframework.cloud:spring-cloud-starter-stream-rabbit
|
||||||
@@ -9,7 +9,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-parent</artifactId>
|
<artifactId>spring-cloud-function-parent</artifactId>
|
||||||
<version>1.0.0.M1</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
Reference in New Issue
Block a user