#this is a sample props file you should edit and rename
#see https://www.assembla.com/wiki/show/liftweb/Properties for all the naming options, or just use "default.props" in this same folder


######################################
## REQUIRED ##########################

# The base url of the api to use (e.g. https://apisandbox.openbankproject.com)
api_hostname=FILL_ME_IN

# These are the oauth keys obtained from the api (at /consumer-registration)
obp_consumer_key=FILL_ME_IN
obp_secret_key=FILL_ME_IN

# The base url of THIS application (e.g. http://localhost:8082) which is used for the oauth callback url.
# Note: if you are running a local api instance and a local API Explorer instance on the same machine,
# we recommend you run the API on 127.0.0.1 and API Explorer on localhost to avoid weird cookie issues
base_url=FILL_ME_IN

## End of REQUIRED ###################
######################################



#this is only useful for running the api locally via RunWebApp
#if you use it, make sure this matches your base_url port!
#if you want to change the port when running via the command line, use "mvn -Djetty.port=8082 jetty:run" instead
dev.port=8082


# Comma separated list of Banks IDs we want to feature / show in drop down list. If not present or empty all available banks will be shown.
#featuredBankIds=ub-ni-1,ub-roi-1,bnpparibas-xx-26,obp-bankx-n




# Web UI

## IMPLEMENTING BANK SPECIFIC BRANDING ON ONE OBP API Explorer INSTANCE ########################
# Note, you can specify bank specific branding by appending _FOR_BRAND_<BANK_ID> to the standard props names
# e.g.
#webui_header_logo_left_url_FOR_BRAND_banku = https://static.openbankproject.com/images/sandbox/bank_u.png
#webui_header_logo_left_url_FOR_BRAND_banky = https://static.openbankproject.com/images/sandbox/bank_y.png
# And invoke by calling index etc with ?brand=<BANK_ID>
# e.g. http://127.0.0.1:8080/?brand=x
# For any properties that don't have a bank specific flavour, the standard props name will be used.
####################################################################################




# webui_header_logo_left_url = https://static.openbankproject.com/images/OBP_full_web_25pc.png

# webui_header_logo_right_url =

# webui_hosted_by_text = Hosted by TESOBE

# webui_hosted_by_url = https://www.tesobe.com


# To change style sheets:

# webui_main_style_sheet=./media/css/style.css

# webui_override_style_sheet=./media/css/your_override.css

################################
# Index page link customisation
# Top links to show / hide
#
# webui_show_index_api_manager_link=true
# webui_show_index_obp_api_management_link=true
# webui_show_index_obp_user_management_link=true
# webui_show_index_obp_all_link=true
# webui_show_index_dynamic_link=true
# webui_show_index_more_link=true
# webui_show_index_space_link=true
# webui_show_index_berlin_group_link=false
# webui_show_index_uk_link=false
################################


## OAuth1.0a #########################
# The hostname to which the request was sent. This is taken from the "Host" HTTP header, or if that
# does not exist, the DNS name or IP address of the server.
#oauth_1.hostname=FILL_ME_IN
######################################

## certificate authorization ##
# activate certificate authorization, default is false

### SSL ##############################
#ssl_client_auth=true
#ssl_truststore_location=/var/private/ssl/truststore.jks
#ssl_truststore_password=test1234
#ssl_keystore_location=/var/private/ssl/keystore.jks
#ssl_keystore_password=test1234
#ssl_key_password=test1234

# a list of version names those are shown in the main page, split with
# all support links:OBP_PSD2,OBP_3.1.0,OBP_4.0.0,BGv1.3,UKv3.1 
#main.included.links=OBP_PSD2, OBP_3.1.0, OBP_4.0.0

# set the default version of API_Explorer Home Page
# all support versions: OBPv2.2.0,OBPv3.0.0,OBPv3.1.0,OBPv4.0.0,BGv1.3,UKv3.1,UKv2.0,STETv1.4,PAPIv2.1.1.1,b1,AUv1.0.0
#default.version=OBPv4.0.0

### OBP-API mode ############################## 
# If OBP-API split to two instances, eg: apis,portal
# Then API_Explorer need to set two api hosts: api_hostname and this api_portal_hostname, for all Rest Apis will call api_hostname
# but for all the portal home page link, we need to use this props. If do not set this, it will use api_hostname value instead.
# api_portal_hostname=http://127.0.0.1:8080
# --------------------------------------------

### api call response cache start ##################
#default value is 31536000, 365 days
#static_resource_docs_json.cache.ttl.seconds=31536000
#default value is 3600, 1 hour
#dynamic_resource_docs_json.cache.ttl.seconds=3600
#default value is 2592000, 30 days
#glossary_items_json.cache.ttl.seconds=2592000
#default value is 2592000, 30 days
#message_docs_json.cache.ttl.seconds=2592000
### api call response cache end ##################

### show validation info related, start ###
## default value is 3600 seconds
#authentication_type_validation.cache.ttl.seconds=3600
## default value is one hour: 3800 seconds
#json_schema_validation.cache.ttl.seconds=3800
### show validation info related, stop ###

### The setting for Home page `API Creation and Management`,` User Management` , ` OBP Banking Model` And `Favourites` ###
#The fault value already hardcode in the scala code, but also can be modified here: 
#api_creation_and_management_tags=API,Dynamic-Entity-Manage,Dynamic-Swagger-Doc-Manage,Dynamic-Resource-Doc-Manage,\
#Aggregate-Metrics,Metric,Documentation,WebUi-Props,Method-Routing,Dynamic-Message-Doc-Manage,Api-Collection,Connector-Method,\
#Sandbox,WebUi-Props,JSON-Schema-Validation,Authentication-Type-Validation
#
#user_management_tags=User,Role,Scope,Entitlement,Consent,Consumer,Onboarding,View-(Custom),View-(System)
#
#obp_banking_model_tags=Bank,Account,Transaction,FX,Customer-Message,Data-Warehouse,Product-Collection,Product,ATM,Branch,\
#Card,Person,Customer-Meeting,User,Customer,KYC,Counterparty,Transaction-Metadata,Transaction,Account-Access,Transaction-Request

# API_Explorer will show both static and dynamic resource docs as default, if set following to false, then API_Explorer 
# will only show static resource docs. 
# show_dynamic_resource_docs = true

# this is the consent flow link, eg: the Halo App link. If we set the link, it will show the consent_flow_link_div in the more page.
# consent_flow_link=

# this is the api_manager link, it will generate the api_manager from the api_hostname, if the default is not working, 
# need to set it manually here.
#api_manager_url=

# API explorer menu structure, the value should be validate json format.
#webui_index_dynamic_url_text_pairs=[\
#                                       {\
#                                           "url": "/?api-collection-id=feb47896-6a18-4a96-b8e9-ed6db05dbd401",\
#                                           "text": "Third Party 1"\
#                                       },\
#                                       {\
#                                           "url": "/?api-collection-id=feb47896-6a18-4a96-b8e9-ed6db05dbd401",\
#                                           "text": "Third Party 2"\
#                                       }\
#                                   ]


# Sngle Sign On 
# sso.enabled=false

# ------------------------------ Identity Provider OAuth2 Props ------------------------------
## if integrate_with_hydra set to true, all other props must not be empty
# integrate_with_identity_provider=false
# identity_provider_token_endpoint=http://127.0.0.1:4444/oauth2/token
# Please note that next 2 props is obtained at OBP-API portal via Get API Key feature
# oauth2.jws_alg=ES256
# oauth2.jwk_private_key=
# Example of the above value: {"kty":"EC","d":"mQ6yDqYB84z027rZoKnr9JIloX7QqyM0QDScHmWIb-s","use":"sig","crv":"P-256","kid":"c14e9b43-d69b-431e-a90b-eac0dd2e59f8","x":"mNBOFk1w7EYZ194LPCKlNn-NbflCkdxPHGh3VmCj13U","y":"4oXertw5ECdy_ApfG_LG5n92Q9-QlPr9Bt3eM_Z9DeI","alg":"ES256"}
# ------------------------------ Identity Provider OAuth2 Props end --------------------------


# If you want to make the Lift inactivity timeout shorter than
# the container inactivity timeout, set the inactivity timeout here
session_inactivity_timeout_in_minutes = 30


# Please note that depricated name ot this props is: language_tag
default_locale = en_GB
