cablelabs / lpwanserver

LPWAN Provisioning & Management Server
https://lpwanserver.com
Apache License 2.0
37 stars 11 forks source link

Issue 321 #340

Closed rhythnic closed 5 years ago

rhythnic commented 5 years ago

What does this PR do?

Do you have any concerns with this PR?

Merging this PR will make the v2 branch similar to the v1 API, but without companies. Unit and API tests are passing. I haven't worked on the e2e tests yet. I just wanted to get this code in before switching contexts.

How can the reviewer verify this PR?

The PR is very large, but I would instead look at branch issue-321. The models, rest-server, and networkProtocols folders were the main areas of focus.

Any background context you want to provide?

I added jest for running unit tests because it's much easier to mock dependencies in Jest than Mocha. I plan to migrate the other tests to Jest.

Screenshots or logs (if appropriate)

Questions: