BAEL-1175 - Updating scripts post-1.1.0 RC1

This commit is contained in:
Thoughtscript 2017-11-23 00:54:45 +00:00
parent f55bd014f9
commit 4e8b83721b
2 changed files with 17 additions and 23 deletions

View File

@ -1,14 +1,11 @@
# 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
cd /hdfs
# Build it
./mvnw clean install -PgenerateApps
# Navigate to the the app configuration settings
cd /spring-cloud-starter-stream-sink-hdfs/src/main/java/org/springframework/cloud/stream/app/hdfs/sink/HdfsSinkProperties.java
# Specify the properties you want there
# or inject the application.properties file before building the app
# Then build the customized starter app
cd ../../../../../../../../../../../../../
mvn clean install
# RUn it
cd apps
# Optionally inject application.properties prior to build
java -jar hdfs-sink.jar --fsUri=http://osboxes:50075

View File

@ -1,15 +1,12 @@
# 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
cd /twitter
# Build it
./mvnw clean install -PgenerateApps
# Navigate to the the app configuration settings
cd /spring-cloud-starter-stream-source-twitterstream/src/main/java/org/springframework/cloud/stream/app/twitterstream/source/TwitterStreamProperties.java
cd /spring-cloud-stream-app-starters/app-starters-common/app-starters-twitter-common/src/main/java/org/springframework/cloud/stream/app/twitter/TwitterCredentials.java
# Specify the properties you want there
# or inject the application.properties file before building the app
# Then build the customized starter app
cd ../../../../../../../../../../../../
mvn clean install
# RUn it
cd apps
# Optionally inject application.properties prior to build
java -jar twitter_stream_source.jar --consumerKey=<CONSUMER_KEY> --consumerSecret=<CONSUMER_SECRET> \
--accessToken=<ACCESS_TOKEN> --accessTokenSecret=<ACCESS_TOKEN_SECRET>