nicoloboschi opened a new pull request #2457:
URL: https://github.com/apache/bookkeeper/pull/2457


   Implementation of BP-42
   
   ### Motivation
   Enhance new client API, added methods for
   - listing ledgers
   - access to ledger metadata
   
   ### Changes
   
   - Added new interfaces in "api" client package for ledgers listing
   - Added new method `getLedgerMetadata(long ledgerId)` to BookKeeper interface
   - Added `getLedgerId()` to LedgerMetadata type
   -- Ledger metadata ser/deser are not changed since ledgerId is not stored 
inside ZK data node 
   
   Updated all tests using `LedgerMetadataBuilder` because ledgerId is now 
required in order to call `build()` method
   
   Master Issue: #2422 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to