diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/scenarios.json b/services/API-service/src/scripts/mock-data/floods/UGA/scenarios.json index 9951289c7e..206bf5fe84 100644 --- a/services/API-service/src/scripts/mock-data/floods/UGA/scenarios.json +++ b/services/API-service/src/scripts/mock-data/floods/UGA/scenarios.json @@ -3,15 +3,15 @@ "scenarioName": "trigger", "defaultScenario": true, "events": [ - { "eventName": "G5075", "leadTime": "2-day" }, + { "eventName": "G5075", "leadTime": "0-day" }, { "eventName": "G5220", "leadTime": "4-day" }, { "eventName": "G5230", "leadTime": "6-day" } ] }, { - "scenarioName": "twoAreasNoMax", + "scenarioName": "twoWarnings", "events": [ - { "eventName": "G5220", "leadTime": "4-day" }, + { "eventName": "G5075", "leadTime": "0-day" }, { "eventName": "G5230", "leadTime": "6-day" } ] }, diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/triggers-per-leadtime.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/triggers-per-leadtime.json new file mode 100644 index 0000000000..2624f6d0c3 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/triggers-per-leadtime.json @@ -0,0 +1,42 @@ +[ + { + "leadTime": "0-day", + "triggered": true, + "thresholdReached": false + }, + { + "leadTime": "1-day", + "triggered": true, + "thresholdReached": false + }, + { + "leadTime": "2-day", + "triggered": true, + "thresholdReached": false + }, + { + "leadTime": "3-day", + "triggered": true, + "thresholdReached": false + }, + { + "leadTime": "4-day", + "triggered": true, + "thresholdReached": false + }, + { + "leadTime": "5-day", + "triggered": false, + "thresholdReached": false + }, + { + "leadTime": "6-day", + "triggered": false, + "thresholdReached": false + }, + { + "leadTime": "7-day", + "triggered": false, + "thresholdReached": false + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-2.json new file mode 100644 index 0000000000..12bb44117f --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-2.json @@ -0,0 +1,34 @@ +[ + { + "placeCode": "21UGA003004", + "amount": 0.3 + }, + { + "placeCode": "21UGA003005", + "amount": 0.3 + }, + { + "placeCode": "21UGA003006", + "amount": 0.3 + }, + { + "placeCode": "21UGA003007", + "amount": 0.3 + }, + { + "placeCode": "21UGA005001", + "amount": 0.3 + }, + { + "placeCode": "21UGA005003", + "amount": 0.3 + }, + { + "placeCode": "21UGA005006", + "amount": 0.3 + }, + { + "placeCode": "21UGA005011", + "amount": 0.3 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-3.json new file mode 100644 index 0000000000..4ccc6676ba --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-3.json @@ -0,0 +1,50 @@ +[ + { + "placeCode": "UG203001", + "amount": 0.3 + }, + { + "placeCode": "UG203002", + "amount": 0.3 + }, + { + "placeCode": "UG203701", + "amount": 0.3 + }, + { + "placeCode": "UG203801", + "amount": 0.3 + }, + { + "placeCode": "UG204301", + "amount": 0.3 + }, + { + "placeCode": "UG204801", + "amount": 0.3 + }, + { + "placeCode": "UG205701", + "amount": 0.3 + }, + { + "placeCode": "UG205901", + "amount": 0.3 + }, + { + "placeCode": "UG205902", + "amount": 0.3 + }, + { + "placeCode": "UG206301", + "amount": 0.3 + }, + { + "placeCode": "UG206302", + "amount": 0.3 + }, + { + "placeCode": "UG206303", + "amount": 0.3 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-4.json new file mode 100644 index 0000000000..ecd0eae90d --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-alert_threshold-4.json @@ -0,0 +1,394 @@ +[ + { + "placeCode": "UG20300101", + "amount": 0.3 + }, + { + "placeCode": "UG20300102", + "amount": 0.3 + }, + { + "placeCode": "UG20300201", + "amount": 0.3 + }, + { + "placeCode": "UG20300202", + "amount": 0.3 + }, + { + "placeCode": "UG20300203", + "amount": 0.3 + }, + { + "placeCode": "UG20300204", + "amount": 0.3 + }, + { + "placeCode": "UG20300205", + "amount": 0.3 + }, + { + "placeCode": "UG20300206", + "amount": 0.3 + }, + { + "placeCode": "UG20300207", + "amount": 0.3 + }, + { + "placeCode": "UG20300208", + "amount": 0.3 + }, + { + "placeCode": "UG20300209", + "amount": 0.3 + }, + { + "placeCode": "UG20300210", + "amount": 0.3 + }, + { + "placeCode": "UG20370101", + "amount": 0.3 + }, + { + "placeCode": "UG20370102", + "amount": 0.3 + }, + { + "placeCode": "UG20370103", + "amount": 0.3 + }, + { + "placeCode": "UG20370104", + "amount": 0.3 + }, + { + "placeCode": "UG20370105", + "amount": 0.3 + }, + { + "placeCode": "UG20370106", + "amount": 0.3 + }, + { + "placeCode": "UG20380101", + "amount": 0.3 + }, + { + "placeCode": "UG20380102", + "amount": 0.3 + }, + { + "placeCode": "UG20380103", + "amount": 0.3 + }, + { + "placeCode": "UG20380104", + "amount": 0.3 + }, + { + "placeCode": "UG20380105", + "amount": 0.3 + }, + { + "placeCode": "UG20380106", + "amount": 0.3 + }, + { + "placeCode": "UG20430101", + "amount": 0.3 + }, + { + "placeCode": "UG20430102", + "amount": 0.3 + }, + { + "placeCode": "UG20430103", + "amount": 0.3 + }, + { + "placeCode": "UG20430104", + "amount": 0.3 + }, + { + "placeCode": "UG20430105", + "amount": 0.3 + }, + { + "placeCode": "UG20430106", + "amount": 0.3 + }, + { + "placeCode": "UG20430107", + "amount": 0.3 + }, + { + "placeCode": "UG20430108", + "amount": 0.3 + }, + { + "placeCode": "UG20430109", + "amount": 0.3 + }, + { + "placeCode": "UG20430110", + "amount": 0.3 + }, + { + "placeCode": "UG20430111", + "amount": 0.3 + }, + { + "placeCode": "UG20430112", + "amount": 0.3 + }, + { + "placeCode": "UG20480101", + "amount": 0.3 + }, + { + "placeCode": "UG20480102", + "amount": 0.3 + }, + { + "placeCode": "UG20480103", + "amount": 0.3 + }, + { + "placeCode": "UG20480104", + "amount": 0.3 + }, + { + "placeCode": "UG20480105", + "amount": 0.3 + }, + { + "placeCode": "UG20480106", + "amount": 0.3 + }, + { + "placeCode": "UG20480107", + "amount": 0.3 + }, + { + "placeCode": "UG20480108", + "amount": 0.3 + }, + { + "placeCode": "UG20480109", + "amount": 0.3 + }, + { + "placeCode": "UG20480110", + "amount": 0.3 + }, + { + "placeCode": "UG20480111", + "amount": 0.3 + }, + { + "placeCode": "UG20480112", + "amount": 0.3 + }, + { + "placeCode": "UG20480113", + "amount": 0.3 + }, + { + "placeCode": "UG20480114", + "amount": 0.3 + }, + { + "placeCode": "UG20480115", + "amount": 0.3 + }, + { + "placeCode": "UG20480116", + "amount": 0.3 + }, + { + "placeCode": "UG20480117", + "amount": 0.3 + }, + { + "placeCode": "UG20570101", + "amount": 0.3 + }, + { + "placeCode": "UG20570102", + "amount": 0.3 + }, + { + "placeCode": "UG20570103", + "amount": 0.3 + }, + { + "placeCode": "UG20570104", + "amount": 0.3 + }, + { + "placeCode": "UG20570105", + "amount": 0.3 + }, + { + "placeCode": "UG20570106", + "amount": 0.3 + }, + { + "placeCode": "UG20570107", + "amount": 0.3 + }, + { + "placeCode": "UG20570108", + "amount": 0.3 + }, + { + "placeCode": "UG20570109", + "amount": 0.3 + }, + { + "placeCode": "UG20570110", + "amount": 0.3 + }, + { + "placeCode": "UG20590101", + "amount": 0.3 + }, + { + "placeCode": "UG20590102", + "amount": 0.3 + }, + { + "placeCode": "UG20590201", + "amount": 0.3 + }, + { + "placeCode": "UG20590202", + "amount": 0.3 + }, + { + "placeCode": "UG20590203", + "amount": 0.3 + }, + { + "placeCode": "UG20590204", + "amount": 0.3 + }, + { + "placeCode": "UG20590205", + "amount": 0.3 + }, + { + "placeCode": "UG20590206", + "amount": 0.3 + }, + { + "placeCode": "UG20590207", + "amount": 0.3 + }, + { + "placeCode": "UG20590208", + "amount": 0.3 + }, + { + "placeCode": "UG20590209", + "amount": 0.3 + }, + { + "placeCode": "UG20590210", + "amount": 0.3 + }, + { + "placeCode": "UG20590211", + "amount": 0.3 + }, + { + "placeCode": "UG20590212", + "amount": 0.3 + }, + { + "placeCode": "UG20630101", + "amount": 0.3 + }, + { + "placeCode": "UG20630102", + "amount": 0.3 + }, + { + "placeCode": "UG20630103", + "amount": 0.3 + }, + { + "placeCode": "UG20630104", + "amount": 0.3 + }, + { + "placeCode": "UG20630105", + "amount": 0.3 + }, + { + "placeCode": "UG20630106", + "amount": 0.3 + }, + { + "placeCode": "UG20630107", + "amount": 0.3 + }, + { + "placeCode": "UG20630201", + "amount": 0.3 + }, + { + "placeCode": "UG20630202", + "amount": 0.3 + }, + { + "placeCode": "UG20630301", + "amount": 0.3 + }, + { + "placeCode": "UG20630302", + "amount": 0.3 + }, + { + "placeCode": "UG20630303", + "amount": 0.3 + }, + { + "placeCode": "UG20630304", + "amount": 0.3 + }, + { + "placeCode": "UG20630305", + "amount": 0.3 + }, + { + "placeCode": "UG20630306", + "amount": 0.3 + }, + { + "placeCode": "UG20630307", + "amount": 0.3 + }, + { + "placeCode": "UG20630308", + "amount": 0.3 + }, + { + "placeCode": "UG20630309", + "amount": 0.3 + }, + { + "placeCode": "UG20630310", + "amount": 0.3 + }, + { + "placeCode": "UG20630311", + "amount": 0.3 + }, + { + "placeCode": "UG20630312", + "amount": 0.3 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-population_affected-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-population_affected-2.json new file mode 100644 index 0000000000..6e674108da --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-population_affected-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/twoWarnings/G5075/upload-population_affected-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-population_affected-3.json new file mode 100644 index 0000000000..ec384c8554 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-population_affected-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/twoWarnings/G5075/upload-population_affected-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-population_affected-4.json new file mode 100644 index 0000000000..de4b4022f2 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5075/upload-population_affected-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/twoWarnings/G5075/upload-population_affected_percentage-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/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/twoWarnings/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/twoWarnings/G5075/upload-population_affected_percentage-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/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/twoWarnings/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/twoWarnings/G5075/upload-population_affected_percentage-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/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/twoWarnings/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/twoWarnings/G5230/triggers-per-leadtime.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/triggers-per-leadtime.json new file mode 100644 index 0000000000..c3cdf8d802 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/triggers-per-leadtime.json @@ -0,0 +1,42 @@ +[ + { + "leadTime": "0-day", + "triggered": false, + "thresholdReached": false + }, + { + "leadTime": "1-day", + "triggered": false, + "thresholdReached": false + }, + { + "leadTime": "2-day", + "triggered": false, + "thresholdReached": false + }, + { + "leadTime": "3-day", + "triggered": false, + "thresholdReached": false + }, + { + "leadTime": "4-day", + "triggered": false, + "thresholdReached": false + }, + { + "leadTime": "5-day", + "triggered": false, + "thresholdReached": false + }, + { + "leadTime": "6-day", + "triggered": true, + "thresholdReached": false + }, + { + "leadTime": "7-day", + "triggered": true, + "thresholdReached": false + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-2.json new file mode 100644 index 0000000000..b7b2deccfe --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-2.json @@ -0,0 +1,10 @@ +[ + { + "placeCode": "21UGA003002", + "amount": 0.7 + }, + { + "placeCode": "21UGA005010", + "amount": 0.7 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-3.json new file mode 100644 index 0000000000..4778bdfea4 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-3.json @@ -0,0 +1,14 @@ +[ + { + "placeCode": "UG203501", + "amount": 0.7 + }, + { + "placeCode": "UG203502", + "amount": 0.7 + }, + { + "placeCode": "UG205501", + "amount": 0.7 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-4.json new file mode 100644 index 0000000000..e8c942210a --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-alert_threshold-4.json @@ -0,0 +1,102 @@ +[ + { + "placeCode": "UG20350101", + "amount": 0.7 + }, + { + "placeCode": "UG20350102", + "amount": 0.7 + }, + { + "placeCode": "UG20350201", + "amount": 0.7 + }, + { + "placeCode": "UG20350202", + "amount": 0.7 + }, + { + "placeCode": "UG20350203", + "amount": 0.7 + }, + { + "placeCode": "UG20350204", + "amount": 0.7 + }, + { + "placeCode": "UG20350205", + "amount": 0.7 + }, + { + "placeCode": "UG20350206", + "amount": 0.7 + }, + { + "placeCode": "UG20350207", + "amount": 0.7 + }, + { + "placeCode": "UG20350208", + "amount": 0.7 + }, + { + "placeCode": "UG20350209", + "amount": 0.7 + }, + { + "placeCode": "UG20350210", + "amount": 0.7 + }, + { + "placeCode": "UG20350211", + "amount": 0.7 + }, + { + "placeCode": "UG20350212", + "amount": 0.7 + }, + { + "placeCode": "UG20350213", + "amount": 0.7 + }, + { + "placeCode": "UG20350214", + "amount": 0.7 + }, + { + "placeCode": "UG20550101", + "amount": 0.7 + }, + { + "placeCode": "UG20550102", + "amount": 0.7 + }, + { + "placeCode": "UG20550103", + "amount": 0.7 + }, + { + "placeCode": "UG20550104", + "amount": 0.7 + }, + { + "placeCode": "UG20550105", + "amount": 0.7 + }, + { + "placeCode": "UG20550106", + "amount": 0.7 + }, + { + "placeCode": "UG20550107", + "amount": 0.7 + }, + { + "placeCode": "UG20550108", + "amount": 0.7 + }, + { + "placeCode": "UG20550109", + "amount": 0.7 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-population_affected-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-population_affected-2.json new file mode 100644 index 0000000000..2d3aaeb217 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-population_affected-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/twoWarnings/G5230/upload-population_affected-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-population_affected-3.json new file mode 100644 index 0000000000..37fe5c1a4d --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-population_affected-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/twoWarnings/G5230/upload-population_affected-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-population_affected-4.json new file mode 100644 index 0000000000..62634e3c08 --- /dev/null +++ b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-population_affected-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 + } +] diff --git a/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/G5230/upload-population_affected_percentage-2.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/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/twoWarnings/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/twoWarnings/G5230/upload-population_affected_percentage-3.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/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/twoWarnings/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/twoWarnings/G5230/upload-population_affected_percentage-4.json b/services/API-service/src/scripts/mock-data/floods/UGA/twoWarnings/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/twoWarnings/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 + } +] diff --git a/services/API-service/src/scripts/mock.controller.ts b/services/API-service/src/scripts/mock.controller.ts index 9ba803c491..f228dd6ef6 100644 --- a/services/API-service/src/scripts/mock.controller.ts +++ b/services/API-service/src/scripts/mock.controller.ts @@ -52,6 +52,7 @@ export class MockBaseScenario { export enum FloodsScenario { Trigger = 'trigger', + TwoWarnings = 'twoWarnings', } export class MockFloodsScenario extends MockBaseScenario { @ApiProperty({