Skip to content

Commit

Permalink
Adding an AD for the provisional project to 0.6.1 schema field mapping (
Browse files Browse the repository at this point in the history
#989)

* Adding an AD for the provisional project to 0.6.1 schema field mapping

* Updating the status to the hopefully correct one based on feedback from Chuck B
  • Loading branch information
carolyncole authored Oct 28, 2024
1 parent e40b87e commit 34f34eb
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions architecture-decisions/0008-mediaflux-field-mapping.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# 8. Schema mapping 0.6.1 from Mediaflux provisional projects

Date: 2024-10-15

## Status
In discussion


## Context

- There are provisional projects that exist in Mediaflux that do not exist in the front end application. We will create a report of information from Mediaflux and then read that report in to create projects in the front end.

## Decision

- Schema Fields to Mediaflux asset data:
- project_directory => asset/meta/tigerdata:project/ProjectDirectory (note this could also be asset/path)
- title => asset/meta/tigerdata:project/Title
- status => "active"
- data_sponsor => asset/meta/tigerdata:project/DataSponsor
- data_manager => asset/meta/tigerdata:project/DataManager
- data_users => asset/meta/tigerdata:project/DataUser [list] Assume all data users are read/write
- departments => asset/meta/tigerdata:project/Department
- created_on => asset/ctime
- created_by => asset/creator
- project_id => asset/meta/tigerdata:project/ProjectID
- storage => asset/collection/quota/allocation
- storage_performance => asset/collection/store (assume there will be a mapping between store and performance)
- project_purpose => "Research"
- requested_by => asset/meta/tigerdata:project/DataSponsor
- requested_date => asset/ctime
- approved_by => asset/creator
- approved_date => asset/ctime
- mediaflux_id => asset/id

- Mediaflux fields:
- asset/id
- asset/path
- asset/ctime
- asset/creator
- asset/collection/quota/allocation
- asset/collection/store
- asset/meta/tigerdata:project/ProjectDirectory
- asset/meta/tigerdata:project/Title
- asset/meta/tigerdata:project/DataSponsor
- asset/meta/tigerdata:project/DataManager
- asset/meta/tigerdata:project/DataUser
- asset/meta/tigerdata:project/Department
- asset/meta/tigerdata:project/ProjectID

## Consequences

- Provisional projects will have some metadata that is not entirely correct, but matches with mediaflux data
- Projects in Mediaflux can be seen in the front end

0 comments on commit 34f34eb

Please sign in to comment.