ElectricFlow Integration with Subject7. Plugin procedures are written in Groovy.
Download the EC-Subject7.jar file (raw version) and install to Flow via Administration->Plugins->Install From File/URL->File Install
Configuration: config name Credential: username and password Description URL: base url to accessing the Subject7 instance (e.g. https://proof.subject-7.com)
Groovy helper classes for these procedures are modeled after our existing Groovy plugins and defined in properties under /projects/EC-Subject7-[version]/scripts. These helper classes are referenced via the preamble property, which is included at the start of every procedure involving API calls.
This property contains the helper classes BaseClient and EFClient. BaseClient is a helper class for making generic REST API calls. Both EFClient and SSClient extend on top of this class for making tool-specific calls. EFClient wraps up REST API calls to the EFlow server and contains methods that run EFlow related actions, such as retrieving plugin configuration data and setting a property.
This property contains the helper class SSClient. It contains methods to construct and run REST requests to Subject7 using basic auth.
The REST URI prefix is defined in this class under "uriPrefix". Update this value if Subject7 updates their API root path.Swagger documentation for Subject7 REST API: https://proof.subject-7.com/spec/index.html