Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2023.1

...

To automatically create Message Responders from a RAML definition:

  1. Choose the REST> REST > RAML option in one of the available project/.pva/Responder suite creation wizards.
  2. In the RAML wizard page, enter the absolute URI at which to find the RAML definition in the RAML Definition field. To reference a file on your local system, use a file URL (for example, file:///c:/Users/user/API.raml).
  3. Click the Finish button.

Virtualize will then create one Message Responder configured for each resource/method/status code in the RAML definition. A sample message (if available) is included in the response. If the service definition includes a schema, that schema is used to construct and constrain the response.  

...

If the .pva is created directly in the VirtualAssets project, it will be deployed automatically. Otherwise, the simplest way to deploy the virtual asset is to copy the containing .pva file into the VirtualAssets project. 

Alternatively, you could right-click the Virtualize Server view’s Local machine node, choose Add Virtual Asset, specify the .pva file that includes the virtual assets you want to deploy, then click Finish. When the wizard completes, Virtualize will automatically copy the .pva file to the VirtualAssets project.

For a more detailed discussion of deployment procedures and options, see Deploying Virtual Assets Virtualize.

Customizing the Virtual Assets

...