Skip to content

Commit

Permalink
Enabling pairtree paths for Fedora 6 in Sirenia (#6804)
Browse files Browse the repository at this point in the history
* Enabling pairtree paths for Fedora 6 in Sirenia

* Update valkyrie

---------

Co-authored-by: Daniel Pierce <[email protected]>
  • Loading branch information
randalldfloyd and dlpierce authored Jul 11, 2024
1 parent 26fdf09 commit 59a42ad
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
8 changes: 6 additions & 2 deletions .koppie/config/initializers/1_valkyrie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
ENV.fetch('FCREPO_URL') { "http://localhost:8080/fcrepo/rest" })),
base_path: Rails.env,
schema: Valkyrie::Persistence::Fedora::PermissiveSchema.new(Hyrax::SimpleSchemaLoader.new.permissive_schema_for_valkrie_adapter),
fedora_version: 6
fedora_version: 6.5,
fedora_pairtree_count: 4,
fedora_pairtree_length: 2
), :fedora_metadata
)

Expand Down Expand Up @@ -64,7 +66,9 @@
connection: ::Ldp::Client.new(Hyrax.config.fedora_connection_builder.call(
ENV.fetch('FCREPO_URL') { "http://localhost:8080/fcrepo/rest" })),
base_path: Rails.env,
fedora_version: 6
fedora_version: 6.5,
fedora_pairtree_count: 4,
fedora_pairtree_length: 2
), :fedora_storage
)

Expand Down
3 changes: 2 additions & 1 deletion docker-compose-sirenia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ services:
CATALINA_OPTS=-Dfcrepo.home=/fcrepo-home -Djava.awt.headless=true -Dfile.encoding=UTF-8
-server -Xms512m -Xmx1024m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=256m
-XX:MaxPermSize=256m -XX:+DisableExplicitGC -Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
- JAVA_OPTS=-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true
-Dfcrepo.pid.minter.length=2 -Dfcrepo.pid.minter.count=4
- JAVA_OPTS=-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true -Dfcrepo.pid.minter.length=2 -Dfcrepo.pid.minter.count=4
volumes:
- fcrepo:/fcrepo-home
ports:
Expand Down
2 changes: 1 addition & 1 deletion hyrax.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ SUMMARY
spec.add_dependency 'retriable', '>= 2.9', '< 4.0'
spec.add_dependency 'signet'
spec.add_dependency 'tinymce-rails', '~> 5.10'
spec.add_dependency 'valkyrie', '~> 3.1.1'
spec.add_dependency 'valkyrie', '~> 3.3'
spec.add_dependency 'view_component', '~> 2.74.1' # Pin until blacklight is updated with workaround for https://github.com/ViewComponent/view_component/issues/1565
spec.add_dependency 'sprockets', '3.7.2' # 3.7.3 fails feature specs
spec.add_dependency 'sass-rails', '~> 6.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
# )),
# base_path: Rails.env,
# schema: Valkyrie::Persistence::Fedora::PermissiveSchema.new(Hyrax::SimpleSchemaLoader.new.permissive_schema_for_valkrie_adapter),
# fedora_version: 6
# fedora_version: 6.5,
# fedora_pairtree_count: 4,
# fedora_pairtree_length: 2
# ), :fedora_metadata
# )

Expand Down Expand Up @@ -68,7 +70,9 @@
# ENV.fetch('FCREPO_URL') { "http://localhost:8080/fcrepo/rest" }
# )),
# base_path: Rails.env,
# fedora_version: 6
# fedora_version: 6.5,
# fedora_pairtree_count: 4,
# fedora_pairtree_length: 2
# ), :fedora_storage
# )

Expand Down

0 comments on commit 59a42ad

Please sign in to comment.