GSA / datagov-ckan-multi

Other
10 stars 6 forks source link

CKAN organizations linked to publishers list #554

Closed anuveyatsu closed 3 years ago

anuveyatsu commented 3 years ago

User Story

Note that this is outcome item from discovery work we've done here https://app.zenhub.com/workspaces/datagov-multi-tenant-ckan-5cf12b601437ff1e943f0aa2/issues/gsa/datagov-ckan-multi/540

Acceptance Criteria

Details / tasks

ghost commented 3 years ago

@osahon-okungbowa @anuveyatsu Hyon has confirmed that this ticket has highest priority. So go ahead and estimate it, then start working on it. :)

ghost commented 3 years ago

@anuveyatsu @osahon-okungbowa What's the update on this ticket?

anuveyatsu commented 3 years ago

@cmugisha Hi, I'm currently working on this. We will open a work-in-progress PR.

osahon-okungbowa commented 3 years ago

@cmugisha moved this ticket to QA. Although right now deployment to sandbox failed due to a wider Jenkins issue in the GSA ecosystem. Awaiting any updates on this from @avdata99 or @adborden

anuveyatsu commented 3 years ago

When testing this story, please, use GSA CKAN org as only that org has publishers imported. If you use other orgs, you can't select publisher as no publishers available at the moment. Cc @hkdctol

adborden commented 3 years ago

@hkdctol I believe this is ready to QA on sandbox.

hkdctol commented 3 years ago

@adborden am I testing on https://inventory.sandbox.datagov.us/ ? When I select GSA organization and add a dataset I'm not seeing a list of Publishers relevant to GSA

hkdctol commented 3 years ago

@adborden in the inventory sandbox, when I select GSA, I would expect the list of relevant publishers, right? Not seeing it. inventory sb publisher field

anuveyatsu commented 3 years ago

Hi @hkdctol @adborden this is the list of publishers we've added to "GSA" CKAN organization in the sandbox:

This list is based on previous publishers list which wasn't linked to CKAN orgs. We've just looked for all publishers that have "General Services Administration" as a top level publisher. I guess the list isn't accurate but hope it is good enough for testing purposes.

hkdctol commented 3 years ago

@anuveyatsu thanks for that clarification I DO now see those organizations associated with GSA org in inventory sandbox. Now I think it's a matter of making sure we have a list to work from and confirming how the choices in this field are updated with the list as it changes?

anuveyatsu commented 3 years ago

@hkdctol yes, the idea from our discovery work was that a list of publishers would be managed in a spreadsheet and once ready it can be imported into CKAN using the command line tool. Below is the example of how the publishers would look like in a table (spreadsheet). Note that the first column is organization which refers to CKAN org (owner org of a dataset):

organization publisher publisher_1 publisher_2 publisher_3 publisher_4 publisher_5
agricultural-marketing-service-department-of-agriculture Department of Agriculture Agricultural Marketing Service
ars-usda-gov Department of Agriculture Agricultural Research Service
aphis-usda-gov Department of Agriculture Animal and Plant Health Inspection Service
risk-management-agency-department-of-agriculture Department of Agriculture Departmental Management
usda-gov Department of Agriculture Office of Chief Information Officer
usda-gov Department of Agriculture Economic Research Service
osahon-okungbowa commented 3 years ago

@hkdctol the command-line tool has been created as described in this discovery ticket https://app.zenhub.com/workspaces/datagov-multi-tenant-ckan-5cf12b601437ff1e943f0aa2/issues/gsa/datagov-ckan-multi/540. The Readme documentation for the command-line tool has also been updated appropriately (see: https://github.com/GSA/ckanext-dcat_usmetadata#cli-command). Cc @adborden

adborden commented 3 years ago

Okay, I will update the spreadsheet to include the organization column and link it from the README. Then Hyon can make changes to the spreadsheet and we can update the publishers.

On Wed, Feb 10, 2021 at 11:30 PM Osahon Okungbowa notifications@github.com wrote:

@hkdctol https://github.com/hkdctol the command-line tool has been created as described in this discovery ticket https://app.zenhub.com/workspaces/datagov-multi-tenant-ckan-5cf12b601437ff1e943f0aa2/issues/gsa/datagov-ckan-multi/540. The Readme documentation for the command-line tool has also been updated appropriately (see: https://github.com/GSA/ckanext-dcat_usmetadata#cli-command). Cc @adborden https://github.com/adborden

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GSA/datagov-ckan-multi/issues/554#issuecomment-777251210, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD4OB7OIDRYLZALR4B3H6TS6OBQHANCNFSM4WCAEK5A .

-- Aaron D Borden Lead Engineer | IT Specialist TTS | Data.gov https://www.data.gov