Skip to content

Commit

Permalink
chore: implement code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fviduya committed Jan 14, 2025
1 parent 22a7fee commit c2f3d72
Show file tree
Hide file tree
Showing 7 changed files with 288 additions and 194 deletions.
32 changes: 16 additions & 16 deletions bc_obps/registration/fixtures/mock/bc_obps_regulated_operation.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,127 +18,127 @@
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0003",
"id": "24-0003",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0004",
"id": "24-0004",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0005",
"id": "24-0005",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0006",
"id": "24-0006",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0007",
"id": "24-0007",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0008",
"id": "24-0008",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0009",
"id": "24-0009",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0010",
"id": "24-0010",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0011",
"id": "24-0011",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0012",
"id": "24-0012",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0013",
"id": "24-0013",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0014",
"id": "24-0014",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0015",
"id": "24-0015",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0016",
"id": "24-0016",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0017",
"id": "24-0017",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
},
{
"model": "registration.bcobpsregulatedoperation",
"fields": {
"id": "21-0018",
"id": "24-0018",
"issued_at": "2023-10-13T15:27:00.000Z",
"comments": "Test comment"
}
Expand Down
19 changes: 0 additions & 19 deletions bc_obps/registration/fixtures/mock/facility.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@
"name": "Facility 25",
"type": "Single Facility",
"swrs_facility_id": 1025,
"bcghg_id": "13219990028",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -356,7 +355,6 @@
"name": "Facility 26",
"type": "Single Facility",
"swrs_facility_id": 1026,
"bcghg_id": "13219990029",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -370,7 +368,6 @@
"name": "Facility 27",
"type": "Single Facility",
"swrs_facility_id": 1027,
"bcghg_id": "13219990030",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -384,7 +381,6 @@
"name": "Facility 28",
"type": "Single Facility",
"swrs_facility_id": 1028,
"bcghg_id": "13219990031",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -398,7 +394,6 @@
"name": "Facility 29",
"type": "Single Facility",
"swrs_facility_id": 1029,
"bcghg_id": "13219990032",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -412,7 +407,6 @@
"name": "Facility 30",
"type": "Single Facility",
"swrs_facility_id": 1030,
"bcghg_id": "13219990033",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -426,7 +420,6 @@
"name": "Facility 31",
"type": "Single Facility",
"swrs_facility_id": 1031,
"bcghg_id": "13219990034",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -440,7 +433,6 @@
"type": "Single Facility",
"name": "Facility 32",
"swrs_facility_id": 1032,
"bcghg_id": "13219990035",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -454,7 +446,6 @@
"name": "Facility 33",
"type": "Single Facility",
"swrs_facility_id": 1033,
"bcghg_id": "13219990036",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -468,7 +459,6 @@
"name": "Facility 34",
"type": "Single Facility",
"swrs_facility_id": 1034,
"bcghg_id": "13219990037",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -482,7 +472,6 @@
"name": "Facility 35",
"type": "Single Facility",
"swrs_facility_id": 1035,
"bcghg_id": "13219990038",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -496,7 +485,6 @@
"name": "Facility 36",
"type": "Single Facility",
"swrs_facility_id": 1036,
"bcghg_id": "13219990039",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -510,7 +498,6 @@
"name": "Facility 37",
"type": "Single Facility",
"swrs_facility_id": 1037,
"bcghg_id": "13219990040",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -524,7 +511,6 @@
"name": "Facility 38",
"type": "Single Facility",
"swrs_facility_id": 1038,
"bcghg_id": "13219990041",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -538,7 +524,6 @@
"name": "Facility 39",
"type": "Single Facility",
"swrs_facility_id": 1039,
"bcghg_id": "13219990042",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -552,7 +537,6 @@
"name": "Facility 40",
"type": "Single Facility",
"swrs_facility_id": 1040,
"bcghg_id": "13219990043",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -566,7 +550,6 @@
"name": "Facility 41",
"type": "Single Facility",
"swrs_facility_id": 1041,
"bcghg_id": "13219990044",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -580,7 +563,6 @@
"name": "Facility 42",
"type": "Single Facility",
"swrs_facility_id": 1042,
"bcghg_id": "13219990045",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand All @@ -594,7 +576,6 @@
"name": "Facility 43",
"type": "Single Facility",
"swrs_facility_id": 1043,
"bcghg_id": "13219990046",
"latitude_of_largest_emissions": 43.5,
"longitude_of_largest_emissions": -123.5
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@
"created_by": "00000000-0000-0000-0000-000000000001",
"created_at": "2024-06-20T23:20:02Z",
"facility": "67fd8288-422b-43d3-a9b1-e4ddc54e2139",
"operation": "c0743c09-82fa-4186-91aa-4b5412e3415c",
"operation": "df62d793-8cfe-4272-a93e-ea9c9139ff82",
"start_date": "2024-06-28T23:20:02Z"
}
},
Expand All @@ -256,7 +256,7 @@
{
"model": "registration.facilitydesignatedoperationtimeline",
"fields": {
"created_by": "00000000-0000-0000-0000-000000000001",
"created_by": "00000000-0000-0000-0000-000000000004",
"created_at": "2024-06-20T23:20:02Z",
"facility": "f4eb89dd-e081-4576-8663-b789c4a20478",
"operation": "d99725a7-1c3a-47cb-a59b-e2388ce0fa18",
Expand All @@ -266,7 +266,7 @@
{
"model": "registration.facilitydesignatedoperationtimeline",
"fields": {
"created_by": "00000000-0000-0000-0000-000000000001",
"created_by": "00000000-0000-0000-0000-000000000004",
"created_at": "2024-06-20T23:20:02Z",
"facility": "6d564423-abfe-4579-ba92-2c6c71c37bb9",
"operation": "436dd99a-cb41-4494-91c9-98ab149b557d",
Expand Down
Loading

0 comments on commit c2f3d72

Please sign in to comment.