Deploy Init Configuration (on-premise)

After Tomcat up and running next step is to inject the config json files. Extract GermainAPMService-xxxx (we will refer the extracted path as $SERVICE_HOME) which has the required json files under $SERVICE_HOME/install/configuration/.

First you have to inject the json from core folder.

Injection via shell script

For the Unix based installation, the script injection can be done using a shell script.

In $SERVICE_HOME/install/configuration/, you can find a script upload.sh

Run the script as mentioned below:

1 $SERVICE_HOME/install/configuration>./upload.sh -d=core

Once the core is done you can pass other folder names to -d= and it will inject the json files.

Injection via germain APM Configuration Console

  • IMPORTANT - When uploading jsons from any other folder than core make sure to check the “Merge” check box else it will over write the injected data from earlier rest calls


Follow below steps to perform configuration injection using the germain APM config UI:

  • Login to the germain APM Configuration Console (e.g. http://localhost:8080/germainapm/config)

  • On the top right corner you should see link for “Rest Client” (below the logout button)

  • Click the link and it should open a window with rest client

  • First you need to upload germain.apm.json from the core folder

  • Copy the contents of this file, paste it in Request Body, keep Qualified Name as germain.apm and HTTP Method as PUT

  • Run it by clicking Execute

  • Once this file is uploaded and browser refreshed you should see screen like below:

  • For uploading rest of the jsons, make sure the base json is injected first. Example germain.apm.uiConfig.json needs to be injected before injecting germain.apm.uiConfig.*.json

  • You need to make sure the correct Qualified Name is selected. Typically, Qualified Name will be as same as the filename (except .json extension). Other way is to click on the link in the above screen depending on which json you are uploading

  • After all the json from core folder are uploaded, you can move on to other folders like: ux, siebel, …