NHMDenmark / DaSSCo-asset-service

DaSSCo asset service is part of DaSSCo storage system
0 stars 0 forks source link

ARS Search Engine - Event -> Asset #80

Open mvb-nt opened 3 weeks ago

mvb-nt commented 3 weeks ago

In the frontend, we want to show the event timestamps as Asset properties.

So if the event is CREATED, it will the created_date, if it's an UPDATE event it will be updated_date and if it's an AUDITED even it'll be an audited_date, all accessible through the Asset date in the frontend "property" dropdown.

This also needs to be handled in the backend, as it currently is put together through the Node names. So these specific dates need to be rewritten completely to query the Event node even though it's sent as part of the Asset node because of the frontend components. Whether it's handled in the frontend or backend, though, I guess is still to be determined.

mvb-nt commented 2 days ago

I added the three properties to the Asset in the backend, and will be handling it in the backend as well when the query is put together.