Hi all. What is the intended usage of describeRepository from API-A?
I'm setting up external monitoring of a Fedora instance, and I use that method to query some basic state of the repository. This is just for some basic "traffic-light" surveillance of the repository, signalling if it is running properly or not. I expected that I could do the following: * Call describeRepository (this will check if the API responds at all) * Query the sampleSearchURL to see that basic searching works * Query the sampleAccessURL to see if access to an object works I had expected that samples were configured in fedora.fcfg, just like the Admin email addresses are. However, it turns out that the sample access URL always refers to the object "demo:5", so I need to import an object with that PID for that to work at all. also the samplePID is hardcoded, although to a different value, which is "repositoryPIDNamespace":100. This does not seen very resonable to me. At the very least, the same samplePID should be used in all examples. Furthermore, if you don't use numeric PIDs in your repository, the samplePID seems plain wrong for your repository. I suggest adding samplePID as a configuration parameter to fedora.fcfg, and using that value in all samples. Best, Kåre -- Kaare Fiedler Christiansen - Software Architect THE STATE AND UNIVERSITY LIBRARY, Victor Albecks Vej 1, 8000 Aarhus C, Denmark. Phone: +45 89462036 ------------------------------------------------------------------------------ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
