application.yml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. # Store strategy. This corresponds to a sub-class of the
  22. # `lakesuperior.connectors.graph_store_connector.BaseGraphStoreConnector`.
  23. strategy: simple_strategy
  24. webroot: http://localhost:9999/namespace/fcrepo/
  25. query_ep: sparql
  26. update_ep: sparql
  27. default_graph: http://www.w3.org/ns/sparql-service-description#
  28. # Optional
  29. username: <set me>
  30. password: <set me>
  31. ssl_verify: false
  32. # The path used to persist LDP-NR (bitstreams).
  33. # This is for now a POSIX filesystem. Other solutions such as HDFS may be
  34. # possible in the future.
  35. ldp_nr:
  36. # The filesystem path to the root of the binary store.
  37. path: /data/fcrepo/ldpnr_store
  38. # How to split the balanced pairtree to generate a path. The hash
  39. # string is defined by the uuid.algo parameter value.
  40. # This parameter defines how many characters are in each branch. 2-4 is
  41. # the recommended setting. NOTE: a value of 2 will generate up to 256
  42. # sub-folders in a folder; 3 will generate max. 4096 and 4 will
  43. # generate max. 65536. Check your filesystem capabilities before
  44. # setting this to a non-default value.
  45. #
  46. # Default: 2
  47. pairtree_branch_length: 2
  48. # Max. number of branches to generate. 0 will split the string until
  49. # it reaches the end.
  50. # E.g. if the hash value is 01234567-89ab-cdef-0123-4565789abcdef
  51. # (dashes added for readability), and the branch length value is 2, and
  52. # the branch number is 4, the path will be
  53. # 01/23/45/67/89abcdef01234565789abcdef. For a value of 0 it will be
  54. # 01/23/45/67/89/ab/cd/ef/01/23/45/67/89/ab/cd/ef. Check your system
  55. # capabilities for maximum nested directories before setting this to 0,
  56. # especially with longer hash algorithms.
  57. #
  58. # Default: 4
  59. pairtree_branches: 4