Open andrea-williams opened 2 months ago
@Sepehr-Sobhani , were you involved in the writing of this one? Do you know if those TBDs are decided yet?
I was not involved, and I am not quite sure about the first TBD, but for the second one, I think we can adjust our schemas and add some custom validation logic to enforce required fields based on the purpose.
for the first TBD (but a new Facility is still created in our database for the EIO (facility name should be set to the operation's name; facility type is "Electricity Import"; facility address should be set to the operation's address; lat/long of largest emissions - TBD)
) - this may be a question for the business area. Possible solutions I can think of are:
cc'ing @hannavovk and @zoeyli-46
Aug. 13 Refinement Notes:
Confirmed with business area that lat/long coordinates are not needed for EIOs. BA is in agreement with making lat/long coordinates optional in the database so that the "facility" for the EIO just doesn't have them, as long as the SFOs and LFOs still have to enter them. (cc @andrea-williams, @zoeyli-46 )
Dependencies
Description:
EIOs are a somewhat unique type of operation in the sense that they don't have the concept of a facility, so we need to modify the registration workflow to suit them.
Acceptance Criteria:
Given I am an authenticated external user When I select "Electricity Import Operation" as my registration purpose (step 1) Then I see a simplified version of the registration workflow with only the data fields that are relevant to EIOs (a stripped-down version of the Operation form, no Facility form at all)
Development Checklist:
Facility
db model to have a "Electricity Import" typeOperation
andFacility
db models to allownull
s for the fields that don't apply to EIOs.ElectricityImportOperationIn
andElectricityImportOperationOut
(don't make a new endpoint, use custom validation, see comment below)Definition of Ready (Note: If any of these points are not applicable, mark N/A)
·Definition of Done (Note: If any of these points are not applicable, mark N/A)
Notes: