Upgrade to latest oparent
[aaf/authz.git] / authz-test / etc / tc.connection
1 # Load Passwords needed
2
3 DME2REG=/Volumes/Data/src/authz/dme2reg
4
5 # This is a fix for DME2 jar which doesn't register entries correctly
6 function fix {
7    for FILE in `find $DME2REG -name "*.txt"`
8    do
9         sed -e"s/null/https/" $FILE > temp3555
10         cat temp3555 > $FILE
11         rm temp3555
12    done
13 }
14
15 function aafcli {
16   fix
17   java \
18   -Daaf_id=testid \
19   -Daaf_pass=<pass> \
20   -Daaf_url=https://DME2RESOLVE/service=com.att.authz.AuthorizationService/version=2.0.1/envContext=DEV/routeOffer=BAU_SE \
21   -DAFT_LATITUDE=32.780140 \
22   -DAFT_LONGITUDE=-96.800451 \
23   -DAFT_ENVIRONMENT=AFTUAT \
24   -DAFT_DME2_EP_REGISTRY_FS_DIR=$DME2REG \
25   -DDME2_EP_REGISTRY_CLASS=DME2FS \
26   -Dtestid=<pass> \
27   -Dbogus=xxx \
28   -Dm12345=<pass> \
29   -jar \
30    /Volumes/Data/src/authz/authz-cmd/target/authz-cmd-2.0.2-SNAPSHOT-jar-with-dependencies.jar \
31    $*
32 }