This command line tool can deploy a project onto the Service Virtualization Server, change the mode of a service or list/view services on the server.
Micro Focus Service Virtualization:
SVConfigurator is embedded in Micro Focus automation plugin for Jenkins CI and allows to use most of its functionality as native Jenkins CI Plugin.
SVConfigurator supports the following operations:
Command | Description |
---|---|
CHANGEMODE |
Changes the runtime mode of the service |
DEPLOYPROJECT |
Deploys a project onto the server |
EXPORT |
Export projects or a selected service from the server |
HOTSWAP |
Performance Model Hot-Swap |
LIST |
Prints the list of deployed services on the server |
LISTPROJECT |
List the project archive content |
SETLOGGING |
Enables or disables message logging for specified service |
UNDEPLOY |
Undeploy a project/service from the server |
UNLOCK |
Unlocks the service on the server |
UPDATE |
Updates a data model and/or a performance model of a selected service from the server (downloads learned data) |
VIEW |
Prints the info about a service on the server |
Note: If you use encrypted SV project (-w
or --project-password options
), you must download and install JCE Unlimited Strength Jurisdiction Policy Files for your JDK version from https://www.oracle.com/technetwork/java/javase/downloads/jce-all-download-5170447.html
SVConfigurator binaries can be found in this maven repo: https://search.maven.org/artifact/com.microfocus.sv/SVConfigurator
A servers file in accord with the example bellow can be specified by --servers
parameter to all commands connecting to SV server.
It allows you to keep your SV server credentials in a file (secured with proper file system permissions) and you will be not forced to specify your credentials on the command line for each SVConfigurator call.
srvA.url = https://svA.example.com:6085/api
srvA.username = testerA
srvA.password = changeit
srvA.trustEveryone = true
srvB.url = http://svB.example.com:6085/api
srvB.username = testerB
srvB.password = changeit