Web Application Management Portlet (Development)

From Gcube Wiki
Jump to: navigation, search

This is a development documentation page dedicated to Web Application Management Portlet.

Access Log

The Web Application Management Portlet produces Access Log entries for each available operation:

  • Web Application Deploy:
    • The entry type is WEB_APPLICATION_DEPLOYED
    • The body message is "GHN_ID=<the target GHN id>|GHN_NAME=<the target GHN name>|APPLICATIONS=<One or more APPLICATION ITEM, separated by ;>
    • APPLICATION ITEM: "ID=<The web application ID>:NAME=<The web application name>|VERSION=<the web application version>"
  • Web Application Activation or Web Application Deactivation:
    • The entry type is WEB_APPLICATION_ACTIVATED or WEB_APPLICATION_DEACTIVATED
    • The body message is "ID=<The web application ID>:NAME=<The web application name>|VERSION=<the web application version>|GHN_ID=<the target GHN id>|GHN_NAME=<the target GHN name>"
  • Web Application Undeploy:
    • The entry type is WEB_APPLICATION_UNDEPLOYED
    • The body message is "APPLICATIONS=<One or more APPLICATION ITEM, separated by ;>"
    • APPLICATION ITEM: "ID=<The web application ID>:NAME=<The web application name>|VERSION=<the web application version>|GHN_ID=<the target GHN id>|GHN_NAME=<the target GHN name>"