aboutsummaryrefslogtreecommitdiffstats
path: root/docker_files/dgltest
diff options
context:
space:
mode:
Diffstat (limited to 'docker_files/dgltest')
-rw-r--r--docker_files/dgltest/data.2.2.json1
-rw-r--r--docker_files/dgltest/data.2.5.json1
-rw-r--r--docker_files/dgltest/data.3.1.txt1
-rw-r--r--docker_files/dgltest/data.3.3.json1
-rw-r--r--docker_files/dgltest/key.req1
-rw-r--r--docker_files/dgltest/out/1.1.out5
-rw-r--r--docker_files/dgltest/out/2.1.out8
-rw-r--r--docker_files/dgltest/out/2.2.out13
-rw-r--r--docker_files/dgltest/out/2.3.out6
-rw-r--r--docker_files/dgltest/out/2.4.out13
-rw-r--r--docker_files/dgltest/out/2.5.out4
-rw-r--r--docker_files/dgltest/out/2.6.out1
-rw-r--r--docker_files/dgltest/out/3.1.out4
-rw-r--r--docker_files/dgltest/out/3.2.out1
-rw-r--r--docker_files/dgltest/out/3.3.out4
-rw-r--r--docker_files/dgltest/out/3.4.out1
-rwxr-xr-xdocker_files/dgltest/regress.sh113
17 files changed, 0 insertions, 178 deletions
diff --git a/docker_files/dgltest/data.2.2.json b/docker_files/dgltest/data.2.2.json
deleted file mode 100644
index 277690d..0000000
--- a/docker_files/dgltest/data.2.2.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "topicName": "Topic-11538-2", "topicDescription": "topic for test 2.2", "partitionCount": "1", "replicationCount": "1", "transactionEnabled": "true" }
diff --git a/docker_files/dgltest/data.2.5.json b/docker_files/dgltest/data.2.5.json
deleted file mode 100644
index 949b5cb..0000000
--- a/docker_files/dgltest/data.2.5.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "datestamp": "Wed Dec 14 06:14:23 UTC 2016", "appkey": "x100", "appval": "some value" }
diff --git a/docker_files/dgltest/data.3.1.txt b/docker_files/dgltest/data.3.1.txt
deleted file mode 100644
index a03d04d..0000000
--- a/docker_files/dgltest/data.3.1.txt
+++ /dev/null
@@ -1 +0,0 @@
-datestamp: Wed Dec 14 06:14:33 UTC 2016, key: 3.1, value: this is a test
diff --git a/docker_files/dgltest/data.3.3.json b/docker_files/dgltest/data.3.3.json
deleted file mode 100644
index 5ec7d8e..0000000
--- a/docker_files/dgltest/data.3.3.json
+++ /dev/null
@@ -1 +0,0 @@
-{ "datestamp": "Wed Dec 14 06:14:35 UTC 2016", "key": "3.3", "value": "this is a test" }
diff --git a/docker_files/dgltest/key.req b/docker_files/dgltest/key.req
deleted file mode 100644
index a7e4092..0000000
--- a/docker_files/dgltest/key.req
+++ /dev/null
@@ -1 +0,0 @@
-{ "email": "no.email", "description": "request for direct response KEY" }
diff --git a/docker_files/dgltest/out/1.1.out b/docker_files/dgltest/out/1.1.out
deleted file mode 100644
index 6fc17f8..0000000
--- a/docker_files/dgltest/out/1.1.out
+++ /dev/null
@@ -1,5 +0,0 @@
-{"topics": [
- "msgrtr.apinode.metrics.dmaap",
- "Topic-11479-2",
- "11479.3"
-]} \ No newline at end of file
diff --git a/docker_files/dgltest/out/2.1.out b/docker_files/dgltest/out/2.1.out
deleted file mode 100644
index 514bdca..0000000
--- a/docker_files/dgltest/out/2.1.out
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "aux": {
- "description": "request for direct response KEY",
- "email": "no.email"
- },
- "secret": "ckvKmWw5JAtxVYroWNM0bNZh",
- "key": "Hje2R7zy89VTLufl"
-} \ No newline at end of file
diff --git a/docker_files/dgltest/out/2.2.out b/docker_files/dgltest/out/2.2.out
deleted file mode 100644
index f636b9d..0000000
--- a/docker_files/dgltest/out/2.2.out
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "owner": "Hje2R7zy89VTLufl",
- "readerAcl": {
- "enabled": true,
- "users": []
- },
- "name": "Topic-11538-2",
- "description": "topic for test 2.2",
- "writerAcl": {
- "enabled": true,
- "users": []
- }
-} \ No newline at end of file
diff --git a/docker_files/dgltest/out/2.3.out b/docker_files/dgltest/out/2.3.out
deleted file mode 100644
index 98ffddc..0000000
--- a/docker_files/dgltest/out/2.3.out
+++ /dev/null
@@ -1,6 +0,0 @@
-{"topics": [
- "msgrtr.apinode.metrics.dmaap",
- "Topic-11479-2",
- "11479.3",
- "Topic-11538-2"
-]} \ No newline at end of file
diff --git a/docker_files/dgltest/out/2.4.out b/docker_files/dgltest/out/2.4.out
deleted file mode 100644
index f636b9d..0000000
--- a/docker_files/dgltest/out/2.4.out
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "owner": "Hje2R7zy89VTLufl",
- "readerAcl": {
- "enabled": true,
- "users": []
- },
- "name": "Topic-11538-2",
- "description": "topic for test 2.2",
- "writerAcl": {
- "enabled": true,
- "users": []
- }
-} \ No newline at end of file
diff --git a/docker_files/dgltest/out/2.5.out b/docker_files/dgltest/out/2.5.out
deleted file mode 100644
index 78e55ec..0000000
--- a/docker_files/dgltest/out/2.5.out
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "serverTimeMs": 8,
- "count": 1
-} \ No newline at end of file
diff --git a/docker_files/dgltest/out/2.6.out b/docker_files/dgltest/out/2.6.out
deleted file mode 100644
index 0637a08..0000000
--- a/docker_files/dgltest/out/2.6.out
+++ /dev/null
@@ -1 +0,0 @@
-[] \ No newline at end of file
diff --git a/docker_files/dgltest/out/3.1.out b/docker_files/dgltest/out/3.1.out
deleted file mode 100644
index d2a9b4e..0000000
--- a/docker_files/dgltest/out/3.1.out
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "serverTimeMs": 175,
- "count": 1
-} \ No newline at end of file
diff --git a/docker_files/dgltest/out/3.2.out b/docker_files/dgltest/out/3.2.out
deleted file mode 100644
index 0637a08..0000000
--- a/docker_files/dgltest/out/3.2.out
+++ /dev/null
@@ -1 +0,0 @@
-[] \ No newline at end of file
diff --git a/docker_files/dgltest/out/3.3.out b/docker_files/dgltest/out/3.3.out
deleted file mode 100644
index ed2a213..0000000
--- a/docker_files/dgltest/out/3.3.out
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "serverTimeMs": 3,
- "count": 1
-} \ No newline at end of file
diff --git a/docker_files/dgltest/out/3.4.out b/docker_files/dgltest/out/3.4.out
deleted file mode 100644
index f58f5f7..0000000
--- a/docker_files/dgltest/out/3.4.out
+++ /dev/null
@@ -1 +0,0 @@
-["{\"datestamp\":\"Wed Dec 14 06:14:35 UTC 2016\",\"value\":\"this is a test\",\"key\":\"3.3\"}"] \ No newline at end of file
diff --git a/docker_files/dgltest/regress.sh b/docker_files/dgltest/regress.sh
deleted file mode 100755
index 758dd7c..0000000
--- a/docker_files/dgltest/regress.sh
+++ /dev/null
@@ -1,113 +0,0 @@
-#!/bin/ksh
-#
-# depends on jq - https://stedolan.github.io/jq/
-
-PROTOCOL=http
-FQDN=127.0.0.1
-#vm1-message-router
-#FQDN=10.208.128.229
-PORT=3904
-URL=$PROTOCOL://$FQDN:$PORT
-
-rm -f out/*
-mkdir -p out
-
-results() {
-# echo "[debug] compare $1 to $2"
- if [ $1 == $2 ]
- then
- echo -n "SUCCESS "
- else
- echo -n "FAIL ($1) "
- fi
- echo " :TEST $3 ($4)"
-}
-SUITE=0
-SUITE=$((SUITE + 1))
-echo "SUITE $SUITE: List topics"
-TN=0
-TN=$((TN + 1))
-TC=$SUITE.$TN
-expect=200
-rc=`curl -s -w "%{http_code}" -o out/$TC.out $URL/topics`
-results $rc $expect $TC "list"
-StartTopicCount=`cat out/$TC.out | wc -l`
-
-
-SUITE=$((SUITE + 1))
-echo
-echo "SUITE $SUITE: APIKEY authenticated topic"
-TOPIC=Topic-$$-$SUITE
-TN=0
-TN=$((TN + 1))
-TC=$SUITE.$TN
-OUT=out/$TC.out
-echo '{ "email": "no.email", "description": "request for direct response KEY" }' > key.req
-rc=`curl -s -w "%{http_code}" -o out/$TC.out -X POST -H "Content-Type: application/json" -d @key.req $URL/apiKeys/create`
-results $rc $expect $SUITE.$TN "gen apikey "
-TN=$((TN + 1))
-TC=$SUITE.$TN
-SECRET=$(jq ".secret" $OUT | cut -f 2 -d \")
-KEY=$(jq ".key" $OUT | cut -f 2 -d \")
-TIME=`date --iso-8601=seconds`
-SIG=$(echo -n "$TIME" | openssl sha1 -hmac $SECRET -binary | openssl base64)
-xAUTH=$KEY:$SIG
-#echo "[debug] $SECRET $KEY $TIME $SIG $xAUTH"
-DATA=data.$TC.json
-echo "{ \"topicName\": \"$TOPIC\", \"topicDescription\": \"topic for test $TC\", \"partitionCount\": \"1\", \"replicationCount\": \"1\", \"transactionEnabled\": \"true\" }" > $DATA
-rc=`curl -s -w "%{http_code}" -o out/$TC.out -X POST -H "Content-Type: application/json" -H "X-CambriaAuth: $xAUTH" -H "X-CambriaDate: $TIME" -d @$DATA $URL/topics/create`
-results $rc $expect $SUITE.$TN "create topic"
-TN=$((TN + 1))
-TC=$SUITE.$TN
-expect=200
-rc=`curl -s -w "%{http_code}" -o out/$TC.out $URL/topics`
-results $rc $expect $TC "list "
-TopicCnt=`cat out/$TC.out | wc -l`
-results $TopicCnt $((StartTopicCount + 1)) $TC "topic count"
-TN=$((TN + 1))
-TC=$SUITE.$TN
-expect=200
-rc=`curl -s -w "%{http_code}" -o out/$TC.out $URL/topics/$TOPIC`
-results $rc $expect $TC "list $TOPIC"
-TN=$((TN + 1))
-TC=$SUITE.$TN
-DATA=data.$TC.json
-echo "{ \"datestamp\": \"`date`\", \"appkey\": \"x100\", \"appval\": \"some value\" }" > $DATA
-rc=`curl -s -w "%{http_code}" -o out/$TC.out -X POST -H "Content-Type: application/json" -H "X-CambriaAuth: $xAUTH" -H "X-CambriaDate: $TIME" -d @$DATA $URL/events/$TOPIC`
-results $rc $expect $SUITE.$TN "pub APIKEY topic"
-TN=$((TN + 1))
-TC=$SUITE.$TN
-rc=`curl -s -w "%{http_code}" -o out/$TC.out -X GET -H "Content-Type: application/json" -H "X-CambriaAuth: $xAUTH" -H "X-CambriaDate: $TIME" $URL/events/$TOPIC/g0/u1`
-results $rc $expect $SUITE.$TN "sub APIKEY topic"
-
-
-SUITE=$((SUITE + 1))
-echo
-echo "SUITE $SUITE: anonymous topic"
-TOPIC=$$.$SUITE
-TN=0
-TN=$((TN + 1))
-TC=$SUITE.$TN
-DATA=data.$TC.txt
-echo "datestamp: `date`, key: $TC, value: this is a test " > $DATA
-expect=200
-rc=`curl -s -w "%{http_code}" -o out/$TC.out -X POST -H "Content-Type: text/plain" -d @$DATA $URL/events/$TOPIC`
-results $rc $expect $SUITE.$TN "pub text/plain"
-TN=$((TN + 1))
-TC=$SUITE.$TN
-expect=200
-rc=`curl -s -w "%{http_code}" -o out/$TC.out $URL/events/$TOPIC/group1/u$$?timeout=1000`
-results $rc $expect $SUITE.$TN "sub text/plain"
-TN=$((TN + 1))
-TC=$SUITE.$TN
-DATA=data.$TC.json
-echo "{ \"datestamp\": \"`date`\", \"key\": \"$TC\", \"value\": \"this is a test\" }" > $DATA
-expect=200
-rc=`curl -s -w "%{http_code}" -o out/$TC.out -X POST -H "Content-Type: application/json" -d @$DATA $URL/events/$TOPIC`
-results $rc $expect $SUITE.$TN "pub json"
-TN=$((TN + 1))
-TC=$SUITE.$TN
-expect=200
-rc=`curl -s -w "%{http_code}" -o out/$TC.out $URL/events/$TOPIC/group1/u$$?timeout=1000`
-results $rc $expect $SUITE.$TN "sub json"
-