Configure apiportal.war to Tomcat - Developer Portal
Configure apiportal.war to install developer portal with Volt MX Foundry console. A developer portal is used to connect to various back-end systems and expose the data as standard RESTful APIs that are protected by standard OAuth 2.0.
Perform the following action, to configure apiportal.war file:
- In the
apiportal.war/``WEB-INF/classes
, open theconfig.properties
file, and then edit the following parameters.
VoltMX_ACCOUNT_API_BASE_URL=<PUBLIC_URL>/accounts/api/v1_0/
LOG_LEVEL=INFO
LOG_OPTION=logfile
LOG_LOCATION=<USER_INSTALL_DIR>/logs/apiportal
VoltMX_DEVELOPER_PORTAL_BASE_URL= <PUBLIC_URL>/apiportal
Deploy apiportal.WAR file to Tomcat - Developer Portal
After you configure the properties files in apiportal.war file, you must deploy the WAR file through the app server to install developer portal with Volt MX Foundry console.
To deploy configured developer portal .WAR files to Tomcat, follow these steps:
- Copy the updated
apiportal.war
file. -
Paste the files in the following location:
- For Tomcat,
<User install directory>\apache-tomcat-9.0.33\webapps
. - For Tomcat, add the
jboss-client.jar
- Copy the .jars from
\VoltMXFoundry_Plugins\middleware\
- Paste the jars into
<TOMCAT-HOME>\lib
- Copy the .jars from
- For Tomcat,
-
Configure your app server (Tomcat) as a service (This step is optional).