Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2018
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.55 KB | None | 0 0
  1. # This file is part of rasdaman community.
  2. #
  3. # Rasdaman community is free software: you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation, either version 3 of the License, or
  6. # (at your option) any later version.
  7. #
  8. # Rasdaman community is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with rasdaman community. If not, see <http://www.gnu.org/licenses/>.
  15. #
  16. # Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Peter Baumann /
  17. # rasdaman GmbH.
  18. #
  19. # For more information please see <http://www.rasdaman.org>
  20. # or contact Peter Baumann via <baumann@rasdaman.com>.
  21. # ---------------------------------------------------------------------
  22. #
  23. # PetaScope configuration file
  24. #
  25. # ***IMPORTANT NOTE***:
  26. # Parameters marked *yes* in item *need to adapt* MUST be configured
  27. # to meaningful values during installation, they CAN NOT be used as is!
  28.  
  29. #------------------- Spring Hibernate configuration -------------------
  30.  
  31. # Default configuration for all DBMS for petascopedb
  32. # need to adapt: no
  33. spring.jpa.database=default
  34. spring.jpa.hibernate.ddl-auto=none
  35.  
  36. # Config for Spring datasource which is used by petascopedb
  37. # (see more details: http://rasdaman.org/wiki/PetascopeUserGuide#Configuration)
  38. # need to adapt: yes
  39. spring.datasource.url=jdbc:postgresql://localhost:5432/wcs_conformance_test
  40. spring.datasource.username=petauser
  41. spring.datasource.password=petapasswd
  42.  
  43. # Path to JDBC jar file for Spring datasource
  44. # purpose: If left empty, the default PostgreSQL JDBC driver will be used.
  45. # To use a different DBMS (e.g. H2, HSQLDB, etc), please download the corresponding
  46. # JDBC driver, and set the path to it.
  47. # need to adapt: no
  48. spring.datasource.jdbc_jar_path=
  49.  
  50. # Config for source datasource to migrate petascopedb by migrate_petascopedb.sh script.
  51. # purpose: These configurations are used to migrate petascopedb from same DBMS
  52. # (e.g: in Postgresql from rasdaman version 9.4 to rasdaman 9.5) or
  53. # to different DBMS (for rasdaman version 9.5+ only)
  54. # (e.g: migrate petascopedb in Postgresql to H2 database).
  55. # need to adapt: yes
  56. metadata_url=jdbc:postgresql://localhost:5432/wcs_conformance_test
  57. metadata_user=petauser
  58. metadata_pass=petapasswd
  59.  
  60. # Path to JDBC jar file for source datasource
  61. # purpose: If left empty, the default PostgreSQL JDBC driver will be used.
  62. # To use a different DBMS (e.g. H2, HSQLDB, etc), please download the corresponding
  63. # JDBC driver, and set the path to it.
  64. # need to adapt: no
  65. metadata_jdbc_jar_path=
  66.  
  67. #------------------- General Petascope configuration -------------------
  68.  
  69. # parameter: server.contextPath
  70. # purpose: Both deployed web application as embedded/external will need this parameter as prefix
  71. # for controller in URL routing (e.g: http://localhost:8080/rasdaman/ows).
  72. # need to adapt: no
  73. server.contextPath=/rasdaman
  74.  
  75. # parameter: secore_urls
  76. # purpose: SECORE URLs to be used by Petascope.
  77. # description: comma-separated list of SECORE endpoints, relevance order.
  78. # need to adapt: yes
  79. secore_urls=http://ows.rasdaman.org/def
  80.  
  81. # parameter: petascope_admin_user
  82. # purpose: Login account has read/wright access to petascope's service introduction information in metadata tables
  83. # of database (currently: PostgreSQL), including:
  84. # ps_description, ps_service_identification, ps_service_provider.
  85. # description: Log in to http://localhost:8080/rasadaman/admin to update these information.
  86. # Recommendation: establish a dedicated user.
  87. # need to adapt: yes
  88. petascope_admin_user=petauser
  89.  
  90. # parameter: petascope_admin_pass
  91. # purpose: password for petascope_admin_user login, as above.
  92. # need to adapt: yes
  93. petascope_admin_pass=petapasswd
  94.  
  95. # parameter: xml_validation
  96. # purpose: If set to 'true', input WCS POST/SOAP in XML requests will be validated against
  97. # OGC WCS 2.0.1 schema definitions.
  98. # (!) When starting Petascope it will take around 1-2 mins to
  99. # load the schemas from OGC server(!). Set the parameter to 'false' if no WCS 2.0.1 POST/SOAP input
  100. # validation is required.
  101. # need to adapt: yes
  102. xml_validation=false
  103.  
  104. # parameter: ogc_cite_output_optimization
  105. # purpose: To pass OGC CITE test, Petascope has to optimize the outputs to
  106. # bypass some test cases.
  107. # description: Petascope will trim indentation from output of WCS GetCoverage,
  108. # DescribeCoverage.
  109. # (!) Only enable this option when executing OGC CITE tests, and set
  110. # xml_validation to false otherwise some SOAP requests will fail
  111. # due to the input requests could not pass the schema validation (!).
  112. # need to adapt: no
  113. ogc_cite_output_optimization=true
  114.  
  115. # parameter: petascope_servlet_url
  116. # purpose: service endpoint can be set here.
  117. # description: This property is used by WCS GetCapabilities() response <ows:HTTP> element
  118. # to give the service endpoint. By default it is: http://localhost:8080/rasdaman/ows
  119. # Set this parameter to your public service URL in case you are using a proxy
  120. # (e.g: http://proxy.rasdaman.org:8090/rasdaman/ows).
  121. # need to adapt: no
  122. petascope_servlet_url=http://kahlua.eecs.jacobs-university.de:8080/wcs-conformance-testing/ows
  123.  
  124. # parameter: disable_write_operations
  125. # purpose: disables access to WCST (InsertCoverage, UpdateCoverage and DeleteCoverage) operations.
  126. # description: Used to disable requests which could change
  127. # (insert new coverage, update/delete existing coverage) in Rasdaman through Petascope.
  128. # need to adapt: no
  129. disable_write_operations=false
  130.  
  131. # parameter: rasql_servlet_upload_path
  132. # purpose: Rasql query can be submitted to RasqlServlet with file to import to rasdaman by decode() function.
  133. # description: This folder stores the uploaded file through RasqlServlet temporarily
  134. # and removes it after the rasql import query is done.
  135. # need to adapt: no
  136. rasql_servlet_upload_path=/tmp/rasql_servlet_upload
  137.  
  138. #------------------- Embedded Petascope configuration -------------------
  139.  
  140. # parameter: java_server
  141. # purpose: Allow user to start Petascope with embedded (standalone web application: jar file including embedded Tomcat)
  142. # or external (normal web application: war file to deploy on a specific web application containter,
  143. # e.g: Tomcat, GlassFish,...) mode. It is set as parameter by using -DJAVA_SERVER=embedded/external with cmake
  144. # or ./configure --with-java-server=embedded/external with automake when configuring rasdaman installation.
  145. # description: When set to external, all settings (server.port, start_embedded_petascope)
  146. # for embedded petascope will be disabled.
  147. # need to adapt: no
  148. java_server=external
  149.  
  150. # These configurations below only have effect when java_server configuration is set to embedded, i.e: java_server=embedded
  151.  
  152. # parameter: server.port
  153. # purpose: Port for embedded petascope using embedded Tomcat web application container.
  154. # need to adapt: yes
  155. server.port=8082
  156.  
  157. #------------------- Rasdaman configuration for Petascope -------------------
  158.  
  159. # parameter: rasdaman_url
  160. # purpose: URL of rasdaman database serving PetaScope raster data
  161. # need to adapt: yes
  162. rasdaman_url=http://localhost:24701
  163.  
  164. # parameter: rasdaman_database
  165. # purpose: name of rasdaman database serving PetaScope raster data
  166. # (!) recommendation: use rasdaman standard name, RASBASE (!)
  167. # need to adapt: no
  168. rasdaman_database=RASBASE
  169.  
  170. # parameter: rasdaman_user
  171. # purpose: username to access rasdaman
  172. # need to adapt: yes
  173. rasdaman_user=rasguest
  174.  
  175. # parameter: rasdaman_pass
  176. # purpose: password to access rasdaman
  177. # need to adapt: yes
  178. rasdaman_pass=rasguest
  179.  
  180. # parameter: rasdaman_admin_user
  181. # purpose: admin username to access rasdaman
  182. # need to adapt: yes
  183. rasdaman_admin_user=rasadmin
  184.  
  185. # parameter: rasdaman_rasadmin_pass
  186. # purpose: admin password to access rasdaman
  187. # need to adapt: yes
  188. rasdaman_admin_pass=rasadmin
  189.  
  190. # parameter: rasdaman_retry_attempts
  191. # purpose: maximum re-connect attempts to a rasdaman server in case
  192. # a connection fails.
  193. # need to adapt: no
  194. rasdaman_retry_attempts=5
  195.  
  196. # parameter: rasdaman_retry_timeout
  197. # purpose: wait time in seconds between re-connect attempts to
  198. # a rasdaman server
  199. # need to adapt: no
  200. rasdaman_retry_timeout=10
  201.  
  202. # parameter: rasdaman_bin_path
  203. # purpose: path to rasdaman binaries
  204. # need to adapt: no
  205. rasdaman_bin_path=/mnt/rasservice/WCS-conformance-test/rasdaman/install/bin/
  206.  
  207. #------------------- log4j configuration -------------------
  208.  
  209. # Configuration to write Petascope's logs to petascope.log file.
  210. # need to adapt: no
  211. log4j.rootLogger=TRACE, rollingFile, stdout
  212.  
  213. # Reduce the log information from Spring
  214. log4j.logger.org.springframework=WARN
  215. # Reduce the log information from Hibernate
  216. log4j.logger.org.hibernate=WARN
  217.  
  218. # Reduce the log information from Liquibase
  219. log4j.logger.liquibase=WARN
  220.  
  221. # Reduce the log information from GRPC, Netty
  222. log4j.logger.io.grpc=WARN
  223. log4j.logger.io.netty=WARN
  224.  
  225. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  226. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  227. # Log level INFO only to user's console
  228. log4j.appender.stdout.layout.ConversionPattern=%m%n
  229. log4j.appender.stdout.Threshold=INFO
  230.  
  231. log4j.appender.rollingFile=org.apache.log4j.RollingFileAppender
  232.  
  233. # Please make sure the path specified by log4j.appender.rollingFile.File is a
  234. # location where the system user running Tomcat has write access.
  235. # Otherwise, the secore and petascope logs can only be found in catalina.out
  236. log4j.appender.rollingFile.File=/mnt/rasservice/WCS-conformance-test/rasdaman/install/log/petascope.log
  237.  
  238. log4j.appender.rollingFile.MaxFileSize=10MB
  239. log4j.appender.rollingFile.MaxBackupIndex=10
  240. log4j.appender.rollingFile.layout=org.apache.log4j.PatternLayout
  241. log4j.appender.rollingFile.layout.ConversionPattern=%6p [%d{HH:mm:ss}] %c{1}@%L: %m%n
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement