added boot plugin
This commit is contained in:
18
README.md
18
README.md
@@ -1,7 +1,21 @@
|
|||||||
Example:
|
Example Stream Application:
|
||||||
|
|
||||||
```
|
```
|
||||||
java -jar spring-cloud-function-stream-1.0.0.BUILD-SNAPSHOT.jar --server.port=8081 --spring.cloud.stream.bindings.input.destination=words --spring.cloud.stream.bindings.output.destination=uppercaseWords --function.name=uppercase --function.code="f -> f.map(s -> s.toString().toUpperCase())"
|
> java -jar spring-cloud-function-stream-1.0.0.BUILD-SNAPSHOT.jar
|
||||||
|
--server.port=8081
|
||||||
|
--spring.cloud.stream.bindings.input.destination=words
|
||||||
|
--spring.cloud.stream.bindings.output.destination=uppercaseWords
|
||||||
|
--function.name=uppercase
|
||||||
|
--function.code="f -> f.map(s -> s.toString().toUpperCase())"
|
||||||
|
```
|
||||||
|
|
||||||
|
Example REST Application:
|
||||||
|
|
||||||
|
```
|
||||||
|
> java -jar spring-cloud-function-web-1.0.0.BUILD-SNAPSHOT.jar
|
||||||
|
--web.path=/demo
|
||||||
|
--function.name=uppercase
|
||||||
|
--function.code="f -> f.map(s -> s.toString().toUpperCase())"
|
||||||
```
|
```
|
||||||
|
|
||||||
(more docs soon)
|
(more docs soon)
|
||||||
|
|||||||
@@ -47,4 +47,12 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@@ -52,4 +52,13 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
Reference in New Issue
Block a user