MXS-1220: Add simple functionality to resources

The resources now properly process parts of the uri. This allows, for
example, certain sessions to be inspected. The current functionality is
only intended for testing and provides no useful functionality.

The actions taken by the resource manager are not done via the
inter-thread messaging system. When the implementation of the messages and
the JSON representation of the resources is done, the REST API resource
can actually be used.
This commit is contained in:
Markus Mäkelä
2017-04-17 11:44:30 +03:00
committed by Markus Mäkelä
parent 900bf2db5a
commit b975518996
2 changed files with 152 additions and 7 deletions

View File

@ -993,4 +993,4 @@ void session_clear_stmt(MXS_SESSION *session)
uint32_t session_get_next_id()
{
return atomic_add_uint32(&next_session_id, 1);
}
}