[
https://issues.apache.org/jira/browse/BOOKKEEPER-1100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16062211#comment-16062211
]
ASF GitHub Bot commented on BOOKKEEPER-1100:
--------------------------------------------
GitHub user yzang opened a pull request:
https://github.com/apache/bookkeeper/pull/210
BOOKKEEPER-1100: Add Http Server for Bookkeeper
BOOKKEEPER-1100:
Provide a general interface for HttpServer, which can be easily implemented
by different HTTP frameworks.
This change include two implementations of HttpServer, one is TwitterServer
and another one is Vertx.
Provide a general AbstractHandlerFactory, which is able to create handlers
to handler different http apis,
and is able to be implemented for different HTTP frameworks.
Provide a service level classes, which include all the logics that http
handlers will use.
Add test case for HttpServer
Descriptions of the changes in this PR:
xxxxxx
---
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
- [ ] Make sure the PR title is formatted like:
`<Issue #>: Description of pull request`
`e.g. Issue 123: Description ...`
- [ ] Make sure tests pass via `mvn clean apache-rat:check install
findbugs:check`.
- [ ] Replace `<Issue #>` in the title with the actual Issue number, if
there is one.
---
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yzang/bookkeeper
yzang/http/yzang/BOOKKEEPER-1100
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/bookkeeper/pull/210.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #210
----
commit 4ba1bf02b43a8cbe6357ee3d9e655ffa76351571
Author: Yiming Zang <[email protected]>
Date: 2017-06-25T03:29:52Z
Add Http Server for Bookkeeper.
Provide a general interface for HttpServer, which can be easily implemented
by different HTTP frameworks.
This change include two implementations of HttpServer, one is TwitterServer
and another one is Vertx.
Provide a general AbstractHandlerFactory, which is able to create handlers
to handler different http apis,
and is able to be implemented for different HTTP frameworks.
Provide a service level classes, which include all the logics that http
handlers will use.
Add test case for HttpServer
----
> Add Http Endpoint for Bookkeeper
> --------------------------------
>
> Key: BOOKKEEPER-1100
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-1100
> Project: Bookkeeper
> Issue Type: New Feature
> Components: bookkeeper-server
> Affects Versions: 4.5.0
> Reporter: Yiming Zang
> Assignee: Yiming Zang
> Fix For: 4.5.0
>
>
> Add a Http Server Component for Bookkeeper.
> It would be great that Bookkeeper can have an Http Server to expose some
> useful APIs. We can expose and manage the server status, server
> configuration, lifecycle states, query or trigger auto recovery through HTTP
> Endpoint, or even trigger GC and compaction over Http Endpoint.
> This ticket is mainly to add a Http framework for Bookkeeper, so that we can
> extend more useful APIs based on the existing Http framework.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)