]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:32 +0000 (15:47 -0400)
commitcf160da17849ef12b01c27b8ac9718d70c62e048
treeb0f640e7d70ec8aa3185fc3830f127465c5aec21
parent1c2e290fbc7caa0a18ada0c9a711ac7f673d7ebc
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]