eG Administration 
 

Adding a New Component Type

This page enables the administrator to add new component types with which the tests are to be mapped. To access this page, click on the Add New Component Type button in the Integration Console - Component page that appears.

  • The type of component being added has to be specified in the Component type text box.
  • Note:

    Ensure that the Component type always ends with "_ex". Otherwise, users will not be permitted to add the new component type.

  • Now, provide the name that will be displayed in the eG monitoring interface along with the image that represents the component-type, in the Image name text box.

  • Next, indicate whether/not the component type, is a duplicate of any existing user-defined component type. eG Enterprise allows users to duplicate an existing user-defined component type, so that the duplicate component type (i.e., the new component type) automatically inherits the properties of the existing type - these properties include the image chosen to represent the original component type, its port number (if any), and the layer model defined for the component type. This duplication is particularly useful when you want to create two/more component types with the same/similar functionality, but different names.

    If the type being added is indeed a duplicate of an existing type, then set the Duplicate flag to Yes. A Component Type to be duplicated list will then appear. From this list, pick a user-defined component type to duplicate. Note that the ‘Component Type to be duplicated’ list will include only those component types that are not duplicates. For a ‘duplicate’ component type, no other specification need be provided. Therefore, just click the Add button to add the new component type.

  • If you set the Duplicate flag to No, proceed to Choose display image option where you can pick an image to associate with the new component type.

  • Note:

    Every new component type added to the eG Enterprise system will be represented by the image that you choose for that component type from the New Component Type Details page. Upon addition of a new component type to the eG Enterprise system, an image file (with the extension .png) containing the chosen image will be automatically created in the following locations:

    <EG_INSTALL_DIR>\manager\tomcat\webapps\final\admin\eg_images and <EG_INSTALL_DIR>\manager\tomcat\webapps\final\monitor\eg_images\eg_layout\eg_icons. The image file so created will be named after the component type it is assigned to. For instance, the image chosen for the new component type in our example - MS_FILE_SERVER_ex - will be stored in the aforesaid locations as MS_FILE_SERVER_ex.png.

    If desired, users can replace this image with a custom-defined image for the new component. While creating an image for a new component type, remember the following points:

    • The size of the image should be 50 X 50 (in pixels)
    • The image should be transparent
    • The image file should have the same name as the component type it represents
    • The image file should be of type PNG

    To add the custom image to the eG Enterprise system, simply overwrite the image file that corresponds to the new component type in the <EG_INSTALL_DIR>\manager\tomcat\webapps\final\admin\eg_images and <EG_INSTALL_DIR>\manager\tomcat\webapps\final\monitor\eg_images\eg_layout\eg_icons folders with the new file.

    Note that in case of a redundant eG manager setup, you will have to follow the procedure discussed above on both the managers in the cluster.

  • If the component type being added is a port-based component type, then specify the Port number of the type.

  • Then, indicate whether/not the new component type supports web sites by setting the Site support flag to Yes or No (as the case may be).

  • Clicking on the Add button will add the new component type to the eG Enterprise system.

The Back button enables the administrator to go back to the previous screen.