mirror of
https://github.com/OpenBankProject/OBP-API.git
synced 2026-02-06 13:26:51 +00:00
Renamed props app_mode => server_mode
This commit is contained in:
parent
858c9af959
commit
a10c2a78ca
@ -380,10 +380,10 @@ We use jetty8 to run the API in production mode.
|
||||
|
||||
* Edit your props file(s) to contain one of the next cases:
|
||||
|
||||
1) app_mode=portal
|
||||
2) app_mode=backend
|
||||
3) app_mode=multi
|
||||
In case is not defined default case is the 3rd one i.e. app_mode=multi
|
||||
1) server_mode=portal
|
||||
2) server_mode=backend
|
||||
3) server_mode=multi
|
||||
In case is not defined default case is the 3rd one i.e. server_mode=multi
|
||||
|
||||
## Using Akka remote storage
|
||||
|
||||
|
||||
@ -637,5 +637,5 @@ database_messages_scheduler_interval=3600
|
||||
# -- OBP-API mode -------------------------------
|
||||
# In case isn't defined default value is "multi"
|
||||
# Possible cases: portal, backend, multi
|
||||
# app_mode=portal
|
||||
# server_mode=portal
|
||||
# -----------------------------------------------
|
||||
@ -374,7 +374,7 @@ class Boot extends MdcLoggable {
|
||||
|
||||
|
||||
// Build SiteMap
|
||||
val indexPage = APIUtil.getPropsValue("app_mode", "multi") match {
|
||||
val indexPage = APIUtil.getPropsValue("server_mode", "multi") match {
|
||||
case mode if mode == "portal" => List(Menu.i("Home") / "index")
|
||||
case mode if mode == "backend" => List()
|
||||
case _ => List(Menu.i("Home") / "index")
|
||||
|
||||
@ -1622,7 +1622,7 @@ Returns a string showed to the developer
|
||||
else
|
||||
false
|
||||
}
|
||||
APIUtil.getPropsValue("app_mode", "multi") match {
|
||||
APIUtil.getPropsValue("server_mode", "multi") match {
|
||||
case mode if mode == "portal" => false
|
||||
case mode if mode == "backend" => checkVersion
|
||||
case _ => checkVersion
|
||||
|
||||
Loading…
Reference in New Issue
Block a user