application.yml 2.5 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 layout. This corresponds to a sub-class of the
  22. # `lakesuperior.store_layouts.rdf.base_rdf_layout/BaseRdfLayout`.
  23. layout: simple_layout
  24. webroot: http://localhost:9999/namespace/fcrepo/
  25. query_ep: sparql
  26. update_ep: sparql
  27. # Optional
  28. username: <set me>
  29. password: <set me>
  30. ssl_verify: false
  31. # The path used to persist LDP-NR (bitstreams).
  32. # This is for now a POSIX filesystem. Other solutions such as HDFS may be
  33. # possible in the future.
  34. ldp_nr:
  35. # See store.ldp_rs.layout.
  36. layout: default_layout
  37. # The filesystem path to the root of the binary store.
  38. path: /data/fcrepo/ldpnr_store
  39. # How to split the balanced pairtree to generate a path. The hash
  40. # string is defined by the uuid.algo parameter value.
  41. # This parameter defines how many characters are in each branch. 2-4 is
  42. # the recommended setting. NOTE: a value of 2 will generate up to 256
  43. # sub-folders in a folder; 3 will generate max. 4096 and 4 will
  44. # generate max. 65536. Check your filesystem capabilities before
  45. # setting this to a non-default value.
  46. #
  47. # Default: 2
  48. pairtree_branch_length: 2
  49. # Max. number of branches to generate. 0 will split the string until
  50. # it reaches the end.
  51. # E.g. if the hash value is 0123456789abcdef01234565789abcdef and the
  52. # branch length value is 2, and the branch number is 4, the path will
  53. # be 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