-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow updating entities' IDs while keeping their names
- Loading branch information
Showing
12 changed files
with
558 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
tests/integration/testdata/sync/020-same-names-altered-ids/1-before.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
_format_version: "3.0" | ||
services: | ||
- id: 18076db2-28b6-423b-ba39-a797193017f7 # Changing ID, | ||
name: s1 # leaving the same name. | ||
host: "mockbin.org" | ||
routes: | ||
- id: 17b6a97e-f3f7-4c47-857a-7464cb9e202b # Changing ID, | ||
name: r1 # leaving the same name. | ||
paths: | ||
- /r1 | ||
consumers: | ||
- id: 5a1e49a8-2536-41fa-a4e9-605bf218a4fa # Changing ID, | ||
username: c1 # leaving the same name. | ||
plugins: | ||
- name: rate-limiting | ||
config: | ||
second: 1 | ||
service: s1 | ||
- name: rate-limiting | ||
config: | ||
second: 1 | ||
route: r1 | ||
- name: rate-limiting | ||
config: | ||
second: 1 | ||
consumer: c1 |
26 changes: 26 additions & 0 deletions
26
tests/integration/testdata/sync/020-same-names-altered-ids/2-before.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
_format_version: "3.0" | ||
services: | ||
- id: 18076db2-28b6-423b-ba39-a797193017f7 # Changing ID, | ||
name: s1 # leaving the same name. | ||
host: "mockbin.org" | ||
routes: | ||
- id: 97b6a97e-f3f7-4c47-857a-7464cb9e202b | ||
name: r1 | ||
paths: | ||
- /r1 | ||
consumers: | ||
- id: 5a1e49a8-2536-41fa-a4e9-605bf218a4fa # Changing ID, | ||
username: c1 # leaving the same name. | ||
plugins: | ||
- name: rate-limiting | ||
config: | ||
second: 1 | ||
service: s1 | ||
- name: rate-limiting | ||
config: | ||
second: 1 | ||
route: r1 | ||
- name: rate-limiting | ||
config: | ||
second: 1 | ||
consumer: c1 |
Oops, something went wrong.