Skip to content

Commit

Permalink
Added SQL DB type
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Aug 30, 2020
1 parent 374ba90 commit 126ebaf
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ public static IJsonObject getDefaultStatusData ()
aStatusData.add ("global.debug", GlobalDebug.isDebugMode ());
aStatusData.add ("global.production", GlobalDebug.isProductionMode ());
aStatusData.add ("smp.backend", SMPServerConfiguration.getBackend ());
if ("sql".equalsIgnoreCase (SMPServerConfiguration.getBackend ()))
{
// Since 5.3.0-RC5
aStatusData.add ("smp.sql.target-database", SMPServerConfiguration.getConfigFile ().getAsString ("target-database"));
}
aStatusData.add ("smp.mode", SMPWebAppConfiguration.isTestVersion () ? "test" : "production");
aStatusData.add ("smp.resttype", SMPServerConfiguration.getRESTType ().getID ());
aStatusData.add ("smp.identifiertype", SMPServerConfiguration.getIdentifierType ().getID ());
Expand Down

0 comments on commit 126ebaf

Please sign in to comment.