projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add first work package for REST API implementation
[anna.git]
/
example
/
diameter
/
launcher
/
deployments
/
advanced
/
loadXml.sh
diff --git
a/example/diameter/launcher/deployments/advanced/loadXml.sh
b/example/diameter/launcher/deployments/advanced/loadXml.sh
index
c2ac03f
..
8991e3e
100755
(executable)
--- a/
example/diameter/launcher/deployments/advanced/loadXml.sh
+++ b/
example/diameter/launcher/deployments/advanced/loadXml.sh
@@
-1,7
+1,4
@@
#!/bin/bash
#!/bin/bash
-> curl_log.txt
-TRACE="--trace-ascii curl_log.txt"
-SERVER=`cat .httpServer`
use () {
use () {
@@
-18,6
+15,5
@@
echo
[[ "$1" = "" ]] && use
[[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
echo
[[ "$1" = "" ]] && use
[[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
echo
-operation="loadxml|$1"
-curl -m 1 --data "$operation" $TRACE ${SERVER}
+./operation.sh "loadxml|$1"