Skip to content

Commit 27f4835

Browse files
authored
Merge pull request #361 from hydroserver2/v1.7.0
V1.7.0
2 parents 28ec261 + 207f56b commit 27f4835

7 files changed

Lines changed: 2044 additions & 1680 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ HydroServer consists of the following components:
3131
- Cross platform app for running on Windows, Mac, or Linux
3232
- Silent updater for loading data to a HydroServer instance from delimited text files
3333
- Python package (used by the app) for loading data to HydroServer via the SensorThings API
34-
- Streaming Data Loader Desktop app repository: [https://github.com/hydroserver2/hydroloader-desktop](https://github.com/hydroserver2/hydroloader-desktop)
35-
- HydroLoader Python package repository: [https://github.com/hydroserver2/hydroloader](https://github.com/hydroserver2/hydroloader)
34+
- Streaming Data Loader Desktop app repository: [https://github.com/hydroserver2/streaming-data-loader](https://github.com/hydroserver2/streaming-data-loader)
3635

3736
## History
3837

docs/.vitepress/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ export default defineConfig({
110110
text: "Customize the Data Management App",
111111
link: "/how-to/data-management-app/customize.md",
112112
},
113-
{
114-
text: "Archive Data to HydroShare",
115-
link: "/how-to/data-management-app/hydroshare-archive.md",
116-
},
113+
// {
114+
// text: "Archive Data to HydroShare",
115+
// link: "/how-to/data-management-app/hydroshare-archive.md",
116+
// },
117117
],
118118
},
119119
{

docs/how-to/deployment/production-deployment-overview.md

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,37 @@ When deploying HydroServer in production, you should implement multiple layers o
332332
unauthorized access attempts, and to track overall system health. HydroServer also provides a `/health-check`
333333
endpoint that can be used by external monitoring services.
334334

335+
### Enabling Celery for HydroServer
336+
337+
HydroServer optionally supports Celery for scheduling background tasks. To run Celery, you must set up several
338+
additional services, including at least one worker instance, a scheduler, and a broker such as
339+
[Redis](https://redis.io/docs/latest/).
340+
341+
The following HydroServer settings can be used to configure Celery:
342+
343+
- **CELERY_ENABLED**
344+
Controls whether Celery scheduling is enabled. If not enabled, all data processing will be handled by HydroServer's
345+
web server.
346+
Example: `True` / `False`
347+
348+
- **CELERY_BROKER_URL**
349+
The URL of the broker service Celery should use to orchestrate tasks.
350+
Example: `redis://127.0.0.1:6379/0`
351+
352+
To start a Celery worker, use the following entrypoint command with HydroServer’s Docker image. This container must
353+
have database and broker access.
354+
355+
```bash
356+
celery -A hydroserver worker --loglevel=INFO
357+
```
358+
359+
To start a Celery scheduler, use the following entrypoint command with HydroServer’s Docker image. This container must
360+
have database and broker access.
361+
362+
```bash
363+
celery -A hydroserver beat --loglevel=INFO
364+
```
365+
335366
### HydroServer Management Commands
336367

337368
After provisioning your infrastructure, but before starting HydroServer’s web server, you must run several management
@@ -435,17 +466,6 @@ dashboard.
435466
- Sensors
436467
- Units
437468

438-
6. **Configure HydroShare Archival** (optional / experimental)
439-
- First, configure HydroShare as a social application (see Step 4).
440-
- Update the social application record with the following JSON:
441-
```json
442-
{
443-
"allowSignUp": false,
444-
"allowConnection": true
445-
}
446-
```
447-
- Navigate to **Orchestration Systems** > **Add Orchestration System**.
448-
- Create a new record with:
449-
- **Name**: `HydroShare Archival Manager`
450-
- **Type**: `HydroShare`
451-
- *Note: This archival configuration method is temporary and will be deprecated in a future release.*
469+
6. **Configure HydroServer ETL** (optional)
470+
If you have set up a HydroServer Celery scheduler and worker, you
471+

0 commit comments

Comments
 (0)