From 70a7065a3202ff88054bb2897e7798abe75717e6 Mon Sep 17 00:00:00 2001 From: Bart Koelman <104792814+bart-vmware@users.noreply.github.com> Date: Fri, 18 Jul 2025 17:01:20 +0200 Subject: [PATCH] Rename ".NET Framework" to ".NET" --- README.md | 11 ++++++----- start-client/src/components/common/builder/Fields.js | 4 ++-- start-client/src/components/common/builder/Loading.js | 2 +- start-client/src/components/reducer/App.js | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 67c64b09..d5f8e00c 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,14 @@ Steeltoe Initializr UI reference implementation ## About This implementation largely steals from the [Spring Initializr Client](https://github.com/spring-io/start.spring.io). -The primary differences between the 2 implementations are branding and domain metadata. +The primary differences between the two implementations are branding and domain metadata. Branding differences include reference URLs, color schemes, and logos. -Domain metadata include metadata differences such as "Java version" vs ".NET Framework" and "Spring Boot" vs "Steeltoe." -A list of files that are known to diverge from Spring, is available [here](./Upstream.md) +Domain metadata includes metadata differences such as "Java version" vs ".NET version" and "Spring Boot" vs "Steeltoe." +A list of files that are known to diverge from Spring is available [here](./Upstream.md) ## Deploying -There are 2 endpoints that the Web UI uses to 1) populate its UI, and 2) generate projects: +There are two endpoints that the Web UI uses to 1) populate its UI, and 2) generate projects: * `/api/config/projectMetadata` * `/api/project` @@ -20,8 +20,9 @@ There are 2 endpoints that the Web UI uses to 1) populate its UI, and 2) generat For local development, these endpoints are implemented in the development webpack configuration in [start-client/webpack.dev.js](start-client/webpack.dev.js). In a remote deployment, those endpoints are implemented by the [Initializr API](https://github.com/SteeltoeOSS/InitializrApi). -The deployment should be frontended by an HTTP router that forwards requests to these 2 endpoints to the API server. +The deployment should be frontended by an HTTP router that forwards requests to these two endpoints to the API server. A sample Kubernetes ingress configuration: + ```yaml --- apiVersion: networking.k8s.io/v1beta1 diff --git a/start-client/src/components/common/builder/Fields.js b/start-client/src/components/common/builder/Fields.js index 785701a2..a0441519 100644 --- a/start-client/src/components/common/builder/Fields.js +++ b/start-client/src/components/common/builder/Fields.js @@ -107,7 +107,7 @@ function Fields({ )} - + {get(errors, 'dotNetFramework') && ( - .NET Framework {get(errors, 'dotNetFramework.value')} is not supported. + .NET {get(errors, 'dotNetFramework.value')} is not supported. Please select a valid version. )} diff --git a/start-client/src/components/common/builder/Loading.js b/start-client/src/components/common/builder/Loading.js index e11ef93a..15a1c489 100644 --- a/start-client/src/components/common/builder/Loading.js +++ b/start-client/src/components/common/builder/Loading.js @@ -28,7 +28,7 @@ export default function Loading() { - + diff --git a/start-client/src/components/reducer/App.js b/start-client/src/components/reducer/App.js index 38e85aa9..23e22d16 100644 --- a/start-client/src/components/reducer/App.js +++ b/start-client/src/components/reducer/App.js @@ -72,7 +72,7 @@ export function reduceDependencies(steeltoeVersion, dotNetFramework, items) { } else { message += `Requires` } - message += ` .NET Framework ${rangeToText( + message += ` .NET ${rangeToText( get(dep, 'dotNetFrameworkRange') )}` }