added cluster and warehouse APIs