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 DWQUPDESDischargers from Internal/OpenSGID #346

Open
22 of 27 tasks
stdavis opened this issue Aug 22, 2024 · 23 comments
Open
22 of 27 tasks

Remove DWQUPDESDischargers from Internal/OpenSGID #346

stdavis opened this issue Aug 22, 2024 · 23 comments
Assignees
Labels
deprecation Removing data and or a service porter issue related to adding and removing data and services

Comments

@stdavis
Copy link
Member

stdavis commented Aug 22, 2024

Summary

This is part of a group of layers (used in the DEQ Interactive Map) that DWQ has recently moved from File Geodatabases on a network share to AGOL hosted feature layers. This means that we no longer need to pull data from their file share for the interactive map and can instead reference their AGOL items directly. These layer are also currently in SGID. We can now remove them from internal/OpenSGID and our AGOL org and replace them with shared items from DEQ in SGID for ArcGIS.

Migration Guide

This dataset has been replaced by this DEQ AGOL Service.

Action items

These items should be addressed before any further actions are taken.

  • Should the new DEQ AGOL item be included in SGID on ArcGIS? Yes via shared items from DEQ
  • Should the new DEQ AGOL item be included in the SGID Index? Yes
  • Work with Ryan Parker to get his AGOL item standardized and shared to our Hub (@gregbunce, completed: 2024/90/19)

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 (@stdavis, completed: 2024/09/30)
  • Remove all tags other than "Deprecated" in the SDE metadata (@stdavis, completed: 2024/09/30)
  • Add note to SDE description noting when layer will be deleted and any replacement layer (@stdavis, completed: 2024/09/30)
  • Update the SGID Index to point to the DEQ AGOL item (@stdavis, completed: 2024/09/30)
  • 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 (@stdavis, completed: 2024/09/30)
    • 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 (@stdavis, completed: 2024/10/14)
      • Unshare the item from its SGID group, which will remove it from the SGID on ArcGIS (@stdavis, completed: 2024/10/14)
        - [ ] Check if this layer in the base maps. If so, work with Zach to develop a path forward before you proceed with a Hard Delete (name, completed: 2024/00/00).

Hard Delete

Target Date: 2024/10/15

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 (@gregbunce, completed: 2024/00/00)
    • Deprecated database layers should be backed up on Google Drive > AGRC Projects > SGID > deprecated layers > internal_db_sgid_layers (@gregbunce, completed: 2024/00/00).
  • Remove ArcGIS Online item: (@gregbunce, completed: 2024/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 manually 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 (@stdavis, completed: 2024/00/00)
      - [ ] Update the SGID Index fields: "arcGisOnline", "openSgid", "openSgidTableName" (@stdavis, completed: 2024/00/00)
  • Update relevant gis.utah.gov data pages (including downloadMetadata.ts) (@stdavis, completed: 2024/10/21)
    - [ ] Update SGID.META.AGOLItems table (name, completed: 2024/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 (@gregbunce, completed: 2024/00/00)
  • Remove row from SGID.META.ChangeDetection (@stdavis, completed: 2024/10/21)
  • Remove data from forklift hashing and receiving (@stdavis, completed: 2024/10/21)
  • Remove row from data/hashed/changedetection.gdb/TableHashes (@stdavis, completed: 2024/10/21)

Shelve/Static

Choose one based on situation.

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

Add record to table.

- [ ] Add record to AGOLItems_shelved table in ArcGIS Online with shelved or static in the CATEGORY field (name, completed: 2024/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?
    No, I checked the dashboard and couldn't find any requests.
  • Notify Don Jackson (don.jackson1 at motorolasolutions.com) if the data is in the Next-Generation 911 Motorola Aware Map? (@gregbunce on 2024/09/16)
  • Does any other application depend on this data?
  • Enviro, but I've already pointed it at the new AGOL items. There may be some cleanup in forklift at some point but I don't think that it should block this porter item.

Notification

Group Task Assignments

  1. Check [x] the box when you have assigned all the tasks relevant to your group.
@stdavis stdavis added deprecation Removing data and or a service blocked Certain tasks are blocking progress (conductor will skip checks) porter issue related to adding and removing data and services labels Aug 22, 2024
@stdavis stdavis self-assigned this Aug 22, 2024
@stdavis stdavis changed the title Remove Utah DWQ UPDES Dischargers from SGID Remove Utah DWQ UPDES Dischargers from Internal/OpenSGID Aug 28, 2024
@stdavis stdavis removed the blocked Certain tasks are blocking progress (conductor will skip checks) label Aug 28, 2024
@stdavis stdavis changed the title Remove Utah DWQ UPDES Dischargers from Internal/OpenSGID Remove SGID.ENVIRONMENT.DWQUPDESDischargers from Internal/OpenSGID Aug 28, 2024
@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@steveoh
Copy link
Member

steveoh commented Sep 2, 2024

dev team tasks are assigned. I believe the rest of the unassigned are for the data team. let me know if you agree @gregbunce

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@stdavis stdavis changed the title Remove SGID.ENVIRONMENT.DWQUPDESDischargers from Internal/OpenSGID Remove DWQUPDESDischargers from Internal/OpenSGID Sep 9, 2024
@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@gregbunce
Copy link
Contributor

note: i'm working with Ryan to get these 7 water-related issues standardized and wired up to hub.

@gregbunce
Copy link
Contributor

okay, we're back in business. the deq layers are wired up to our Hub site. we're ready to proceed.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

@agrc-conductor

This comment was marked as outdated.

stdavis added a commit to agrc/gis.utah.gov that referenced this issue Oct 21, 2024
stdavis added a commit to agrc/gis.utah.gov that referenced this issue Oct 21, 2024
@agrc-conductor
Copy link

conductor results for tasks - 346

check status
@gregbunce has completed 3 out of 7 tasks
stdavis has completed 12 out of 12 tasks 👍
@steveoh has completed 2 out of 3 tasks
jacobdadams has completed 1 out of 1 tasks 👍
@rkelson has completed 0 out of 1 tasks

@agrc-conductor
Copy link

conductor results for environment.dwqupdesdischargers

check status
internal sgid
meta table 👍
stewardship ⛔ Did not find environment.dwqupdesdischargers in the worksheet

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

4 participants