Revert to snaphots
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.M5</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.M5</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.M5.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.M5.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.M5.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/function-sample-compiler/target/function-sample-compiler-1.0.0.M5.jar\
|
java -jar ../spring-cloud-function-samples/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.M5</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,7 +21,7 @@ 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.M5-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
|
||||||
----
|
----
|
||||||
|
|
||||||
The input type for the function in the AWS sample is a Foo with a single property called "value". So you would need this to test it:
|
The input type for the function in the AWS sample is a Foo with a single property called "value". So you would need this to test it:
|
||||||
|
|||||||
@@ -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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ The Azure tooling needs to find some JSON configuration files to tell it how to
|
|||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"scriptFile" : "../function-sample-azure-1.0.0.M5-azure.jar",
|
"scriptFile" : "../function-sample-azure-1.0.0.BUILD-SNAPSHOT-azure.jar",
|
||||||
"entryPoint" : "example.FooHandler.execute",
|
"entryPoint" : "example.FooHandler.execute",
|
||||||
"bindings" : [ {
|
"bindings" : [ {
|
||||||
"type" : "httpTrigger",
|
"type" : "httpTrigger",
|
||||||
|
|||||||
@@ -12,7 +12,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.M5</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.M5.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.M5</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.M5</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.M5</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.M5</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.M5</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.M5
|
$ 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.M5
|
$ 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.M5"}
|
{"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.M5"}}
|
{"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.M5</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.M5
|
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.M5"));
|
.getArchive("maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT"));
|
||||||
}
|
}
|
||||||
catch (Exception e) {
|
catch (Exception e) {
|
||||||
Assume.assumeNoException(
|
Assume.assumeNoException(
|
||||||
@@ -84,7 +84,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.M5", "",
|
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);
|
||||||
@@ -93,7 +93,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.M5",
|
String first = deploy("maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT",
|
||||||
"spring.cloud.deployer.thin.profile=rabbit",
|
"spring.cloud.deployer.thin.profile=rabbit",
|
||||||
"--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.
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class FunctionExtractingFunctionCatalogIntegrationTests {
|
|||||||
// System.setProperty("debug", "true");
|
// System.setProperty("debug", "true");
|
||||||
context = new ApplicationRunner().start("--server.port=" + port, "--debug",
|
context = new ApplicationRunner().start("--server.port=" + port, "--debug",
|
||||||
"--logging.level.org.springframework.cloud.function=DEBUG");
|
"--logging.level.org.springframework.cloud.function=DEBUG");
|
||||||
deploy("sample", "maven://io.spring.sample:function-sample:1.0.0.M5");
|
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 {
|
||||||
@@ -105,7 +105,7 @@ public class FunctionExtractingFunctionCatalogIntegrationTests {
|
|||||||
@Test
|
@Test
|
||||||
public void another() throws Exception {
|
public void another() throws Exception {
|
||||||
deploy("pof",
|
deploy("pof",
|
||||||
"maven://io.spring.sample:function-sample-pof:jar:exec:1.0.0.M5");
|
"maven://io.spring.sample:function-sample-pof:jar:exec:1.0.0.BUILD-SNAPSHOT");
|
||||||
assertThat(new TestRestTemplate().postForObject(
|
assertThat(new TestRestTemplate().postForObject(
|
||||||
"http://localhost:" + port + "/stream/pof/greeter", "Foo",
|
"http://localhost:" + port + "/stream/pof/greeter", "Foo",
|
||||||
String.class)).isEqualTo("Hello Foo");
|
String.class)).isEqualTo("Hello Foo");
|
||||||
@@ -116,12 +116,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:1.0.0.M5\""));
|
"\"path\":\"maven://io.spring.sample:function-sample: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 + "/stream/sample/words"))
|
.get(new URI("http://localhost:" + port + "/stream/sample/words"))
|
||||||
.build(), String.class);
|
.build(), String.class);
|
||||||
assertThat(result.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND);
|
assertThat(result.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND);
|
||||||
deploy("sample", "maven://io.spring.sample:function-sample:1.0.0.M5");
|
deploy("sample", "maven://io.spring.sample:function-sample:1.0.0.BUILD-SNAPSHOT");
|
||||||
assertThat(new TestRestTemplate().postForObject(
|
assertThat(new TestRestTemplate().postForObject(
|
||||||
"http://localhost:" + port + "/stream/sample/uppercase", "foo",
|
"http://localhost:" + port + "/stream/sample/uppercase", "foo",
|
||||||
String.class)).isEqualTo("FOO");
|
String.class)).isEqualTo("FOO");
|
||||||
|
|||||||
@@ -52,10 +52,10 @@ public class FunctionExtractingFunctionCatalogTests {
|
|||||||
public void init() throws Exception {
|
public void init() throws Exception {
|
||||||
if (id == null) {
|
if (id == null) {
|
||||||
deploy("sample",
|
deploy("sample",
|
||||||
"maven://io.spring.sample:function-sample:1.0.0.M5");
|
"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.M5");
|
"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.M5'
|
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.M5"
|
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.M5</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,8 +25,8 @@
|
|||||||
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
||||||
<aws-lambda-events.version>2.0.2</aws-lambda-events.version>
|
<aws-lambda-events.version>2.0.2</aws-lambda-events.version>
|
||||||
<reactor.version>3.1.2.RELEASE</reactor.version>
|
<reactor.version>3.1.2.RELEASE</reactor.version>
|
||||||
<spring-cloud-function.version>1.0.0.M5</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<spring-cloud-stream-servlet.version>1.0.0.M5</spring-cloud-stream-servlet.version>
|
<spring-cloud-stream-servlet.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-stream-servlet.version>
|
||||||
<start-class>example.Config</start-class>
|
<start-class>example.Config</start-class>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>io.spring.sample</groupId>
|
<groupId>io.spring.sample</groupId>
|
||||||
<artifactId>function-sample-azure</artifactId>
|
<artifactId>function-sample-azure</artifactId>
|
||||||
<version>1.0.0.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>function-sample-azure</name>
|
<name>function-sample-azure</name>
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-function-dependencies</artifactId>
|
<artifactId>spring-cloud-function-dependencies</artifactId>
|
||||||
<version>1.0.0.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"scriptFile": "../function-sample-azure-1.0.0.M5-azure.jar",
|
"scriptFile": "../function-sample-azure-1.0.0.BUILD-SNAPSHOT-azure.jar",
|
||||||
"entryPoint": "example.FooHandler.execute",
|
"entryPoint": "example.FooHandler.execute",
|
||||||
"bindings": [
|
"bindings": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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.M5'
|
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.M5"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.1.2.RELEASE"
|
ext['reactor.version'] = "3.1.2.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.M5</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.M5</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<spring-cloud-stream.version>Ditmars.RELEASE</spring-cloud-stream.version>
|
<spring-cloud-stream.version>Ditmars.RELEASE</spring-cloud-stream.version>
|
||||||
<reactor.version>3.1.2.RELEASE</reactor.version>
|
<reactor.version>3.1.2.RELEASE</reactor.version>
|
||||||
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
||||||
|
|||||||
@@ -24,7 +24,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.M5'
|
version = '1.0.0.BUILD-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M5"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.1.2.RELEASE"
|
ext['reactor.version'] = "3.1.2.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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>function-sample-pof</name>
|
<name>function-sample-pof</name>
|
||||||
<description>Spring Cloud Function Web Support</description>
|
<description>Spring Cloud Function Web Support</description>
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
<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.1.2.RELEASE</reactor.version>
|
<reactor.version>3.1.2.RELEASE</reactor.version>
|
||||||
<spring-cloud-function.version>1.0.0.M5</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<spring-cloud-stream-servlet.version>1.0.0.M5</spring-cloud-stream-servlet.version>
|
<spring-cloud-stream-servlet.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-stream-servlet.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.M5'
|
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.M5"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.1.2.RELEASE"
|
ext['reactor.version'] = "3.1.2.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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>function-sample-pojo</name>
|
<name>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.M5</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
||||||
<reactor.version>3.1.2.RELEASE</reactor.version>
|
<reactor.version>3.1.2.RELEASE</reactor.version>
|
||||||
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
|
||||||
|
|||||||
@@ -24,7 +24,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.M5'
|
version = '1.0.0.BUILD-SNAPSHOT'
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M5"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.1.2.RELEASE"
|
ext['reactor.version'] = "3.1.2.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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>function-sample-task</name>
|
<name>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.M5</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
||||||
<reactor.version>3.1.2.RELEASE</reactor.version>
|
<reactor.version>3.1.2.RELEASE</reactor.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ repositories {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
springCloudFunctionVersion = "1.0.0.M5"
|
springCloudFunctionVersion = "1.0.0.BUILD-SNAPSHOT"
|
||||||
}
|
}
|
||||||
ext['reactor.version'] = "3.1.2.RELEASE"
|
ext['reactor.version'] = "3.1.2.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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>function-sample</name>
|
<name>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.M5</spring-cloud-function.version>
|
<spring-cloud-function.version>1.0.0.BUILD-SNAPSHOT</spring-cloud-function.version>
|
||||||
<reactor.version>3.1.2.RELEASE</reactor.version>
|
<reactor.version>3.1.2.RELEASE</reactor.version>
|
||||||
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
<wrapper.version>1.0.9.RELEASE</wrapper.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|||||||
@@ -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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
|
|||||||
@@ -11,11 +11,11 @@
|
|||||||
<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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<servlet-binder.version>1.0.0.M5</servlet-binder.version>
|
<servlet-binder.version>1.0.0.BUILD-SNAPSHOT</servlet-binder.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<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.M5</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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|||||||
@@ -5,7 +5,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.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<relativePath>..</relativePath>
|
<relativePath>..</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<artifactId>spring-cloud-starter-function-web</artifactId>
|
<artifactId>spring-cloud-starter-function-web</artifactId>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<artifactId>spring-cloud-stream-binder-servlet</artifactId>
|
<artifactId>spring-cloud-stream-binder-servlet</artifactId>
|
||||||
<version>1.0.0.M5</version>
|
<version>1.0.0.BUILD-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<name>spring-cloud-stream-binder-servlet</name>
|
<name>spring-cloud-stream-binder-servlet</name>
|
||||||
<description>Servlet binder implementation</description>
|
<description>Servlet binder implementation</description>
|
||||||
|
|||||||
Reference in New Issue
Block a user