-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,6 +112,8 @@ rsc wss://rsocket-demo.herokuapp.com/rsocket --stream --route searchTweets -d Tr | |
|
||
> To get `wss` work, environment variable `JAVA_HOME` must be set. (since 0.4.0)<br> | ||
> If `JAVA_HOME` is set, system property `-Djava.library.path=${JAVA_HOME}/jre/lib/<platform>` is automatically added. | ||
> **This requirement is no longer necessary since 0.7.0.** | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
making
Author
Owner
|
||
|
||
## Log options | ||
|
||
|
@@ -418,6 +420,10 @@ Aaronic | |
The demo application is [here](https://github.com/making/demo-rsocket-security). | ||
Note that since RSocket Java 1.0.3, [username field length is extended](https://github.com/rsocket/rsocket-java/pull/938). | ||
rsc 0.6.0 uses RSocket Java 1.0.2. To support extended username, rsc 0.7.0 which uses RSocket Java 1.1.0 or above is required. | ||
### [Simple Authentication Type](https://github.com/rsocket/rsocket/blob/master/Extensions/Security/Simple.md) | ||
|
@@ -526,28 +532,16 @@ b3=5f035ed7dd21129b105564ef64c90731-105564ef64c90731-d | |
## Build | ||
``` | ||
./mvnw clean package -Pgraal -DskipTests | ||
./mvnw clean package -Pnative -DskipTests | ||
``` | ||
A native binary will be created in `target/classes/rsc-(osx|linux)-x86_64` depending on your OS. | ||
For linux binary, you can use Docker: | ||
``` | ||
docker run --rm \ | ||
-v "$PWD":/usr/src \ | ||
-v "$HOME/.m2":/root/.m2 \ | ||
-w /usr/src \ | ||
oracle/graalvm-ce:19.2.1 \ | ||
bash -c 'gu install native-image && ./mvnw package -Pgraal -DskipTests' | ||
``` | ||
``` | ||
docker run --rm \ | ||
-v "$PWD":/usr/src \ | ||
-w /usr/src \ | ||
oracle/graalvm-ce:19.2.1 \ | ||
./target/classes/rsc-linux-x86_64 --version | ||
./mvnw spring-boot:build-image -DskipTests | ||
docker run --rm rsc:<version> --version | ||
``` | ||
## License | ||
|
curious: Why not just delete the requirement?