BAEL-1175 - Updating scripts post-1.1.0 RC1
This commit is contained in:
parent
f55bd014f9
commit
4e8b83721b
@ -1,14 +1,11 @@
|
|||||||
# Git spring-cloud-stream-app-starters
|
# Git spring-cloud-stream-app-starters
|
||||||
git clone https://github.com/spring-cloud/spring-cloud-stream-app-starters.git
|
# https://github.com/spring-cloud-stream-app-starters/hdfs/blob/master/spring-cloud-starter-stream-sink-hdfs/README.adoc
|
||||||
|
git clone https://github.com/spring-cloud-stream-app-starters/hdfs.git
|
||||||
|
|
||||||
# Navigate to HDFS
|
# Build it
|
||||||
cd /hdfs
|
./mvnw clean install -PgenerateApps
|
||||||
|
|
||||||
# Navigate to the the app configuration settings
|
# RUn it
|
||||||
cd /spring-cloud-starter-stream-sink-hdfs/src/main/java/org/springframework/cloud/stream/app/hdfs/sink/HdfsSinkProperties.java
|
cd apps
|
||||||
# Specify the properties you want there
|
# Optionally inject application.properties prior to build
|
||||||
# or inject the application.properties file before building the app
|
java -jar hdfs-sink.jar --fsUri=http://osboxes:50075
|
||||||
|
|
||||||
# Then build the customized starter app
|
|
||||||
cd ../../../../../../../../../../../../../
|
|
||||||
mvn clean install
|
|
@ -1,15 +1,12 @@
|
|||||||
# Git spring-cloud-stream-app-starters
|
# Git spring-cloud-stream-app-starters
|
||||||
git clone https://github.com/spring-cloud/spring-cloud-stream-app-starters.git
|
# https://github.com/spring-cloud-stream-app-starters/hdfs/blob/master/spring-cloud-starter-stream-sink-hdfs/README.adoc
|
||||||
|
git clone https://github.com/spring-cloud-stream-app-starters/twitter.git
|
||||||
|
|
||||||
# Navigate to Twitter
|
# Build it
|
||||||
cd /twitter
|
./mvnw clean install -PgenerateApps
|
||||||
|
|
||||||
# Navigate to the the app configuration settings
|
# RUn it
|
||||||
cd /spring-cloud-starter-stream-source-twitterstream/src/main/java/org/springframework/cloud/stream/app/twitterstream/source/TwitterStreamProperties.java
|
cd apps
|
||||||
cd /spring-cloud-stream-app-starters/app-starters-common/app-starters-twitter-common/src/main/java/org/springframework/cloud/stream/app/twitter/TwitterCredentials.java
|
# Optionally inject application.properties prior to build
|
||||||
# Specify the properties you want there
|
java -jar twitter_stream_source.jar --consumerKey=<CONSUMER_KEY> --consumerSecret=<CONSUMER_SECRET> \
|
||||||
# or inject the application.properties file before building the app
|
--accessToken=<ACCESS_TOKEN> --accessTokenSecret=<ACCESS_TOKEN_SECRET>
|
||||||
|
|
||||||
# Then build the customized starter app
|
|
||||||
cd ../../../../../../../../../../../../
|
|
||||||
mvn clean install
|
|
Loading…
x
Reference in New Issue
Block a user