Skip to content

Commit

Permalink
REMOVE dead code in serviceRoutines and mongoBackend libs so orionRes…
Browse files Browse the repository at this point in the history
…tServices file is now clean
  • Loading branch information
fgalan committed Aug 7, 2024
1 parent 00b6c26 commit 9880e76
Show file tree
Hide file tree
Showing 181 changed files with 53 additions and 32,928 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,10 @@ ENDIF()

SET (ORION_LIBS
common
rest # verbName(Verb) from [email protected]; jsonRequestTreat from [email protected];
serviceRoutinesV2
serviceRoutines
ngsiNotify
rest # verbName(Verb) from [email protected]; jsonRequestTreat from [email protected];
jsonParse
jsonParseV2
rest # this is repeated for linking str2Verb from [email protected];
Expand Down
4 changes: 0 additions & 4 deletions doc/manuals.jp/admin/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ broker はデフォルトでバックグラウンドで実行されるため、
- **-logLineMaxSize** : ログ行の最大長 (超過すると、Orion は `LINE TOO LONG` をログ・トレースとして出力します)。最小許容値:100バイト。デフォルト値:32キロバイト。Orion の起動後に [log admin REST API](management_api.md#log-configs-and-trace-levels)`lineMaxSize` フィールドで変更できます
- **-logInfoPayloadMaxSize** : リクエストおよび/またはレスポンス・ペイロードを出力する INFO レベルのログ・トレースの場合、これはそれらのペイロードに許可される最大サイズです。ペイロード・サイズがこの設定より大きい場合、最初の `-logInfoPayloadMaxSize` バイトのみが含まれます (そして、`(...)` の形式の省略記号がトレースに表示されます)。デフォルト値:5キロバイト。Orion の起動後に [log admin REST API](management_api.md#log-configs-and-trace-levels)`infoPayloadMaxSize` フィールドを使用して変更できます。
- **-disableMetrics** : 'metrics' 機能をオフにします。メトリックの収集は、システムコールやセマフォが関与するため、少しコストがかかります。メトリックオーバーヘッドなしで broker を起動するには、このパラメータを使用します
- **-disableNgsiv1** : NGSIv1 操作をオフにします。 API エンドポイントのみが無効になることに注意してください。
[`"attrsFormat": "legacy"`](../orion-api.md#subscriptionnotification) を使用する通知や、
[`"legacyForwarding": true`](../orion-api.md#registrationprovider) を使用するレジストレーションに対応するリクエスト転送は機能します
- **-insecureNotif** : 既知の CA 証明書で認証できないピアへの HTTPS 通知を許可する。これは、curl コマンドのパラメータ `-k` または `--insecureparameteres` に似ています
- **-mqttMaxAge** : 未使用の MQTT 接続が保持される最大時間 (分単位)。デフォルト値: 60
- **-logDeprecate** : 非推奨の使用法を警告として記録します。詳細については、[ドキュメントのこのセクション](../deprecated.md#log-deprecation-warnings) を参照してください。デフォルトは false です。これは、Orion の起動後に [log admin REST API](management_api.md#log-configs-and-trace-levels) を使用して `deprecated` フィールドを使用して変更できます
Expand Down Expand Up @@ -166,6 +163,5 @@ Orion は、環境変数を使用した引数の受け渡しをサポートし
| ORION_LOG_LINE_MAX_SIZE | logLineMaxSize |
| ORION_LOG_INFO_PAYLOAD_MAX_SIZE | logInfoPayloadMaxSize |
| ORION_DISABLE_METRICS | disableMetrics |
| ORION_DISABLE_NGSIV1 | disableNgsiv1 |
| ORION_INSECURE_NOTIF | insecureNotif |
| ORION_MQTT_MAX_AGE | mqttMaxAge |
260 changes: 0 additions & 260 deletions doc/manuals.jp/devel/ServiceRoutines.txt

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions doc/manuals/admin/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,6 @@ The list of available options is the following:
- **-logInfoPayloadMaxSize**. For those log traces at INFO level that print request and/or response payloads, this is the maximum allowed size for those payloads. If the payload size is greater than this setting, then only the first `-logInfoPayloadMaxSize` bytes are included (and an ellipsis in the form of `(...)` is shown in trace). Default value: 5 KBytes. It can be changed after Orion startup with the [log admin REST API](management_api.md#log-configs-and-trace-levels), with the `infoPayloadMaxSize` field.
- **-disableMetrics**. To turn off the 'metrics' feature. Gathering of metrics is a bit costly, as system calls and semaphores are involved.
Use this parameter to start the broker without metrics overhead.
- **-disableNgsiv1**. To turn off NGSIv1 operations. Note that only API endpoints are disabled, notifications using
[`"attrsFormat": "legacy"`](../orion-api.md#subscriptionnotification) or forward requests corresponding to registrations
using [`"legacyForwarding": true`](../orion-api.md#registrationprovider) will work.
- **-insecureNotif**. Allow HTTPS notifications to peers which certificate cannot be authenticated with known CA certificates. This is similar
to the `-k` or `--insecure` parameteres of the curl command.
- **-mqttMaxAge**. Max time (in minutes) that an unused MQTT connection is kept. Default: 60
Expand Down Expand Up @@ -230,7 +227,6 @@ Two facts have to be taken into account:
| ORION_LOG_LINE_MAX_SIZE | logLineMaxSize |
| ORION_LOG_INFO_PAYLOAD_MAX_SIZE | logInfoPayloadMaxSize |
| ORION_DISABLE_METRICS | disableMetrics |
| ORION_DISABLE_NGSIV1 | disableNgsiv1 |
| ORION_INSECURE_NOTIF | insecureNotif |
| ORION_MQTT_MAX_AGE | mqttMaxAge |
| ORION_LOG_DEPRECATE | logDeprecate |
Loading

0 comments on commit 9880e76

Please sign in to comment.