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

feat: Add sample policy configuration JSON, and add documentation #1591

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

john-fletcher-aot
Copy link
Collaborator

@john-fletcher-aot john-fletcher-aot commented Sep 11, 2024

Description

Add a policy configuration JSON object to the ORBC_POLICY_CONFIGURATION table containing the most current in-progress policy config covering TROS, TROW, and STOS permit types.

Note that this is not to be considered a final or correct policy configuration, it is sample data only for the purposes of developing STOS permits in onroute, and for integrating the policy engine into the frontend and backend.

Fixes # ORV2-2794

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • Ran the sql server local docker container with sample data and inspected output to confirm no errors
  • Inspected the sql server table in the local docker environment to confirm policy JSON added correctly
  • Ran the sample script in both dev and test database environments manually to confirm no issues in hosted environments, verified JSON returned correctly from /policy endpoint

Checklist

  • I have read the CONTRIBUTING doc
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works (N/A)
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have already been accepted and merged

Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are promoted to:

Copy link
Collaborator

@praju-aot praju-aot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

Copy link

sonarcloud bot commented Sep 12, 2024

Copy link

sonarcloud bot commented Sep 12, 2024

Copy link

sonarcloud bot commented Sep 12, 2024

Copy link

sonarcloud bot commented Sep 12, 2024

Copy link

sonarcloud bot commented Sep 12, 2024

@john-fletcher-aot john-fletcher-aot merged commit d60f720 into main Sep 12, 2024
23 checks passed
@john-fletcher-aot john-fletcher-aot deleted the ORV2-2794 branch September 12, 2024 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants