Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

RoadSafety BC DataHub API. A series of Python components for handling and processing digital forms.

License

NotificationsYou must be signed in to change notification settings

bcgov/RSBC-DataHub-API

Repository files navigation

A series of Python components that process eTicketing and digital forms for RoadSafety BC.

img

At the present time, these components process the following types of events:

Electronic Tickets:

  • the issuance of a ticket
  • the payment of a ticket
  • the dispute of a ticket
  • the status of a dispute
  • the finding of a disputed ticket
  • the query of a ticket record

Driving Prohibition Reviews

  • the application to review
  • the payment for a review
  • the scheduling of a review
  • the release of police evidence

The system to handle these events is made up of seven containers / pods:

  • An ingestor that accepts events as either XML or JSON data
  • A Message Broker (RabbitMQ) that stores the events while they're being processed.
  • A validator that checks events to make sure required fields are included
  • A geocoder that determines the geolocation of an address
  • An API endpoint for PayBC to query for payable items
  • A writer that inserts the data into the business intelligence database
  • A form handler that processes digital form submissions

Local development

To begin local development of this project:

  • create a.env file by copying.env.sample to.env in the root of the project directory
  • edit the default values in the.env file to reflect your secret values.
  • rundocker-compose build && docker-compose up

Additional documentation is available for each container / pod:

How to Contribute

If you would like to contribute, please see ourContributing guidelines.

Please note that this project is released with aContributor Code of Conduct. By participating in this project you agree to abide by its terms.


[8]ページ先頭

©2009-2025 Movatter.jp