|
43 | 43 | # unfortunately different in docker image names and registration link. |
44 | 44 | BROKER_NAME=rabbitmq |
45 | 45 | fi |
46 | | - |
47 | 46 | if [ "$STREAM_APPS_RT_VERSION" = "" ]; then |
48 | | - STREAM_URI="https://dataflow.spring.io/$BROKER_NAME-${TYPE}-latest" |
49 | | -elif [[ "$STREAM_APPS_RT_VERSION" = *"SNAPSHOT"* ]]; then |
| 47 | + export STREAM_APPS_RT_VERSION=2021.1.2 # release for Boot 2.x |
| 48 | + # export STREAM_APPS_RT_VERSION=2022.0.0 # release for Boot 3.x apps |
| 49 | +fi |
| 50 | +echo "STREAM_APPS_RT_VERSION=$STREAM_APPS_RT_VERSION" |
| 51 | +if [[ "$STREAM_APPS_RT_VERSION" = *"SNAPSHOT"* ]]; then |
50 | 52 | STREAM_APPS_DL_VERSION=$STREAM_APPS_RT_VERSION |
51 | 53 | META_DATA="https://repo.spring.io/snapshot/org/springframework/cloud/stream/app/stream-applications-descriptor/${STREAM_APPS_RT_VERSION}/maven-metadata.xml" |
52 | 54 | echo "Downloading $META_DATA" |
|
72 | 74 | echo "Registering Stream applications at $DATAFLOW_URL using $STREAM_URI" |
73 | 75 | wget -qO- $DATAFLOW_URL/apps --post-data="uri=$STREAM_URI" |
74 | 76 |
|
75 | | -# replace with individual invocations of register_app for only those applications used. |
76 | | -#register_app "source/file" "docker:springcloudstream/file-source-$BROKER_NAME:3.2.1" |
77 | | -#register_app "source/ftp" "docker:springcloudstream/ftp-source-$BROKER_NAME:3.2.1" |
78 | | -#register_app "processor/aggregator" "docker:springcloudstream/aggregator-processor-$BROKER_NAME:3.2.1" |
79 | | -#register_app "processor/filter" "docker:springcloudstream/filter-processor-$BROKER_NAME:3.2.1" |
80 | | -#register_app "processor/groovy" "docker:springcloudstream/groovy-processor-$BROKER_NAME:3.2.1" |
81 | | -#register_app "processor/script" "docker:springcloudstream/script-processor-$BROKER_NAME:3.2.1" |
82 | | -#register_app "processor/splitter" "docker:springcloudstream/splitter-processor-$BROKER_NAME:3.2.1" |
83 | | -#register_app "processor/transform" "docker:springcloudstream/transform-processor-$BROKER_NAME:3.2.1" |
84 | | - |
85 | 77 | TASK_URI=https://dataflow.spring.io/task-${TYPE}-latest |
86 | 78 | echo "Registering Task applications at $DATAFLOW_URL using $TASK_URI" |
87 | 79 | wget -qO- "$DATAFLOW_URL/apps" --post-data="uri=$TASK_URI" |
|
0 commit comments