Class WiremockServiceDummy

java.lang.Object
edu.ucsb.cs156.example.services.wiremock.WiremockService
edu.ucsb.cs156.example.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 Details

    • WiremockServiceDummy

      public WiremockServiceDummy()
  • Method Details

    • getWiremockServer

      public com.github.tomakehurst.wiremock.WireMockServer getWiremockServer()
      Dummy call for getWiremockServer()
      Specified by:
      getWiremockServer in class WiremockService
      Returns:
      null
    • init

      public void init()
      Dummy call to init
      Specified by:
      init in class WiremockService