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

add retrofit defintions #253

Merged

Conversation

longshuicy
Copy link
Member

@longshuicy longshuicy commented Dec 18, 2023

This PR added Fragility Mapping Entry keys where we can utilize to properly define fragilities and retrofit.

To test this PR:

  1. POST to /dfr3/api/mappings with below body as application/json.
    Use the below json for test body
    galveston_sw_plus_retrofit_mapping.json
    galveston_flood_plus_retrofit_mapping.json
    SLC_plus_retrofit.json

  2. GET /dfr3/api/mappings and try GET /mappings/{ID posted from step 1)

  3. DELETE /dfr3/api/mappings/{ID posted from step 1}

@longshuicy longshuicy linked an issue Dec 18, 2023 that may be closed by this pull request
@longshuicy longshuicy marked this pull request as ready for review January 30, 2024 19:54
@longshuicy longshuicy self-assigned this Feb 15, 2024
@longshuicy longshuicy requested a review from navarroc February 16, 2024 22:13
Copy link
Contributor

@ylyangtw ylyangtw left a comment

Choose a reason for hiding this comment

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

Tests pass. Changes look good.

Copy link
Contributor

@Rashmil-1999 Rashmil-1999 left a comment

Choose a reason for hiding this comment

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

Looks good!

@longshuicy longshuicy merged commit 6aa78d4 into develop Feb 20, 2024
6 checks passed
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.

Include retrofit information on the mapping class
4 participants