JustFixNYC / tenants2

The JustFix tenant platform!
https://app.justfix.org/
GNU General Public License v3.0
23 stars 4 forks source link

Migrate to Geosearch V2 API #2414

Closed shakao closed 1 year ago

shakao commented 1 year ago

[sc-11187] https://github.com/JustFixNYC/who-owns-what/issues/666

doing the quick initial fix of converting the updated V2 response JSON:

properties: {
   ...
   addendum: {
      pad: {
         bbl: [bbl]
         bin: [bin]
      }
   }
}

to our expected flattened V1 format:

properties: {
   pad_bbl: [bbl]
   pad_bin: [bin]

cleanup task for later fully migrating the FeatureProperties/Feature classes to the V2 format created here [sc-11233]. separately, we will need to update the justfix-ts version once that is off Geosearch V1, but the tenant platform frontend doesn't use pad_bbl/pad_bin so that should just be a quick version bump

shortcut-integration[bot] commented 1 year ago

This pull request has been linked to Shortcut Story #11187: Switch to Geosearch V2 API (WOW & LOC).

shortcut-integration[bot] commented 1 year ago

This pull request has been linked to Shortcut Story #11233: Convert tenant platform geosearch classes to V2 format.