Skip to content

Actions in Objects

Actions in Objects

When you access Volt Foundry V9.x by using a particular URL directly from a browser, the web page displays Tomcat Application Server's version.

For example,

For security reasons, you must disable the server information disclosure for Tomcat application server.

To avoid this disclosure information, follow these steps:

  1. Open the Tomcat Server > server.xml file
  2. Add the following:
    
      <Valve className="org.apache.catalina.valves.ErrorReportValve"
      showReport="false" 
      showServerInfo="false"/>
      
  3. Save the server.xml
  4. Restart the server

How to Use Actions on an Existing Object Service Method

To use actions for an existing object service such as edit, sample code, and delete, click the Setting cogwheel of the required verb in Mapping Services pane, and can perform the following actions:

  • Edit: Allows you to edit a service. After you edit a service, you have to republish all the apps that are using the service to apply the changes.

    To know more about publishing an app, refer to Publish an app.

  • Edit Configuration: Allows you to edit the app data model and mapping for the object service.

  • Clone: Allows you to close the object service.
  • Close App Data Model: Allows you to close the app data model for object services.
  • Sample Code: A dynamic code is generated based on the configuration of a service. You can use this code in your SDK.
  • Unlink: Allows you to unlink the object service from the app.
  • Delete: Allows you to delete a service.

    If a service is a part of a published app, you can delete that service only after you unlink the service from all the published app.