Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 🐛 update the OpenAPI spec #1667

Merged
merged 10 commits into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .spectral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
extends: spectral:oas
rules:
operation-tags: off
6 changes: 4 additions & 2 deletions .vscode/monorepo.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,14 @@
"python.formatting.provider": "black",
"python.linting.enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.flake8Enabled": true
"python.linting.flake8Enabled": true,
"spectral.rulesetFile": ".spectral.yml"
},
"extensions": {
"recommendations": [
"ms-python.python",
"ms-kubernetes-tools.vscode-kubernetes-tools"
"ms-kubernetes-tools.vscode-kubernetes-tools",
"stoplight.spectral"
]
}
}
16 changes: 5 additions & 11 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ images:
repository: datasets-server-services-worker
tag: sha-fb3399a


common:
# URL of the HuggingFace Hub
hfEndpoint: ""
Expand All @@ -87,7 +86,7 @@ secrets:
enabled: false
secretName: ""
secretStoreName: ""
parameters: { }
parameters: {}
mongoUrl:
fromSecret: false
secretName: "mongo-url"
Expand Down Expand Up @@ -211,13 +210,13 @@ optInOutUrlsScan:
columnsMaxNumber: 10
# the max number of columns to scan
maxConcurrentRequestsNumber: 10
# the max concurrent request number
# the max concurrent request number
maxRequestsPerSecond: 20
# the max number of request allowed to process in parallel per second
rowsMaxNumber: 1_000
# the max number of rows to scan
urlsNumberPerBatch: 1_000
# the number of grouped urls to be send in every request to spawning
# the number of grouped urls to be send in every request to spawning
spawningUrl: "https://opts-api.spawningaiapi.com/api/v2/query/urls"
# the URL for spawning requests

Expand Down Expand Up @@ -245,7 +244,6 @@ cachedAssets:
# When cleaning the cached assets directory: maximum number of rows to discard.
maxCleanedRowsNumber: 10000


parquetMetadata:
# Directory on the shared storage (parquet metadata files used for random access in /rows)
storageDirectory: "/storage/parquet-metadata"
Expand All @@ -263,7 +261,7 @@ duckDBIndex:
urlTemplate: "/datasets/%s/resolve/%s/%s"
# the maximum size of the split parquets.
maxParquetSizeBytes: "100_000_000"
# the time interval at which a downloaded index will be considered as expired and will be deleted
# the time interval at which a downloaded index will be considered as expired and will be deleted
expiredTimeIntervalSeconds: 600

descriptiveStatistics:
Expand Down Expand Up @@ -324,7 +322,6 @@ backfill:
cpu: 0
tolerations: []


deleteIndexes:
enabled: true
log:
Expand All @@ -341,7 +338,6 @@ deleteIndexes:
cpu: 0
tolerations: []


queueMetricsCollector:
enabled: true
action: "collect-queue-metrics"
Expand All @@ -355,7 +351,6 @@ queueMetricsCollector:
cpu: 0
tolerations: []


cacheMetricsCollector:
enabled: true
action: "collect-cache-metrics"
Expand Down Expand Up @@ -542,8 +537,7 @@ search:
tolerations: []

workers:
-
# name of the deployment
- # name of the deployment
deployName: "all"
# max difficulty of the jobs that this worker will process
workerDifficultyMax: 100
Expand Down
Loading
Loading