Skip to content

Conversation

@dwhite-nuodb
Copy link
Contributor

Since 4.1, there was a merge issue that made the REST server fail when started. The merge error was removed, but really the integration of the REST server as a singleton was changed, now relying on the nature of caching files with the request directive. The goal is to allow different parts of the driver or extensions to the code, like the multiplexer, can register functions for the REST interface to provide. Later driver releases will continue to add commands provided the REST server is accepted by 3DMessaging. For the time being the REST server remains a preview feature just for their trial usage.

In order to avoid basics of REST server problems, a test was added to make a REST call to shutdown the server. This will at least show the REST server mechanics are operational. The REST server can be triggered by an environment variable NUODB_NODEJS_REST=true, which has been added as the default in .env file that is loaded when commands are sent to docker for execution.

The connection tests were written in a way that had the mocha describe function that were used inside "it" functions. This is not expected, and results in strangely ordered test output. The tests were rewritten to change their scoping.

…utdown test. Cleanup tests that had mocha describe functions inner to it functions, making output hard to understand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants