Skip to content

Commit

Permalink
bugfix typos receive
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Dec 8, 2023
1 parent 0c061f5 commit b7ff801
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/integration/tests/postgres/40_verify_queries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion postgresql/initdb.d/01_main.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
2 changes: 1 addition & 1 deletion postgresql/migratedb.d/09.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down
4 changes: 2 additions & 2 deletions sda/cmd/syncapi/syncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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`
Expand Down

0 comments on commit b7ff801

Please sign in to comment.