application.yml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. # Configuration for repository.
  2. graph:
  3. # Name of the "main" graph containing metadata about all resources.
  4. #
  5. # Default: main
  6. main_graph: main
  7. # Configuration for binary path and fixity check generation. The hash is a
  8. # checksumn of the contents of the file.
  9. uuid:
  10. # Algorithm used to calculate the hash that generates the content path.
  11. # One of: sha1, sha224, sha256, sha384, or sha512, corresponding to the
  12. # omonymous hashlib function.
  13. #
  14. # Default: sha1.
  15. algo: sha1
  16. # Data store configuration.
  17. store:
  18. # The semantic store used for persisting LDP-RS (RDF Source) resources.
  19. # MUST support SPARQL 1.1 query and update.
  20. ldp_rs:
  21. webroot: http://localhost:9999/namespace/fcrepo/
  22. query_ep: sparql
  23. update_ep: sparql
  24. default_graph: http://www.w3.org/ns/sparql-service-description#
  25. # Optional
  26. username: <set me>
  27. password: <set me>
  28. ssl_verify: false
  29. # The path used to persist LDP-NR (bitstreams).
  30. # This is for now a POSIX filesystem. Other solutions such as HDFS may be
  31. # possible in the future.
  32. ldp_nr:
  33. # The filesystem path to the root of the binary store.
  34. path: /data/fcrepo/ldpnr_store
  35. # How to split the balanced pairtree to generate a path. The hash
  36. # string is defined by the uuid.algo parameter value.
  37. # This parameter defines how many characters are in each branch. 2-4 is
  38. # the recommended setting. NOTE: a value of 2 will generate up to 256
  39. # sub-folders in a folder; 3 will generate max. 4096 and 4 will
  40. # generate max. 65536. Check your filesystem capabilities before
  41. # setting this to a non-default value.
  42. #
  43. # Default: 2
  44. pairtree_branch_length: 2
  45. # Max. number of branches to generate. 0 will split the string until
  46. # it reaches the end.
  47. # E.g. if the hash value is 01234567-89ab-cdef-0123-4565789abcdef
  48. # (dashes added for readability), and the branch length value is 2, and
  49. # the branch number is 4, the path will be
  50. # 01/23/45/67/89abcdef01234565789abcdef. For a value of 0 it will be
  51. # 01/23/45/67/89/ab/cd/ef/01/23/45/67/89/ab/cd/ef. Check your system
  52. # capabilities for maximum nested directories before setting this to 0,
  53. # especially with longer hash algorithms.
  54. #
  55. # Default: 4
  56. pairtree_branches: 4