Skip to content

Commit

Permalink
REMOVE ngsiv1Autocast
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan committed Aug 6, 2024
1 parent 78e98b3 commit e8c5644
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 1,537 deletions.
1 change: 0 additions & 1 deletion doc/manuals.jp/admin/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,5 +169,4 @@ Orion は、環境変数を使用した引数の受け渡しをサポートし
| ORION_DISABLE_METRICS | disableMetrics |
| ORION_DISABLE_NGSIV1 | disableNgsiv1 |
| ORION_INSECURE_NOTIF | insecureNotif |
| ORION_NGSIV1_AUTOCAST | ngsiv1Autocast |
| ORION_MQTT_MAX_AGE | mqttMaxAge |
1 change: 0 additions & 1 deletion doc/manuals/admin/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,5 @@ Two facts have to be taken into account:
| ORION_DISABLE_METRICS | disableMetrics |
| ORION_DISABLE_NGSIV1 | disableNgsiv1 |
| ORION_INSECURE_NOTIF | insecureNotif |
| ORION_NGSIV1_AUTOCAST | ngsiv1Autocast |
| ORION_MQTT_MAX_AGE | mqttMaxAge |
| ORION_LOG_DEPRECATE | logDeprecate |
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ RUN --mount=type=secret,id=repo_token,dst=/run/secrets/repo_token \
WORKDIR /

# Note we disable log file as docker container will output by stdout
ENTRYPOINT ["/usr/bin/contextBroker","-fg", "-multiservice", "-ngsiv1Autocast", "-disableFileLog" ]
ENTRYPOINT ["/usr/bin/contextBroker","-fg", "-multiservice", "-disableFileLog" ]
EXPOSE 1026

LABEL "maintainer"="Orion Team. Telefónica I+D"
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ RUN --mount=type=secret,id=repo_token,dst=/run/secrets/repo_token \
WORKDIR /

# Note we disable log file as docker container will output by stdout
ENTRYPOINT ["/usr/bin/contextBroker","-fg", "-multiservice", "-ngsiv1Autocast", "-disableFileLog" ]
ENTRYPOINT ["/usr/bin/contextBroker","-fg", "-multiservice", "-disableFileLog" ]
EXPOSE 1026

LABEL "maintainer"="Orion Team. Telefónica I+D"
Expand Down
3 changes: 0 additions & 3 deletions src/app/contextBroker/contextBroker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,6 @@ bool disableNgsiv1;
bool disableFileLog;
int reqTimeout;
bool insecureNotif;
bool ngsiv1Autocast;

bool fcEnabled;
double fcGauge;
Expand Down Expand Up @@ -348,8 +347,6 @@ PaArgument paArgs[] =

{ "-insecureNotif", &insecureNotif, "INSECURE_NOTIF", PaBool, PaOpt, false, false, true, INSECURE_NOTIF_DESC },

{ "-ngsiv1Autocast", &ngsiv1Autocast, "NGSIV1_AUTOCAST", PaBool, PaOpt, false, false, true, NGSIV1_AUTOCAST_DESC },

{ "-mqttMaxAge", &mqttMaxAge, "MQTT_MAX_AGE", PaInt, PaOpt, 60, PaNL, PaNL, MQTT_MAX_AGE_DESC },

{ "-logDeprecate", &logDeprecate, "LOG_DEPRECATE", PaBool, PaOpt, false, false, true, LOG_DEPRECATE_DESC },
Expand Down
1 change: 0 additions & 1 deletion src/lib/common/globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ extern bool checkIdv1;
extern bool disableCusNotif;

extern bool insecureNotif;
extern bool ngsiv1Autocast;
extern unsigned long long inReqPayloadMaxSize;
extern unsigned long long outReqMsgMaxSize;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ Usage: contextBroker [option '-U' (extended usage)]
[option '-disableMetrics' (turn off the 'metrics' feature)]
[option '-disableNgsiv1' (turn off NGSIv1 request endpoints)]
[option '-insecureNotif' (allow HTTPS notifications to peers which certificate cannot be authenticated with known CA certificates)]
[option '-ngsiv1Autocast' (automatic cast for number, booleans and dates in NGSIv1 update/create attribute operations)]
[option '-mqttMaxAge' <max time (in minutes) that an unused MQTT connection is kept, default: 60>]
[option '-logDeprecate' (log deprecation usages as warnings)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ Usage: contextBroker [option '-U' (extended usage)]
[option '-disableMetrics' (turn off the 'metrics' feature)]
[option '-disableNgsiv1' (turn off NGSIv1 request endpoints)]
[option '-insecureNotif' (allow HTTPS notifications to peers which certificate cannot be authenticated with known CA certificates)]
[option '-ngsiv1Autocast' (automatic cast for number, booleans and dates in NGSIv1 update/create attribute operations)]
[option '-mqttMaxAge' <max time (in minutes) that an unused MQTT connection is kept, default: 60>]
[option '-logDeprecate' (log deprecation usages as warnings)]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ Usage: contextBroker [option '-U' (extended usage)]
[option '-disableMetrics' (turn off the 'metrics' feature)]
[option '-disableNgsiv1' (turn off NGSIv1 request endpoints)]
[option '-insecureNotif' (allow HTTPS notifications to peers which certificate cannot be authenticated with known CA certificates)]
[option '-ngsiv1Autocast' (automatic cast for number, booleans and dates in NGSIv1 update/create attribute operations)]
[option '-mqttMaxAge' <max time (in minutes) that an unused MQTT connection is kept, default: 60>]
[option '-logDeprecate' (log deprecation usages as warnings)]

Expand Down
Loading

0 comments on commit e8c5644

Please sign in to comment.