Config

public class Config

Fields

adminUser

public static String adminUser

Email id of the owner of this portal.

appCode

public static String appCode

The app code of this application.

appProviderCode

public static String appProviderCode

The provider code of this application.

appsServerPubKey

public static String appsServerPubKey

Apps server’s public key, used to verify the signature of the requests from aalam apps server

bizCode

public static String bizCode

The code of this portal.

centralPubKey

public static String centralPubKey

The central server’s public key, used to verify the signature of the request from aalam central server.

dataDir

public static String dataDir

The absolute path of the directory where this application can use to write data that it wants to persist across reboots.

entryPoint

public static String entryPoint

Entry point defined by this application in its pom.xml

hooksMap

public static String hooksMap

Path to the hooks map containing the application’s hook points, defined in it’s pom.xml

hostName

public static String hostName

The hostname in which this application is running.

messagesMap

public static String messagesMap

Path to the messages map containing the application’s message settings defined in it’s pom.xml

mysqlUrl

public static String mysqlUrl

URL to the mysql database in the format mysql://username:password@hostname:port/database_name

packageDir

public static String packageDir

Application execution root path. This is where the application libraries are all present.

permissionsMap

public static String permissionsMap

Path to the permissions map containing the application’s permissions defined in it’s pom.xml

privKey

public static String privKey

Path to the RSA private key used while communicating with other internal applications.

pubKey

public static String pubKey

Path to the public key of this application.

redisUrl

public static String redisUrl

Url to the redis server. This will be of the format unix://:password@/abosulte/path/to/redis/socket.sock

sections

public static Map<String, Profile.Section> sections

settingsMap

public static String settingsMap

Path to the settings map containing the application’s settings items, defined in it’s pom.xml

staticsUrlRoot

public static String staticsUrlRoot

The statics url prefix of the application as defined in it’s pom.xml

userKeysPath

public static String userKeysPath

The path to public keys of the users. This will be used to verify the signature of any user requests.

Methods

getArg

public static String getArg(String section, String arg, String defaultValue)

Application will have no use with this method. This method is used internally in the framework.

newSection

public static void newSection(String section)

Application will have no use with this method. This method is used internally in the framework.

parse

public static void parse(String fileName)

Application will have no use with this method. This method is used internally in the framework.