From f8b088469f65e88e39d4eb620c2831da101823ce Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Sun, 18 Aug 2024 10:53:11 -0500 Subject: [PATCH] Use version rather than 'latest' in starter urls (#2010) See https://github.com/spring-cloud/spring-cloud-dataflow/issues/5897 --- .../website-starters/website-starters.component.ts | 12 ++++++------ ui/src/app/dev/dashboard/dashboard.component.ts | 4 ++-- ui/src/assets/i18n/de.json | 2 +- ui/src/assets/i18n/en.json | 2 +- ui/src/assets/i18n/ru.json | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/ui/src/app/apps/add/website-starters/website-starters.component.ts b/ui/src/app/apps/add/website-starters/website-starters.component.ts index f8638bc91..ec055e89b 100644 --- a/ui/src/app/apps/add/website-starters/website-starters.component.ts +++ b/ui/src/app/apps/add/website-starters/website-starters.component.ts @@ -14,12 +14,12 @@ export class WebsiteStartersComponent { force = false; uris = { - 'stream.kafka.maven': 'https://dataflow.spring.io/kafka-maven-latest', - 'stream.kafka.docker': 'https://dataflow.spring.io/kafka-docker-latest', - 'stream.rabbitmq.maven': 'https://dataflow.spring.io/rabbitmq-maven-latest', - 'stream.rabbitmq.docker': 'https://dataflow.spring.io/rabbitmq-docker-latest', - 'task.maven': 'https://dataflow.spring.io/task-maven-latest', - 'task.docker': 'https://dataflow.spring.io/task-docker-latest' + 'stream.kafka.maven': 'https://dataflow.spring.io/kafka-maven-5-0-x', + 'stream.kafka.docker': 'https://dataflow.spring.io/kafka-docker-5-0-x', + 'stream.rabbitmq.maven': 'https://dataflow.spring.io/rabbitmq-maven-5-0-x', + 'stream.rabbitmq.docker': 'https://dataflow.spring.io/rabbitmq-docker-5-0-x', + 'task.maven': 'https://dataflow.spring.io/task-maven-3-0-x', + 'task.docker': 'https://dataflow.spring.io/task-docker-3-0-x' }; constructor( diff --git a/ui/src/app/dev/dashboard/dashboard.component.ts b/ui/src/app/dev/dashboard/dashboard.component.ts index 9136e5059..9f493a7ba 100644 --- a/ui/src/app/dev/dashboard/dashboard.component.ts +++ b/ui/src/app/dev/dashboard/dashboard.component.ts @@ -50,9 +50,9 @@ export class DashboardComponent implements OnDestroy { case 'IMPORT_APPS': return forkJoin([this.getOperation('IMPORT_APPS_STREAM'), this.getOperation('IMPORT_APPS_TASK')]); case 'IMPORT_APPS_STREAM': - return this.appService.importUri('https://dataflow.spring.io/kafka-maven-latest'); + return this.appService.importUri('https://dataflow.spring.io/kafka-maven-5-0-x'); case 'IMPORT_APPS_TASK': - return this.appService.importUri('https://dataflow.spring.io/task-maven-latest'); + return this.appService.importUri('https://dataflow.spring.io/task-maven-3-0-x'); } return null; } diff --git a/ui/src/assets/i18n/de.json b/ui/src/assets/i18n/de.json index 8569e444e..953029d86 100644 --- a/ui/src/assets/i18n/de.json +++ b/ui/src/assets/i18n/de.json @@ -172,7 +172,7 @@ "desc": "Geben Sie eine URI an die auf eine Eigenschaften-Datei verweist.
Die Eigenschaften-Datei ist formatiert, sodass jeder Schlüssel einen Typen und den Namen der Anwendung representiert, z.B. type.name. Die Werte sind die URIs der Anwendungen.", "placeholderUri": "https://url.to.properties", "eg": "e.g.", - "egValue": "https://dataflow.spring.io/kafka-maven-latest", + "egValue": "https://dataflow.spring.io/kafka-maven-5-0-x", "invalidUri": "Bitte geben sie eine gültige URI an, die auf eine Properties Datei verweist.", "force": "Forcieren, Anwendungen werden importiert und installiert auch wenn sie bereits existieren aber nicht verwendet werden.", "importing": "Importiere gerade Anwendung(en)", diff --git a/ui/src/assets/i18n/en.json b/ui/src/assets/i18n/en.json index 9eb8f322f..79819c37d 100644 --- a/ui/src/assets/i18n/en.json +++ b/ui/src/assets/i18n/en.json @@ -176,7 +176,7 @@ "desc": "Provide a URI that points to the location of the properties file.
This properties file is formatted so that the keys represent the type and the name of the application, e.g. type.name. The property values are the URIs of the app.", "placeholderUri": "https://url.to.properties", "eg": "e.g.", - "egValue": "https://dataflow.spring.io/kafka-maven-latest", + "egValue": "https://dataflow.spring.io/kafka-maven-5-0-x", "invalidUri": "Please provide a valid URI pointing to the respective properties file.", "force": "Force, the applications will be imported and installed even if it already exists but only if not being used already.", "importing": "Importing application(s)", diff --git a/ui/src/assets/i18n/ru.json b/ui/src/assets/i18n/ru.json index bf7abdb0b..53f850970 100644 --- a/ui/src/assets/i18n/ru.json +++ b/ui/src/assets/i18n/ru.json @@ -172,7 +172,7 @@ "desc": "Укажите URI, указывающий на расположение файла свойств.
Этот файл свойств отформатирован таким образом, что ключи представляют тип и имя приложения, например. тип.имя. Значения свойств — это URI приложения.", "placeholderUri": "https://url.to.properties", "eg": "e.g.", - "egValue": "https://dataflow.spring.io/kafka-maven-latest", + "egValue": "https://dataflow.spring.io/kafka-maven-5-0-x", "invalidUri": "Укажите действительный URI, указывающий на соответствующий файл свойств.", "force": "Принудительно, приложения будут импортированы и установлены, даже если они уже существуют, но только в том случае, если они еще не используются.", "importing": "Импортирование приложения(й)",