]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | // -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*- |
9f95a23c | 2 | // vim: ts=8 sw=2 smarttab ft=cpp |
7c673cae FG |
3 | |
4 | #include "rgw_common.h" | |
11fdf7f2 | 5 | #include "rgw_zone.h" |
7c673cae FG |
6 | #include "rgw_log.h" |
7 | #include "rgw_acl.h" | |
8 | #include "rgw_acl_s3.h" | |
9 | #include "rgw_cache.h" | |
10 | #include "rgw_bucket.h" | |
f67539c2 | 11 | #include "rgw_datalog.h" |
7c673cae FG |
12 | #include "rgw_keystone.h" |
13 | #include "rgw_basic_types.h" | |
14 | #include "rgw_op.h" | |
b32b8144 | 15 | #include "rgw_data_sync.h" |
7c673cae FG |
16 | #include "rgw_sync.h" |
17 | #include "rgw_orphan.h" | |
9f95a23c TL |
18 | #include "rgw_bucket_sync.h" |
19 | #include "rgw_tools.h" | |
7c673cae FG |
20 | |
21 | #include "common/ceph_json.h" | |
22 | #include "common/Formatter.h" | |
23 | ||
24 | #define dout_context g_ceph_context | |
25 | #define dout_subsys ceph_subsys_rgw | |
26 | ||
20effc67 | 27 | using namespace std; |
11fdf7f2 TL |
28 | |
29 | void decode_json_obj(rgw_placement_rule& v, JSONObj *obj) | |
30 | { | |
31 | string s; | |
32 | decode_json_obj(s, obj); | |
33 | v.from_str(s); | |
34 | } | |
35 |