Commit 210b7c1
committed
feat: add @JsonProperty annotations for ApsaraGatewayConfig and pass regionId header
- Add @JsonProperty annotations to xAcs* fields in ApsaraGatewayConfig
to ensure correct JSON serialization/deserialization
- Add x-acs-regionId header in ApsaraGatewayClient when regionId is configured1 parent 279c38a commit 210b7c1
File tree
2 files changed
+12
-0
lines changed- himarket-dal/src/main/java/com/alibaba/himarket/support/gateway
- himarket-server/src/main/java/com/alibaba/himarket/service/gateway/client
2 files changed
+12
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
| 49 | + | |
47 | 50 | | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
| 57 | + | |
| 58 | + | |
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
| |||
himarket-server/src/main/java/com/alibaba/himarket/service/gateway/client/ApsaraGatewayClient.java
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
464 | 464 | | |
465 | 465 | | |
466 | 466 | | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
467 | 470 | | |
468 | 471 | | |
469 | 472 | | |
| |||
0 commit comments