VSE Manager Plugin for Eclipse
VSE Manager is a plugin that works with integrated development environments (IDEs), such as Eclipse.
VSE Manager is a plugin that works with integrated development environments (IDEs), such as Eclipse. You can use this plugin to create, update, deploy, and manage virtual services.
VSEManager is supported on Eclipse release Neon 4.6, Oxygen 4.7, and Photon 4.8. Ensure that you are running Eclipse with a Java 8 or AdoptOpenJDK 8 JVM.
Uninstall older plugins to install this plugin.
This article includes the following information:
- Configure the plugin:
- Registry Web Server connection settings
- Option to add KeyStore which can have certificates for:
- Registry Web Server connection
- Virtual Services
- SSL details for Registry Web Server connection
- SSL details for Virtual service
- View Settings
- Logging Settings
- Import LISA project, using the File, Import, CA LISA, and LISA Project path
- Mar deploy/redeploy, by dragging and dropping or by right-clicking theDeploy/Redeploy Mar tocontext menu option.
- Create or update virtual services from RR pairs:
- Create virtual service:
- By dragging and dropping an RR pair containing folder on a virtual service, or before/after a virtual service in VSE Manager view.
- By right-clicking theCreate Virtual Servicecontext menu option on an RR pair containing folder.
- Update virtual service, by dragging and dropping an RR pair containing folder on a virtual service in VSE Manager view. You can add more RR pairs, but you cannot edit the data protocol or update/merge/overwrite existing RR pairs as a part of the update. You must perform those kinds of changes in Workstation.
- Create or update virtual services from Swagger specification:
- Create virtual service:
- By dragging and dropping a Swagger specification file on a virtual service, or before/after any VS in VSE Manager view.
- By right-clicking theCreate Virtual Servicecontext menu option on a Swagger specification file.
- Create SSL based virtual service, by selecting theUse SSLcheckbox in the Create Virtual Service dialog.
- Create Virtual Service, by selectingAllow duplicate specific transactionson Create Virtual Service dialog.
- (Optional) Specify the port for deploying virtual service, by specifying the custom port in thePortfield in Create Virtual Service dialog.
- Update or view virtual service properties, by right-clicking thePropertiescontext menu option.
- You can do the following in the VSE Manager view:
- Refresh VS services
- Reset Counters
For more information about how to use the plugin, see the following sections:
The following video provides a demonstration of how to use this plugin in Eclipse to create, update, deploy, and manage virtual services.
VSEManager, follow the standard Eclipse procedure for adding new software.
Follow these steps:
- In Eclipse, selectHelp, Eclipse Marketplace.The marketplace dialog opens.
- Search forVirtual Service Plugin.
- SelectVirtual Service Plugin for CA Service Virtualizationand clickInstall.The Confirm Selected Feature window opens.
- ClickConfirm.The Review Licenses window opens.
- Review and accept the licenses, and then clickFinish.
The VSE Manager plugin is installed.
Before using the plugin, configure it.
Follow these steps:
- Open the VSE ManagerPreferences for the VSE Manager viewdialog. The following graphic shows this dialog:
- In theRegistry Web Server Connection Settingssection, complete the following information:
- Enter the URL for theVSEWeb Server.
- If necessary, enter your user name and password.Enter values in theUser NameandPasswordfields. Leaving these fields blank can result in the Eclipse Password Required dialog, which is not the correct dialog for the VSE Manager plugin. If this dialog appears, clickCancelinstead of entering a user name and password.
- In theKeystore detailssection, complete the following options:
- Keystore file and passwordThe Keystore file stores the certificates that are required for the SSL connection. The Registry Web Server and the Virtual Service SSL certificates must be present in the Keystore file.
- Registry Web Server SSL detailsThis section provides the SSL certificate alias present in Keystore with which Registry Web Server SSL is setup.Define the web server properties for the SSL-enabled registry connection. For more information, see Local Properties File. After you define these web server properties, provide theRegistry Web Server URLashttps, and then complete the information in theRegistry Web server SSL detailssection.
- Virtual Service SSL detailsIf you want to create virtual services with https, enter values in this section. This section stores the SSL certificates for https-based virtual services.You can provide only a single certificate.
- (Optional) In theView Settingssection, complete the following options:
- To save the order of columns and their associated widths when closing and reopening the view, select theSave and restore column positions and widths at application shutdown and startupcheck box.
- To have the view automatically refresh the content approximately every 10 seconds, select theUpdate the current status of all virtual services periodicallycheck box.
- (Optional) In theLogging Settingssection, to log Web Server request and response to the console, select theLog request and responses to the consolecheck box.
- To save your changes and close the dialog, selectApply.
The VSE Manager Plugin is configured.
Follow these steps:
- From the main menu, open the Eclipse Import wizard.
- From the CALISAcategory, selectLISAProject.
- Select aLISAproject and enter its name in theProject Namefield.
- SelectFinish.The project is imported.
You can complete the following actions in VSE Manager:
- Rearrange the columns of the view by draging-and-dropping.
- Hide or view with the drop-down list by selecting the columns.
- Create, update, and deploy virtual services toVSEby starting, stopping, undeploying, or viewing properties for the selected virtual service.
- Drag-and-drop MAR files, folders containing RR pairs, or Swagger (OpenAPI 2.0 or 3.0 document).
Properties View Integration
When a virtual service is selected in the
VSEManager view and the Properties view is open, you can view and update more information about the selected service.
With this view, you can complete the following actions:
- Automatically start the service when theVSEserver is started.
- Change the capacity of a deployed virtual service.
- Change the thinkscale for the requests to the virtual service.
You can create, deploy, manage, and redeploy virtual services using the following methods:
You can customize port and SSL configuration (https) when you deploy the virtual service.
- MAR File:You can deploy or redeploy a MAR file to VSE through drag-drop action or by right-clicking theDeploy/Redeploy MAR tocontext menu option. The following image shows this method:
- Directory of RR pairs:You can create virtual services by right-clicking the context menu or by dragging and dropping onto the virtual service. You can also update existing virtual services by augmenting with RR pairs only by dragging and dropping onto the virtual service.
- Swagger File:You can create virtual services with Swagger (OpenAPI 2.0 or 3.0 document) by right-clicking the context menu or by dragging and dropping onto the virtual service. The supported Swagger files are YAML, JSON, and .yml.You can also update existing virtual services only by dragging and dropping onto the virtual service.
Update Virtual Service
You can also update existing virtual services by augmenting with RR pairs only through drag-drop action on virtual services.
Update Virtual Service, by selecting
Overwrite matching transactionson Update Virtual Service dialog.