]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Consolidate codecs; views, buffer::list, etc..
authorJesse F. Williamson <1643380+chardan@users.noreply.github.com>
Sat, 4 Jan 2025 01:41:24 +0000 (17:41 -0800)
committerJesse F. Williamson <jfw@ibm.com>
Mon, 17 Mar 2025 17:41:27 +0000 (10:41 -0700)
commit08d98617bf32808634e22dead0e6bc3a1c44a4a3
treee321be6d7070d2ceda828348360ac987c1dfd030
parentcc93db84c17861acfcc35d45fdcd38894acf2c62
Consolidate codecs; views, buffer::list, etc..

Move JSON encoding from source file into inline header functions;
reorganize. Consolidate mostly-similar implementations with templates.

Allow string_view, buffer::list to ceph_json parse(); drive-by
cleanups. Assorted extensions (string_view for most search functions,
etc.)

Signed-off-by: Jesse F. Williamson <jfw@ibm.com>
21 files changed:
src/common/ceph_json.cc
src/common/ceph_json.h
src/mgr/Mgr.cc
src/mgr/MgrContext.h
src/rgw/rgw_acl_swift.cc
src/rgw/rgw_auth_keystone.cc
src/rgw/rgw_common.cc
src/rgw/rgw_keystone.cc
src/rgw/rgw_metadata.cc
src/rgw/rgw_op.cc
src/rgw/rgw_op.h
src/rgw/rgw_opa.cc
src/rgw/rgw_period_puller.cc
src/rgw/rgw_policy_s3.cc
src/rgw/rgw_rest.h
src/rgw/rgw_rest_conn.h
src/rgw/rgw_rest_role.cc
src/rgw/rgw_rest_sts.cc
src/rgw/rgw_token.h
src/test/common/test_json_formattable.cc
src/test/common/test_json_formatter.cc