Sv: Future work on nikita (gui)

Thomas Sødring tsodring at oslomet.no
Wed Oct 12 12:56:27 CEST 2022


I guess an example on how to get it working is as follows:

....hendelseslogg/referanseArkivenhet eq '16e2af4c-5e0e-4330-b92b-6ac6cdbe96ac'

You can use OData to filter out particular objects you want an event log on. Interestingly, it is only recently that we have support for this as nikita brought in the ability to independently search for a uuid and get the actual object (with correct subtype)  back.

Nikita has an event log built in. I used it for integration to blockchain and you (Petter) used it to implement the changelog.

However, from what I remember the event log is tied to saving something to the database so saving an event to the database will cause a recursive save of events to the database, so I need to do something about that.

 - Thomas


________________________________
Fra: Thomas Sødring <tsodring at oslomet.no>
Sendt: onsdag 12. oktober 2022 12:50
Til: Petter Reinholdtsen <pere at hungry.com>; nikita-noark at nuug.no <nikita-noark at nuug.no>
Emne: Sv: Future work on nikita (gui)

I will only know once I implement this in Nikita. The API spec has event types identified:

https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard/blob/master/kapitler/07-tjenester_og_informasjonsmodell.rst#hendelsetype

and has a rel for logging and tracking

  https://rel.arkivverket.no/noark5/v5/api/loggingogsporing/

from:
https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard/blob/master/kapitler/07-tjenester_og_informasjonsmodell.rst#loggingogsporing

So perhaps there is enough there, but the devil is in the implementation detail!

 - Thomas

________________________________
Fra: nikita-noark <nikita-noark-bounces at nuug.no> på vegne av Petter Reinholdtsen <pere at hungry.com>
Sendt: onsdag 12. oktober 2022 10:51
Til: nikita-noark at nuug.no <nikita-noark at nuug.no>
Emne: Re: Future work on nikita (gui)

[Thomas Sødring]
> We are preparing for the spring semester and have decided that we will
> use nikita again to teach students about case handling and the leader
> and record keeper roles. This time we want to include some
> authenticity aspects from Noark including the changelog. I also want
> to get an access log in place so we can show who did want and
> when. This is closely related to the event log (hendelselogg) that is
> partly defined in the Noark API.

Is there anything missing in the Nikita API for this to work, or is the
only missing parts in the GUI?

--
Happy hacking
Petter Reinholdtsen
_______________________________________________
nikita-noark mailing list
nikita-noark at nuug.no
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.nuug.no%2Fmailman%2Flistinfo%2Fnikita-noark&data=05%7C01%7Ctsodring%40oslomet.no%7Cd82ee95cf56f48dfc25c08daac2eee70%7Cfec81f12628645508911f446fcdafa1f%7C0%7C0%7C638011614818203608%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5ccDVsszR0ItPTT0dGdELsWhk35%2FVtKrd1LrFuSrekc%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.nuug.no/pipermail/nikita-noark/attachments/20221012/36b54fd0/attachment-0001.htm>


More information about the nikita-noark mailing list