Skip to content

Commit

Permalink
Completed
Browse files Browse the repository at this point in the history
Simple, Extended and complex refsets supported. CURL is responding as
expected, loosened the regex for simple as SimpleMap (Map) bit does not
match files i currently have but SimpleDelta and SimpleFull seem to be
names i have (this is a guess ) as i spent an extra day fighting with
cygwin to get curl working :(
  • Loading branch information
bronwen-cassidy committed Jun 28, 2014
1 parent b4df53a commit a53afc5
Show file tree
Hide file tree
Showing 47 changed files with 13,562 additions and 422 deletions.
Binary file added SnomedCT_test1_INT_20140131.zip
Binary file not shown.
Binary file added api-demo/SnomedCT_test1_INT_20140131.zip
Binary file not shown.
15 changes: 9 additions & 6 deletions api-demo/test-simple-refset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@
#
# Command line statements which use the RVF API to test a simple refset
#

# Stop on error
set -e;

#
# Declare parameters
packageToTest="packages/SnomedCT_test1_INT_20140131.zip"
api="http://localhost:8080/rvf/api/v1"
packageToTest="SnomedCT_test1_INT_20140131.zip"

# note port 8083
api="http://localhost:8080/api/v1"

#
echo
echo "Target Release Verification Framework API URL is '${api}'"
echo

#
echo "Upload Simple Refset"
curl -iS -F "file=@${packageToTest}" ${api}/test-package
# curl -iS -F "file=@${packageToTest}" ${api}/package-upload
curl -F file=@${packageToTest} ${api}/package-upload

echo
Loading

0 comments on commit a53afc5

Please sign in to comment.