Skip to content

Commit 625d611

Browse files
committed
Modify recommended resubscription time
There is currently a problem with openBOS ontology version subscription, it needs to be resubscribed periodically. Francois recommended resubscribing once per day.
1 parent bd282a0 commit 625d611

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

USER_GUIDE.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ Configurations can be created in Eliona under `Settings > Apps > OpenBOS` which
8686
| `clientSecret` | The client secret used for OAuth 2.0 authentication. |
8787
| `appPublicAPIURL` | URL of this app's public API. Inferred automatically from request. Example: "https://{your-eliona-instance.io}/apps-public/open-bos". |
8888
| `enable` | Flag to enable or disable fetching from this API. Default: `true`.|
89-
| `refreshInterval` | Interval in seconds for collecting data from API. Default: `60`. |
89+
| `refreshInterval` | Interval in hours for resubscribing to OpenBOS. Default: `24`. |
9090
| `requestTimeout` | API query timeout in seconds. Default: `120`.|
9191
| `active` | Set to `true` by the app when running and to `false` when app is stopped. Read-only. |
92-
| `projectIDs` | List of Eliona project IDs for data collection. For each project ID, all smart devices are automatically created as assets in Eliona, with mappings stored in the KentixONE app. Example: `["42", "99"]`. |
92+
| `projectIDs` | List of Eliona project IDs for data collection. For each project ID, all smart devices are automatically created as assets in Eliona, with mappings stored in the OpenBOS app. Example: `["42", "99"]`. |
9393

9494
Example full configuration JSON:
9595

@@ -100,7 +100,7 @@ Example full configuration JSON:
100100
"clientSecret": "your-client-secret",
101101
"appPublicAPIURL": "https://{your-eliona-instance.io}/apps-public/open-bos",
102102
"enable": true,
103-
"refreshInterval": 60,
103+
"refreshInterval": 24,
104104
"requestTimeout": 120,
105105
"projectIDs": [
106106
"42",

db/init.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ create table if not exists open_bos.configuration
2424
client_secret text not null,
2525
ontology_version integer not null,
2626
app_public_api_url text not null,
27-
refresh_interval integer not null default 60,
27+
refresh_interval integer not null default 24,
2828
request_timeout integer not null default 120,
2929
asset_filter json not null,
3030
active boolean not null default false,

openapi.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ components:
250250
nullable: true
251251
refreshInterval:
252252
type: integer
253-
description: Interval in seconds for collecting data from API
254-
default: 60
253+
description: Interval in hours for resubscribing to OpenBOS
254+
default: 24
255255
requestTimeout:
256256
type: integer
257257
description: Timeout in seconds

0 commit comments

Comments
 (0)