BAEL-1175 - Using a Spring Cloud App Starter Bash
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
twitter.credentials.access-token=932486336086286336-2HURQbA2cYzX5hixgAshIBy2Dhefupn
|
||||
twitter.credentials.access-token-secret=0pyZ7etHvro8x85QSXxsqYFzYk63bK6DS5nNYy0R3l1io
|
||||
twitter.credentials.consumer-key=10xCXkRYi5xLFYq3P0ymWGEwJ
|
||||
twitter.credentials.consumer-secret=VfyCUcGfAQ2aWcd3uTg8GmVGyhUfAcNJU6ksG09TAtPMqhmWTS
|
||||
@@ -0,0 +1,15 @@
|
||||
# Git spring-cloud-stream-app-starters
|
||||
git clone https://github.com/spring-cloud/spring-cloud-stream-app-starters.git
|
||||
|
||||
# Navigate to Twitter
|
||||
cd /twitter
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user