Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit e27b6e8

Browse files
authored
Merge pull request #355 from micgibso/landing_page_404s
Correct links check function tweak titles #2010
2 parents 78bb2a4 + f752afd commit e27b6e8

14 files changed

+40
-29
lines changed

docs/_data/docstoc.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767

6868
- title: 'Developing projects'
6969
children:
70-
- title: 'Using the project view'
71-
url: projectview.html
7270
- title: 'Checking the application and build statuses'
7371
url: checkingstatuses.html
7472
- title: 'Importing existing projects'

docs/_documentations/appmetrics.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Application Metrics is available in Java, Node.js, and Swift. You can monitor th
2525

2626
## Accessing Application Metrics
2727

28-
Click **App monitor** in the Microclimate project to access Application Metrics. Toggle between the **Dashboard** and **Summary** tabs. If you have a Node.js project, you can also access the **Profiling** tab.
28+
Click **App monitor** in the Codewind project to access Application Metrics. Toggle between the **Dashboard** and **Summary** tabs. If you have a Node.js project, you can also access the **Profiling** tab.
2929

3030
## Enabling Application Metrics
3131

@@ -45,35 +45,35 @@ View these metrics to learn if your application is performing as intended. An ap
4545

4646
## Clicking the **Run load** button
4747

48-
Click the **Run load** button to run load your microservice. This button pings endpoints by using the Microclimate load runner service.
48+
Click the **Run load** button to run load your microservice. This button pings endpoints by using the Codewind load runner service.
4949

5050
## Viewing metrics information in the **Summary** tab
5151

5252
View a summary of the information from the performance metrics graphs that you saw in the **Dashboard** tab.
5353
* **HTTP Requests:** This table displays how many times an endpoint is hit. If you repeatedly run a test while making code changes, you can see how the code changes are impacting application performance.
5454
* **Environment:** This table shows information about the environment you're running, such as the OS architecture and the number of processors you have. Having this information can make troubleshooting easier if you need to contact support and provide it.
55-
* **Resource usage:** This table shows the **Average Process CPU**, which shows what Microclimate is doing, and the **Average System CPU**, which shows what the environment as a whole is doing. This information can help determine whether application issues are caused by something else in the environment that is external to the application.
55+
* **Resource usage:** This table shows the **Average Process CPU**, which shows what Codewind is doing, and the **Average System CPU**, which shows what the environment as a whole is doing. This information can help determine whether application issues are caused by something else in the environment that is external to the application.
5656

5757
## Viewing the graph in the **Profiling** tab
5858

5959
The **Profiling** tab is available only in Node.js projects. This tab pulls information from the CPU metric in the **Dashboard** tab. CPU cycles are caused by an execution of code. Receiving an endpoint doesn't cause many CPU cycles, but receiving an incoming payload can. Profiling shows you what occurs when a spike appears in the CPU metric. Each spike on the flame graph shows a call stack in the path. The width of a spike indicates how much time the CPU spends on a function. Wide spikes indicate that your CPU spends much time on a particular function and where you might want change the code to optimize it.
6060

6161
## Profiling Data Support
6262

63-
In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [Microclimate load testing](performancetesting). Profiling support is only available for Node.js projects that are created through Microclimate and then profiled.
63+
In Theia or VS Code, you can use the Profiling Language Server to provide code highlighting. Code highlighting displays the relative time spent in JavaScript functions based on profiling data gathered through [load testing](performance). Profiling support is only available for Node.js projects that are created through Codewind and then profiled.
6464

6565
- Profiling data is written to the workspace only on a successfully completed load run. If the load run is cancelled, it won't be written to the workspace.
6666
- Run the load run for a minimum of 45 seconds for enough profiling data to be gathered to generate the `profiling.json` file.
6767
- You can configure the load run time in the `config.json` file in the `load-test` directory. The default time is 2 minutes.
6868
- Out of all the folders that contain a `profiling.json` file, the most up-to-date `profiling.json` file is the one that is displayed. The code for the older profiling data might be out of date, such as pointing to lines that have been moved.
6969

7070
To display code highlighting:
71-
1. Open a project created with Microclimate and profiled using the [performance testing](performancetesting) feature of Microclimate. Profiling data is created in a `load-test/<datestamp>/profiling.json` file in your Microclimate project.
71+
1. Open a project created with Codewind and profiled using the [performance testing](performance) feature of Codewind. Profiling data is created in a `load-test/<datestamp>/profiling.json` file in your Codewind project.
7272
2. In the **Editor** view, open a JavaScript file. The Editor highlights any lines that were found in the profiling data and annotates them to show how often they were seen and where they were called from.
7373

7474
To enable or disable the profile highlighting in the code, access the profiling in one of the following ways:
7575
- Right-click in the editor and select `Toggle Profiling`.
76-
- Open the command palette with `cmd+shift+p` on a Mac or `ctrl+shift+p` on Windows. Then, select `Microclimate: Profiling: Toggle Profiling`.
76+
- Open the command palette with `cmd+shift+p` on a Mac or `ctrl+shift+p` on Windows. Then, select `Profiling: Toggle Profiling`.
7777
- Toggle the `Microprofile Profiling: Show Profiling` setting in the extensions settings.
7878

7979
For more information on sample-based profiling, see [Sample-based profiling](https://www.ibm.com/support/knowledgecenter/en/SS3KLZ/com.ibm.java.diagnostics.healthcenter.doc/topics/profiling_using.html).

docs/_documentations/mdt-che-createcodewindworkspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ Codewind includes a ready-to-use devfile with its plug-ins.
2222

2323
For more sample devfiles, see [`codewind-templates/devfiles/`](https://github.com/kabanero-io/codewind-templates/tree/master/devfiles).
2424

25-
Next step: [Setup Tekton Pipelines](mdt-che-tektonpipelines.html)
25+
Next step: [Setup Tekton Pipelines](mdt-che-tektonpipelines.html)

docs/_documentations/mdt-che-dockerregistries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ order: 20
1010
parent: root
1111
---
1212

13+
# Setting the Docker registry
1314

14-
### Setting the Docker registry
1515
After creating a Codewind workspace, you must set the container registry to deploy your projects. When you go to create or add an existing project to Codewind, Codewind will prompt you for the registry. See [Docker registry docs](https://www.eclipse.org/codewind/dockerregistry.html) for guidance on using proper container registries.
1616

1717
If you would like to change the registry that's used at any time, run the `Codewind: Set Deployment Registry` command in Theia to dynamically set a new registry for your workspace. <br>

docs/_documentations/mdt-che-installinfo.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ type: document
99
---
1010

1111
# Installing Codewind for Eclipse Che
12+
1213
Install Che to use with Codewind or use Codewind with an existing Che installation.
1314

14-
### Prerequisites
15+
## Prerequisites
16+
1517
1. Set up PersistentVolumes (PVs) that support both `ReadWriteOnce` (RWO) and `ReadWriteMany` (RWX) access modes and have a minimum of 1 Gi storage.
1618
- One volume is required for Che, and two volumes are required for each Codewind workspace.
1719
- For Network File System (NFS) shares, set 777 permissions for the exported folders and ownership of `nobody:nogroup`.
@@ -22,7 +24,8 @@ Install Che to use with Codewind or use Codewind with an existing Che installati
2224
3. Set up the ClusterRole for Codewind:
2325
`kubectl apply -f https://raw.githubusercontent.com/eclipse/codewind-che-plugin/0.9.0/setup/install_che/codewind-clusterrole.yaml`
2426

25-
### Installing Che with chectl
27+
## Installing Che with chectl
28+
2629
The fastest way to install Eclipse Che for Codewind is to use the `chectl` CLI. To install the `chectl` CLI tool, see [Installing the chectl management tool](https://www.eclipse.org/che/docs/che-7/installing-the-chectl-management-tool/).
2730

2831
After you install `chectl`, complete the following steps:
@@ -35,15 +38,17 @@ After you install `chectl`, complete the following steps:
3538
- On OpenShift, run the following command: `chectl server:start --platform=openshift --installer=operator --che-operator-cr-yaml=codewind-checluster.yaml --che-operator-image=quay.io/eclipse/che-operator:7.5.1`
3639
- On Kubernetes, run the following command: `chectl server:start --platform=k8s --installer=operator --domain=<ingress-domain> --che-operator-cr-yaml=codewind-checluster.yaml --che-operator-image=quay.io/eclipse/che-operator:7.5.1`
3740

38-
### Updating an existing Che installation
41+
## Updating an existing Che installation
42+
3943
If you already have a Che installation, you can update it for Codewind.
4044

4145
After creating the Codewind ClusterRole from the [Prerequisites](#prerequisites), run the following command, where `$NAMESPACE` is the namespace that your Che workspaces run in. By default, this namespace is `che`.
4246
```
4347
kubectl apply -f https://raw.githubusercontent.com/eclipse/codewind-che-plugin/0.9.0/setup/install_che/codewind-rolebinding.yaml -n $NAMESPACE
4448
```
4549

46-
### Enabling privileged and root containers to run
50+
## Enabling privileged and root containers to run
51+
4752
Codewind needs to run as privileged and as root because it builds container images. If your cluster is running OpenShift, run the following commands, where `<che namespace>` is the namespace into which you installed Che.
4853
1. To enable privileged containers, enter `oc adm policy add-scc-to-user privileged system:serviceaccount:<che namespace>:che-workspace`.
4954
2. To enable containers to run as root, enter `oc adm policy add-scc-to-user anyuid system:serviceaccount:<che namespace>:che-workspace`.

docs/_documentations/mdt-che-odo-support.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,29 +11,35 @@ parent: mdt-che-installinfo
1111
---
1212

1313
# OpenShift Do (odo) support in Codewind
14+
1415
The extension to Codewind provides support for [OpenShift Do (odo)](https://github.com/openshift/odo). You can use the extension to efficiently write, build, and deploy components on an OpenShift or OKD cluster.
1516

1617
1. [Extension overview](#overview)
1718
2. [Setting up extension](#setting-up-extension)
1819
3. [Current limitation](#current-limitation)
1920

2021
## Extension overview
22+
2123
- Supports Java, Node.js, Python, and Perl components.
2224
- Provides OpenShift templates to help you create components with different supported languages.
2325
- Imports your existing components and continues to develop the components.
2426

2527
## Setting up extension
2628

2729
### Prerequisites
30+
2831
- [Install](mdt-che-installinfo.html) Codewind on Che on an OpenShift cluster.
2932

3033
### Adding roles to support the extension
34+
3135
The extension needs additional roles for accessing OpenShift resources. Use the following commands to clone the [codewind-odo-extension](https://github.com/eclipse/codewind-odo-extension) repository, create the ClusterRole with the required permissions, and bind that ClusterRole to the corresponding Codewind service account.
3236

3337
### Importing Java image stream to your OpenShift or OKD cluster
38+
3439
In order to create or import Java compoent, you need to import Java image stream to your OpenShift or OKD cluster so that odo can build component image.
3540

3641
### Adding the roles and importing the Java image stream
42+
3743
1. Log in to your OpenShift or Origin Community Distribution (OKD) cluster and ensure the Codewind workspace is created.
3844
2. Enter the following commands to go to the correct location, add the roles and import the Java image stream, and perform cleanup:
3945
```
@@ -44,6 +50,7 @@ git clone https://github.com/eclipse/codewind-odo-extension &&\
4450
rm -rf codewind-odo-extension
4551
```
4652

47-
## Current limitation
53+
## Current limitations
54+
4855
- Only supports on Codewind for Eclipse Che with OKD/OpenShift cluster.
4956
- Does not support debug mode.

docs/_documentations/mdt-che-setupregistries.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ order: 20
1010
parent: root
1111
---
1212

13-
### Adding registries in Che
13+
# Adding registries in Che
14+
1415
After Che is started and running, add the container registry that will be used with Codewind.
1516
- On OpenShift or other Kube platforms, you can push your images to any Docker registry, such as Docker Hub, Quay.io, Google Cloud Registry (GCR), and more.
1617
- On IBM Cloud Private, you can push your image to any Docker registry *except* the internal Docker registry.

docs/_documentations/mdt-che-tektonpipelines.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ order: 20
1010
parent: root
1111
---
1212

13-
### Configuring Codewind for Tekton pipelines
13+
# Configuring Codewind for Tekton pipelines
14+
1415
If you want to use existing Tekton installations with Codewind, from your command line, enter the following commands:
1516

1617
```

docs/_documentations/mdt-che-usingtheia.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,18 @@ order: 20
1010
parent: root
1111
---
1212

13+
# Using Codewind from the Che Theia IDE
1314

14-
## Using Codewind from the Che Theia IDE
15+
## Binding a project:
1516

16-
### Binding a project:
1717
Go to **View**>**Find Command…**>**Codewind: Add Project**.
1818

19-
### Checking the status of a project
19+
## Checking the status of a project
20+
2021
Go to **View**>**Find Command…**>**Codewind: App status**.
2122

22-
### Building a project 
23+
## Building a project 
24+
2325
Go to **View**>**Find Command…**>**Codewind: Build**.
2426

2527

docs/_documentations/mdt-vsc-getting-started.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,3 @@ parent: mdt-vsc-overview
2828
![image of Codewind once installed](dist/images/installed.png){:width="800px"}
2929

3030
Next step: [Create your first project](mdt-vsc-firstproject.html)
31-
32-
33-

0 commit comments

Comments
 (0)