Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

put in the same order as in structure api: file configuration/other.md #70

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
21 changes: 11 additions & 10 deletions docs/configuration/other.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Other Settings

## API Configuration
The `api` section of the Dozer configuration specifies how different types of APIs are set up and interact with other services. This section is organized into three main blocks, each corresponding to a specific type of API: `rest`, `grpc`, and `app_grpc`. Additionally, there's a `api_security` block which designates the security type to be applied across these API interfaces. You can also configure the default limit of records returned from queries using the `default_max_records_num` parameter.
The `api` section of the Dozer configuration specifies how different types of APIs are set up and interact with other services. This section is organized into three main blocks, each corresponding to a specific type of API: `rest`, `grpc`, and `app_grpc`. Additionally, there's an `api_security` block that designates the security type to be applied across these API interfaces. You can also configure the default limit of records returned from queries using the `default_max_records_num` parameter.

Here's a summarized view of the configuration structure:

Expand All @@ -18,14 +18,6 @@ api:
default_max_records_num: 50
```

### API Security
The `api_security` subsection determines the kind of security protocol the API should utilize. The only option availble is JWT, as shown in the sample configuration above.

#### Parameters
| Name | Type | Description |
|--------------|--------|---------------------------------------------------------|
| ↳ (JWT Token) | String | If `!Jwt` is chosen, this specifies the secret token for JWT authentication. |

### REST API
The `rest` subsection configures the Data APIs REST server.

Expand Down Expand Up @@ -86,6 +78,15 @@ The `app_grpc` section configures the App gRPC API server. This server is used f
| `web` | Boolean | Activates HTTP/1 + web support for the app-specific gRPC API server. Default: `true`. |
| `enabled` | Boolean | Indicator to enable or disable the app-specific gRPC API server. Default: `true`. |


### API Security
The `api_security` subsection determines the kind of security protocol the API should utilize. The only option available is JWT, as shown in the sample configuration above.

#### Parameters
| Name | Type | Description |
|--------------|--------|---------------------------------------------------------|
| ↳ (JWT Token) | String | If `!Jwt` is chosen, this specifies the secret token for JWT authentication. |

### Default Query Limit

The `default_max_records_num` is an `Integer` parameter that specifies the default limit of records returned from queries. The default value is 50.
The `default_max_records_num` is an `Integer` parameter that specifies the default limit of records returned from queries. The default value is 50.
Loading