Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Company/Manufacturer from the Inspection form into a list of Organization #212

Open
Francois-Werbrouck opened this issue Nov 4, 2024 · 0 comments · May be fixed by #217
Open

Update Company/Manufacturer from the Inspection form into a list of Organization #212

Francois-Werbrouck opened this issue Nov 4, 2024 · 0 comments · May be fixed by #217
Assignees

Comments

@Francois-Werbrouck
Copy link
Contributor

Francois-Werbrouck commented Nov 4, 2024

Context:

ai-cfia/fertiscan-pipeline#40

Based on discussion with the client, it seems the need to differentiate between a company and a manufacturer became obsolete. The client needs at least one main point of contact. Therefore, to reduce duplication/spreading of data between a company and manufacturer, we updated the structure of the form to be a list of Organization. Therefore, we need some changes into the datastore workflow to handle the new form and all its cases.

Acceptance Criteria

  • A new form is created for the test representing the new structure
  • The Create workflow is updated to handle a list of organization
  • The Read workflow is updated to handle a list of organization
  • The company and manufacturer have been removed from the DB schema
  • The main point of contact is represented in the Architecture of our DB

Documentation

{
  "organizations": [
    {
      "name": "GreenGrow Inc.",
      "address": "123 Green Road, Farmville, State, 12345",
      "website": "https://www.greengrow.com",
      "phone_number": "123-456-7890"
    },
    {
      "name": "BlueTech Solutions",
      "address": "456 Blue Avenue, Technopolis, State, 67890",
      "website": "https://www.bluetechsolutions.com",
      "phone_number": "987-654-3210"
    }
  ]
}
@Francois-Werbrouck Francois-Werbrouck self-assigned this Nov 4, 2024
@k-allagbe k-allagbe moved this to Todo in FertiScan Nov 4, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 18, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 18, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 18, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 18, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 18, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 22, 2024
@k-allagbe k-allagbe moved this from Todo to In progress in FertiScan Nov 27, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Francois-Werbrouck added a commit that referenced this issue Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In progress
1 participant