zhaijack commented on a change in pull request #521: Issue 520: Add more http endpoint URL: https://github.com/apache/bookkeeper/pull/521#discussion_r141543251
########## File path: bookkeeper-http/http-server/src/main/java/org/apache/bookkeeper/http/HttpRouter.java ########## @@ -32,12 +32,61 @@ // Define endpoints here. public static final String HEARTBEAT = "/heartbeat"; public static final String SERVER_CONFIG = "/api/v1/config/server_config"; + // bookkeeper + public static final String LIST_BOOKIES = "/api/v1/bookkeeper/list_bookies"; + public static final String UPDATE_COOKIE = "/api/v1/bookkeeper/update_cookie"; + // ledger + public static final String DELETE_LEDGER = "/api/v1/ledger/delete"; + public static final String LIST_LEDGER = "/api/v1/ledger/list"; + public static final String GET_LEDGER_META = "/api/v1/ledger/metadata"; + public static final String READ_LEDGER_ENTRY = "/api/v1/ledger/read"; + // bookie + public static final String LIST_BOOKIE_INFO = "/api/v1/bookie/list_bookie_info"; + public static final String LAST_LOG_MARK = "/api/v1/bookie/last_log_mark"; + public static final String LIST_DISK_FILE = "/api/v1/bookie/list_disk_file"; + public static final String READ_ENTRY_LOG = "/api/v1/bookie/read_entry_log"; + public static final String READ_JOURNAL_FILE = "/api/v1/bookie/read_journal_file"; + public static final String EXPEND_STORAGE = "/api/v1/bookie/expend_storage"; Review comment: Thanks. right. have already changed it. seems it is from an old version. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
