Skip to content

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilczaja committed Nov 25, 2024
1 parent 0f1b609 commit 0fe1623
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 102 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ please see [changelog_updates.md](docs/dev/changelog_updates.md).
#### Major

- The Catalog Crawler has been moved to the AP repository.
- To prevent versioning conflicts with the image from EDC CE up to version 10.4.1, the image is now named differently. See [compatible versions](#compatible-versions) below.

#### Minor

Expand All @@ -27,7 +26,7 @@ please see [changelog_updates.md](docs/dev/changelog_updates.md).

### Deployment Migration Notes

- Please change the image used for the Catalog Crawler. The old image is no longer updated and will not work with future versions of the Portal.
- The Crawler image name and version changed due to the crawler being moved into the AP repository and versions being aligned
- Previously: `ghcr.io/sovity/catalog-crawler-ce`
- Now: `ghcr.io/sovity/authority-portal-crawler`

Expand Down
88 changes: 0 additions & 88 deletions docs/deployment-guide/goals/production/.env.catalog-crawler

This file was deleted.

58 changes: 46 additions & 12 deletions docs/deployment-guide/goals/production/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@ The respective compatible versions can be found in the [CHANGELOG.md](../../../.
### Deployment Units
| Deployment Unit | Version / Details |
|---------------------------|---------------------------------------------------------------------------------------------------|
| Reverse Proxy / Ingress | _Infrastructure dependent_ |
| Keycloak Deployment | Version 24.0.4 or compatible version |
| OAuth2 Proxy | quay.io/oauth2-proxy/oauth2-proxy:7.5.0 |
| Caddy behind OAuth2 Proxy | caddy:2.7 |
| Authority Portal Backend | authority-portal-backend, see [CHANGELOG.md](../../../../CHANGELOG.md) for compatible versions. |
| Authority Portal Frontend | authority-portal-frontend, see [CHANGELOG.md](../../../../CHANGELOG.md) for compatible versions. |
| Catalog Crawler | authority-portal-crawler, see [CHANGELOG.md](../../../../CHANGELOG.md) for compatible versions. |
| Postgresql | Version 16 or compatible version |
| Deployment Unit | Version / Details |
|---------------------------------------|---------------------------------------------------------------------------------------------------|
| Reverse Proxy / Ingress | _Infrastructure dependent_ |
| Keycloak Deployment | Version 24.0.4 or compatible version |
| OAuth2 Proxy | quay.io/oauth2-proxy/oauth2-proxy:7.5.0 |
| Caddy behind OAuth2 Proxy | caddy:2.7 |
| Authority Portal Backend | authority-portal-backend, see [CHANGELOG.md](../../../../CHANGELOG.md) for compatible versions. |
| Authority Portal Frontend | authority-portal-frontend, see [CHANGELOG.md](../../../../CHANGELOG.md) for compatible versions. |
| Catalog Crawler (one per environment) | authority-portal-crawler, see [CHANGELOG.md](../../../../CHANGELOG.md) for compatible versions. |
| Postgresql | Version 16 or compatible version |
### Configuration
Expand Down Expand Up @@ -364,8 +364,42 @@ EDC_OAUTH_CERTIFICATE_ALIAS: 1
EDC_OAUTH_PRIVATE_KEY_ALIAS: 1
```

Additional available configuration options can be found
in [.env.catalog-crawler](.env.catalog-crawler).
You can also optionally override the following defaults:

```yaml
# Database Connection Pool Size
CRAWLER_DB_CONNECTION_POOL_SIZE: 30
# Database Connection Timeout (in ms)
CRAWLER_DB_CONNECTION_TIMEOUT_IN_MS: 30000
# CRON interval for crawling ONLINE connectors
CRAWLER_CRON_ONLINE_CONNECTOR_REFRESH: */20 * * ? * *
# CRON interval for crawling OFFLINE connectors
CRAWLER_CRON_OFFLINE_CONNECTOR_REFRESH: 0 */5 * ? * *
# CRON interval for crawling DEAD connectors
CRAWLER_CRON_DEAD_CONNECTOR_REFRESH: 0 0 * ? * *
# CRON interval for marking connectors as DEAD
CRAWLER_SCHEDULED_KILL_OFFLINE_CONNECTORS: 0 0 2 ? * *
# Delete data offers / mark as dead after connector has been offline for:
CRAWLER_KILL_OFFLINE_CONNECTORS_AFTER: P5D
# Hide data offers after connector has been offline for:
CRAWLER_HIDE_OFFLINE_DATA_OFFERS_AFTER: P1D
# Parallelization for Crawling
CRAWLER_NUM_THREADS: 32
# Maximum number of Data Offers per Connector
CRAWLER_MAX_DATA_OFFERS_PER_CONNECTOR: 50
# Maximum number of Contract Offers per Data Offer
CRAWLER_MAX_CONTRACT_OFFERS_PER_DATA_OFFER: 10
```

## Initial Setup

Expand Down

0 comments on commit 0fe1623

Please sign in to comment.