]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: add custom json encode/decode for the v1 notify API
authorCasey Bodley <cbodley@redhat.com>
Tue, 23 Feb 2021 19:55:50 +0000 (14:55 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 27 Apr 2022 19:50:57 +0000 (15:50 -0400)
commite0b0cf513b247ad5114395a5bbe9a45747ea650b
tree394ffd0fdd8ecd5a1e15376d4ad6edccdcc2c60b
parentb81894356c79e01fa9f2d9bf400eb6df7043814a
rgw: add custom json encode/decode for the v1 notify API

this adds wrapper structs rgw_data_notify_v1_encoder and
rgw_data_notify_v1_decoder that can encode/decode the v1 json format
directly on the v2 data structure

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/common/ceph_json.h
src/rgw/CMakeLists.txt
src/rgw/rgw_data_sync.cc
src/rgw/rgw_datalog.h
src/rgw/rgw_datalog_notify.cc [new file with mode: 0644]
src/rgw/rgw_datalog_notify.h [new file with mode: 0644]