There is an example what I want to do. The service client is a Spring bean, which is retrieving from external configuration class and should be called from Spock extension.
class ServiceCleintExtension implements IGlobalExtension {
@Autowired
ServiceCLient client
@Override
void start() {
client.execute()
}
...
}
Aucun commentaire:
Enregistrer un commentaire