esha / hnoss

Genesis API Demo
0 stars 0 forks source link

Create JSON mock endpoint #1

Open nbubna opened 7 years ago

nbubna commented 7 years ago

We need some mock JSON service (or files served locally by express or the like) that we can have Hnoss talk to while we await an official Freyja deployment on Azure

rodarthur commented 7 years ago

One file is in. I put it in the src folder, because I have no idea where else it should be going. The column names are mostly fine, but the data is bonkers right now. Don't have a data generator which can allow for more custom data types. Maybe I'll build one.

nbubna commented 7 years ago

I see a mock JSON file, but no endpoint that we can talk to over HTTP. :) We still need to set up a little server to talk to. Probably easiest to use node+express, like the wsdemo does. Or it might be that SoapUI can do mocks for JSON too. I haven't gotten that far.

I'm going to go ahead and assign this to me to look into the SoapUI possibilities tomorrow, unless you're eager to do some node+express.