add support for simple (non-Flux) types

add objectToStringHttpMessageConverter

CompilerController accepts parameterized types
This commit is contained in:
markfisher
2017-02-20 10:31:22 -05:00
parent 22cab6a3f1
commit 19fd056a5e
30 changed files with 717 additions and 83 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
while getopts ":n:f:" opt; do
while getopts ":n:f:i:o:" opt; do
case $opt in
n)
NAME=$OPTARG
@@ -8,7 +8,14 @@ while getopts ":n:f:" opt; do
f)
FUNC=$OPTARG
;;
i)
INTYPE=$OPTARG
;;
o)
OUTTYPE=$OPTARG
;;
esac
done
curl -X POST -H "Content-Type: text/plain" -d $FUNC :8080/function/$NAME
curl -X POST -H "Content-Type: text/plain" -d $FUNC ":8080/function/$NAME?inputType=$INTYPE&outputType=$OUTTYPE"

View File

@@ -1,6 +1,6 @@
#!/bin/bash
while getopts ":n:f:" opt; do
while getopts ":n:f:t:" opt; do
case $opt in
n)
NAME=$OPTARG
@@ -8,7 +8,10 @@ while getopts ":n:f:" opt; do
f)
FUNC=$OPTARG
;;
t)
TYPE=$OPTARG
;;
esac
done
curl -X POST -H "Content-Type: text/plain" -d $FUNC :8080/supplier/$NAME
curl -X POST -H "Content-Type: text/plain" -d $FUNC :8080/supplier/$NAME?type=$TYPE