<commit_before>#
# Copyright (c) 2008-2016 Haulmont.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#

###############################################################################
#                            Names and Directories                            #
###############################################################################

# Middleware connection
cuba.connectionUrlList=http://localhost:8080/cuba-core

cuba.dispatcherBaseUrl=http://${cuba.webHostName}:${cuba.webPort}/${cuba.webContextName}/dispatch

# Set to false if the middleware works on different JVM
cuba.useLocalServiceInvocation=true

# URL
cuba.webHostName=localhost
cuba.webPort=8080
cuba.webContextName=cuba

# System directories
cuba.confDir=${catalina.base}/conf/${cuba.webContextName}
cuba.dbDir=${catalina.base}/webapps/${cuba.webContextName}/WEB-INF/db
cuba.logDir=${catalina.base}/logs
cuba.tempDir=${catalina.base}/temp/${cuba.webContextName}
cuba.dataDir=${catalina.base}/work/${cuba.webContextName}

cuba.classpath.directories=${catalina.base}/lib;\
  ${catalina.base}/shared/classes;\
  ${catalina.base}/shared/lib;\
  ${catalina.base}/webapps/${cuba.webContextName}/WEB-INF/classes;\
  ${catalina.base}/webapps/${cuba.webContextName}/WEB-INF/lib

###############################################################################
#                              Configuration                                  #
###############################################################################

cuba.springContextConfig = cuba-web-spring.xml
cuba.dispatcherSpringContextConfig = cuba-dispatcher-spring.xml
cuba.restSpringContextConfig = cuba-rest-dispatcher-spring.xml
cuba.idpSpringContextConfig = cuba-idp-dispatcher-spring.xml
cuba.persistenceConfig = base-persistence.xml cuba-persistence.xml
cuba.metadataConfig = cuba-metadata.xml cuba-gui-metadata.xml cuba-web-metadata.xml
cuba.viewsConfig = cuba-views.xml
cuba.windowConfig=cuba-web-screens.xml
cuba.menuConfig=cuba-web-menu.xml
cuba.permissionConfig=cuba-web-permissions.xml
cuba.themeConfig = havana-theme.properties halo-theme.properties
cuba.creditsConfig=cuba-credits.xml
cuba.mainMessagePack=com.haulmont.cuba.web

cuba.groovyClassPath=
cuba.groovyEvaluatorImport=com.haulmont.cuba.core.global.PersistenceHelper
cuba.passwordEncryptionModule=cuba_Sha1EncryptionModule

###############################################################################
#                               REST API                                      #
###############################################################################

# Credentials for REST API client
cuba.rest.client.id=client
cuba.rest.client.secret=secret

# A token expiration time in seconds for the default client (12 hours)
cuba.rest.client.tokenExpirationTimeSec=43200

# A comma-separated list of allowed origins for cross-domain requests
cuba.rest.allowedOrigins=*

# Maximum size of the file that may be uploaded with REST API in bytes
cuba.rest.maxUploadSize=20971520<commit_msg>PL-9048 Get rid of cuba-app.properties in web.xml<commit_after>#
# Copyright (c) 2008-2016 Haulmont.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#

###############################################################################
#                            Names and Directories                            #
###############################################################################

# Middleware connection
cuba.connectionUrlList=http://localhost:8080/cuba-core

cuba.dispatcherBaseUrl=http://${cuba.webHostName}:${cuba.webPort}/${cuba.webContextName}/dispatch

# Set to false if the middleware works on different JVM
cuba.useLocalServiceInvocation=true

# URL
cuba.webHostName=localhost
cuba.webPort=8080
cuba.webContextName=cuba

# System directories
cuba.confDir=${catalina.base}/conf/${cuba.webContextName}
cuba.dbDir=${catalina.base}/webapps/${cuba.webContextName}/WEB-INF/db
cuba.logDir=${catalina.base}/logs
cuba.tempDir=${catalina.base}/temp/${cuba.webContextName}
cuba.dataDir=${catalina.base}/work/${cuba.webContextName}

cuba.classpath.directories=${catalina.base}/lib;\
  ${catalina.base}/shared/classes;\
  ${catalina.base}/shared/lib;\
  ${catalina.base}/webapps/${cuba.webContextName}/WEB-INF/classes;\
  ${catalina.base}/webapps/${cuba.webContextName}/WEB-INF/lib

###############################################################################
#                              Configuration                                  #
###############################################################################

cuba.springContextConfig = cuba-web-spring.xml
cuba.dispatcherSpringContextConfig = cuba-dispatcher-spring.xml
cuba.restSpringContextConfig = cuba-rest-dispatcher-spring.xml
cuba.idpSpringContextConfig = cuba-idp-dispatcher-spring.xml
cuba.persistenceConfig = base-persistence.xml cuba-persistence.xml
cuba.metadataConfig = cuba-metadata.xml cuba-gui-metadata.xml cuba-web-metadata.xml
cuba.viewsConfig = cuba-views.xml
cuba.windowConfig=cuba-web-screens.xml
cuba.menuConfig=cuba-web-menu.xml
cuba.permissionConfig=cuba-web-permissions.xml
cuba.themeConfig = havana-theme.properties halo-theme.properties
cuba.creditsConfig=cuba-credits.xml
cuba.mainMessagePack=com.haulmont.cuba.web

cuba.groovyClassPath=
cuba.groovyEvaluatorImport=com.haulmont.cuba.core.global.PersistenceHelper
cuba.passwordEncryptionModule=cuba_Sha1EncryptionModule
cuba.anonymousSessionId=9c91dbdf-3e73-428e-9088-d586da2434c5

###############################################################################
#                               REST API                                      #
###############################################################################

# Credentials for REST API client
cuba.rest.client.id=client
cuba.rest.client.secret=secret

# A token expiration time in seconds for the default client (12 hours)
cuba.rest.client.tokenExpirationTimeSec=43200

# A comma-separated list of allowed origins for cross-domain requests
cuba.rest.allowedOrigins=*

# Maximum size of the file that may be uploaded with REST API in bytes
cuba.rest.maxUploadSize=20971520
{'fraction_non_alphanumeric': 0.224515764173618, 'fraction_numerical': 0.01371412413403082, 'mean_word_length': 4.700241740531829, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 29}, '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': '7044925', 'n_tokens_mistral': 2095, 'n_tokens_neox': 1952, 'n_words': 392}