Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ming zheng
Spring Cloud Function
Commits
ac3ea7db
Commit
ac3ea7db
authored
6 years ago
by
Dave Syer
Browse files
Options
Download
Email Patches
Plain Diff
Update to 1.0.0
parent
db2c1728
main
1.0.x
2.0.x
2.1.x
3.0.x
3.1.0.M1-marcin
3.1.x
3.2.x
4.x
cloudevents
deployer_old
fix-artifact-version
fix-branches-in-adapter-docs
fix-build-version
fix-sample-link-branches
fix/sagan-docs
jdk11
lazy-func-catalog-multi
marcin-sleuth
master_pre_378
newFR
new_docs_for_old_train
rsocket
spencergibb-patch-1
spencergibb-reenable-routingbrokertests
spencergibb-routing-tcp
spencergibb-rsocket-routing-version-0-1-0
temp-master
v3.2.1
v3.2.0
v3.2.0-RC1
v3.2.0-M3
v3.2.0-M2
v3.2.0-M1
v3.1.6
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
v3.1.0.M1
v3.1.0-RC1
v3.1.0-M5
v3.1.0-M4
v3.1.0-M3
v3.1.0-M2
v3.0.14.RELEASE
v3.0.13.RELEASE
v3.0.12.RELEASE
v3.0.11.RELEASE
v3.0.10.RELEASE
v3.0.9.RELEASE
v3.0.8.RELEASE
v3.0.7.RELEASE
v3.0.6.RELEASE
v3.0.5.RELEASE
v3.0.4.RELEASE
v3.0.3.RELEASE
v3.0.2.RELEASE
v3.0.1.RELEASE
v3.0.0.RELEASE
v3.0.0.RC2
v3.0.0.RC1
v3.0.0.M3
v3.0.0.M2
v3.0.0.M1
v2.1.1.RELEASE
v2.1.0.RELEASE
v2.1.0.RC1
v2.1.0.M1
v2.0.2.RELEASE
v2.0.1.RELEASE
v2.0.0.RELEASE
v2.0.0.RC3
v2.0.0.RC2
v2.0.0.RC1
v2.0.0.M4
v2.0.0.M3
v2.0.0.M2
v2.0.0.M1
v1.0.2.RELEASE
v1.0.1.RELEASE
v1.0.0.RELEASE
No related merge requests found
Changes
42
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
docs/pom.xml
+1
-1
docs/pom.xml
docs/src/main/asciidoc/adapters/aws-intro.adoc
+1
-1
docs/src/main/asciidoc/adapters/aws-intro.adoc
docs/src/main/asciidoc/adapters/azure-intro.adoc
+1
-1
docs/src/main/asciidoc/adapters/azure-intro.adoc
docs/src/main/asciidoc/adapters/openwhisk-quick-start.adoc
+1
-1
docs/src/main/asciidoc/adapters/openwhisk-quick-start.adoc
pom.xml
+6
-6
pom.xml
scripts/function-registry.sh
+1
-1
scripts/function-registry.sh
scripts/stream.sh
+1
-1
scripts/stream.sh
scripts/task.sh
+1
-1
scripts/task.sh
scripts/web.sh
+1
-1
scripts/web.sh
spring-cloud-function-adapters/pom.xml
+1
-1
spring-cloud-function-adapters/pom.xml
spring-cloud-function-adapters/spring-cloud-function-adapter-aws/README.adoc
+1
-1
...on-adapters/spring-cloud-function-adapter-aws/README.adoc
spring-cloud-function-adapters/spring-cloud-function-adapter-aws/pom.xml
+1
-1
...nction-adapters/spring-cloud-function-adapter-aws/pom.xml
spring-cloud-function-adapters/spring-cloud-function-adapter-azure/README.adoc
+1
-1
...-adapters/spring-cloud-function-adapter-azure/README.adoc
spring-cloud-function-adapters/spring-cloud-function-adapter-azure/pom.xml
+1
-1
...tion-adapters/spring-cloud-function-adapter-azure/pom.xml
spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/README.adoc
+1
-1
...pters/spring-cloud-function-adapter-openwhisk/README.adoc
spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/pom.xml
+1
-1
...-adapters/spring-cloud-function-adapter-openwhisk/pom.xml
spring-cloud-function-compiler/pom.xml
+1
-1
spring-cloud-function-compiler/pom.xml
spring-cloud-function-context/pom.xml
+1
-1
spring-cloud-function-context/pom.xml
spring-cloud-function-core/pom.xml
+1
-1
spring-cloud-function-core/pom.xml
spring-cloud-function-dependencies/pom.xml
+1
-1
spring-cloud-function-dependencies/pom.xml
with
25 additions
and
25 deletions
+25
-25
docs/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -6,7 +6,7 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-function-parent
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
</parent>
<packaging>
pom
</packaging>
<name>
Spring Cloud Function Docs
</name>
...
...
This diff is collapsed.
Click to expand it.
docs/src/main/asciidoc/adapters/aws-intro.adoc
+
1
-
1
View file @
ac3ea7db
...
...
@@ -17,7 +17,7 @@ Build the sample under `spring-cloud-function-samples/function-sample-aws` and u
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.
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
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.
RELEASE
-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:
...
...
This diff is collapsed.
Click to expand it.
docs/src/main/asciidoc/adapters/azure-intro.adoc
+
1
-
1
View file @
ac3ea7db
...
...
@@ -19,7 +19,7 @@ The Azure tooling needs to find some JSON configuration files to tell it how to
```
{
"scriptFile" : "../function-sample-azure-1.0.0.
BUILD-SNAPSHOT
-azure.jar",
"scriptFile" : "../function-sample-azure-1.0.0.
RELEASE
-azure.jar",
"entryPoint" : "example.FooHandler.execute",
"bindings" : [ {
"type" : "httpTrigger",
...
...
This diff is collapsed.
Click to expand it.
docs/src/main/asciidoc/adapters/openwhisk-quick-start.adoc
+
1
-
1
View file @
ac3ea7db
...
...
@@ -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
):
```
cp
spring
-
cloud
-
function
-
adapters
/
spring
-
cloud
-
function
-
adapter
-
openwhisk
/
target
/
spring
-
cloud
-
function
-
adapter
-
openwhisk
-
1.0.0
.
BUILD
-
SNAPSHOT
.
jar
runner
.
jar
cp
spring
-
cloud
-
function
-
adapters
/
spring
-
cloud
-
function
-
adapter
-
openwhisk
/
target
/
spring
-
cloud
-
function
-
adapter
-
openwhisk
-
1.0.0
.
RELEASE
.
jar
runner
.
jar
```
Generate
a
m2
repo
from
the
`--
thin
.
dryrun
`
of
the
runner
JAR
with
the
above
properties
file
:
...
...
This diff is collapsed.
Click to expand it.
pom.xml
+
6
-
6
View file @
ac3ea7db
...
...
@@ -4,7 +4,7 @@
<artifactId>
spring-cloud-function-parent
</artifactId>
<name>
Spring Cloud Function Parent
</name>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
<packaging>
pom
</packaging>
<parent>
...
...
@@ -16,12 +16,12 @@
<properties>
<java.version>
1.8
</java.version>
<spring-cloud-stream.version>
Ditmars.SR
3
</spring-cloud-stream.version>
<spring-cloud-task.version>
1.
1
.2.RELEASE
</spring-cloud-task.version>
<wrapper.version>
1.0.1
0
.RELEASE
</wrapper.version>
<spring-boot.version>
1.5.1
2
.RELEASE
</spring-boot.version>
<spring-cloud-stream.version>
Ditmars.SR
4
</spring-cloud-stream.version>
<spring-cloud-task.version>
1.
2
.2.RELEASE
</spring-cloud-task.version>
<wrapper.version>
1.0.1
1
.RELEASE
</wrapper.version>
<spring-boot.version>
1.5.1
3
.RELEASE
</spring-boot.version>
<docs.main>
spring-cloud-function
</docs.main>
<reactor-bom.version>
Bismuth-SR
9
</reactor-bom.version>
<reactor-bom.version>
Bismuth-SR
10
</reactor-bom.version>
</properties>
<dependencyManagement>
...
...
This diff is collapsed.
Click to expand it.
scripts/function-registry.sh
+
1
-
1
View file @
ac3ea7db
#!/bin/bash
java
-jar
../spring-cloud-function-compiler/target/spring-cloud-function-compiler-1.0.0.
BUILD-SNAPSHOT
.jar
java
-jar
../spring-cloud-function-compiler/target/spring-cloud-function-compiler-1.0.0.
RELEASE
.jar
This diff is collapsed.
Click to expand it.
scripts/stream.sh
+
1
-
1
View file @
ac3ea7db
...
...
@@ -45,7 +45,7 @@ while getopts ":i:s:f:c:o:p:d:" opt; do
esac
done
java
-jar
../spring-cloud-function-samples/function-sample-compiler/target/function-sample-compiler-1.0.0.
BUILD-SNAPSHOT
.jar
\
java
-jar
../spring-cloud-function-samples/function-sample-compiler/target/function-sample-compiler-1.0.0.
RELEASE
.jar
\
--management
.security.enabled
=
false
\
--server
.port
=
$PORT
\
--spring
.cloud.function.stream.endpoint
=
$FUNC
\
...
...
This diff is collapsed.
Click to expand it.
scripts/task.sh
+
1
-
1
View file @
ac3ea7db
...
...
@@ -14,5 +14,5 @@ while getopts ":s:f:c:" opt; do
esac
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.
BUILD-SNAPSHOT
.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.
RELEASE
.jar
\
--lambda
.supplier
=
$SUPP
--lambda
.function
=
$FUNC
--lambda
.consumer
=
$CONS
This diff is collapsed.
Click to expand it.
scripts/web.sh
+
1
-
1
View file @
ac3ea7db
...
...
@@ -20,7 +20,7 @@ while getopts ":s:f:c:p:" opt; do
esac
done
java
-jar
../spring-cloud-function-samples/function-sample-compiler/target/function-sample-compiler-1.0.0.
BUILD-SNAPSHOT
.jar
\
java
-jar
../spring-cloud-function-samples/function-sample-compiler/target/function-sample-compiler-1.0.0.
RELEASE
.jar
\
--spring
.cloud.function.import.
$FUNC
.type
=
$TYPE
\
--spring
.cloud.function.import.
$FUNC
.location
=
file:///tmp/function-registry/
$TYPE
's'
/
$FUNC
.fun
\
--management
.security.enabled
=
false
\
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-adapters/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -9,7 +9,7 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-function-parent
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
</parent>
<name>
spring-cloud-function-adapter-parent
</name>
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-adapters/spring-cloud-function-adapter-aws/README.adoc
+
1
-
1
View file @
ac3ea7db
...
...
@@ -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:
----
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
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.
RELEASE
-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:
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-adapters/spring-cloud-function-adapter-aws/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -12,7 +12,7 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-function-adapter-parent
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
</parent>
<properties>
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-adapters/spring-cloud-function-adapter-azure/README.adoc
+
1
-
1
View file @
ac3ea7db
...
...
@@ -24,7 +24,7 @@ The Azure tooling needs to find some JSON configuration files to tell it how to
```
{
"scriptFile" : "../function-sample-azure-1.0.0.
BUILD-SNAPSHOT
-azure.jar",
"scriptFile" : "../function-sample-azure-1.0.0.
RELEASE
-azure.jar",
"entryPoint" : "example.FooHandler.execute",
"bindings" : [ {
"type" : "httpTrigger",
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-adapters/spring-cloud-function-adapter-azure/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -12,7 +12,7 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-function-adapter-parent
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
</parent>
<properties>
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/README.adoc
+
1
-
1
View file @
ac3ea7db
...
...
@@ -32,7 +32,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
):
```
cp
spring
-
cloud
-
function
-
adapters
/
spring
-
cloud
-
function
-
adapter
-
openwhisk
/
target
/
spring
-
cloud
-
function
-
adapter
-
openwhisk
-
1.0.0
.
BUILD
-
SNAPSHOT
.
jar
runner
.
jar
cp
spring
-
cloud
-
function
-
adapters
/
spring
-
cloud
-
function
-
adapter
-
openwhisk
/
target
/
spring
-
cloud
-
function
-
adapter
-
openwhisk
-
1.0.0
.
RELEASE
.
jar
runner
.
jar
```
Generate
a
m2
repo
from
the
`--
thin
.
dryrun
`
of
the
runner
JAR
with
the
above
properties
file
:
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-adapters/spring-cloud-function-adapter-openwhisk/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -12,7 +12,7 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-function-adapter-parent
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
</parent>
<dependencies>
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-compiler/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -10,7 +10,7 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-function-parent
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
</parent>
<dependencies>
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-context/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -11,7 +11,7 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-function-parent
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
</parent>
<dependencies>
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-core/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -10,7 +10,7 @@
<parent>
<groupId>
org.springframework.cloud
</groupId>
<artifactId>
spring-cloud-function-parent
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
</parent>
<dependencies>
...
...
This diff is collapsed.
Click to expand it.
spring-cloud-function-dependencies/pom.xml
+
1
-
1
View file @
ac3ea7db
...
...
@@ -9,7 +9,7 @@
<relativePath/>
</parent>
<artifactId>
spring-cloud-function-dependencies
</artifactId>
<version>
1.0.0.
BUILD-SNAPSHOT
</version>
<version>
1.0.0.
RELEASE
</version>
<packaging>
pom
</packaging>
<name>
Spring Cloud Function Dependencies
</name>
<description>
Spring Cloud Function Dependencies
</description>
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help