From b7ff80193bdbc1ca01a754e1841020e07f234324 Mon Sep 17 00:00:00 2001 From: Stefan Negru Date: Fri, 8 Dec 2023 11:22:09 +0200 Subject: [PATCH] bugfix typos receive --- .github/integration/tests/postgres/40_verify_queries.sh | 2 +- postgresql/initdb.d/01_main.sql | 2 +- postgresql/migratedb.d/09.sql | 2 +- sda/cmd/syncapi/syncapi.md | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/integration/tests/postgres/40_verify_queries.sh b/.github/integration/tests/postgres/40_verify_queries.sh index f8565f1aa..4b3653aaa 100644 --- a/.github/integration/tests/postgres/40_verify_queries.sh +++ b/.github/integration/tests/postgres/40_verify_queries.sh @@ -18,7 +18,7 @@ for host in migrate postgres; do header="637279707434676801000000010000006c00000000000000" dbheader=$(psql -U verify -h "$host" -d sda -At -c "SELECT header from sda.files WHERE id = '$fileID';") if [ "$dbheader" != "$header" ]; then - echo "wrong header recieved" + echo "wrong header received" exit 1 fi diff --git a/postgresql/initdb.d/01_main.sql b/postgresql/initdb.d/01_main.sql index 6f47b7325..b098d28af 100644 --- a/postgresql/initdb.d/01_main.sql +++ b/postgresql/initdb.d/01_main.sql @@ -152,7 +152,7 @@ CREATE TABLE dataset_events ( -- These are the default dataset events to log. INSERT INTO dataset_events(id,title,description) -VALUES (10, 'registered', 'Register a dataset to recieve file accession IDs mappings.'), +VALUES (10, 'registered', 'Register a dataset to receive file accession IDs mappings.'), (20, 'released' , 'The dataset is released on this date'), (30, 'deprecated', 'The dataset is deprecated on this date'); diff --git a/postgresql/migratedb.d/09.sql b/postgresql/migratedb.d/09.sql index 26de285ba..c37265ec3 100644 --- a/postgresql/migratedb.d/09.sql +++ b/postgresql/migratedb.d/09.sql @@ -19,7 +19,7 @@ BEGIN ); INSERT INTO sda.dataset_events(id,title,description) - VALUES (10, 'registered', 'Register a dataset to recieve file accession IDs mappings.'), + VALUES (10, 'registered', 'Register a dataset to receive file accession IDs mappings.'), (20, 'released' , 'The dataset is released on this date'), (30, 'deprecated', 'The dataset is deprecated on this date'); diff --git a/sda/cmd/syncapi/syncapi.md b/sda/cmd/syncapi/syncapi.md index a3a4e78de..10743f9fe 100644 --- a/sda/cmd/syncapi/syncapi.md +++ b/sda/cmd/syncapi/syncapi.md @@ -8,7 +8,7 @@ The sync service facilitates replication of data and metadata between the nodes When enabled the service will perform the following tasks: -1. Upon recieving a POST request with JSON data to the `/dataset` route. +1. Upon receiving a POST request with JSON data to the `/dataset` route. 1. Parse the JSON blob and validate it against the `file-sync` schema. 2. Build and send messages to start ingestion of files. 3. Build and send messages to assign stableIDs to files. @@ -50,7 +50,7 @@ These settings control how sync connects to the RabbitMQ message broker. - `BROKER_PASSWORD`: password to connect to rabbitmq - `BROKER_PREFETCHCOUNT`: Number of messages to pull from the message server at the time (default to 2) -The default routing keys for sending ingestion, accession and maping messages can be overridden by setting the following values: +The default routing keys for sending ingestion, accession and mapping messages can be overridden by setting the following values: - `SYNC_API_ACCESSIONROUTING` - `SYNC_API_INGESTROUTING`