Guest User

Untitled

a guest
Feb 3rd, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.69 KB | None | 0 0
  1. #this is a sample props file you should edit and rename
  2. #see https://www.assembla.com/wiki/show/liftweb/Properties for all the naming options, or just use "default.props" in this same folder
  3.  
  4. ### OBP-API configuration
  5.  
  6.  
  7. ### Base configuration
  8.  
  9. ## Which data connector to use
  10. connector=mapped
  11. #connector=mongodb
  12. #connector=kafka
  13. #connector=obpjvm
  14. #connector=...
  15.  
  16. ## Connector cache time-to-live in seconds, caching disabled if not set
  17. #connector.cache.ttl.seconds=3
  18.  
  19. ## OBP-JVM transport type. currently supported: kafka, mock
  20. #obpjvm.transport=kafka
  21.  
  22. ## If using kafka, set zookeeper host and brokers
  23. #kafka.zookeeper_host=localhost:2181
  24. #kafka.bootstrap_hosts=localhost:9092
  25.  
  26. ## If using kafka, the following is mandatory
  27. #kafka.request_topic=Request
  28. #kafka.response_topic=Response
  29.  
  30. ## Enable user authentication via kafka
  31. #kafka.user.authentication=true
  32.  
  33. ## Enable user authentication via obpjvm
  34. #obpjvm.user.authentication=true
  35.  
  36. ##ElasticSearch
  37. allow_elasticsearch=true
  38. allow_elasticsearch_warehouse=true
  39. allow_elasticsearch_metrics=true
  40.  
  41. ## ElasticSearch warehouse
  42. es.warehouse.index=warehouse
  43. es.warehouse.host=127.0.0.1
  44. es.warehouse.port.tcp=9300
  45. es.warehouse.port.http=9200
  46.  
  47. ##ElasticSearch metrics
  48. es.metrics.index=metrics
  49. es.metrics.host=127.0.0.1
  50. es.metrics.port.tcp=9300
  51. es.metrics.port.http=9200
  52.  
  53.  
  54. ## You can use a no config needed h2 database by setting db.driver=org.h2.Driver and not including db.url
  55. db.driver=org.postgresql.Driver
  56. #db.driver=org.h2.Driver
  57. #db.url=jdbc:h2:./lift_proto.db;DB_CLOSE_ON_EXIT=FALSE
  58. #be sure to create your database and update the line below!
  59. db.url=jdbc:postgresql://localhost:5432/finocial?user=saransh&password=password
  60.  
  61. ## Enable remote Akka actor for data split
  62. ## Set to true and also edit and set host/port in obpremotedata.conf
  63. #enable_remotedata=true
  64.  
  65. ## If remotedata is enabled, set the remote database parameters
  66. ## db has to be accessible from box set in obpremotedata.conf
  67. #remotedata.db.driver=org.h2.Driver
  68. #remotedata.db.url=jdbc:h2:./lift_proto.db.remotedata;DB_CLOSE_ON_EXIT=FALSE
  69. #remotedata.db.username=user
  70. #remotedata.db.password=secret
  71.  
  72.  
  73. ## Our own remotely accessible URL
  74. ## This is needed for oauth to work. it's important to access the api over this url, e.g.
  75. ## If this is 127.0.0.1 do NOT use localhost to access it.
  76. ## (this needs to be a URL)
  77. hostname=http://127.0.0.1:8080
  78.  
  79. ## This is only useful for running the api locally via RunWebApp
  80. ## If you use it, make sure this matches your hostname port!
  81. ## If you want to change the port when running via the command line, use "mvn -Djetty.port=8080 jetty:run" instead
  82. dev.port=8080
  83.  
  84.  
  85. #The start of the api path (before the version)
  86. #It is *strongly* recommended not to change this - since Apps will be expecting the api at /obp/+version
  87. #Including it here so we have a canonical source of the value
  88. #This was introduced March 2016, some code might use hardcoded value instead.
  89. #Default value is obp (highly recomended)
  90. apiPathZero=obp
  91.  
  92. ## Sending mail out
  93. ## Not need in dev mode, but important for production
  94. mail.api.consumer.registered.sender.address=no-reply@example.com
  95. mail.api.consumer.registered.notification.addresses=you@example.com
  96. # This property allows sending API registration data to developer's email. Please note it can reveal sensitive data.
  97. #mail.api.consumer.registered.notification.send=false
  98. mail.smtp.host=127.0.0.1
  99. mail.smtp.port=25
  100.  
  101. ## Oauth token timeout
  102. token_expiration_weeks=4
  103.  
  104.  
  105.  
  106. ### Sandbox
  107.  
  108. ## Set this to true if you want to allow users to create sandbox test accounts with a starting balance
  109. allow_sandbox_account_creation=true
  110.  
  111. ## Set this to true if you want to allow the "data import" api call
  112. allow_sandbox_data_import=true
  113.  
  114. # Secret key that allows access to the "data import" api. You should change this to your own secret key
  115. sandbox_data_import_secret=change_me
  116.  
  117.  
  118.  
  119. ### API features
  120.  
  121. ## Secret key that allows access to the "add cash transactions" api. You should change this to your own secret key
  122. cashApplicationKey=change_me
  123.  
  124. ## Set this to false if you don't want the api payments call to work (starting with v1.2.1)
  125. payments_enabled=true
  126.  
  127. ## Transaction requests are replacing simple payments starting from 1.4.0
  128. transactionRequests_enabled=true
  129. transactionRequests_connector=mapped
  130.  
  131. ## Transaction Request Types that are supported on this server. Possible values might include SANDBOX_TAN, INTRABANK, SEPA, FREE_FORM
  132. transactionRequests_supported_types=SANDBOX_TAN
  133.  
  134. ## Transaction request challenge threshold. Level at which challenge is created and needs to be answered.
  135. ## The Currency is EUR unless set with transactionRequests_challenge_currency.
  136. ## The values specified here are converted to the transaction currency.
  137. ## Connector implementation may well provide dynamic response
  138. ## These settings are of the form transactionRequests_challenge_threshold_UPPERCASETYPE=INTEGER
  139. transactionRequests_challenge_threshold_SANDBOX_TAN=1000
  140. transactionRequests_challenge_threshold_SEPA=1000
  141.  
  142. # To set a currency for the above value:
  143. #transactionRequests_challenge_currency=KRW
  144.  
  145.  
  146. ## For video conference meetings (createMeeting)
  147. meeting.tokbox_enabled=false
  148. meeting.tokbox_api_key=changeme
  149. meeting.tokbox_api_secret=changeme
  150.  
  151.  
  152.  
  153. ### Management modules
  154.  
  155. ## RabbitMQ settings (used to communicate with HBCI project)
  156. connection.host=localhost
  157. connection.user=theusername
  158. connection.password=thepassword
  159.  
  160. ## Secret key that allows access to the "add transactions" api. You should change this to your own secret key
  161. importer_secret=change_me
  162.  
  163. ## Set this to true if you want to have the api send a message to the hbci project to refresh transactions for an account
  164. messageQueue.updateBankAccountsTransaction=false
  165.  
  166. ## The minimum time between updates in hours
  167. messageQueue.updateTransactionsInterval=1
  168.  
  169. ## Set this to true if you want to have the api listen for "create account" messages from the hbci project
  170. messageQueue.createBankAccounts=true
  171.  
  172. ## Set this to true if you want to allow users to delete accounts (local ones like HBCI connected)
  173. allow_account_deletion=true
  174.  
  175. ## Secret key that allows access to api calls to get info about oauth tokens. You should change this
  176. ## to your own secret key
  177. BankMockKey=change_me
  178.  
  179.  
  180.  
  181. ## Web interface configuration
  182. webui_header_logo_left_url = /media/images/logo.png
  183. webui_header_logo_right_url =
  184. webui_index_page_about_section_background_image_url = /media/images/about-background.jpg
  185. webui_index_page_about_section_text = <p class="about-text"> \
  186. Welcome to the API Sandbox powered by the Finocial! <br/> \
  187. \ Create your own economy and power your applications using Finocial Banking API\
  188. </p>
  189.  
  190.  
  191. # API Explorer url. Change to your instance
  192. webui_api_explorer_url = http://apiexplorer.finocial.com
  193.  
  194. # Sofi url. (AKA Social Finance) Change to your instance
  195. #webui_sofi_url = http://sofi.openbankproject.com
  196.  
  197. # Starting page of documentation. Change this if you have a specific landing page.
  198. webui_api_documentation_url = https://github.com/finocial/baas/wiki
  199.  
  200.  
  201. # To display a custom message above the username / password box
  202. # We currently use this to display example customer login in sandbox etc.
  203. webui_login_page_special_instructions=
  204.  
  205. # Link for SDKs
  206. webui_sdks_url = https://github.com/finocial/baas/wiki
  207.  
  208. allow_block_chain=true
  209.  
  210. ## For partner logos and links
  211. webui_main_partners=[\
  212. {"logoUrl":"https://www-03.ibm.com/ibm/history/exhibits/logo/images/920911.jpg", "homePageUrl":"http://www.IBM.com", "altText":"IBM"}]
  213.  
  214. # Main style sheet. Add your own if need be.
  215. webui_main_style_sheet = /media/css/website.css
  216.  
  217. # Override certain elements (with important styles)
  218. webui_override_style_sheet =
  219.  
  220. ## Link to agree to Terms & Conditions, shown on signup page
  221. webui_agree_terms_url =
  222.  
  223. ## API Options
  224. apiOptions.getBranchesIsPublic = true
  225. apiOptions.getAtmsIsPublic = true
  226. apiOptions.getProductsIsPublic = true
  227. apiOptions.getTransactionTypesIsPublic = true
  228.  
  229. ## Default Bank. Incase the server wants to support a default bank so developers don't have to specify BANK_ID
  230. ## e.g. developers could use /my/accounts as well as /my/banks/BANK_ID/accounts
  231. defaultBank.bank_id=THE_DEFAULT_BANK_ID
  232.  
  233.  
  234. ## Super Admin Users (not database so we don't have to edit database)
  235. super_admin_user_ids=749aeae7-3aab-4c4a-b6fb-69d37fe4ef65
  236.  
  237. api_disabled_versions=[\
  238. version1,\
  239. version2,\
  240. ...,\
  241. versionN]
  242.  
  243. api_disabled_endpoints=[\
  244. endpoint1,\
  245. endpoint2,\
  246. ...,\
  247. endpointN]
  248.  
  249.  
  250. ## OpenId Connect can be used to retrieve User informaiton from an
  251. ## external OpenID Connect server.
  252. ## To use an external OpenID Connect server,
  253. ## you will need to change these values.
  254. ## The following values provided for a temp test account.
  255. ## CallbackURL 127.0.0.1:8080 should work in most cases.
  256. ## Note: The email address used for login must match one
  257. ## registered on OBP localy.
  258. #allow_openidconnect=true
  259. #openidconnect.clientSecret=CEX3Oud7N8p69qCnNTWvnic3-1ortVlGnD1GXgzxpDW-GjD5_3xG1-G5Kln3K9FA
  260. #openidconnect.clientId=yzKGC1ZKYqwYRpvbDaTq2r8mEQLY31D4
  261. #openidconnect.domain=justatest.eu.auth0.com
  262. #openidconnect.callbackURL=http://127.0.0.1:8080/my/logins/openidconnect
  263. #openidconnect.url.login=https://cdn.auth0.com/js/lock/10.2/lock.min.js
  264. #openidconnect.url.userinfo=https://justatest.eu.auth0.com/userinfo
  265. #openidconnect.url.token=https://justatest.eu.auth0.com/oauth/token
  266. #openidconnect.url.buttonImage=http://wiki.openid.net/f/openid-logo-wordmark.png
  267.  
  268. # When new consumers inserted they should use this setting.
  269. consumers_enabled_by_default=true
  270.  
  271. # Autocomplete for login form has to be explicitly set
  272. autocomplete_at_login_form_enabled=false
Add Comment
Please, Sign In to add comment