Class WiremockServiceDummy
java.lang.Object
edu.ucsb.cs156.happiercows.services.wiremock.WiremockService
edu.ucsb.cs156.happiercows.services.wiremock.WiremockServiceDummy
@Service("wiremockService")
@Profile("!wiremock")
@ConfigurationProperties
public class WiremockServiceDummy
extends WiremockService
This is a dummy service for profiles besides wiremock where we do not want the mocked authentication,
but instead real oauth authentication
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.github.tomakehurst.wiremock.WireMockServer
Dummy call for getWiremockServer()void
init()
Dummy call to init
-
Constructor Details
-
WiremockServiceDummy
public WiremockServiceDummy()
-
-
Method Details
-
getWiremockServer
public com.github.tomakehurst.wiremock.WireMockServer getWiremockServer()Dummy call for getWiremockServer()- Specified by:
getWiremockServer
in classWiremockService
- Returns:
- null
-
init
public void init()Dummy call to init- Specified by:
init
in classWiremockService
-