Skip to content

Deliver Provider Region Data #444

@dcollie2

Description

@dcollie2

We currently allow providers to be assigned to multiple regions. The stakeholders want to be able to set up individual devices to only get content for a particular region. To do this, they will need to know which providers are assigned to which region.

Because they synch media files using rsync, they cannot simply parse the database connections between providers and retrieve the relevant files. They need to be able to build their rsync command to get content from specific providers. To do this, they want to pattern match the file names.

They understand that this will only give them files that have been uploaded since the migration to SkillRx. Files from before that migration will not follow the naming convention.

Tasks:

  • Deliver a json file to the V2 directories with this information for all providers with provider name, provider file name prefix, and names of regions assigned to provider
  • On the providers index page, show regions and file name prefix
  • On the regions index page, the count is incorrect; show the correct number of providers associated with each region
  • Make the file name prefix required
  • When a provider's file name prefix is updated, queue jobs to rename the files in Azure

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions