Skip to content

Commit d1e55e3

Browse files
committed
full edit Initializr topics
1 parent 0e66efa commit d1e55e3

File tree

3 files changed

+45
-41
lines changed

3 files changed

+45
-41
lines changed

api/v4/initializr/index.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,15 @@
22

33
An Initializr jumpstarts .NET development by generating projects based on project metadata.
44
Metadata may include, among other properties, a project name, a namespace, and a list of dependencies.
5-
At the core of an Initializr is the _[InitializrService](https://github.com/SteeltoeOSS/InitializrService)_.
6-
_InitializrService_ provides several REST/HTTP endpoints, which includes an endpoint to generate projects, and an endpoint to provide smart clients the metadata needed to construct user interfaces.
5+
At the core of an Initializr is the [Steeltoe InitializrService](https://github.com/SteeltoeOSS/InitializrService).
6+
InitializrService provides several REST/HTTP endpoints, and includes:
77

8-
It is possible to have a fully functioning Initializr deployment by simply deploying the _InitializrService_.
9-
A more user-friendly deployment may include a user interface, such as a web frontend or an IDE plugin.
10-
A deployment may also leverage a _[Spring Cloud Config Server](https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html)_ to access a configuration store.
11-
As an example, the [Steeltoe Initializr deployment](https://start.steeltoe.io) includes _[InitializrWeb](https://github.com/SteeltoeOSS/InitializrWeb)_ for a friendly user experience and a _Spring Cloud Config Server_ using a GitHub-maintained configuration.
8+
* an endpoint to generate projects, and
9+
* an endpoint to provide smart clients the metadata needed to construct user interfaces
1210

13-
_InitializrWeb_ is the reference UI for the Steeltoe Initializr and is an example of a smart client. It uses project metadata from the _InitializrService_ to populate its web controls with, for example, supported .NET target frameworks and Steeltoe versions.
11+
It is possible to have a fully functioning Initializr deployment by simply deploying the InitializrService.
12+
A more user-friendly deployment might include a user interface, such as a web frontend or an IDE plug-in.
13+
A deployment may also use a [Spring Cloud Config Server](https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html) to access a configuration store.
14+
As an example, the [Steeltoe Initializr deployment](https://start.steeltoe.io) includes [InitializrWeb](https://github.com/SteeltoeOSS/InitializrWeb) for a friendly user experience and a Spring Cloud Config Server using a GitHub-maintained configuration.
15+
16+
InitializrWeb is the reference UI for the Steeltoe Initializr and is an example of a smart client. It uses project metadata from the InitializrService to populate its web controls with, for example, supported .NET target frameworks and Steeltoe versions.

api/v4/initializr/initializr-service.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# InitializrService
22

3-
The _InitializrService_ provides 4 REST/HTTP endpoints:
3+
The InitializrService provides four REST/HTTP endpoints:
44

55
* `api/`
66
* `api/about`
@@ -10,7 +10,7 @@ The _InitializrService_ provides 4 REST/HTTP endpoints:
1010
## `api/`
1111

1212
`api/` accepts `GET` requests and returns a help document.
13-
The document includes available parameters (and their defaults) and dependencies, as well as CLI samples.
13+
The document includes available parameters (and their defaults) and dependencies, plus CLI samples.
1414

1515
```bash
1616
# sample: view help doc
@@ -30,7 +30,7 @@ The URI templates take a set of parameters to customize the result of a request.
3030
3131
## `api/about`
3232
33-
`api/about` accepts `GET` requests and returns the _InitialzrService_ "About" information.
33+
`api/about` accepts `GET` requests and returns the InitializrService "About" information.
3434
3535
```bash
3636
# sample: view "About" document
@@ -46,11 +46,11 @@ $ http -p b https://start.steeltoe.io/api/about
4646
4747
## `api/config`
4848
49-
`api/config` accepts `GET` requests and returns _InitializrService_ configuration.
50-
The returned document includes *all* configuration which can include superfluous details.
51-
Sub-endpoints are available allowing more targeted responses.
49+
`api/config` accepts `GET` requests and returns InitializrService configuration.
50+
The returned document includes *all* configuration, which can include superfluous details.
51+
Sub-endpoints are available, allowing more targeted responses.
5252
53-
`api/config/projectMetadata` can be used by smart clients, such as the _InitializrWeb_, to assist in creating user interfaces.
53+
`api/config/projectMetadata` can be used by smart clients, such as the InitializrWeb, to assist in creating user interfaces.
5454
5555
The following endpoints can be used by CLI users to browse project configuration options:
5656
@@ -105,10 +105,11 @@ $ http https://start.steeltoe.io/api/config/dependencies | jq '.[] .values[] .id
105105
106106
`api/project` accepts `GET` and `POST` requests and returns a project as an archive.
107107
108-
Projects are configured by using HTTP parameters, such as `name` for the project name and `steeltoeVersion` for the Steeltoe version.
109-
The parameter `dependencies` is a little different than other parameters in that it is set to a comma-separated list of dependency IDs.
108+
Projects are configured using HTTP parameters, such as `name` for the project name and `steeltoeVersion` for the Steeltoe version.
109+
The parameter `dependencies` is different than other parameters in that it is set to a comma-separated list of dependency IDs.
110110
111-
_Note: to get a list of parameters and dependencies, send a `GET` request to `api/`._
111+
> [!NOTE]
112+
> To get a list of parameters and dependencies, send a `GET` request to `api/`.
112113
113114
```bash
114115
# sample: generate a .NET Core App 3.1 project with actuator endpoints and a Redis backend:
Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# InitializrWeb
22

3-
_InitializrWeb_ is a web frontend for an Initializr deployment.
4-
It uses _InitializrApi_-provided project metadata to populate its interface for easy perusal and selection by an end user.
5-
After selecting desired project parameters, an end user uses _InitializrWeb_ to submit project generation requests to the _InitializrApi_.
3+
InitializrWeb is a web frontend for an Initializr deployment.
4+
It uses InitializrApi-provided project metadata to populate its interface for easy perusal and selection by an end user.
5+
After selecting desired project parameters, an end user uses InitializrWeb to submit project generation requests to the InitializrApi.
66

77
## Overview
88

99
![Steeltoe Initializr](./images/default.png)
1010

11-
The interface is made up of 4 areas:
11+
The interface is made up of four areas:
1212

1313
* project configuration area
1414
* project action area (bottom)
@@ -17,45 +17,45 @@ The interface is made up of 4 areas:
1717

1818
The remainder of this document focuses on the project configuration and action areas.
1919

20-
## Configuration
20+
## Project configuration
2121

22-
The configuration area exposes 5 project properties to the end user:
22+
The configuration area exposes five project properties to the end user:
2323

24-
* name
25-
* C# namespace
26-
* application name
27-
* description
28-
* Steeltoe version
29-
* .NET target framework
30-
* .NET template
31-
* dependencies
24+
* **Name**
25+
* **Namespace**: C# namespace
26+
* **Application**: application name
27+
* **Description**
28+
* **Steeltoe**: Steeltoe version
29+
* **.NET Framework**: .NET target framework
30+
* **.NET template**
31+
* **Dependencies**
3232

33-
## Actions
33+
## Project actions
3434

35-
The actions area provides 3 project actions to the end user:
35+
The actions area provides three project actions to the end user:
3636

37-
* generate
38-
* explore
39-
* share
37+
* **Generate**
38+
* **Explore**
39+
* **Share**
4040

4141
### Generate
4242

43-
Clicking "Generate" submits the current configuration to the _InitializrApi_ to generate a project archive.
44-
The resultant project archive is a Zip file named based on the project name.
43+
Clicking **Generate** submits the current configuration to the InitializrApi to generate a project archive.
44+
The resultant project archive is a Zip file with a name based on the project name.
4545

4646
![Steeltoe Initializr generate](images/generate.png)
4747

4848
### Explore
4949

50-
Clicking "Explore" submits the current configuration to the _InitializrApi_ to generate a project archive.
50+
Clicking **Explore** submits the current configuration to the InitializrApi to generate a project archive.
5151
The resultant project archive is expanded in the UI so that the end user can explore the project.
5252

5353
![Steeltoe Initializr explore](images/explore.png)
5454

5555
### Share
5656

57-
Clicking "Share" displays a URL that represents the current project configuration.
57+
Clicking **Share** displays a URL that represents the current project configuration.
5858
It can be shared with other developers or saved in a bookmark.
59-
Note that the URL is specific to _InitializrWeb_ and cannot be used directly with the _InitializrApi_.
59+
Note that the URL is specific to InitializrWeb and cannot be used directly with the InitializrApi.
6060

6161
![Steeltoe Initializr share](images/share.png)

0 commit comments

Comments
 (0)