AppProcess
Process of an app. A process is an instance of a running command that serves the app.
A process can have multiple apps running in it.
The apps are served on local ports. A Nginx reverse proxy is used to expose the apps on the host URL.All the apps are externally exposed to the same port, but depending on the sub domain, the local reverse proxy will redirect the request to the correct app.
current_running_apps: Dictenv_hash: strid: stris_dev_mode: boolInitialize self. See help(type(self)) for accurate signature.
strstrAdd an app to the process.
AppInstanceCall the health check of the app to check if it is still running
boolintFind the app that was generated from the given resource model id
strgws_core.apps.app_instance.AppInstance | NoneGet the app instance and check if it exists
strAppInstancestrgws_core.apps.app_instance.AppInstance | NonestrAppInstanceUrlGet the host name for the app process based on the port and suffix. This is used to generate the host URL for the app.
str - ''strFrontThemestrintGet the current status of the app process
AppProcessStatusAppProcessStatusDTOGet the current status text of the app process
strGet the token of the app process. This is used to secure the app and allow access to it.
strstrstrboolCheck if the app process is running
boolCheck if the app process is starting
boolCheck if the app process is stopped
boolSet the status and status text of the app process
AppProcessStatusstr - ''Start the process for the app using app_id
strMethod to start the check running loop to check if the app is still used
Kill the process and all apps
boolReturn the user id from the user access token if the user has access to the app
strstrstr | NoneCheck if the process uses the given port
intboolWait for the process to start
AppProcessStatus