Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@ 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`

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
Expand Down
4 changes: 2 additions & 2 deletions start-client/src/components/common/builder/Fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function Fields({
</FieldError>
)}
</Control>
<Control text='.NET Framework'>
<Control text='.NET'>
<Radio
name='dotNetFramework'
selected={get(values, 'dotNetFramework')}
Expand All @@ -127,7 +127,7 @@ function Fields({
/>
{get(errors, 'dotNetFramework') && (
<FieldError>
.NET Framework {get(errors, 'dotNetFramework.value')} is not supported.
.NET {get(errors, 'dotNetFramework.value')} is not supported.
Please select a valid version.
</FieldError>
)}
Expand Down
2 changes: 1 addition & 1 deletion start-client/src/components/common/builder/Loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default function Loading() {
<Control text='Steeltoe'>
<Placeholder type='radio' width='100px' />
</Control>
<Control text='.NET Framework'>
<Control text='.NET'>
<Placeholder type='radio' width='100px' />
</Control>
<Control text='Language'>
Expand Down
2 changes: 1 addition & 1 deletion start-client/src/components/reducer/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export function reduceDependencies(steeltoeVersion, dotNetFramework, items) {
} else {
message += `Requires`
}
message += ` .NET Framework ${rangeToText(
message += ` .NET ${rangeToText(
get(dep, 'dotNetFrameworkRange')
)}`
}
Expand Down