Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature #12832 adding new configuration parameters #9

Merged
merged 1 commit into from
Jan 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/dist/bin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ task start {
group 'Silverpeas'
doLast {
long timeout = (project.silversetup.settings.SERVER_STARTING_TIMEOUT as Long) * 1000
boolean serverManagementAllIP = (project.silversetup.settings.getOrDefault('SERVER_MANAGEMENT_ALL_IP', false).toBoolean())
new JBossServer(project.silversetup.jbossHome.path)
.setServerManagementAllIP(serverManagementAllIP)
.withStartingTimeout(timeout)
.redirectOutputTo(project.ext.jbossOutputLog)
.start()
Expand All @@ -168,7 +170,9 @@ task debug {
doLast {
int port = (project.ext.has('port') ? project.ext.port as int:5005)
long timeout = (project.silversetup.settings.SERVER_STARTING_TIMEOUT as Long) * 1000
boolean serverManagementAllIP = (project.silversetup.settings.getOrDefault('SERVER_MANAGEMENT_ALL_IP', false).toBoolean())
new JBossServer(project.silversetup.jbossHome.path)
.setServerManagementAllIP(serverManagementAllIP)
.withStartingTimeout(timeout)
.redirectOutputTo(project.ext.jbossOutputLog)
.debug(port)
Expand Down
1 change: 1 addition & 0 deletions src/main/dist/configuration/jboss/jackrabbit-ds.cli
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data-source add \
--jndi-name=java:/datasources/DocumentStore \
--jta=false \
--use-java-context=true \
--statistics-enabled=${JCR_STATS_ENABLED} \
--user-name=${JCR_USER} \
--password=${JCR_PASSWORD} \
--use-ccm=true \
Expand Down
1 change: 1 addition & 0 deletions src/main/dist/configuration/jboss/silverpeas-ds.cli
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ data-source add \
--jndi-name=${DB_DATASOURCE_JNDI} \
--allow-multiple-users=true \
--use-java-context=true \
--statistics-enabled=${DB_STATS_ENABLED} \
--user-name=${DB_USER} \
--password=${DB_PASSWORD} \
--use-ccm=true \
Expand Down
9 changes: 9 additions & 0 deletions src/main/dist/configuration/sample_config.properties
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@
# change the value here (for example, by setting it to 900 for 15mn)
#SERVER_STARTING_TIMEOUT = 300

# By default, the management console is only available on the machine of the running wildfly
# at IP 127.0.0.1 and port 9990.
# This variable allows the management console to be accessible from any server IP. This is useful
# with a client server which does not provide WEB browser (which is generally the case).
# By default, false (that means default wildfly behavior).
#SERVER_MANAGEMENT_ALL_IP = false

####################################################################################################
## Properties of the database to use for Silverpeas.
####################################################################################################
Expand Down Expand Up @@ -129,6 +136,7 @@
#DB_MAX_POOL_SIZE=120
#DB_IDLE_TIMEOUT=15
#DB_BLOCKING_TIMEOUT=30000
#DB_STATS_ENABLED=false

####################################################################################################
## Properties for the JCR used by Silverpeas to store document metadata.
Expand All @@ -148,6 +156,7 @@
#JCR_MAX_POOL_SIZE=55
#JCR_IDLE_TIMEOUT=15
#JCR_BLOCKING_TIMEOUT=30000
#JCR_STATS_ENABLED=false

####################################################################################################
## Document Conversion Service properties.
Expand Down