1

We will be building a Java/JS client that reads data from a server through ODATA.

What will be the easiest way to setup a stubbed ODATA server for our development and testing purposes. In the REST world I would have gone with MounteBank. Even this is doable using mountebank, only issue will be that i have to hard code all possible queries as a separate endpoint.

Is there a simpler way to do this?

Prasanna
  • 10,956
  • 2
  • 28
  • 40

1 Answers1

0

After some research, figured out these two options.

  1. https://github.com/TossShinHwa/node-odata

This supports v4.

  1. https://github.com/htammen/n-odata-server

This supports v2.

The downside of both these libraries is that they don't support all the ODATA functions. But, decent enough to start with.

Prasanna
  • 10,956
  • 2
  • 28
  • 40