From a0e2df2a248f00f32404bd6dc1187fdae3748181 Mon Sep 17 00:00:00 2001 From: arsforza Date: Thu, 14 Mar 2024 19:34:30 +0100 Subject: [PATCH] refactor: add perc to trigger scenario AB#26938 --- ...load-population_affected_percentage-2.json | 34 ++ ...load-population_affected_percentage-3.json | 50 +++ ...load-population_affected_percentage-4.json | 394 +++++++++++++++++ ...load-population_affected_percentage-2.json | 26 ++ ...load-population_affected_percentage-3.json | 34 ++ ...load-population_affected_percentage-4.json | 414 ++++++++++++++++++ ...load-population_affected_percentage-2.json | 10 + ...load-population_affected_percentage-3.json | 14 + ...load-population_affected_percentage-4.json | 102 +++++ 9 files changed, 1078 insertions(+) create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-2.json create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-3.json create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-4.json create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-2.json create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-3.json create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-4.json create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-2.json create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-3.json create mode 100644 services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-4.json diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-2.json new file mode 100644 index 0000000000..6e674108da --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-2.json @@ -0,0 +1,34 @@ +[ + { + "placeCode": "21UGA003004", + "amount": null + }, + { + "placeCode": "21UGA003005", + "amount": null + }, + { + "placeCode": "21UGA003006", + "amount": null + }, + { + "placeCode": "21UGA003007", + "amount": null + }, + { + "placeCode": "21UGA005001", + "amount": null + }, + { + "placeCode": "21UGA005003", + "amount": null + }, + { + "placeCode": "21UGA005006", + "amount": null + }, + { + "placeCode": "21UGA005011", + "amount": null + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-3.json new file mode 100644 index 0000000000..ec384c8554 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-3.json @@ -0,0 +1,50 @@ +[ + { + "placeCode": "UG203001", + "amount": null + }, + { + "placeCode": "UG203002", + "amount": null + }, + { + "placeCode": "UG203701", + "amount": null + }, + { + "placeCode": "UG203801", + "amount": null + }, + { + "placeCode": "UG204301", + "amount": null + }, + { + "placeCode": "UG204801", + "amount": null + }, + { + "placeCode": "UG205701", + "amount": null + }, + { + "placeCode": "UG205901", + "amount": null + }, + { + "placeCode": "UG205902", + "amount": null + }, + { + "placeCode": "UG206301", + "amount": null + }, + { + "placeCode": "UG206302", + "amount": null + }, + { + "placeCode": "UG206303", + "amount": null + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-4.json new file mode 100644 index 0000000000..de4b4022f2 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5075/upload-population_affected_percentage-4.json @@ -0,0 +1,394 @@ +[ + { + "placeCode": "UG20300101", + "amount": null + }, + { + "placeCode": "UG20300102", + "amount": null + }, + { + "placeCode": "UG20300201", + "amount": null + }, + { + "placeCode": "UG20300202", + "amount": null + }, + { + "placeCode": "UG20300203", + "amount": null + }, + { + "placeCode": "UG20300204", + "amount": null + }, + { + "placeCode": "UG20300205", + "amount": null + }, + { + "placeCode": "UG20300206", + "amount": null + }, + { + "placeCode": "UG20300207", + "amount": null + }, + { + "placeCode": "UG20300208", + "amount": null + }, + { + "placeCode": "UG20300209", + "amount": null + }, + { + "placeCode": "UG20300210", + "amount": null + }, + { + "placeCode": "UG20370101", + "amount": null + }, + { + "placeCode": "UG20370102", + "amount": null + }, + { + "placeCode": "UG20370103", + "amount": null + }, + { + "placeCode": "UG20370104", + "amount": null + }, + { + "placeCode": "UG20370105", + "amount": null + }, + { + "placeCode": "UG20370106", + "amount": null + }, + { + "placeCode": "UG20380101", + "amount": null + }, + { + "placeCode": "UG20380102", + "amount": null + }, + { + "placeCode": "UG20380103", + "amount": null + }, + { + "placeCode": "UG20380104", + "amount": null + }, + { + "placeCode": "UG20380105", + "amount": null + }, + { + "placeCode": "UG20380106", + "amount": null + }, + { + "placeCode": "UG20430101", + "amount": null + }, + { + "placeCode": "UG20430102", + "amount": null + }, + { + "placeCode": "UG20430103", + "amount": null + }, + { + "placeCode": "UG20430104", + "amount": null + }, + { + "placeCode": "UG20430105", + "amount": null + }, + { + "placeCode": "UG20430106", + "amount": null + }, + { + "placeCode": "UG20430107", + "amount": null + }, + { + "placeCode": "UG20430108", + "amount": null + }, + { + "placeCode": "UG20430109", + "amount": null + }, + { + "placeCode": "UG20430110", + "amount": null + }, + { + "placeCode": "UG20430111", + "amount": null + }, + { + "placeCode": "UG20430112", + "amount": null + }, + { + "placeCode": "UG20480101", + "amount": null + }, + { + "placeCode": "UG20480102", + "amount": null + }, + { + "placeCode": "UG20480103", + "amount": null + }, + { + "placeCode": "UG20480104", + "amount": null + }, + { + "placeCode": "UG20480105", + "amount": null + }, + { + "placeCode": "UG20480106", + "amount": null + }, + { + "placeCode": "UG20480107", + "amount": null + }, + { + "placeCode": "UG20480108", + "amount": null + }, + { + "placeCode": "UG20480109", + "amount": null + }, + { + "placeCode": "UG20480110", + "amount": null + }, + { + "placeCode": "UG20480111", + "amount": null + }, + { + "placeCode": "UG20480112", + "amount": null + }, + { + "placeCode": "UG20480113", + "amount": null + }, + { + "placeCode": "UG20480114", + "amount": null + }, + { + "placeCode": "UG20480115", + "amount": null + }, + { + "placeCode": "UG20480116", + "amount": null + }, + { + "placeCode": "UG20480117", + "amount": null + }, + { + "placeCode": "UG20570101", + "amount": null + }, + { + "placeCode": "UG20570102", + "amount": null + }, + { + "placeCode": "UG20570103", + "amount": null + }, + { + "placeCode": "UG20570104", + "amount": null + }, + { + "placeCode": "UG20570105", + "amount": null + }, + { + "placeCode": "UG20570106", + "amount": null + }, + { + "placeCode": "UG20570107", + "amount": null + }, + { + "placeCode": "UG20570108", + "amount": null + }, + { + "placeCode": "UG20570109", + "amount": null + }, + { + "placeCode": "UG20570110", + "amount": null + }, + { + "placeCode": "UG20590101", + "amount": null + }, + { + "placeCode": "UG20590102", + "amount": null + }, + { + "placeCode": "UG20590201", + "amount": null + }, + { + "placeCode": "UG20590202", + "amount": null + }, + { + "placeCode": "UG20590203", + "amount": null + }, + { + "placeCode": "UG20590204", + "amount": null + }, + { + "placeCode": "UG20590205", + "amount": null + }, + { + "placeCode": "UG20590206", + "amount": null + }, + { + "placeCode": "UG20590207", + "amount": null + }, + { + "placeCode": "UG20590208", + "amount": null + }, + { + "placeCode": "UG20590209", + "amount": null + }, + { + "placeCode": "UG20590210", + "amount": null + }, + { + "placeCode": "UG20590211", + "amount": null + }, + { + "placeCode": "UG20590212", + "amount": null + }, + { + "placeCode": "UG20630101", + "amount": null + }, + { + "placeCode": "UG20630102", + "amount": null + }, + { + "placeCode": "UG20630103", + "amount": null + }, + { + "placeCode": "UG20630104", + "amount": null + }, + { + "placeCode": "UG20630105", + "amount": null + }, + { + "placeCode": "UG20630106", + "amount": null + }, + { + "placeCode": "UG20630107", + "amount": null + }, + { + "placeCode": "UG20630201", + "amount": null + }, + { + "placeCode": "UG20630202", + "amount": null + }, + { + "placeCode": "UG20630301", + "amount": null + }, + { + "placeCode": "UG20630302", + "amount": null + }, + { + "placeCode": "UG20630303", + "amount": null + }, + { + "placeCode": "UG20630304", + "amount": null + }, + { + "placeCode": "UG20630305", + "amount": null + }, + { + "placeCode": "UG20630306", + "amount": null + }, + { + "placeCode": "UG20630307", + "amount": null + }, + { + "placeCode": "UG20630308", + "amount": null + }, + { + "placeCode": "UG20630309", + "amount": null + }, + { + "placeCode": "UG20630310", + "amount": null + }, + { + "placeCode": "UG20630311", + "amount": null + }, + { + "placeCode": "UG20630312", + "amount": null + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-2.json new file mode 100644 index 0000000000..4bc32b99bd --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-2.json @@ -0,0 +1,26 @@ +[ + { + "placeCode": "21UGA003001", + "amount": 0.1 + }, + { + "placeCode": "21UGA003003", + "amount": 0.05 + }, + { + "placeCode": "21UGA006001", + "amount": 0.15 + }, + { + "placeCode": "21UGA006006", + "amount": 0.12 + }, + { + "placeCode": "21UGA006007", + "amount": 0.03 + }, + { + "placeCode": "21UGA006008", + "amount": 0.08 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-3.json new file mode 100644 index 0000000000..bf0c1c8a40 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-3.json @@ -0,0 +1,34 @@ +[ + { + "placeCode": "UG202801", + "amount": 0.09 + }, + { + "placeCode": "UG202802", + "amount": 0.09 + }, + { + "placeCode": "UG202901", + "amount": 0.05 + }, + { + "placeCode": "UG203601", + "amount": 0.45 + }, + { + "placeCode": "UG205201", + "amount": 0.05 + }, + { + "placeCode": "UG205401", + "amount": 0.01 + }, + { + "placeCode": "UG205402", + "amount": 0.03 + }, + { + "placeCode": "UG205601", + "amount": 0.05 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-4.json new file mode 100644 index 0000000000..569dc9f441 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5220/upload-population_affected_percentage-4.json @@ -0,0 +1,414 @@ +[ + { + "placeCode": "UG20280101", + "amount": 0.17 + }, + { + "placeCode": "UG20280102", + "amount": 0.06 + }, + { + "placeCode": "UG20280103", + "amount": 0.1 + }, + { + "placeCode": "UG20280104", + "amount": 0.15 + }, + { + "placeCode": "UG20280105", + "amount": 0.11 + }, + { + "placeCode": "UG20280106", + "amount": 0.16 + }, + { + "placeCode": "UG20280107", + "amount": 0.15 + }, + { + "placeCode": "UG20280201", + "amount": 0.05 + }, + { + "placeCode": "UG20280202", + "amount": 0.08 + }, + { + "placeCode": "UG20280203", + "amount": 0.06 + }, + { + "placeCode": "UG20280204", + "amount": 0.03 + }, + { + "placeCode": "UG20280205", + "amount": 0.13 + }, + { + "placeCode": "UG20280206", + "amount": 0.09 + }, + { + "placeCode": "UG20290101", + "amount": 0.01 + }, + { + "placeCode": "UG20290102", + "amount": 0.01 + }, + { + "placeCode": "UG20290103", + "amount": 0.01 + }, + { + "placeCode": "UG20290104", + "amount": 0.01 + }, + { + "placeCode": "UG20290105", + "amount": 0.01 + }, + { + "placeCode": "UG20290106", + "amount": 0.01 + }, + { + "placeCode": "UG20290107", + "amount": 0.01 + }, + { + "placeCode": "UG20290108", + "amount": 0.01 + }, + { + "placeCode": "UG20290109", + "amount": 0.01 + }, + { + "placeCode": "UG20290110", + "amount": 0.01 + }, + { + "placeCode": "UG20290111", + "amount": 0.01 + }, + { + "placeCode": "UG20290112", + "amount": 0.01 + }, + { + "placeCode": "UG20290113", + "amount": 0.01 + }, + { + "placeCode": "UG20290114", + "amount": 0.01 + }, + { + "placeCode": "UG20290115", + "amount": 0.01 + }, + { + "placeCode": "UG20290116", + "amount": 0.01 + }, + { + "placeCode": "UG20290117", + "amount": 0.01 + }, + { + "placeCode": "UG20360101", + "amount": 0.01 + }, + { + "placeCode": "UG20360102", + "amount": 0.01 + }, + { + "placeCode": "UG20360103", + "amount": 0.01 + }, + { + "placeCode": "UG20360104", + "amount": 0.01 + }, + { + "placeCode": "UG20360105", + "amount": 0.01 + }, + { + "placeCode": "UG20360106", + "amount": 0.01 + }, + { + "placeCode": "UG20360107", + "amount": 0.01 + }, + { + "placeCode": "UG20360108", + "amount": 0.01 + }, + { + "placeCode": "UG20360109", + "amount": 0.01 + }, + { + "placeCode": "UG20360110", + "amount": 0.01 + }, + { + "placeCode": "UG20360111", + "amount": 0.01 + }, + { + "placeCode": "UG20360112", + "amount": 0.01 + }, + { + "placeCode": "UG20520101", + "amount": 0.01 + }, + { + "placeCode": "UG20520102", + "amount": 0.01 + }, + { + "placeCode": "UG20520103", + "amount": 0.01 + }, + { + "placeCode": "UG20520104", + "amount": 0.01 + }, + { + "placeCode": "UG20520105", + "amount": 0.01 + }, + { + "placeCode": "UG20520106", + "amount": 0.01 + }, + { + "placeCode": "UG20520107", + "amount": 0.01 + }, + { + "placeCode": "UG20520108", + "amount": 0.01 + }, + { + "placeCode": "UG20520109", + "amount": 0.01 + }, + { + "placeCode": "UG20520110", + "amount": 0.01 + }, + { + "placeCode": "UG20520111", + "amount": 0.01 + }, + { + "placeCode": "UG20520112", + "amount": 0.01 + }, + { + "placeCode": "UG20520113", + "amount": 0.01 + }, + { + "placeCode": "UG20520114", + "amount": 0.01 + }, + { + "placeCode": "UG20520115", + "amount": 0.01 + }, + { + "placeCode": "UG20520116", + "amount": 0.01 + }, + { + "placeCode": "UG20520117", + "amount": 0.01 + }, + { + "placeCode": "UG20540101", + "amount": 0.01 + }, + { + "placeCode": "UG20540102", + "amount": 0.01 + }, + { + "placeCode": "UG20540103", + "amount": 0.01 + }, + { + "placeCode": "UG20540104", + "amount": 0.01 + }, + { + "placeCode": "UG20540105", + "amount": 0.01 + }, + { + "placeCode": "UG20540106", + "amount": 0.02 + }, + { + "placeCode": "UG20540107", + "amount": 0.02 + }, + { + "placeCode": "UG20540108", + "amount": 0.01 + }, + { + "placeCode": "UG20540109", + "amount": 0.01 + }, + { + "placeCode": "UG20540110", + "amount": 0.01 + }, + { + "placeCode": "UG20540111", + "amount": 0.02 + }, + { + "placeCode": "UG20540112", + "amount": 0.02 + }, + { + "placeCode": "UG20540113", + "amount": 0.02 + }, + { + "placeCode": "UG20540114", + "amount": 0.01 + }, + { + "placeCode": "UG20540115", + "amount": 0.02 + }, + { + "placeCode": "UG20540116", + "amount": 0.03 + }, + { + "placeCode": "UG20540117", + "amount": 0.03 + }, + { + "placeCode": "UG20540118", + "amount": 0.03 + }, + { + "placeCode": "UG20540119", + "amount": 0.01 + }, + { + "placeCode": "UG20540120", + "amount": 0.01 + }, + { + "placeCode": "UG20540121", + "amount": 0.01 + }, + { + "placeCode": "UG20540122", + "amount": 0.02 + }, + { + "placeCode": "UG20540123", + "amount": 0.02 + }, + { + "placeCode": "UG20540124", + "amount": 0.3 + }, + { + "placeCode": "UG20540201", + "amount": 0.03 + }, + { + "placeCode": "UG20540202", + "amount": 0.02 + }, + { + "placeCode": "UG20540203", + "amount": 0.05 + }, + { + "placeCode": "UG20560101", + "amount": 0.01 + }, + { + "placeCode": "UG20560102", + "amount": 0.01 + }, + { + "placeCode": "UG20560103", + "amount": 0.01 + }, + { + "placeCode": "UG20560104", + "amount": 0.01 + }, + { + "placeCode": "UG20560105", + "amount": 0.01 + }, + { + "placeCode": "UG20560106", + "amount": 0.01 + }, + { + "placeCode": "UG20560107", + "amount": 0.01 + }, + { + "placeCode": "UG20560108", + "amount": 0.01 + }, + { + "placeCode": "UG20560109", + "amount": 0.01 + }, + { + "placeCode": "UG20560110", + "amount": 0.01 + }, + { + "placeCode": "UG20560111", + "amount": 0.01 + }, + { + "placeCode": "UG20560112", + "amount": 0.01 + }, + { + "placeCode": "UG20560113", + "amount": 0.01 + }, + { + "placeCode": "UG20560114", + "amount": 0.01 + }, + { + "placeCode": "UG20560115", + "amount": 0.01 + }, + { + "placeCode": "UG20560116", + "amount": 0.01 + }, + { + "placeCode": "UG20560117", + "amount": 0.01 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-2.json new file mode 100644 index 0000000000..2d3aaeb217 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-2.json @@ -0,0 +1,10 @@ +[ + { + "placeCode": "21UGA003002", + "amount": null + }, + { + "placeCode": "21UGA005010", + "amount": null + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-3.json new file mode 100644 index 0000000000..37fe5c1a4d --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-3.json @@ -0,0 +1,14 @@ +[ + { + "placeCode": "UG203501", + "amount": null + }, + { + "placeCode": "UG203502", + "amount": null + }, + { + "placeCode": "UG205501", + "amount": null + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-4.json new file mode 100644 index 0000000000..62634e3c08 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/trigger/G5230/upload-population_affected_percentage-4.json @@ -0,0 +1,102 @@ +[ + { + "placeCode": "UG20350101", + "amount": null + }, + { + "placeCode": "UG20350102", + "amount": null + }, + { + "placeCode": "UG20350201", + "amount": null + }, + { + "placeCode": "UG20350202", + "amount": null + }, + { + "placeCode": "UG20350203", + "amount": null + }, + { + "placeCode": "UG20350204", + "amount": null + }, + { + "placeCode": "UG20350205", + "amount": null + }, + { + "placeCode": "UG20350206", + "amount": null + }, + { + "placeCode": "UG20350207", + "amount": null + }, + { + "placeCode": "UG20350208", + "amount": null + }, + { + "placeCode": "UG20350209", + "amount": null + }, + { + "placeCode": "UG20350210", + "amount": null + }, + { + "placeCode": "UG20350211", + "amount": null + }, + { + "placeCode": "UG20350212", + "amount": null + }, + { + "placeCode": "UG20350213", + "amount": null + }, + { + "placeCode": "UG20350214", + "amount": null + }, + { + "placeCode": "UG20550101", + "amount": null + }, + { + "placeCode": "UG20550102", + "amount": null + }, + { + "placeCode": "UG20550103", + "amount": null + }, + { + "placeCode": "UG20550104", + "amount": null + }, + { + "placeCode": "UG20550105", + "amount": null + }, + { + "placeCode": "UG20550106", + "amount": null + }, + { + "placeCode": "UG20550107", + "amount": null + }, + { + "placeCode": "UG20550108", + "amount": null + }, + { + "placeCode": "UG20550109", + "amount": null + } +]