Skip to content

Commit 1f9e6c0

Browse files
committed
update
1 parent 29221cf commit 1f9e6c0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
## Unreleased
88
### Added
99
- add script to test Clowder extraction.
10-
- add script to submit files to Clowder geo extraction.
1110
- Added ability to delete extractor, both from api and GUI.
1211
[CATS-1044](https://opensource.ncsa.illinois.edu/jira/browse/CATS-1044)
1312
- API add tags endpoint now returns the added tags.

scripts/tester/tester.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ post_message() {
2727
}
2828

2929
# ------------------------ Create dataset ------------------------
30-
DATASET_ID=$(curl -X POST -H "Content-Type: application/json" \
30+
DATASET_ID=$(curl -s -X POST -H "Content-Type: application/json" \
3131
-d '{"name":"Temporary Test Dataset", "description":"Created automatically by test script."}' \
3232
$CLOWDER_URL/api/datasets/createempty?key=$CLOWDER_KEY)
3333
DATASET_ID=$(echo $DATASET_ID | jq '.id' | sed s/\"//g)
3434
echo "Dataset ID: $DATASET_ID"
3535

3636
# ------------------------ Upload file ------------------------
37-
FILE_ID=$(curl -X POST -H "Content-Type: application/json" \
38-
-F File=@$TARGET_FILE \
37+
FILE_ID=$(curl -X POST -F File=@$TARGET_FILE \
3938
$CLOWDER_URL/api/uploadToDataset/$DATASET_ID?key=$CLOWDER_KEY&extract=0)
4039
FILE_ID=$(echo $FILE_ID | jq '.id' | sed s/\"//g)
4140
echo "File ID: $FILE_ID"

0 commit comments

Comments
 (0)