Skip to content

Commit

Permalink
Use version rather than 'latest' in starter urls (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc authored Aug 18, 2024
1 parent 4640241 commit f8b0884
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/dev/dashboard/dashboard.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion ui/src/assets/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"desc": "Geben Sie eine URI an die auf eine Eigenschaften-Datei verweist.<br />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)",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"desc": "Provide a URI that points to the location of the properties file.<br />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)",
Expand Down
2 changes: 1 addition & 1 deletion ui/src/assets/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"desc": "Укажите URI, указывающий на расположение файла свойств.<br />Этот файл свойств отформатирован таким образом, что ключи представляют тип и имя приложения, например. тип.имя. Значения свойств — это 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": "Импортирование приложения(й)",
Expand Down

0 comments on commit f8b0884

Please sign in to comment.