Questions tagged [fedora-commons]

Fedora (Flexible Extensible Digital Object Repository Architecture) defines a set of abstractions for expressing digital objects, asserting relationships among digital objects, and linking "behaviors" (i.e., services) to digital objects.

Fedora (Flexible Extensible Digital Object Repository Architecture) was originally developed by researchers at Cornell University as an architecture for storing, managing, and accessing digital content in the form of digital objects inspired by the Kahn and Wilensky Framework. Fedora defines a set of abstractions for expressing digital objects, asserting relationships among digital objects, and linking "behaviors" (i.e., services) to digital objects.

Project website http://fedora-commons.org/

41 questions
7
votes
1 answer

How do I use requests.put() to upload a file using Python?

I am trying to use the requests library in Python to upload a file into Fedora commons repository on localhost. I'm fairly certain my main problem is not understanding open() / read() and what I need to do to send data with an http request. def…
awscott
  • 73
  • 1
  • 1
  • 3
5
votes
0 answers

Issue uploading a file second time in fedora 4.4 version after cancelling the uploading process in the middle

We are uploading a file of nearly 50G using a python script to the fedora repository. And we had to cancel it abruptly (Ctrl+C) as we had sudden downtime needed on the repository server. Now, we are unable to upload the file again. I can not see…
GP92
  • 433
  • 1
  • 12
  • 30
3
votes
1 answer

Scaling Repositories horizontally on common x86 hardware

I was wondering if you guys had any tips which repository implementation has good clustering and horizontal scaling characteristics on common hardware? The problem is that we have to implement a preservation system on top of a repository which is…
fasseg
  • 17,504
  • 8
  • 62
  • 73
2
votes
1 answer

Issue with libpq.so.5 and PQencryptPasswordConn version RHPG_10 on Fedora30

I am trying to run my python script but I am getting below error. I tried to install and uninstall psycopg2 in different ways but is not working. My postgres version is 9.6 and my psycopg2 version is 2.8.2. Anyone had the same issue? Thanks in…
Joan Triay
  • 1,518
  • 6
  • 20
  • 35
2
votes
1 answer

curl no URL specified using POST

From a shell, I'm trying to use the REST API for Fedora Commons to upload a binary to a particular location using curl: curl -X PUT --upload-file image.jpg -H "Content-Type: image/jpeg" -H "http://localhost:8080/rest/TestUpload/newexcel" The error…
mutanthumb
  • 161
  • 1
  • 13
2
votes
3 answers

How to write XACML Policy using Custom Attributes

I'm trying to write an XACML policy that will utilize a custom attribute. I'm thinking of something like:
Berrisford
  • 126
  • 9
1
vote
1 answer

How to call Fedora Commons findObjects method (web service)

I'm trying to make a search through the Fedora Commons web service. I'm interested in the findObjects method. How can I make a search in Java equal to the example described on the findObjects syntax documentation. I'm particularly interested in this…
Jojje
  • 1,749
  • 3
  • 25
  • 44
1
vote
1 answer

How to restart SOLR search using Solrj from page?

I'm iterating whole solr using solrj. Solr will return me page with uuid's records and I'm checking that uuid in my Fedora Commons Repository. I want iterate whole solr, in my case It can take up to one week to finish. So far It ran 3 days a then it…
Michael
  • 169
  • 2
  • 2
  • 16
1
vote
0 answers

Self-defined id's and order structure in Fedora 4

I have a json-ld files with following structure: { "@context": { "books_id":"http://schema.org/identifier", "comment":"http://schema.org/Comment", "date":"http://schema.org/Date", …
andy_bu
  • 113
  • 2
  • 13
1
vote
1 answer

fedora commons ingest object via REST error

I recently set up FEDORA for a project I am working on to catalogue various media. I want to be able to consume files (datastreams) via the FEDORA REST api. I managed to create a digital object via curl with no issues at all. I also managed to add…
1
vote
1 answer

SPARQL INSERT not working with PUT method. why?

I am trying to create a new object with PUT method and to add some of my own prefixes with SPARQL query. But, the object is being created without the added prefixes. It works with POST and PATCH though. Why and is there alternative way for SPARQL to…
GP92
  • 433
  • 1
  • 12
  • 30
1
vote
2 answers

fcrepo-indexing-solr not working as expected with fedora commons. `Credentials may not be null` error while communicating messages

I have installed fcrepo-indexer-solr in karaf. And tried to create new objects in fedora repository. Then I found the following errors in karaf logs. Also, no errors if I delete any object in the repo. The errors are only when I create or update…
GP92
  • 433
  • 1
  • 12
  • 30
1
vote
1 answer

do I need to set up triplestore along with solr for external search in fedora commons?

I have setup solr, camel-toolbox:fcrepo-indexing-solr and added the indexable property to the repository objects. So, do I need to setup fuseki or sesame also or solr alone is just fine? I am doing some transactions, creating new objects or…
GP92
  • 433
  • 1
  • 12
  • 30
1
vote
1 answer

A RESTful container contains many things. But how to know how to interact with it and what is contained in it?

What I meant was: How do we know what requests a particular URI of the container accepts and what parameters we can use? For example: the container URI: http://example.com/containers/container1 -> Now I want to know a way to access the metadata of…
GP92
  • 433
  • 1
  • 12
  • 30
1
vote
1 answer

Turn off REST Authorization in Fedora-Commons 3.8.1

I'm trying to make a REST call to fedora-commons 3.8.1 and I continually get "401 Unauthorized" errors. I googled it and found that I need to make sure: Is set in the Authorization module,…
cwittah
  • 349
  • 1
  • 3
  • 17
1
2 3