Skip to content

[question] assignment of stable identifier for a source (and not only its access points) #809

Open
@tlongers

Description

@tlongers

@hancush In our model we assign an UUID to source access point but not the source itself:

Source 1 -> Access point A (e38161cb-f0f2-4fa6-94ff-2c99f96225ea)
Source 1 -> Access point B (1c0fc3ea-b5fa-4fcf-acb7-0f8cb6b3b829)
Source 1 -> Access point C (bf0b493d-6b56-4347-8935-8be63cc44fe3)

Access points are citations of specific parts of a source, and we assign them a stable UUID e.g. page 54 of Source 1 has a different access point (and uuid) to page 68 of Source 1. We don't, however, assign a stable UUID to Source 1.

Although sfm-cms draws uuids for access points from our import sheets, it also assign a uuid to the source. Check here, for example, using the sfm-cms our long neglected "sources" view (login required):

https://back.securityforcemonitor.org/en/source/view/079ddd1a-55c4-4694-902a-f6287a2ca09b/1da0094b-02fe-4b4f-a87c-84df1414bea8/#evidence

The URL displays access point 1da0094b-02fe-4b4f-a87c-84df1414bea8, the record for which contains the following data:

field value
source:comments:admin
source:status:admin 3
source:external_archive_sha_content:admin  
source:external_archive_sha_meta:admin  
source:access_point_id:admin 1da0094b-02fe-4b4f-a87c-84df1414bea8
source:type document
source:title BAHRAIN – M270 MULTIPLE LAUNCH ROCKET SYSTEMS (MLRS) UPGRADE
source:author  
source:url https://www.dsca.mil/press-media/major-arms-sales/bahrain-m270-multiple-launch-rocket-systems-mlrs-upgrade
source:created_timestamp  
source:uploaded_timestamp  
source:published_timestamp 2022-03-24
source:accessed_timestamp 2022-03-30
source:access_point_type archive
source:access_point_trigger  
source:archive_url https://web.archive.org/web/20220327065604/https://www.dsca.mil/press-media/major-arms-sales/bahrain-m270-multiple-launch-rocket-systems-mlrs-upgrade
source:archive_timestamp  
source:publication_country us
source:publication_name Defense Security Cooperation Agency
source:publication_id:admin 91eda787-dacd-41ee-93c0-e01e3120a28b

However it also assigns 079ddd1a-55c4-4694-902a-f6287a2ca09b to the source, which in this case is the document called BAHRAIN – M270 MULTIPLE LAUNCH ROCKET SYSTEMS (MLRS) UPGRADE.

How is it doing this, and does it repeat the process each time data are imported? Is there a requirement for source uniqueness inside sfm-cms that is being unmet here, and that we should fill by assigning a stable UUID to each source (and not only it access points)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions