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

LCFS - Develop an API from TFRS to LCFS #1045

Open
5 tasks
airinggov opened this issue Oct 11, 2024 · 0 comments
Open
5 tasks

LCFS - Develop an API from TFRS to LCFS #1045

airinggov opened this issue Oct 11, 2024 · 0 comments
Labels
Compliance Reporting Low Low priority Task Work that does not directly impact the user

Comments

@airinggov
Copy link
Collaborator

airinggov commented Oct 11, 2024

Describe the task
Develop an API from TFRS (Transportation Fuels Reporting System) to LCFS (Low Carbon Fuels System) to push credit ledger data as the result of an assessed compliance report or supplemental report in TFRS. Ensure no data exchange occurs for exclusion reports.

Purpose
To automate the update of compliance unit balances in LCFS based on assessments done in TFRS, reducing manual intervention and ensuring data accuracy.

Acceptance Criteria

  • The API successfully pushes credit transaction data from TFRS to LCFS upon the director's assessment of a compliance report.
  • The API pushes data for supplemental reports as well.
  • Exclusion reports do not trigger any data exchange.
  • LCFS reflects an increase or reduction in compliance unit balance based on the transaction data.
  • A new transaction type is created in LCFS to record these transactions.

Developer Requirements

  • Setup RabbitMQ in LCFS with a cross namespace url
  • Use RabbitMQ to push a message for creating a Transaction in LCFS. This will include an organization id and a compliance units value (+/-)
  • LCFS will need RabbitMQ listener setup and a method to create the new transaction on receive.
  • Guarantee to receive ONCE to ensure no duplicate transactions occur

Additional context

  • Ensure that the API can handle both increases and reductions in compliance unit balances.
  • The transaction type in LCFS must clearly distinguish these events for auditing and reporting purposes.
@airinggov airinggov added Compliance Reporting Medium Medium priority Task Work that does not directly impact the user Low Low priority and removed Medium Medium priority labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compliance Reporting Low Low priority Task Work that does not directly impact the user
Projects
None yet
Development

No branches or pull requests

1 participant