8000 Added actions to admin by hkernbach · Pull Request #6 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Added actions to admin #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 6, 2011
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
added actions to admin
  • Loading branch information
hkernbach committed Dec 6, 2011
commit c2375cda3c68ca8af181be6bd09003f5c2a00204
5 changes: 4 additions & 1 deletion RestServer/AvocadoServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,10 @@ int AvocadoServer::startupServer () {
_applicationAdminServer->addBasicHandlers(adminFactory);
_applicationAdminServer->addHandlers(adminFactory, "/admin");

_adminHttpServer = _applicationHttpServer->buildServer(adminFactory, adminPorts);
adminFactory->addPrefixHandler(RestVocbaseBaseHandler::DOCUMENT_PATH, RestHandlerCreator<RestDocumentHandler>::createData<TRI_vocbase_t*>, _vocbase);
admin 4D3A Factory->addPrefixHandler(RestVocbaseBaseHandler::ACTION_PATH, RestHandlerCreator<RestActionHandler>::createData<TRI_vocbase_t*>, _vocbase);

_adminHttpServer = _applicationHttpServer->buildServer(new AvocadoHttpServer(scheduler, dispatcher), adminFactory, adminPorts);
}

// .............................................................................
Expand Down
0