README
Skeleton OAS server implementation for MEF Presto.
Generate
swagger generate server -f presto-nrp.yaml -A presto
Deps
go get -u -f ./...
Install
go install github.com/damianoneill/presto/...
Run
$ presto-server --port=8080
2018/11/14 18:44:36 Serving presto at http://127.0.0.1:8080
Test
$ curl http://127.0.0.1:8080/restconf/data/context
<string>operation tapi_common.GetDataContext has not yet been implemented</string>
Docker
Build image
docker build -t presto-server .
Run image
docker run -p 8080:8080 --name presto presto-server