Use event subscribers for importing/updating JD data

Created on 24 September 2023, about 1 year ago
Updated 16 October 2023, about 1 year ago

Problem/Motivation

Looking forward I think it will be most useful to use a custom event with event subscribers as an abstraction for the logic of importing/update JD data. This allows us to create different interfaces for importing/updating data without needing to duplicate logic (eg: manual import forms, bulk importing, or cron updating).

It also seems like a logical thing to implement for future Webook/DSS (data subscription service) integration for real-time updates: https://developer.deere.com/dev-docs/webhook

Need to keep all of this in mind when designing our custom event type. Can we replicate the DSS field operation event via our table/bulk importers? https://developer.deere.com/dev-docs/field-operations#events

Steps to reproduce

N/A

Proposed resolution

Continue with our current strategy for simple importing/creation via forms, but investigate using an event system when we start considering update logic.

Remaining tasks

Investigate, likely implmement.

User interface changes

None

API changes

Custom event class that event subscribers can use

Data model changes

None

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024