Advertisement
Guest User

Untitled

a guest
Oct 6th, 2017
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.35 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. # settings.properties
  23. #
  24. # PetaScope configuration file
  25. #
  26. # Important note:
  27. # Parameters marked "yes" in item "need to adapt" MUST be configured
  28. # to meaningful values during installation, they CAN NOT be used as is!
  29. # ---------------------------------------------------------------------
  30.  
  31. # parameter: metadata_driver
  32. # purpose: name of DBMS driver to be loaded
  33. # need to adapt: no
  34. metadata_driver=org.postgresql.Driver
  35.  
  36. # parameter: metadata_url
  37. # purpose: JDBC URL of database serving PetaScope metadata
  38. # recommendation: use default values on a default Postgresql
  39. # installation, and DB name petascopedb
  40. # need to adapt: yes
  41. metadata_url=jdbc:postgresql://localhost:5432/petascopedb
  42. # parameter: metadata_user
  43. # purpose: DBMS login under which servlet has r/w access
  44. # to PetaScope metadata;
  45. # recommendation: establish a dedicated user
  46. # need to adapt: yes
  47. metadata_user=rasdaman
  48.  
  49. # parameter: metadata_pass
  50. # purpose: password for DBMS login, as above
  51. # need to adapt: yes
  52. metadata_pass=9fb697048f124d6e8def9c6cfac0417c
  53.  
  54. # parameter: rasdaman_url
  55. # purpose: URL of rasdaman database serving PetaScope raster data
  56. # need to adapt: yes
  57. rasdaman_url=http://localhost:7001
  58.  
  59. # parameter: rasdaman_database
  60. # purpose: name of rasdaman database serving PetaScope raster data
  61. # recommendation: use rasdaman standard name, RASBASE
  62. # need to adapt: no
  63. rasdaman_database=RASBASE
  64.  
  65. # parameter: rasdaman_user
  66. # purpose: username to access rasdaman
  67. # need to adapt: yes
  68. rasdaman_user=rasguest
  69.  
  70. # parameter: rasdaman_pass
  71. # purpose: password to access rasdaman
  72. # need to adapt: yes
  73. rasdaman_pass=rasguest
  74.  
  75. # parameter: rasdaman_admin_user
  76. # purpose: admin username to access rasdaman
  77. # need to adapt: yes
  78. rasdaman_admin_user=rasadmin
  79.  
  80. # parameter: rasdaman_rasadmin_pass
  81. # purpose: admin password to access rasdaman
  82. # need to adapt: yes
  83. rasdaman_admin_pass=rasadmin
  84.  
  85. # parameter: rasdaman_retry_attempts
  86. # purpose: maximum re-connect attempts to a rasdaman server in case
  87. # a connection fails.
  88. # need to adapt: no
  89. rasdaman_retry_attempts=5
  90.  
  91. # parameter: rasdaman_retry_timeout
  92. # purpose: wait time in seconds between re-connect attempts to
  93. # a rasdaman server
  94. # need to adapt: no
  95. rasdaman_retry_timeout=10
  96.  
  97. # parameter: rasdaman_bin_path
  98. # purpose: path to rasdaman binaries
  99. # need to adapt: no
  100. rasdaman_bin_path=/opt/rasdaman/bin/
  101.  
  102. # parameter: xml_validation
  103. # purpose: If set to `true', input XML requests will be validated against
  104. # OGC WCS schema definitions.
  105. # (!) When deploying Petascope it will take around 1-2 mins to
  106. # load the schemas (!). Set the parameter to `false' if no input
  107. # validation is required (default).
  108. # need to adapt: yes
  109. xml_validation=false
  110.  
  111. # parameter: secore_urls
  112. # purpose: SECORE URLs to be used by Petascope.
  113. # description: comma-separated list of SECORE endpoints, relevance order.
  114. # need to adapt: yes
  115. secore_urls=http://localhost:8081/def
  116.  
  117. # parameter: secore_versions
  118. # purpose: versions of SECORE's resolvers
  119. # (grep "VERSION_M.*=" <rasdaman_src>/applications/secore/secore-core/src/ -r)
  120. # need to adapt: yes
  121. secore_versions=0.1.0
  122.  
  123. # parameter: ogc_cite_output_optimization
  124. # purpose: To pass OGC CITE test, Petascope has to optimize the outputs to
  125. # bypass some test cases.
  126. # description: Petascope will trim indentation from WCS GetCoverage,
  127. # DescribeCoverage, GridEnvelop element will have the axis order
  128. # accordingly by coverage's CRS (especially: EPSG:4326 whose order is Lat, Long).
  129. # Only enable this option when executing OGC CITE tests, and set
  130. # xml_validation to false otherwise some SOAP requests will fail
  131. # due to the input request not passing the schema validation.
  132. # need to adapt: no
  133. ogc_cite_output_optimization=false
  134.  
  135. # parameter: metadata_in_covsummary
  136. # purpose: OWS metadata in the coverage summaries of the capabilities document
  137. # can be disabled here (true/false).
  138. # description: This kind of metadata can be added either manually in ps_extra_metadata table
  139. # or through rasimport `--metadata' argument.
  140. # Due to the fast growth in the capabilities document if each coverage
  141. # includes an ows:Metadata element, here you can tell Petascope to ignore such elements.
  142. # need to adapt: yes
  143. metadata_in_covsummary=false
  144.  
  145. # parameter: bbox_in_covsummary
  146. # purpose: true/false switch for enabling/disabling the insertion of wcs:BoundingBox elements
  147. # in every wcs:CoverageSummary (capabilities document).
  148. # description: The WCS capabilities document can be used at different levels, depending on the
  149. # specific service. This parameter (along with other *_in_covsummary parameters)
  150. # let you fine-tune the amount of information that Petascope should put inside
  151. # of every wcs:CoverageSummary element. The more the number of coverages offered by
  152. # A service, the more painful can the response time get damaged by having
  153. # this param set to true (an RasQL sdom request is called).
  154. # need to adapt: yes
  155. bbox_in_covsummary=false
  156.  
  157. # parameter: description_in_covsummary
  158. # purpose: true/false switch for enabling/disabling the insertion of (optionally inserted)
  159. # [ows] Title/Abstract/Keywords in wcs:CoverageSummary elements of the capabilities document.
  160. # description: As for other *_in_covsummary parameters, this one lets you fine-tune
  161. # the coverage summaries in the capabilities document.
  162. # Though they can be useful for having a richer catalog of coverages directly from WCS,
  163. # you can always turn off the insertion of already inserted descriptions
  164. # (petascopedb::ps_descriptions) by setting this to false.
  165. # need to adapt: yes
  166. description_in_covsummary=false
  167.  
  168. # parameter: petascope_servlet_url
  169. # purpose: service endpoint can be set here.
  170. # description: This property is used by WCS GetCapabilities() response <ows:HTTP> element
  171. # to give the service endpoint.
  172. # Leave it null in case you want Petascope to declare the service URL based on
  173. # the first request it receives after deploy.
  174. # Set this parameter to your public service URL in case you are using a proxy.
  175. # need to adapt: no
  176. petascope_servlet_url=
  177.  
  178. # parameter: jetty_port
  179. # purpose: Port of embedded petacope, default is 8080
  180. # description: This port must not be used simultaneously by any other Web Application like Tomcat or Apache.
  181. # need to adapt: no
  182. jetty_port=8080
  183.  
  184. # parameter: jetty_extracted_path
  185. # purpose: Temporary directory of embedded petascope
  186. # description: Jetty will extract war files to this directory before starting up petascope.
  187. # Default is $RMANHOME/share/rasdaman/war/jetty_tmp.
  188. # need to adapt: no
  189. jetty_extracted_path=/opt/rasdaman/share/rasdaman/war
  190.  
  191. # parameter: java_server
  192. # purpose: Allow user to start Petascope with embedded (Jetty) or external (Tomcat) mode.
  193. # (use ./configure --with-java-server=embedded/external).
  194. # description: When set to external, all settings (jetty_port, jetty_extracted_path, start_embedded_petascope)
  195. # for embedded petascope will be disabled.
  196. # need to adapt: no
  197. java_server=external
  198.  
  199. # parameter: start_emdedded_petascope
  200. # purpose: Allow user to start embedded petascope after executing start_rasdaman.sh.
  201. # description: User could enable or disable embedded petascope by configuration:"true/false"
  202. # or temporarily enable/disable before starting script start_rasdaman.sh,
  203. # e.g: start_rasdaman.sh --stop-embedded-petascope" or "start_rasdaman --start-embedded-petascope"
  204. # need to adapt: no
  205. start_embedded_petascope=false
  206.  
  207. # parameter: petascope_admin_user
  208. # purpose: Login account has r/w access to petascope's service introduction information in metadata tables
  209. # of database (currently: PostgreSQL), including:
  210. # ps_description, ps_service_identification, ps_service_provider.
  211. # description: Log in to http://localhost:8080/rasadaman/admin to update these information with user's information.
  212. # Recommendation: establish a dedicated user
  213. # need to adapt: yes
  214. petascope_admin_user=rasdaman
  215.  
  216. # parameter: petascope_admin_pass
  217. # purpose: password for petascope_admin_user login, as above.
  218. # need to adapt: yes
  219. petascope_admin_pass=9fb697048f124d6e8def9c6cfac0417c
  220.  
  221. # parameter: disable_write_operations
  222. # purpose: disables access to WCST (InsertCoverage, UpdateCoverage and DeleteCoverage) operations.
  223. # need to adapt: no
  224. disable_write_operations=false
  225.  
  226. # parameter: upload directory for RasqlServlet
  227. # purpose: Rasql query to RasqlServlet can upload file with decode() functions, default is /tmp/rasql_servlet_upload.
  228. # need to adapt: no
  229. rasql_servlet_upload_path=/tmp/rasql_servlet_upload
  230.  
  231. # ---------------------------------------------------------------------
  232.  
  233. #
  234. # log4j configuration
  235. #
  236. log4j.rootLogger=TRACE, rollingFile, stdout
  237.  
  238. # Reduce the log information from GRPC, Netty
  239. log4j.logger.io.grpc=WARN
  240.  
  241. log4j.appender.stdout=org.apache.log4j.ConsoleAppender
  242. log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
  243. log4j.appender.stdout.layout.ConversionPattern=%6p [%d{HH:mm:ss}] %c{1}@%L: %m%n
  244.  
  245. log4j.appender.rollingFile=org.apache.log4j.RollingFileAppender
  246.  
  247. # Please make sure the path specified by log4j.appender.rollingFile.File is a
  248. # location where the system user running Tomcat has write access.
  249. # Otherwise, the secore and petascope logs can only be found in catalina.out
  250. log4j.appender.rollingFile.File=/opt/rasdaman/log/petascope.log
  251.  
  252. log4j.appender.rollingFile.MaxFileSize=10MB
  253. log4j.appender.rollingFile.MaxBackupIndex=10
  254. log4j.appender.rollingFile.layout=org.apache.log4j.PatternLayout
  255. 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