application.yml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. # Directory where the RDF data files are stored.
  22. location: /tmp/fcrepo/data/ldprs_store
  23. # store layout. this corresponds to a sub-class of the
  24. # `lakesuperior.store.rdf.base_rdf_layout/baserdflayout`.
  25. layout: rsrc_centric_layout
  26. # whether to check if the object of a client-provided triple is the uri
  27. # of a repository-managed resource and veify if that exists.
  28. # if set to false, properties are allowed to point to resources in the
  29. # repositoy that do not exist. also, if a resource is deleted, inbound
  30. # relationships may not be cleaned up.
  31. # this can be one of `false` (boolean), `lenient` or `strict`. `false`
  32. # does not check for referential integrity. `lenient` quietly drops a
  33. # user-provided triple if its object violates referential integrity.
  34. # `strict` raises an exception.
  35. referential_integrity: lenient
  36. # this mimics fedora4 behavior which segments an identifier on post.
  37. legacy_ptree_split: False
  38. # The path used to persist LDP-NR (bitstreams).
  39. # This is for now a POSIX filesystem. Other solutions such as HDFS may be
  40. # possible in the future.
  41. ldp_nr:
  42. # See store.ldp_rs.layout.
  43. layout: default_layout
  44. # The filesystem path to the root of the binary store.
  45. path: /tmp/fcrepo/data/ldpnr_store
  46. # How to split the balanced pairtree to generate a path. The hash
  47. # string is defined by the uuid.algo parameter value.
  48. # This parameter defines how many characters are in each branch. 2-4 is
  49. # the recommended setting. NOTE: a value of 2 will generate up to 256
  50. # sub-folders in a folder; 3 will generate max. 4096 and 4 will
  51. # generate max. 65536. Check your filesystem capabilities before
  52. # setting this to a non-default value.
  53. #
  54. # Default: 2
  55. pairtree_branch_length: 2
  56. # Max. number of branches to generate. 0 will split the string until
  57. # it reaches the end.
  58. # E.g. if the hash value is 0123456789abcdef01234565789abcdef and the
  59. # branch length value is 2, and the branch number is 4, the path will
  60. # be 01/23/45/67/89abcdef01234565789abcdef. For a value of 0 it will be
  61. # 01/23/45/67/89/ab/cd/ef/01/23/45/67/89/ab/cd/ef. Check your system
  62. # capabilities for maximum nested directories before setting this to 0,
  63. # especially with longer hash algorithms.
  64. #
  65. # Default: 4
  66. pairtree_branches: 4
  67. # Configuration for messaging.
  68. messaging:
  69. # List of channels to send messages to.
  70. # Each channel must define the `endpoint` and the `level` parameters.
  71. routes:
  72. # Output handler. Currently only `StompHandler` is supported.
  73. - handler: StompHandler
  74. # Whether this route is used. It False, no messages will be emitted
  75. # for this route.
  76. active: True
  77. host: 127.0.0.1
  78. port: 61613
  79. username:
  80. password:
  81. protocol: '12'
  82. destination: '/topic/fcrepo'
  83. # Message format: at the moment the following are supported:
  84. # - `ASResourceFormatter`: Sends information about a resource being
  85. # created, updated or deleted, by who and when, with no further
  86. # information about what changed.
  87. # - `ASDeltaFormatter`: Sends the same information as
  88. # `ASResourceFormatter` with the addition of the triples that were
  89. # added and the ones that were removed in the request. This may be
  90. # used to send rich provenance data to a preservation system.
  91. formatter: ASResourceFormatter