Add first work package for REST API implementation
[anna.git] / example / diameter / launcher / deployments / advanced / loadXml.sh
1 #!/bin/bash
2
3 use () {
4
5    echo "Use: $0 <xml_file>"
6    echo
7    echo "Load xml file and show on stdout again."
8    echo "It is useful to test xml loader and xml viewer, but also for show aliases and,"
9    echo "if '--ignoreFlags' commandline option is missing, for flag coherence checking."
10    echo
11    exit
12 }
13
14 echo
15 [[ "$1" = "" ]] && use
16 [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; }
17 echo
18 ./operation.sh "loadxml|$1"
19