config_rest.properties 7.89 KB
Newer Older
1
#  JORAM: Java(TM) Open Reliable Asynchronous Messaging
Andre Freyssinet's avatar
Andre Freyssinet committed
2
#  Copyright (C) 2001 - 2018 ScalAgent Distributed Technologies
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
# 
#  This library is free software; you can redistribute it and/or
#  modify it under the terms of the GNU Lesser General Public
#  License as published by the Free Software Foundation; either
#  version 2.1 of the License, or any later version.
#  
#  This library is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#  Lesser General Public License for more details.
#  
#  You should have received a copy of the GNU Lesser General Public
#  License along with this library; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
#  USA.

################################
# Framework config properties. #
################################

# To override the packages the framework exports by default from the
# class path, set this variable.
#org.osgi.framework.system.packages=

# To append packages to the default set of exported system packages,
# set this value.
#org.osgi.framework.system.packages.extra=

# The following property makes specified packages from the class path
# available to all bundles. You should avoid using this property.
#org.osgi.framework.bootdelegation=sun.*,com.sun.*

# Felix tries to guess when to implicitly boot delegate in certain
# situations to ease integration without outside code. This feature
# is enabled by default, uncomment the following line to disable it.
#felix.bootdelegation.implicit=false

# The following property explicitly specifies the location of the bundle
# cache, which defaults to "felix-cache" in the current working directory.
# If this value is not absolute, then the felix.cache.rootdir controls
# how the absolute location is calculated. (See next property)
#org.osgi.framework.storage=${felix.cache.rootdir}/felix-cache

# The following property is used to convert a relative bundle cache
# location into an absolute one by specifying the root to prepend to
# the relative cache path. The default for this property is the
# current working directory.
#felix.cache.rootdir=${user.dir}

# The following property controls whether the bundle cache is flushed
# the first time the framework is initialized. Possible values are
# "none" and "onFirstInit"; the default is "none".
#org.osgi.framework.storage.clean=onFirstInit

# The following property determines which actions are performed when
# processing the auto-deploy directory. It is a comma-delimited list of
# the following values: 'install', 'start', 'update', and 'uninstall'.
# An undefined or blank value is equivalent to disabling auto-deploy
# processing.
#felix.auto.deploy.action=install,start

# The following property specifies the directory to use as the bundle
# auto-deploy directory; the default is 'bundle' in the working directory.
# felix.auto.deploy.dir=../ship/bundle

# The following property is a space-delimited list of bundle URLs
# to install and start when the framework starts. The ending numerical
# component is the target start level. Any number of these properties
# may be specified for different start levels.
felix.auto.start.1= \
 file:../../../ship/bundle/org.apache.felix.shell.remote.jar \
 file:../../../ship/bundle/org.apache.felix.gogo.runtime.jar \
 file:../../../ship/bundle/org.apache.felix.gogo.shell.jar \
 file:../../../ship/bundle/org.apache.felix.gogo.command.jar \
 file:../../../ship/bundle/monolog.jar \
 file:../../../ship/bundle/a3-common.jar \
 file:../../../ship/bundle/a3-rt.jar \
 file:../../../ship/bundle/jcup.jar \
 file:../../../ship/bundle/jndi-shared.jar \
 file:../../../ship/bundle/jndi-server.jar \
 file:../../../ship/bundle/joram-shared.jar \
 file:../../../ship/bundle/joram-mom-core.jar \
 file:../../../ship/bundle/a3-osgi.jar \
 file:../../../ship/bundle/ow2-jms-2.0-spec.jar \
 file:../../../ship/bundle/ow2-jta-1.1-spec.jar \
 file:../../../ship/bundle/javax.annotation-api.jar \
 file:../../../ship/bundle/javax.inject.jar \
 file:../../../ship/bundle/geronimo-servlet_3.0_spec.jar \
 file:../../../ship/bundle/javax.ws.rs-api.jar \
 file:../../../ship/bundle/validation-api.jar \
 file:../../../ship/bundle/jersey-container-servlet-core.jar \
 file:../../../ship/bundle/jersey-server.jar \
 file:../../../ship/bundle/hk2-api.jar \
 file:../../../ship/bundle/aopalliance-repackaged.jar \
 file:../../../ship/bundle/hk2-utils.jar \
 file:../../../ship/bundle/jersey-common.jar \
Andre Freyssinet's avatar
Andre Freyssinet committed
99
 file:../../../ship/bundle/jersey-hk2.jar \
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167
 file:../../../ship/bundle/hk2-locator.jar \
 file:../../../ship/bundle/osgi-resource-locator.jar \
 file:../../../ship/bundle/jersey-client.jar \
 file:../../../ship/bundle/javassist.jar \
 file:../../../ship/bundle/jetty-server.jar \
 file:../../../ship/bundle/jetty-http.jar \
 file:../../../ship/bundle/jetty-util.jar \
 file:../../../ship/bundle/jetty-io.jar \
 file:../../../ship/bundle/jetty-servlet.jar \
 file:../../../ship/bundle/jetty-security.jar \
 file:../../../ship/bundle/jetty-continuation.jar \
 file:../../../ship/bundle/servlet.jar \
 file:../../../ship/bundle/jetty.jar \
 file:../../../ship/bundle/org.osgi.compendium.jar \
 file:../../../ship/bundle/jndi-client.jar \
 file:../../../ship/bundle/joram-client-jms.jar \
 file:../../../ship/bundle/joram-tools-rest-jms.jar \
 file:../../../ship/bundle/gson.jar \
 file:../../../ship/bundle/joram-tools-rest-jmx.jar \
 file:../../../ship/bundle/joram-tools-rest-admin.jar


felix.log.level=1

# Sets the initial start level of the framework upon startup.
#org.osgi.framework.startlevel.beginning=1

# Sets the start level of newly installed bundles.
felix.startlevel.bundle=1

# Felix installs a stream and content handler factories by default,
# uncomment the following line to not install them.
#felix.service.urlhandlers=false

# The launcher registers a shutdown hook to cleanly stop the framework
# by default, uncomment the following line to disable it.
#felix.shutdown.hook=false

#############################
# Bundle config properties. #
#############################

# IP Address on which the remote shell is accessible (since 1.0.4).
# Note: Starting with version 1.0.4 the remote shell does not listen on
# all interfaces by default but on the localhost only. That is, by default
# the remote shell is only accessible from the host on which the remote
# shell is running. To access the system from another host, you have to
# configure the IP address of the interface to which the remote shell
# should be attached.
osgi.shell.telnet.ip=127.0.0.1

# Port on which the remote shell is accessible.
osgi.shell.telnet.port=6666

# The maximum number of simultaneous connections.
#osgi.shell.telnet.maxconn=2

# Sets the SO_TIMEOUT socket option to the given number of milliseconds.
# The default is no timeout.
#osgi.shell.telnet.socketTimeout=0

# Sets the identifier of the JORAM agent server to start, as defined in
# a3servers.xml file. Server 0 is started by default.
#fr.dyade.aaa.agent.AgentServer.id=0

# Sets the directory name where the agent server stores its persistent data.
#fr.dyade.aaa.agent.AgentServer.storage=s${fr.dyade.aaa.agent.AgentServer.id}

168
joram.adminXML = ../../src/joram/rest/joramAdmin.xml
169 170

org.osgi.service.http.port=8989
171

172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187
org.eclipse.equinox.http.jetty.https.enabled=true
org.eclipse.equinox.http.jetty.https.port=8443
org.eclipse.equinox.http.jetty.ssl.password=jorampass
org.eclipse.equinox.http.jetty.ssl.keystore = ../../config/joram_ks
org.eclipse.equinox.http.jetty.ssl.keystoretype = JKS

#rest.jms.connectionFactory=cf
#rest.jndi.factory.initial=fr.dyade.aaa.jndi2.client.NamingContextFactory
#rest.jndi.factory.host=localhost
#rest.jndi.factory.port=16400

rest.idle.timeout = 10
rest.cleaner.period = 60

rest.admin.root=admin
rest.admin.password=admin
188
#rest.admin.ipallowed=192.168.1.0/24
189 190 191

#rest.jmx.root=admin
#rest.jmx.password=admin
192 193 194 195 196 197
#rest.jms.ipallowed=tiga/24

#rest.jms.user=root
#rest.jms.password=root
#rest.jms.ipallowed=tiga/24