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

Remove HEALTH.HealthCareFacilities from SGID #256

Open
7 of 28 tasks
Tracked by #426
ZachBeck opened this issue Aug 10, 2023 · 20 comments
Open
7 of 28 tasks
Tracked by #426

Remove HEALTH.HealthCareFacilities from SGID #256

ZachBeck opened this issue Aug 10, 2023 · 20 comments
Labels
deprecation Removing data and or a service porter issue related to adding and removing data and services

Comments

@ZachBeck
Copy link
Member

ZachBeck commented Aug 10, 2023

Summary

HEALTH.HealthCareFacilities hasn't been updated in years. To facilitate the update process the current HealthCareFacilities needs to be deprecated and replaced by a dataset with the same name and new schema that is the same as the source data from the Dept of Health.

Migration Guide

AGOL data will be deprecated and shelved to make way for the new health care facilities

This dataset will be replaced by HEALTH.HealthCareFacilities which is named health.health_care_facilities in the Open SGID.
The replaced data is still accessible via our shelved policy in AGOL (a link to the shelved item).

Action items

  1. Assign a person who should complete the task by replacing name with their github @name.
  2. Check [x] the box when the task is completed and add the date of completion.
  3. Strike out all items that do not apply.

Soft Delete

The purpose of the soft delete is to ensure that all of our users and applications have gracefully migrated off of the dataset. Soft deletes will remain in effect for 14 days. During this time, we will have the ability to restore the dataset to its original SGID offering(s). After these 14 days, the item is then ready for a hard delete.

Note: If this dataset is being replaced, then wait until the new data is publicly available before completing these steps:

  • Append "(Mature Support)" to the end of the item title in the SGID.META.AGOLItems table (@ZachBeck , completed: 2024/07/08)
  • Remove all tags other than "Deprecated" in the SDE metadata (@ZachBeck , completed: 2024/07/08)
  • Add note to SDE description noting when layer will be deleted and any replacement layer (@ZachBeck, completed: 2024/07/08)
  • Update the SGID Index row as deprecated by pasting the related Porter issue URL in the Deprecated field (@ZachBeck, completed: 2024/07/08)
  • Change Authoritative field to d in SGID.META.AGOLItems to automatically set the Deprecated AGOL flag. Allow the d to persist through one run of Auditor - currently, Auditor runs daily at 5:00am (@ZachBeck , completed: 2023/00/00)
    • After at least one successful run of Auditor:
      • Remove the row from the SGID.META.AGOLItems table. This will trigger the removal of this item in Open SGID (@ZachBeck, completed: 2023/00/00)
      • Unshare the item from its SGID group, which will remove it from Open Data (@jacobdadams, completed: 2023/00/00)

Hard Delete

Target Date: 2024/07/23

Hard deletes are final. It is recommended to complete the soft delete process before moving on to these steps. If you decide to skip the soft delete, note that you will need to incorporate some of those steps here.

  • Manually remove data from the Internal SGID (@ZachBeck , completed: 2023/00/00)
    • Deprecated database layers should be backed up on Google Drive > AGRC Projects > SGID > deprecated layers > internal_db_sgid_layers (@ZachBeck , completed: 2023/00/00).
  • Remove ArcGIS Online item: (@jacobdadams , completed: 2023/00/00)
    • Manually delete the AGOL item
    • -OR-
    • Unshare by changing the AGOL_ITEM_ID field in SGID.META.AGOLItems to something other than an Item ID and manaually changing the sharing settings (remove the item from all SGID groups, remove Public sharing),
    • -OR-
    • Shelve the data by copying the row from SGID.META.AGOLItems to the AGOLItems_shelved table in AGOL and changing the AGOL_ITEM_ID field in SGID.META.AGOLItems to shelved or some other note.
      - Deprecated AGOL items can be backed up on Google Drive > AGRC Projects > SGID > deprecated layers >agol_sgid_layers.
  • [ ] Remove Farm from AGOL connection (name, completed: 2023/00/00)
  • Update relevant gis.utah.gov data pages (@ZachBeck, completed: 2023/00/00)
    - [ ] Add this porter url to the Deprecated field of the Stewardship record (name, completed: 2023/00/00)
  • Update SGID.META.AGOLItems table (@ZachBeck, completed: 2023/00/00)
    • cut and paste row to AGOLItems_shelved table if shelving (see below)
    • set the AGOL_ITEM_ID field to hosted by <agency> for Farm from AGOL
    • set the AGOL_ITEM_ID field to exclude from AGOL to not publish to ArcGIS Online
  • Delete Google Drive data (@ZachBeck , completed: 2023/00/00)
  • Remove row from SGID.META.ChangeDetection (@stdavis , completed: 2023/00/00)
  • Remove data from forklift hashing and receiving (@stdavis, completed: 2023/00/00)
  • Remove row from data/hashed/changedetection.gdb/TableHashes (@stdavis, completed: 2023/00/00)

Shelve/Static

Choose one based on situation.

- [ ] Upload to UtahAGRC/AGRC_Shelved folder in AGOL (New shelved item not already in AGOL) (name , completed: 2023/00/00)

  • Move existing AGOL item to AGRC_Shelved AGOL folder (shelving an item already in AGOL) (@ZachBeck, completed: 2023/00/00)
    - [ ] Upload to appropriate UtahAGRC/{SGID Category} folder in AGOL (for static datasets) (name, completed: 2023/00/00)

Add record to table.

  • Add record to AGOLItems_shelved table in ArcGIS Online with shelved or static in the CATEGORY field (@ZachBeck, completed: 2023/00/00)

🤖 Automation validation

  1. Assign yourself or someone to check the item by replacing name with their github @name.
  2. Check [x] the box and add the date of verification 2020/01/01 when the task is verified.
  3. Strike out all items that do not apply.

Are there service dependencies

  • Are clients querying this data with the WebAPI?
  • Notify Don Jackson (at motorolasolutions.com) if the data is in the Next-Generation 911 Motorola Aware Map? (@gregbunce on 2023/00/00)
  • Does any other application depend on this data?

Notification

Group Task Assignments

  1. Check [x] the box when you have assigned all the tasks relevant to your group.
@ZachBeck ZachBeck added deprecation Removing data and or a service porter issue related to adding and removing data and services labels Aug 10, 2023
@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@eneemann has completed 0 out of 1 tasks
@gregbunce has completed 0 out of 1 tasks
@rkelson has completed 0 out of 1 tasks

4 similar comments
@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@eneemann has completed 0 out of 1 tasks
@gregbunce has completed 0 out of 1 tasks
@rkelson has completed 0 out of 1 tasks

@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@eneemann has completed 0 out of 1 tasks
@gregbunce has completed 0 out of 1 tasks
@rkelson has completed 0 out of 1 tasks

@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@eneemann has completed 0 out of 1 tasks
@gregbunce has completed 0 out of 1 tasks
@rkelson has completed 0 out of 1 tasks

@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@eneemann has completed 0 out of 1 tasks
@gregbunce has completed 0 out of 1 tasks
@rkelson has completed 0 out of 1 tasks

@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@gregbunce has completed 0 out of 2 tasks
@rkelson has completed 0 out of 1 tasks

@steveoh steveoh added the blocked Certain tasks are blocking progress (conductor will skip checks) label Sep 19, 2023
@steveoh
Copy link
Member

steveoh commented Sep 19, 2023

adding blocked since work hasn't started

@ZachBeck
Copy link
Member Author

ZachBeck commented Nov 7, 2023

Waiting on updated facilities from Health.

@nathankota nathankota removed the blocked Certain tasks are blocking progress (conductor will skip checks) label Jun 3, 2024
@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor
Copy link

conductor results for HEALTH.HealthCareFacilities

check status
internal sgid
meta table
open sgid
open data
arcgis online
stewardship
- porter issue link

@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@gregbunce has completed 1 out of 2 tasks
rkelson has completed 1 out of 1 tasks 👍

@agrc-conductor
Copy link

conductor results for HEALTH.HealthCareFacilities

check status
internal sgid
meta table
open sgid
open data
arcgis online
stewardship
- porter issue link

@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@gregbunce has completed 1 out of 2 tasks
rkelson has completed 1 out of 1 tasks 👍

@brigsz
Copy link
Member

brigsz commented Jun 24, 2024

Do folks think this will need a new retention schedule as it moves to "Shelved"? it seems like it will, as it is different from non shelved.

@steveoh
Copy link
Member

steveoh commented Jun 24, 2024

In my opinion it probably doesn't need to be shelved. It lived in the SGID for longer than 6 months and archives should have a copy so I believe we are covered there. The schedule it is on says archives will retain it in perpetuity, which I would suggest maybe a shorter lifespan since it doesn't appear to have historical relevance.

@agrc-conductor
Copy link

conductor results for HEALTH.HealthCareFacilities

check status
internal sgid
meta table
open sgid
open data
arcgis online
stewardship
- porter issue link

@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 0 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@gregbunce has completed 1 out of 2 tasks
rkelson has completed 1 out of 1 tasks 👍

@agrc-conductor
Copy link

conductor results for HEALTH.HealthCareFacilities

check status
internal sgid
meta table
open sgid 👍
open data
arcgis online
stewardship
- porter issue link

@agrc-conductor
Copy link

conductor results for tasks - 256

check status
@ZachBeck has completed 3 out of 11 tasks
@jacobdadams has completed 0 out of 4 tasks
@stdavis has completed 0 out of 3 tasks
@steveoh has completed 0 out of 3 tasks
@gregbunce has completed 1 out of 2 tasks
rkelson has completed 1 out of 1 tasks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deprecation Removing data and or a service porter issue related to adding and removing data and services
Projects
None yet
Development

No branches or pull requests

5 participants