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

CAMS-283: update model #913

Merged
merged 3 commits into from
Sep 17, 2024
Merged

CAMS-283: update model #913

merged 3 commits into from
Sep 17, 2024

Conversation

jamesobrooks
Copy link
Contributor

Purpose

We want to update the data modeling to enable other goals for CAMS-283.

Major Changes

  • add roles to CamsUserReference
  • add types to properly model USTP Office to court relationship
    • add data for Seattle and New York offices
  • add Cosmos DB container definition for offices

Testing/Validation

Automated tests pass.

amorrow-flexion and others added 3 commits September 16, 2024 13:28
Jira ticket: CAMS-283

Co-authored-by: Fritz Madden <[email protected]>
Co-authored-by: Arthur Morrow <[email protected]>
Co-authored-by: James Brooks <[email protected]>
Co-authored-by: Brian Posey <[email protected]>,
Jira ticket: CAMS-283

Co-authored-by: Fritz Madden <[email protected]>
Co-authored-by: Arthur Morrow <[email protected]>
Co-authored-by: James Brooks <[email protected]>
Co-authored-by: Brian Posey <[email protected]>,
Jira ticket: CAMS-283

Co-authored-by: Brian Posey <[email protected]>,
import { UstpOfficeDetails } from '../../../../../../common/src/cams/courts';

//TODO: We should probably put this in Cosmos so we don't have to deal with this locally
export const USTP_OFFICE_DATA_MAP = new Map<string, UstpOfficeDetails>([
Copy link
Contributor

Choose a reason for hiding this comment

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

We should probably add the following in addition to NY and Seattle:

  'USTP_CAMS_Region_2_Office_Brooklyn,USTP CAMS Region 2 Office Brooklyn,BR\n' +
  'USTP_CAMS_Region_2_Office_Central_Islip,USTP CAMS Region 2 Office Central Islip,LI\n' +
  'USTP_CAMS_Region_2_Office_Albany,USTP CAMS Region 2 Office Albany,AL\n' +
  'USTP_CAMS_Region_2_Office_Utica,USTP CAMS Region 2 Office Utica,UT\n' +
  'USTP_CAMS_Region_2_Office_Buffalo,USTP CAMS Region 2 Office Buffalo,BU\n' +
  'USTP_CAMS_Region_2_Office_Rochester,USTP CAMS Region 2 Office Rochester,RO\n' +
  'USTP_CAMS_Region_2_Office_New_Haven,USTP CAMS Region 2 Office New Haven,NH\n' +

Copy link
Contributor

Choose a reason for hiding this comment

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

At least before we end work on CAMS-283.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added a goal to our tracker.

@jamesobrooks jamesobrooks merged commit 05b8302 into main Sep 17, 2024
14 checks passed
@jamesobrooks jamesobrooks deleted the CAMS-283-update-model branch September 17, 2024 15:48
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.

3 participants