<commit_before># Grails settings
grails.serverURL={{biocache_hub_base_url}}{{biocache_hub_context_path}}
grails.resources.work.dir=/data/{{biocache_hub}}/cache

# CAS Config
casProperties=casServerLoginUrl,serverName,centralServer,casServerName,uriFilterPattern,uriExclusionFilterPattern,authenticateOnlyIfLoggedInFilterPattern,casServerLoginUrlPrefix,gateway,casServerUrlPrefix,contextPath
serverName={{biocache_hub_base_url}}
casServerName={{ auth_base_url }}
uriFilterPattern={{ biocache_hub_uri_filter_pattern | default('/admin,/admin/.*') }}
uriExclusionFilterPattern={{ biocache_hub_uri_exclusion_filter_pattern | default('/occurrences/shapeUpload,/images.*,/css.*,/js.*,.*json,/help/.*') }}
authenticateOnlyIfLoggedInFilterPattern=/occurrences/(?!.+userAssertions|facet.+).+,/explore/your-area,/query,/proxy/download/.*,/
security.cas.appServerName={{ biocache_hub_base_url }}
casServerLoginUrl={{ auth_cas_url }}/login
gateway=false
contextPath={{ biocache_hub_context_path }}
disableCAS={{ disable_cas|default(true) }}
security.cas.bypass={{ bypass_cas|default(true) }}


# App settings
organisation.baseUrl={{org_url|default('http://www.ala.org.au')}}
skin.fluidLayout=true
skin.orgNameLong={{orgNameLong|default('Occurrence portal')}}
skin.orgNameShort={{orgNameShort|default('Spain')}}
skin.attribution=
skin.useAlaBie={{use_ala_bie|default('false')}}
skin.useAlaSpatialPortal={{use_ala_spatial_portal|default('false')}}
skin.useAlaImageService={{use_ala_image_service|default('false')}}
bie.baseUrl={{bie_base_url}}
bie.searchPath={{bie_search_path}}
biocache.apiKey={{biocache_api_key|default('api-key-to-use')}}
biocache.queryContext={{biocache_query_context}}
biocache.baseUrl={{biocache_service_url}}
biocache.downloads.extra=dataResourceUid,dataResourceName.p
biocache.ajax.useProxy={{biocache_ajax_useProxy|default('false')}}
collections.baseUrl={{collectory_url}}
spatial.baseUrl={{spatial_base_url|default('http://spatial.ala.org.au/')}}

#spatial.params=&dynamic=true&ws=http%3A%2F%2Fsandbox.ala.org.au%2Fhubs-webapp&bs=http%3A%2F%2Fsandbox.ala.org.au%2Fbiocache-service
spatial.params={{spatial_params|default('')}}

clubRoleForHub={{club_role_for_hub}}
dataQualityChecksUrl=https://docs.google.com/spreadsheet/pub?key=0AjNtzhUIIHeNdHJOYk1SYWE4dU1BMWZmb2hiTjlYQlE&single=true&gid=0&output=csv
defaultListView=
dwc.exclude=dataHubUid,dataProviderUid,institutionUid,year,month,day,modified,left,right,provenance,taxonID,preferredFlag,outlierForLayers,speciesGroups,associatedMedia,images,userQualityAssertion,speciesHabitats,duplicationType,taxonomicIssues,subspeciesID,nameMatchMetric,sounds

# Explore your area defaults
exploreYourArea.lat={{explore_your_area_lat|default('40.4169')}}
exploreYourArea.lng={{explore_your_area_lng|default('-3.7036')}}
exploreYourArea.location={{explore_your_area_location|default('Madrid, Spain')}}

# Facet configuration
facets.limit=100
facets.customOrder=
facets.defaultColourBy={{map_default_colourby|default('basis_of_record')}}
facets.includeDynamicFacets={{include_dynamic_facets|default('false')}}
facets.exclude={{facets_exclude|default('')}}
facets.hide={{facets_hide|default('')}}
facets.include={{facets_include|default('')}}
# Mapping
map.cloudmade.key=BC9A493B41014CAABB98F0471D759707
map.defaultLatitude={{map_default_latitude|default('40.4169')}}
map.defaultLongitude={{map_default_longitude|default('-3.7036')}}
map.defaultZoom={{map_default_zoom|default('4')}}
map.defaultFacetMapColourBy={{default_facet_map_colour_by|default('basis_of_record')}}
map.pointColour={{map_default_point_colour|default('df4a21')}}
map.zoomOutsideScopedRegion={{zoom_outside_scoped_region|default('true')}}

# authorised roles
authorise.roles={{authorise_roles|default('')}}<commit_msg>Added var to biocache-hub config template<commit_after># Grails settings
grails.serverURL={{biocache_hub_base_url}}{{biocache_hub_context_path}}
grails.resources.work.dir=/data/{{biocache_hub}}/cache

# CAS Config
casProperties=casServerLoginUrl,serverName,centralServer,casServerName,uriFilterPattern,uriExclusionFilterPattern,authenticateOnlyIfLoggedInFilterPattern,casServerLoginUrlPrefix,gateway,casServerUrlPrefix,contextPath
serverName={{biocache_hub_base_url}}
casServerName={{ auth_base_url }}
uriFilterPattern={{ biocache_hub_uri_filter_pattern | default('/admin,/admin/.*') }}
uriExclusionFilterPattern={{ biocache_hub_uri_exclusion_filter_pattern | default('/occurrences/shapeUpload,/images.*,/css.*,/js.*,.*json,/help/.*') }}
authenticateOnlyIfLoggedInFilterPattern=/occurrences/(?!.+userAssertions|facet.+).+,/explore/your-area,/query,/proxy/download/.*,/
security.cas.appServerName={{ biocache_hub_base_url }}
casServerLoginUrl={{ auth_cas_url }}/login
gateway=false
contextPath={{ biocache_hub_context_path }}
disableCAS={{ disable_cas|default(true) }}
security.cas.bypass={{ bypass_cas|default(true) }}


# App settings
organisation.baseUrl={{org_url|default('http://www.ala.org.au')}}
skin.fluidLayout=true
skin.orgNameLong={{orgNameLong|default('Occurrence portal')}}
skin.orgNameShort={{orgNameShort|default('Spain')}}
skin.attribution=
skin.useAlaBie={{use_ala_bie|default('false')}}
skin.useAlaSpatialPortal={{use_ala_spatial_portal|default('false')}}
skin.useAlaImageService={{use_ala_image_service|default('false')}}
bie.baseUrl={{bie_base_url}}
bie.searchPath={{bie_search_path}}
biocache.apiKey={{biocache_api_key|default('api-key-to-use')}}
biocache.queryContext={{biocache_query_context}}
biocache.baseUrl={{biocache_service_url}}
biocache.downloads.extra=dataResourceUid,dataResourceName.p
biocache.ajax.useProxy={{biocache_ajax_useProxy|default('false')}}
collections.baseUrl={{collectory_url}}
spatial.baseUrl={{spatial_base_url|default('http://spatial.ala.org.au/')}}

#spatial.params=&dynamic=true&ws=http%3A%2F%2Fsandbox.ala.org.au%2Fhubs-webapp&bs=http%3A%2F%2Fsandbox.ala.org.au%2Fbiocache-service
spatial.params={{spatial_params|default('')}}

clubRoleForHub={{club_role_for_hub}}
dataQualityChecksUrl=https://docs.google.com/spreadsheet/pub?key=0AjNtzhUIIHeNdHJOYk1SYWE4dU1BMWZmb2hiTjlYQlE&single=true&gid=0&output=csv
defaultListView={{default_list_view}}
dwc.exclude=dataHubUid,dataProviderUid,institutionUid,year,month,day,modified,left,right,provenance,taxonID,preferredFlag,outlierForLayers,speciesGroups,associatedMedia,images,userQualityAssertion,speciesHabitats,duplicationType,taxonomicIssues,subspeciesID,nameMatchMetric,sounds

# Explore your area defaults
exploreYourArea.lat={{explore_your_area_lat|default('40.4169')}}
exploreYourArea.lng={{explore_your_area_lng|default('-3.7036')}}
exploreYourArea.location={{explore_your_area_location|default('Madrid, Spain')}}

# Facet configuration
facets.limit=100
facets.customOrder=
facets.defaultColourBy={{map_default_colourby|default('basis_of_record')}}
facets.includeDynamicFacets={{include_dynamic_facets|default('false')}}
facets.exclude={{facets_exclude|default('')}}
facets.hide={{facets_hide|default('')}}
facets.include={{facets_include|default('')}}
# Mapping
map.cloudmade.key=BC9A493B41014CAABB98F0471D759707
map.defaultLatitude={{map_default_latitude|default('40.4169')}}
map.defaultLongitude={{map_default_longitude|default('-3.7036')}}
map.defaultZoom={{map_default_zoom|default('4')}}
map.defaultFacetMapColourBy={{default_facet_map_colour_by|default('basis_of_record')}}
map.pointColour={{map_default_point_colour|default('df4a21')}}
map.zoomOutsideScopedRegion={{zoom_outside_scoped_region|default('true')}}

# authorised roles
authorise.roles={{authorise_roles|default('')}}
{'fraction_non_alphanumeric': 0.15504184934236748, 'fraction_numerical': 0.01700544705726053, 'mean_word_length': 15.545054945054945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '530510', 'n_tokens_mistral': 2788, 'n_tokens_neox': 2702, 'n_words': 172}