class TestingApiHttpService extends BaseHttpService with ScenarioHttpServiceExtensions with LazyLogging
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TestingApiHttpService
- LazyLogging
- ScenarioHttpServiceExtensions
- BaseHttpService
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TestingApiHttpService(authManager: AuthManager, processingTypeToParametersValidator: ProcessingTypeDataProvider[ParametersValidator, _], processingTypeToScenarioTestServices: ProcessingTypeDataProvider[ScenarioTestService, _], scenarioService: ProcessService)(implicit executionContext: ExecutionContext)
Type Members
- implicit class ServerLogicExtension[INPUT, OUTPUT, BUSINESS_ERROR, -R] extends AnyRef
- Definition Classes
- BaseHttpService
- type BusinessErrorType = TestingError
- Attributes
- protected
- Definition Classes
- TestingApiHttpService → ScenarioHttpServiceExtensions
- type LogicResult[BUSINESS_ERROR, RESULT] = Either[Either[BUSINESS_ERROR, SecurityError], RESULT]
- Definition Classes
- BaseHttpService
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def authorizeAdminUser[BUSINESS_ERROR](credentials: AuthCredentials): Future[LogicResult[BUSINESS_ERROR, LoggedUser]]
- Attributes
- protected
- Definition Classes
- BaseHttpService
- def authorizeKnownUser[BUSINESS_ERROR](credentials: AuthCredentials): Future[LogicResult[BUSINESS_ERROR, LoggedUser]]
- Attributes
- protected
- Definition Classes
- BaseHttpService
- def businessError[BUSINESS_ERROR](error: BUSINESS_ERROR): Left[Left[BUSINESS_ERROR, Nothing], Nothing]
- Attributes
- protected
- Definition Classes
- BaseHttpService
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def eitherifyErrors[T](future: Future[T]): EitherT[Future, BusinessErrorType, T]
- Attributes
- protected
- Definition Classes
- ScenarioHttpServiceExtensions
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit val executionContext: ExecutionContext
- Attributes
- protected
- Definition Classes
- TestingApiHttpService → ScenarioHttpServiceExtensions
- def expose(when: => Boolean)(serverEndpoint: NoRequirementServerEndpoint): Unit
- Attributes
- protected
- Definition Classes
- BaseHttpService
- def expose(serverEndpoints: List[NoRequirementServerEndpoint]): Unit
- Attributes
- protected
- Definition Classes
- BaseHttpService
- def expose(serverEndpoint: NoRequirementServerEndpoint): Unit
- Attributes
- protected
- Definition Classes
- BaseHttpService
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getScenarioWithDetailsByName(scenarioName: ProcessName)(implicit loggedUser: LoggedUser): EitherT[Future, BusinessErrorType, ScenarioWithDetails]
- Attributes
- protected
- Definition Classes
- ScenarioHttpServiceExtensions
- def handleOtherErrors: PartialFunction[Throwable, BusinessErrorType]
- Attributes
- protected
- Definition Classes
- ScenarioHttpServiceExtensions
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- lazy val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noPermissionError: TestingError with CustomAuthorizationError
- Attributes
- protected
- Definition Classes
- TestingApiHttpService → ScenarioHttpServiceExtensions
- def noScenarioError(scenarioName: ProcessName): TestingError
- Attributes
- protected
- Definition Classes
- TestingApiHttpService → ScenarioHttpServiceExtensions
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val scenarioService: ProcessService
- Attributes
- protected
- Definition Classes
- TestingApiHttpService → ScenarioHttpServiceExtensions
- def securityError[SE <: SecurityError](error: SE): Left[Right[Nothing, SE], Nothing]
- Attributes
- protected
- Definition Classes
- BaseHttpService
- def serverEndpoints: List[NoRequirementServerEndpoint]
- Definition Classes
- BaseHttpService
- def success[RESULT](value: RESULT): Right[Nothing, RESULT]
- Attributes
- protected
- Definition Classes
- BaseHttpService
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)