Skip to content

Commit 653a2f9

Browse files
committed
Fix typos and improve clarity in documentation across multiple files
1 parent 1350e8e commit 653a2f9

File tree

11 files changed

+36
-36
lines changed

11 files changed

+36
-36
lines changed

docs/benchmarks.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Benchmarks
22

3-
8 senarios with thoses parameters :
3+
8 scenarios with these parameters:
44
- 100 messages
55
- body : simple string `test`
66

77
| Scenario | Time (s) |
88
| --- | --- |
99
| Python BP to Python BO with Iris Message | 0.239 |
1010
| Python BP to Python BO with Python Message | 0.232 |
11-
| ObjetScript BP to Python BO with Iris Message | 0.294 |
12-
| ObjetScript BP to Python BO with Python Message | 0.242 |
13-
| Python BP to ObjetScript BO with Iris Message | 0.242 |
14-
| Python BP to ObjetScript BO with Python Message | 0.275 |
15-
| ObjetScript BP to ObjetScript BO with Iris Message | 0.159 |
16-
| ObjetScript BP to ObjetScript BO with Python Message | 0.182 |
11+
| ObjectScript BP to Python BO with Iris Message | 0.294 |
12+
| ObjectScript BP to Python BO with Python Message | 0.242 |
13+
| Python BP to ObjectScript BO with Iris Message | 0.242 |
14+
| Python BP to ObjectScript BO with Python Message | 0.275 |
15+
| ObjectScript BP to ObjectScript BO with Iris Message | 0.159 |
16+
| ObjectScript BP to ObjectScript BO with Python Message | 0.182 |
1717

18-
Benchmarked can be run in the unit test with the following command :
18+
Benchmarks can be run in the unit test with the following command :
1919

2020
```bash
2121
pytest src/tests/test_bench.py

docs/command-line.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ With an argument, it set the default production.
8383
iop -d IoP.Production
8484
```
8585

86-
## lists
86+
## list
8787

88-
The lists command list productions.
88+
The list command lists productions.
8989

9090
```bash
9191
iop -l

docs/component-interaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This is the IRIS Framework.
77
The components inside of IRIS represent a production.
88

99
You have 3 main components:
10-
- **BusinessService**: This component aims to recieve requests from external applications.
10+
- **BusinessService**: This component aims to receive requests from external applications.
1111
- **BusinessProcess**: This component is responsible for processing the requests and orchestrating the business logic.
1212
- **BusinessOperation**: This component is responsible for executing the technical operations that are needed to fulfill the requests.
1313

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Here you can choose between:
3636

3737
##### Set up the IRIS instance.
3838

39-
Then, symbolically this git to the IRIS pyhton directory:
39+
Then, symbolically link this git repository to the IRIS python directory:
4040

4141
```bash
4242
ln -s <your_git_dir>/src/iop $IRISINSTALLDIR/python/iop

docs/debug.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ How to debug IoP code.
44

55
Before anything, I will put some context about IoP and IRIS.
66

7-
Next I will show how to debug the code.
7+
Next, I will show how to debug the code.
88

99
Finally, we will give some tips about debugging.
1010

@@ -20,7 +20,7 @@ That means the python code is not running by a python interpreter, but by an IRI
2020

2121
## Remote Debugging
2222

23-
To remote debbug your code, you need IoP version 3.4.1 or later.
23+
To remote debug your code, you need IoP version 3.4.1 or later.
2424

2525
You will then have access to new options in the management portal.
2626

@@ -212,7 +212,7 @@ Since iop version 3.4.3, you can use the `%traceback` setting to enable or disab
212212

213213
This can help you to see the stack trace of the error and understand what is happening in the code.
214214

215-
With traebacks enabled:
215+
With tracebacks enabled:
216216

217217
![Traceback enabled](./img/traceback_enable.png)
218218

docs/dtl.md

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

33
Starting with version 3.2.0, IoP supports DTL transformations.
44

5-
DTL the Data Transformation Layer in IRIS Interoperability.
5+
DTL is the Data Transformation Layer in IRIS Interoperability.
66

77
DTL transformations are used to transform data from one format to another with a graphical editor.
88
It supports also `jsonschema` structures.
@@ -63,7 +63,7 @@ Then select the source and target message classes.
6363

6464
![DTL Transformation](./img/dtl_wizard.png)
6565

66-
And it's schema.
66+
And its schema.
6767

6868
![DTL Transformation](./img/vdoc_type.png)
6969

@@ -97,7 +97,7 @@ Starting with version 3.2.0, IoP supports `jsonschema` structures for DTL transf
9797

9898
Same as for message classes, you need to register your `jsonschema`.
9999

100-
To do so, you need to invoke his iris command:
100+
To do so, you need to invoke this IRIS command:
101101

102102
```objectscript
103103
zw ##class(IOP.Message.JSONSchema).ImportFromFile("/irisdev/app/random_jsonschema.json","Demo","Demo")

docs/example.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class MyResponse(Message):
4747

4848
To register a component, create a `setting.py` file in the root of your project. This file will be used to register your classes and productions.
4949

50-
### Example of `setting.py`
50+
### Example of `settings.py`
5151

5252
```python
5353
import bo
@@ -62,7 +62,7 @@ CLASSES = {
6262
Use the `iop` command line to register your component:
6363

6464
```bash
65-
iop --migrate /path/to/your/project/setting.py
65+
iop --migrate /path/to/your/project/settings.py
6666
```
6767

6868
## Business Service
@@ -188,7 +188,7 @@ class MyAsyncNGBP(BusinessProcess):
188188
To make an async call with the native `send_request_async` method, use the following code:
189189

190190
```python
191-
from grongier.pex import BusinessProcess
191+
from iop import BusinessProcess
192192
from msg import MyMessage
193193

194194

docs/getting-started/first-steps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ PRODUCTIONS = [
122122
]
123123
```
124124

125-
In this file, we import our `MyBo` class named in iris `MyIRIS.MyBo`, and we add it to the `CLASSES` dictionnary.
125+
In this file, we import our `MyBo` class named in iris `MyIRIS.MyBo`, and we add it to the `CLASSES` dictionary.
126126

127127
Then, we add a new production to the `PRODUCTIONS` list. This production will contain our `MyBo` class instance named `Instance.Of.MyBo`.
128128

docs/getting-started/register-component.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ CLASSES = {
2828
Use the `iop` command line to register your component:
2929

3030
```bash
31-
iop --migrate /path/to/your/project/setting.py
31+
iop --migrate /path/to/your/project/settings.py
3232
```
3333

3434
## Using the Python Shell

docs/prod-settings.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -68,25 +68,25 @@ To create a custom settings, you create an attribute in your class.
6868

6969
This attribute must :
7070

71-
- have an default value.
72-
- don't start with an underscore.
71+
- have a default value.
72+
- not start with an underscore.
7373
- be untyped or have the following types: `str`, `int`, `float`, `bool`.
7474

75-
Otherwise, it will not be available in the managment portal.
75+
Otherwise, it will not be available in the management portal.
7676

7777
```python
7878
from iop import BusinessOperation
7979

8080
class MyBusinessOperation(BusinessOperation):
8181

82-
# This setting will be available in the managment portal
82+
# This setting will be available in the management portal
8383
foo: str = "default"
8484
my_number: int = 42
8585
untyped_setting = None
8686

87-
# This setting will not be available in the managment portal
87+
# This setting will not be available in the management portal
8888
_my_internal_setting: str = "default"
89-
no_aviable_setting
89+
# no_available_setting # This line would cause a syntax error
9090

9191
def on_init(self):
9292
self.log_info("[Python] MyBusinessOperation:on_init() is called")
@@ -95,8 +95,8 @@ class MyBusinessOperation(BusinessOperation):
9595
return
9696
```
9797

98-
They will be available in the managment portal as the following:
98+
They will be available in the management portal as the following:
9999

100100
![Custom settings](img/custom_settings.png)
101101

102-
If you overwrite the default value in the managment portal, the new value will be passed to your class.
102+
If you overwrite the default value in the management portal, the new value will be passed to your class.

0 commit comments

Comments
 (0)