-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AL-12102: rework entities as list (#467)
* AL-12102: allow setup subregion as region lvl 2 * AL-12102: update test * AL-12102: fix * AL-12102: delete es logs * AL-12102: rework entities as list
- Loading branch information
1 parent
c50fdf8
commit 6aa118b
Showing
6 changed files
with
120 additions
and
63 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
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
91 changes: 58 additions & 33 deletions
91
agent/tests/test_pipelines/expected_output/topology_region.json
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 |
---|---|---|
@@ -1,35 +1,60 @@ | ||
[ | ||
{ | ||
"bulkSerNumber": 1, | ||
"type": "REGION", | ||
"rows": { | ||
"Phnom Penh": "{\"type\": \"Province\", \"name\": \"Phnom Penh\", \"id\": \"Phnom Penh\"}", | ||
"Steung Treng": "{\"type\": \"Province\", \"name\": \"Steung Treng\", \"id\": \"Steung Treng\"}", | ||
"Preah Vihear": "{\"type\": \"Province\", \"name\": \"Preah Vihear\", \"id\": \"Preah Vihear\"}", | ||
"Svay Rieng": "{\"type\": \"Province\", \"name\": \"Svay Rieng\", \"id\": \"Svay Rieng\"}", | ||
"Siem Reap": "{\"type\": \"Province\", \"name\": \"Siem Reap\", \"id\": \"Siem Reap\"}", | ||
"Kandal": "{\"type\": \"Province\", \"name\": \"Kandal\", \"id\": \"Kandal\"}", | ||
"Pailin": "{\"type\": \"Province\", \"name\": \"Pailin\", \"id\": \"Pailin\"}", | ||
"Sihanoukville": "{\"type\": \"Province\", \"name\": \"Sihanoukville\", \"id\": \"Sihanoukville\"}", | ||
"Koh Kong": "{\"type\": \"Province\", \"name\": \"Koh Kong\", \"id\": \"Koh Kong\"}", | ||
"Kampong Speu": "{\"type\": \"Province\", \"name\": \"Kampong Speu\", \"id\": \"Kampong Speu\"}", | ||
"Mondulkiri": "{\"type\": \"Province\", \"name\": \"Mondulkiri\", \"id\": \"Mondulkiri\"}", | ||
"Kampong Cham": "{\"type\": \"Province\", \"name\": \"Kampong Cham\", \"id\": \"Kampong Cham\"}", | ||
"Kampong Thom": "{\"type\": \"Province\", \"name\": \"Kampong Thom\", \"id\": \"Kampong Thom\"}", | ||
"Takeo": "{\"type\": \"Province\", \"name\": \"Takeo\", \"id\": \"Takeo\"}", | ||
"Oddor Meanchey": "{\"type\": \"Province\", \"name\": \"Oddor Meanchey\", \"id\": \"Oddor Meanchey\"}", | ||
"Battambang": "{\"type\": \"Province\", \"name\": \"Battambang\", \"id\": \"Battambang\"}", | ||
"Pursat": "{\"type\": \"Province\", \"name\": \"Pursat\", \"id\": \"Pursat\"}", | ||
"Tboung Khmum": "{\"type\": \"Province\", \"name\": \"Tboung Khmum\", \"id\": \"Tboung Khmum\"}", | ||
"Kampong Chnnang": "{\"type\": \"Province\", \"name\": \"Kampong Chnnang\", \"id\": \"Kampong Chnnang\"}", | ||
"Ratanakiri": "{\"type\": \"Province\", \"name\": \"Ratanakiri\", \"id\": \"Ratanakiri\"}", | ||
"Prey Veng": "{\"type\": \"Province\", \"name\": \"Prey Veng\", \"id\": \"Prey Veng\"}", | ||
"Kep": "{\"type\": \"Province\", \"name\": \"Kep\", \"id\": \"Kep\"}", | ||
"Banteay Meanchey": "{\"type\": \"Province\", \"name\": \"Banteay Meanchey\", \"id\": \"Banteay Meanchey\"}", | ||
"Kratie": "{\"type\": \"Province\", \"name\": \"Kratie\", \"id\": \"Kratie\"}", | ||
"Kampot": "{\"type\": \"Province\", \"name\": \"Kampot\", \"id\": \"Kampot\"}" | ||
}, | ||
"numberOfRows": 25, | ||
"rollupId": "123456789" | ||
} | ||
] | ||
"bulkSerNumber": 1, | ||
"type": "REGION", | ||
"rows": { | ||
"Kampong ThomKampong Thom": "{\"type\": \"Province\", \"parentRegionId\": \"Kampong Thom\", \"name\": \"Kampong Thom\", \"id\": \"Kampong ThomKampong Thom\"}", | ||
"Steung Treng": "{\"type\": \"Province\", \"name\": \"Steung Treng\", \"id\": \"Steung Treng\"}", | ||
"Preah Vihear": "{\"type\": \"Province\", \"name\": \"Preah Vihear\", \"id\": \"Preah Vihear\"}", | ||
"PailinPailin": "{\"type\": \"Province\", \"parentRegionId\": \"Pailin\", \"name\": \"Pailin\", \"id\": \"PailinPailin\"}", | ||
"Svay Rieng": "{\"type\": \"Province\", \"name\": \"Svay Rieng\", \"id\": \"Svay Rieng\"}", | ||
"Phnom PenhPhnom Penh": "{\"type\": \"Province\", \"parentRegionId\": \"Phnom Penh\", \"name\": \"Phnom Penh\", \"id\": \"Phnom PenhPhnom Penh\"}", | ||
"Pailin": "{\"type\": \"Province\", \"name\": \"Pailin\", \"id\": \"Pailin\"}", | ||
"Sihanoukville": "{\"type\": \"Province\", \"name\": \"Sihanoukville\", \"id\": \"Sihanoukville\"}", | ||
"Kampong Speu": "{\"type\": \"Province\", \"name\": \"Kampong Speu\", \"id\": \"Kampong Speu\"}", | ||
"BattambangBattambang": "{\"type\": \"Province\", \"parentRegionId\": \"Battambang\", \"name\": \"Battambang\", \"id\": \"BattambangBattambang\"}", | ||
"KandalKandal": "{\"type\": \"Province\", \"parentRegionId\": \"Kandal\", \"name\": \"Kandal\", \"id\": \"KandalKandal\"}", | ||
"Preah VihearPreah Vihear": "{\"type\": \"Province\", \"parentRegionId\": \"Preah Vihear\", \"name\": \"Preah Vihear\", \"id\": \"Preah VihearPreah Vihear\"}", | ||
"Steung TrengSteung Treng": "{\"type\": \"Province\", \"parentRegionId\": \"Steung Treng\", \"name\": \"Steung Treng\", \"id\": \"Steung TrengSteung Treng\"}", | ||
"Mondulkiri": "{\"type\": \"Province\", \"name\": \"Mondulkiri\", \"id\": \"Mondulkiri\"}", | ||
"KampotKampot": "{\"type\": \"Province\", \"parentRegionId\": \"Kampot\", \"name\": \"Kampot\", \"id\": \"KampotKampot\"}", | ||
"Koh KongKoh Kong": "{\"type\": \"Province\", \"parentRegionId\": \"Koh Kong\", \"name\": \"Koh Kong\", \"id\": \"Koh KongKoh Kong\"}", | ||
"MondulkiriMondulkiri": "{\"type\": \"Province\", \"parentRegionId\": \"Mondulkiri\", \"name\": \"Mondulkiri\", \"id\": \"MondulkiriMondulkiri\"}", | ||
"Kampong ChamKampong Cham": "{\"type\": \"Province\", \"parentRegionId\": \"Kampong Cham\", \"name\": \"Kampong Cham\", \"id\": \"Kampong ChamKampong Cham\"}", | ||
"Oddor MeancheyOddor Meanchey": "{\"type\": \"Province\", \"parentRegionId\": \"Oddor Meanchey\", \"name\": \"Oddor Meanchey\", \"id\": \"Oddor MeancheyOddor Meanchey\"}", | ||
"Oddor Meanchey": "{\"type\": \"Province\", \"name\": \"Oddor Meanchey\", \"id\": \"Oddor Meanchey\"}", | ||
"Battambang": "{\"type\": \"Province\", \"name\": \"Battambang\", \"id\": \"Battambang\"}", | ||
"Tboung Khmum": "{\"type\": \"Province\", \"name\": \"Tboung Khmum\", \"id\": \"Tboung Khmum\"}", | ||
"Kampong ChnnangKampong Chnnang": "{\"type\": \"Province\", \"parentRegionId\": \"Kampong Chnnang\", \"name\": \"Kampong Chnnang\", \"id\": \"Kampong ChnnangKampong Chnnang\"}", | ||
"TakeoTakeo": "{\"type\": \"Province\", \"parentRegionId\": \"Takeo\", \"name\": \"Takeo\", \"id\": \"TakeoTakeo\"}", | ||
"Ratanakiri": "{\"type\": \"Province\", \"name\": \"Ratanakiri\", \"id\": \"Ratanakiri\"}", | ||
"Prey Veng": "{\"type\": \"Province\", \"name\": \"Prey Veng\", \"id\": \"Prey Veng\"}", | ||
"Kep": "{\"type\": \"Province\", \"name\": \"Kep\", \"id\": \"Kep\"}", | ||
"Banteay Meanchey": "{\"type\": \"Province\", \"name\": \"Banteay Meanchey\", \"id\": \"Banteay Meanchey\"}", | ||
"PursatPursat": "{\"type\": \"Province\", \"parentRegionId\": \"Pursat\", \"name\": \"Pursat\", \"id\": \"PursatPursat\"}", | ||
"Kampot": "{\"type\": \"Province\", \"name\": \"Kampot\", \"id\": \"Kampot\"}", | ||
"Kampong SpeuKampong Speu": "{\"type\": \"Province\", \"parentRegionId\": \"Kampong Speu\", \"name\": \"Kampong Speu\", \"id\": \"Kampong SpeuKampong Speu\"}", | ||
"Banteay MeancheyBanteay Meanchey": "{\"type\": \"Province\", \"parentRegionId\": \"Banteay Meanchey\", \"name\": \"Banteay Meanchey\", \"id\": \"Banteay MeancheyBanteay Meanchey\"}", | ||
"Phnom Penh": "{\"type\": \"Province\", \"name\": \"Phnom Penh\", \"id\": \"Phnom Penh\"}", | ||
"Prey VengPrey Veng": "{\"type\": \"Province\", \"parentRegionId\": \"Prey Veng\", \"name\": \"Prey Veng\", \"id\": \"Prey VengPrey Veng\"}", | ||
"Siem ReapSiem Reap": "{\"type\": \"Province\", \"parentRegionId\": \"Siem Reap\", \"name\": \"Siem Reap\", \"id\": \"Siem ReapSiem Reap\"}", | ||
"SihanoukvilleSihanoukville": "{\"type\": \"Province\", \"parentRegionId\": \"Sihanoukville\", \"name\": \"Sihanoukville\", \"id\": \"SihanoukvilleSihanoukville\"}", | ||
"Siem Reap": "{\"type\": \"Province\", \"name\": \"Siem Reap\", \"id\": \"Siem Reap\"}", | ||
"Kandal": "{\"type\": \"Province\", \"name\": \"Kandal\", \"id\": \"Kandal\"}", | ||
"Koh Kong": "{\"type\": \"Province\", \"name\": \"Koh Kong\", \"id\": \"Koh Kong\"}", | ||
"Kampong Cham": "{\"type\": \"Province\", \"name\": \"Kampong Cham\", \"id\": \"Kampong Cham\"}", | ||
"Svay RiengSvay Rieng": "{\"type\": \"Province\", \"parentRegionId\": \"Svay Rieng\", \"name\": \"Svay Rieng\", \"id\": \"Svay RiengSvay Rieng\"}", | ||
"Kampong Thom": "{\"type\": \"Province\", \"name\": \"Kampong Thom\", \"id\": \"Kampong Thom\"}", | ||
"Takeo": "{\"type\": \"Province\", \"name\": \"Takeo\", \"id\": \"Takeo\"}", | ||
"Pursat": "{\"type\": \"Province\", \"name\": \"Pursat\", \"id\": \"Pursat\"}", | ||
"Kampong Chnnang": "{\"type\": \"Province\", \"name\": \"Kampong Chnnang\", \"id\": \"Kampong Chnnang\"}", | ||
"KratieKratie": "{\"type\": \"Province\", \"parentRegionId\": \"Kratie\", \"name\": \"Kratie\", \"id\": \"KratieKratie\"}", | ||
"RatanakiriRatanakiri": "{\"type\": \"Province\", \"parentRegionId\": \"Ratanakiri\", \"name\": \"Ratanakiri\", \"id\": \"RatanakiriRatanakiri\"}", | ||
"Kratie": "{\"type\": \"Province\", \"name\": \"Kratie\", \"id\": \"Kratie\"}", | ||
"Tboung KhmumTboung Khmum": "{\"type\": \"Province\", \"parentRegionId\": \"Tboung Khmum\", \"name\": \"Tboung Khmum\", \"id\": \"Tboung KhmumTboung Khmum\"}", | ||
"KepKep": "{\"type\": \"Province\", \"parentRegionId\": \"Kep\", \"name\": \"Kep\", \"id\": \"KepKep\"}" | ||
}, | ||
"numberOfRows": 50, | ||
"rollupId": "123456789" | ||
} | ||
] |