lacuna-tech / mds-core

Repo for LADOT MDS implementation for contribution to the Open Mobility Foundation
Apache License 2.0
13 stars 9 forks source link

Support creation of NoParking policy intent #1025

Closed janedotx closed 2 years ago

janedotx commented 2 years ago

📚 Purpose

With this PR, we're introducing a new policy-related entity: the policy intent. It's basically like a template, but somewhat more abstract. It captures the essence of the friendly, user-facing elements of a policy and could possibly have multiple implementations (different versions of the MDS spec, different ways of using policy to implement the same kind of policy--e.g., a policy that intends to ban a type of vehicle could be implemented as a count policy with a max of 0, or a speed policy with a max speed of 0).

Basically, we're exposing only a subset of the possible fields for a policy and letting a user configure those. The remaining fields will be filled in by default settings of the particular intent.

👌 Resolves:

📦 Impacts:

[list of packages]

✅ PR Checklist

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: ae1fb09c7eb1869cf2d065b0ce0c712f8a711fe5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 28 packages | Name | Type | | ------------------------------------------ | ----- | | @mds-core/mds-policy-service | Patch | | @mds-core/mds-compliance-api | Patch | | @mds-core/mds-compliance-batch-processor | Patch | | @mds-core/mds-compliance-engine | Patch | | @mds-core/mds-compliance-service | Patch | | @mds-core/mds-db | Patch | | @mds-core/mds-policy-author-api | Patch | | @mds-core/mds-policy | Patch | | @container-images/mds-policy-service | Patch | | @container-images/mds-compliance-api | Patch | | @container-images/mds-compliance-service | Patch | | @mds-core/mds-agency | Patch | | @mds-core/mds-api-helpers | Patch | | @mds-core/mds-audit-api | Patch | | @container-images/mds-policy-author-api | Patch | | @container-images/mds-policy | Patch | | @container-images/mds-agency | Patch | | @mds-core/mds-collector-api | Patch | | @mds-core/mds-geography-api | Patch | | @mds-core/mds-geography-author-api | Patch | | @mds-core/mds-jurisdiction-api | Patch | | @mds-core/mds-transaction-api | Patch | | @container-images/mds-audit-api | Patch | | @container-images/mds-collector-api | Patch | | @container-images/mds-geography-api | Patch | | @container-images/mds-geography-author-api | Patch | | @container-images/mds-jurisdiction-api | Patch | | @container-images/mds-transaction-api | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR